From: Avinash Patil Date: Sat, 27 Jul 2013 00:02:29 +0000 (-0700) Subject: ieee80211: add definition for interworking support X-Git-Tag: MMI-PSA29.97-13-9~13727^2~84^2^2~6^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dcb7a6ce0a08012a17cca34711a02017abed554b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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