Parse also the RSN Extension IE when parsing the rest of the IEs. It will be used in a later patch.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -2532,6 +2532,7 @@ enum ieee80211_eid { · 2531 unmodified lines | ||
| 2532 | 2532 | WLAN_EID_FILS_INDICATION = 240, |
| 2533 | 2533 | WLAN_EID_DILS = 241, |
| 2534 | 2534 | WLAN_EID_FRAGMENT = 242, |
| 2535 | + WLAN_EID_RSNX = 244, | |
| 2535 | 2536 | 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 | 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 | 3432 | #endif /* LINUX_IEEE80211_H */ |