From: Avinash Patil Date: Sat, 27 Jul 2013 00:02:29 +0000 (-0700) Subject: ieee80211: add definition for interworking support X-Git-Tag: 1.9.9~4 X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=0cf10ace76417acfdaeb4968c55a37414fb4fdda 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 Signed-off-by: Bing Zhao Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 27833d9..08c8e2e 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -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