aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-10-08 02:48:36 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-10-09 05:30:08 -0400
commite9a21949b79414dda42a017855b288901c07e613 (patch)
tree0c8b19de0f1b906c4a7e0072b056c454a2238b2f /include/linux/ieee80211.h
parent2ba45384e5426b9a4aeb77656dce0bf3250ce54e (diff)
mac80211: add extended channel switching capability if the driver supports CSA
The Extended Channel Switching capability bit in the extended capabilities element must be set if the driver supports CSA on non-beaconing interfaces. Since this capability needs to be set during driver registration, the extended_capabiliities global variable needs to be moved to the local structure so that it can be modified. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index b1be39c76931..5fab17b382b5 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1998,6 +1998,11 @@ enum ieee80211_tdls_actioncode {
1998 WLAN_TDLS_DISCOVERY_REQUEST = 10, 1998 WLAN_TDLS_DISCOVERY_REQUEST = 10,
1999}; 1999};
2000 2000
2001/* Extended Channel Switching capability to be set in the 1st byte of
2002 * the @WLAN_EID_EXT_CAPABILITY information element
2003 */
2004#define WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING BIT(2)
2005
2001/* Interworking capabilities are set in 7th bit of 4th byte of the 2006/* Interworking capabilities are set in 7th bit of 4th byte of the
2002 * @WLAN_EID_EXT_CAPABILITY information element 2007 * @WLAN_EID_EXT_CAPABILITY information element
2003 */ 2008 */