aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2014-11-09 11:50:14 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-11-19 12:44:58 -0500
commit78632a17eaa7a5abdc22aac8ca5932d6cad59984 (patch)
tree63f58a844da238091c67dea13d278af851b34237 /include/uapi/linux
parent2cedd87960a809dd9bf683f72123b7dce6736f07 (diff)
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>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 442369f69b4f..ccdeef28d672 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -4095,6 +4095,8 @@ enum nl80211_ap_sme_features {
4095 * @NL80211_FEATURE_MAC_ON_CREATE: Device supports configuring 4095 * @NL80211_FEATURE_MAC_ON_CREATE: Device supports configuring
4096 * the vif's MAC address upon creation. 4096 * the vif's MAC address upon creation.
4097 * See 'macaddr' field in the vif_params (cfg80211.h). 4097 * See 'macaddr' field in the vif_params (cfg80211.h).
4098 * @NL80211_FEATURE_TDLS_CHANNEL_SWITCH: Driver supports channel switching when
4099 * operating as a TDLS peer.
4098 */ 4100 */
4099enum nl80211_feature_flags { 4101enum nl80211_feature_flags {
4100 NL80211_FEATURE_SK_TX_STATUS = 1 << 0, 4102 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -4125,6 +4127,7 @@ enum nl80211_feature_flags {
4125 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25, 4127 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
4126 NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26, 4128 NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26,
4127 NL80211_FEATURE_MAC_ON_CREATE = 1 << 27, 4129 NL80211_FEATURE_MAC_ON_CREATE = 1 << 27,
4130 NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 1 << 28,
4128}; 4131};
4129 4132
4130/** 4133/**