Lines Matching refs:bw_flags
1719 u32 max_bandwidth_khz, center_freq_khz, bw_flags = 0; in reg_rule_to_chan_bw_flags() local
1734 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1738 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1754 bw_flags |= IEEE80211_CHAN_1MHZ; in reg_rule_to_chan_bw_flags()
1757 bw_flags |= IEEE80211_CHAN_2MHZ; in reg_rule_to_chan_bw_flags()
1760 bw_flags |= IEEE80211_CHAN_4MHZ; in reg_rule_to_chan_bw_flags()
1763 bw_flags |= IEEE80211_CHAN_8MHZ; in reg_rule_to_chan_bw_flags()
1766 bw_flags |= IEEE80211_CHAN_16MHZ; in reg_rule_to_chan_bw_flags()
1772 bw_flags |= IEEE80211_CHAN_DISABLED; in reg_rule_to_chan_bw_flags()
1781 bw_flags |= IEEE80211_CHAN_NO_10MHZ; in reg_rule_to_chan_bw_flags()
1783 bw_flags |= IEEE80211_CHAN_NO_20MHZ; in reg_rule_to_chan_bw_flags()
1785 bw_flags |= IEEE80211_CHAN_NO_HT40; in reg_rule_to_chan_bw_flags()
1787 bw_flags |= IEEE80211_CHAN_NO_80MHZ; in reg_rule_to_chan_bw_flags()
1789 bw_flags |= IEEE80211_CHAN_NO_160MHZ; in reg_rule_to_chan_bw_flags()
1791 bw_flags |= IEEE80211_CHAN_NO_320MHZ; in reg_rule_to_chan_bw_flags()
1793 return bw_flags; in reg_rule_to_chan_bw_flags()
1804 u32 bw_flags = 0; in handle_channel_single_rule() local
1811 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel_single_rule()
1822 map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel_single_rule()
1841 chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags); in handle_channel_single_rule()
2562 u32 bw_flags = 0; in handle_channel_custom() local
2587 bw_flags = reg_rule_to_chan_bw_flags(regd, reg_rule, chan); in handle_channel_custom()
2595 chan->flags = chan->orig_flags | bw_flags | in handle_channel_custom()
2598 chan->flags |= map_regdom_flags(reg_rule->flags) | bw_flags; in handle_channel_custom()