From: Shaul Triebitz Date: Fri, 31 Jan 2020 11:12:57 +0000 (+0200) Subject: mac80211: parse also the RSNXE IE X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=aa4a34ff191dd585925355d269666f4db23133f3;p=carl9170fw.git 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 Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/20200131111300.891737-21-luca@coelho.fi Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index feaf0c0..6609754 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2551,6 +2551,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 }; @@ -3351,4 +3352,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 */