cfg80211: add no HE indication to the channel flag
The regulatory domain might forbid HE operation. Certain regulatory domains may restrict it for specific channels whereas others may do it for the whole regulatory domain. Add an option to indicate it in the channel flag. Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/20200121081213.733757-1-luca@coelho.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
3c706b973b
commit
1e61d82cca
@@ -95,6 +95,7 @@ struct wiphy;
|
||||
* on this channel.
|
||||
* @IEEE80211_CHAN_NO_10MHZ: 10 MHz bandwidth is not permitted
|
||||
* on this channel.
|
||||
* @IEEE80211_CHAN_NO_HE: HE operation is not permitted on this channel.
|
||||
*
|
||||
*/
|
||||
enum ieee80211_channel_flags {
|
||||
@@ -111,6 +112,7 @@ enum ieee80211_channel_flags {
|
||||
IEEE80211_CHAN_IR_CONCURRENT = 1<<10,
|
||||
IEEE80211_CHAN_NO_20MHZ = 1<<11,
|
||||
IEEE80211_CHAN_NO_10MHZ = 1<<12,
|
||||
IEEE80211_CHAN_NO_HE = 1<<13,
|
||||
};
|
||||
|
||||
#define IEEE80211_CHAN_NO_HT40 \
|
||||
|
Reference in New Issue
Block a user