mac80211: parse also the RSNXE IE
Parse also the RSN Extension IE when parsing the rest of the IEs. It will be used in a later patch. Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/20200131111300.891737-21-luca@coelho.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
ff74c51e8f
commit
c0058df733
@@ -2532,6 +2532,7 @@ enum ieee80211_eid {
|
||||
WLAN_EID_FILS_INDICATION = 240,
|
||||
WLAN_EID_DILS = 241,
|
||||
WLAN_EID_FRAGMENT = 242,
|
||||
WLAN_EID_RSNX = 244,
|
||||
WLAN_EID_EXTENSION = 255
|
||||
};
|
||||
|
||||
@@ -3421,4 +3422,11 @@ static inline bool for_each_element_completed(const struct element *element,
|
||||
return (const u8 *)element == (const u8 *)data + datalen;
|
||||
}
|
||||
|
||||
/**
|
||||
* RSNX Capabilities:
|
||||
* bits 0-3: Field length (n-1)
|
||||
*/
|
||||
#define WLAN_RSNX_CAPA_PROTECTED_TWT BIT(4)
|
||||
#define WLAN_RSNX_CAPA_SAE_H2E BIT(5)
|
||||
|
||||
#endif /* LINUX_IEEE80211_H */
|
||||
|
Reference in New Issue
Block a user