[PATCH 6/7] AP: Advertise the IEEE 802.1X groups in Supported Groups
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Tue Nov 24 06:30:27 PST 2026
The Supported Groups element in the last Authentication frame of IEEE
802.1X authentication utilizing Authentication frames listed the PASN
groups (pasn_groups), while the Diffie-Hellman Parameter element is
validated against the IEEE 802.1X groups (ieee8021x_auth_groups, group 19
by default). With either option configured, the AP advertised groups it
rejects or omitted groups it accepts, so the STA cannot use the element
to detect a forged group rejection.
Advertise the groups that are actually accepted.
Fixes: 320eb1e09ab8 ("IEEE 802.1X auth: Add Supported Groups element to last frame")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
src/ap/ieee802_11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index c1e8323ff4..2f0323a7eb 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -3140,7 +3140,7 @@ prepare_802_1x_auth_resp(struct hostapd_data *hapd, struct sta_info *sta,
if (enc_assoc &&
(status == WLAN_STATUS_802_1_X_AUTH_SUCCESS || cached_pmk))
- wpa_add_supported_groups(data, hapd->conf->pasn_groups);
+ wpa_add_supported_groups(data, dot1x_auth_groups(hapd));
reply:
return data;
--
2.56.1
More information about the Hostap
mailing list