Lines Matching refs:bw_flags
1607 u32 max_bandwidth_khz, bw_flags = 0; in reg_rule_to_chan_bw_flags() local
1620 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1624 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1627 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1629 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1631 bw_flags |= IEEE80211_CHAN_NO_HT40; in reg_rule_to_chan_bw_flags()
1633 bw_flags |= IEEE80211_CHAN_NO_80MHZ; in reg_rule_to_chan_bw_flags()
1635 bw_flags |= IEEE80211_CHAN_NO_160MHZ; in reg_rule_to_chan_bw_flags()
1636 return bw_flags; in reg_rule_to_chan_bw_flags()
1648 u32 flags, bw_flags = 0; in handle_channel() local
1693 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel()
1704 map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel()
1723 chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags); in handle_channel()
2214 u32 bw_flags = 0; in handle_channel_custom() local
2239 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel_custom()
2247 chan->flags = chan->orig_flags | bw_flags | in handle_channel_custom()
2250 chan->flags |= map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel_custom()