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
25322532 WLAN_EID_FILS_INDICATION = 240,
25332533 WLAN_EID_DILS = 241,
25342534 WLAN_EID_FRAGMENT = 242,
2535+ WLAN_EID_RSNX = 244,
25352536 WLAN_EID_EXTENSION = 255
25362537 };
25372538
@@ -3421,4 +3422,11 @@ static inline bool for_each_element_completed(const struct element *element, · 883 unmodified lines
34213422 return (const u8 *)element == (const u8 *)data + datalen;
34223423 }
34233424
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+
34243432 #endif /* LINUX_IEEE80211_H */