mac80211: allow disable FAT in specific configurations
This patch allows to disable FAT channel in specific configurations. For example the configuration (8, +1), (primary channel 8, extension channel 12) isn't permitted in U.S., but (8, -1), (primary channel 8, extension channel 4) is. When FAT channel configuration is not permitted, FAT channel should be reported as not supported in the capabilities of the HT IE in association request. And sssociation is performed on 20Mhz channel. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
3c57601d0a
commit
9306102ea5
@@ -39,12 +39,18 @@ enum ieee80211_band {
|
||||
* on this channel.
|
||||
* @IEEE80211_CHAN_NO_IBSS: IBSS is not allowed on this channel.
|
||||
* @IEEE80211_CHAN_RADAR: Radar detection is required on this channel.
|
||||
* @IEEE80211_CHAN_NO_FAT_ABOVE: extension channel above this channel
|
||||
* is not permitted.
|
||||
* @IEEE80211_CHAN_NO_FAT_BELOW: extension channel below this channel
|
||||
* is not permitted.
|
||||
*/
|
||||
enum ieee80211_channel_flags {
|
||||
IEEE80211_CHAN_DISABLED = 1<<0,
|
||||
IEEE80211_CHAN_PASSIVE_SCAN = 1<<1,
|
||||
IEEE80211_CHAN_NO_IBSS = 1<<2,
|
||||
IEEE80211_CHAN_RADAR = 1<<3,
|
||||
IEEE80211_CHAN_NO_FAT_ABOVE = 1<<4,
|
||||
IEEE80211_CHAN_NO_FAT_BELOW = 1<<5,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user