History

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.

Shaul Triebitz committed 6 years ago

Commit c0058df1 parent ff74c513 files · +16 −1Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/ieee80211.h+8−0
@@ -2532,6 +2532,7 @@ enum ieee80211_eid { · 2531 unmodified lines
2532 WLAN_EID_FILS_INDICATION = 240,2532 WLAN_EID_FILS_INDICATION = 240,
2533 WLAN_EID_DILS = 241,2533 WLAN_EID_DILS = 241,
2534 WLAN_EID_FRAGMENT = 242,2534 WLAN_EID_FRAGMENT = 242,
2535 WLAN_EID_RSNX = 244,
2535 WLAN_EID_EXTENSION = 2552536 WLAN_EID_EXTENSION = 255
2536};2537};
2537 2538
@@ -3421,4 +3422,11 @@ static inline bool for_each_element_completed(const struct element *element, · 883 unmodified lines
3421 return (const u8 *)element == (const u8 *)data + datalen;3422 return (const u8 *)element == (const u8 *)data + datalen;
3422}3423}
3423 3424
3425/**
3426 * RSNX Capabilities:
3427 * bits 0-3: Field length (n-1)
3428 */
3429#define WLAN_RSNX_CAPA_PROTECTED_TWT BIT(4)
3430#define WLAN_RSNX_CAPA_SAE_H2E BIT(5)
3431
3424#endif /* LINUX_IEEE80211_H */3432#endif /* LINUX_IEEE80211_H */