Lines Matching refs:bw_flags

1683 	u32 max_bandwidth_khz, center_freq_khz, bw_flags = 0;  in reg_rule_to_chan_bw_flags()  local
1698 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1702 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1718 bw_flags |= IEEE80211_CHAN_1MHZ; in reg_rule_to_chan_bw_flags()
1721 bw_flags |= IEEE80211_CHAN_2MHZ; in reg_rule_to_chan_bw_flags()
1724 bw_flags |= IEEE80211_CHAN_4MHZ; in reg_rule_to_chan_bw_flags()
1727 bw_flags |= IEEE80211_CHAN_8MHZ; in reg_rule_to_chan_bw_flags()
1730 bw_flags |= IEEE80211_CHAN_16MHZ; in reg_rule_to_chan_bw_flags()
1736 bw_flags |= IEEE80211_CHAN_DISABLED; in reg_rule_to_chan_bw_flags()
1745 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1747 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1749 bw_flags |= IEEE80211_CHAN_NO_HT40; in reg_rule_to_chan_bw_flags()
1751 bw_flags |= IEEE80211_CHAN_NO_80MHZ; in reg_rule_to_chan_bw_flags()
1753 bw_flags |= IEEE80211_CHAN_NO_160MHZ; in reg_rule_to_chan_bw_flags()
1755 bw_flags |= IEEE80211_CHAN_NO_320MHZ; in reg_rule_to_chan_bw_flags()
1757 return bw_flags; in reg_rule_to_chan_bw_flags()
1768 u32 bw_flags = 0; in handle_channel_single_rule() local
1775 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel_single_rule()
1786 map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel_single_rule()
1805 chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags); in handle_channel_single_rule()
2531 u32 bw_flags = 0; in handle_channel_custom() local
2556 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel_custom()
2564 chan->flags = chan->orig_flags | bw_flags | in handle_channel_custom()
2567 chan->flags |= map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel_custom()