ieee80211: add definition for interworking support
authorAvinash Patil <patila@marvell.com>
Sat, 27 Jul 2013 00:02:29 +0000 (17:02 -0700)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 23 Oct 2013 21:01:54 +0000 (23:01 +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>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index 27833d96633611df6f8f06490fa8586195f9530f..08c8e2ee02d56a302e3eaa4ccd882384e7ef35a2 100644 (file)
@@ -1881,6 +1881,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