cfg/mac80211: define TDLS channel switch feature bit
Define some related TDLS protocol constants and advertise channel switch support in the extended-capabilities IE when the feature bit is defined. Actually supporting TDLS channel-switching also requires support for some new nl80211 commands, to be introduced by future patches. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com> Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
2cedd87960
commit
78632a17ea
@@ -4095,6 +4095,8 @@ enum nl80211_ap_sme_features {
|
||||
* @NL80211_FEATURE_MAC_ON_CREATE: Device supports configuring
|
||||
* the vif's MAC address upon creation.
|
||||
* See 'macaddr' field in the vif_params (cfg80211.h).
|
||||
* @NL80211_FEATURE_TDLS_CHANNEL_SWITCH: Driver supports channel switching when
|
||||
* operating as a TDLS peer.
|
||||
*/
|
||||
enum nl80211_feature_flags {
|
||||
NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
|
||||
@@ -4125,6 +4127,7 @@ enum nl80211_feature_flags {
|
||||
NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
|
||||
NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26,
|
||||
NL80211_FEATURE_MAC_ON_CREATE = 1 << 27,
|
||||
NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 1 << 28,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user