summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2013-07-26 17:02:29 -0700
committerJohannes Berg <johannes.berg@intel.com>2013-08-01 10:49:03 +0200
commitdcb7a6ce0a08012a17cca34711a02017abed554b (patch)
tree47d80a91b24b8ead15536d930c17506766c6eab8
parentdad9defd28912dc408763d461b9a6b1a762c07ea (diff)
downloadlinux-stable-dcb7a6ce0a08012a17cca34711a02017abed554b.tar.gz
linux-stable-dcb7a6ce0a08012a17cca34711a02017abed554b.tar.bz2
linux-stable-dcb7a6ce0a08012a17cca34711a02017abed554b.zip
ieee80211: add definition for interworking support
IEEE802.11u interworking support is advertised via extended capabilities IE bit 31. This is 7th bit of 4th byte of extended capabilities. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-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 b0dc87a2a376..22c909413d32 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1860,6 +1860,11 @@ enum ieee80211_tdls_actioncode {
WLAN_TDLS_DISCOVERY_REQUEST = 10,
};
+/* Interworking capabilities are set in 7th bit of 4th byte of the
+ * @WLAN_EID_EXT_CAPABILITY information element
+ */
+#define WLAN_EXT_CAPA4_INTERWORKING_ENABLED BIT(7)
+
/*
* TDLS capabililites to be enabled in the 5th byte of the
* @WLAN_EID_EXT_CAPABILITY information element