Lines Matching refs:bw_flags
1699 u32 max_bandwidth_khz, center_freq_khz, bw_flags = 0; in reg_rule_to_chan_bw_flags() local
1712 bw_flags |= IEEE80211_CHAN_NO_16MHZ; in reg_rule_to_chan_bw_flags()
1714 bw_flags |= IEEE80211_CHAN_NO_8MHZ; in reg_rule_to_chan_bw_flags()
1716 bw_flags |= IEEE80211_CHAN_NO_4MHZ; in reg_rule_to_chan_bw_flags()
1717 return bw_flags; in reg_rule_to_chan_bw_flags()
1724 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1728 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1731 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1733 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1735 bw_flags |= IEEE80211_CHAN_NO_HT40; in reg_rule_to_chan_bw_flags()
1737 bw_flags |= IEEE80211_CHAN_NO_80MHZ; in reg_rule_to_chan_bw_flags()
1739 bw_flags |= IEEE80211_CHAN_NO_160MHZ; in reg_rule_to_chan_bw_flags()
1741 bw_flags |= IEEE80211_CHAN_NO_320MHZ; in reg_rule_to_chan_bw_flags()
1743 return bw_flags; in reg_rule_to_chan_bw_flags()
1754 u32 bw_flags = 0; in handle_channel_single_rule() local
1761 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel_single_rule()
1772 map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel_single_rule()
1794 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()