ieee80211: add definition for interworking support
authorAvinash Patil <patila@marvell.com>
Sat, 27 Jul 2013 00:02:29 +0000 (17:02 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 1 Aug 2013 08:49:03 +0000 (10:49 +0200)
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>
include/linux/ieee80211.h

index b0dc87a..22c9094 100644 (file)
@@ -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