[PATCH 04/55] FT: Do not use PMKID privacy with FT
Ilan Peer
ilan.peer at intel.com
Thu Dec 3 02:44:03 PST 2026
Draft IEEE P802.11bi/D6.0, 12.16.7.2 defines PMKID privacy only when
the FT protocol is not used. Do not include or process the Nonce element
in FT association frames.
Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
src/ap/ieee802_11.c | 1 +
wpa_supplicant/sme.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index c2b693239020..beff0d851ec7 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -7315,6 +7315,7 @@ static int __check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta,
#endif /* CONFIG_IEEE80211BE */
if (derive_next_pmkid && ap_sta_is_epp(sta) &&
+ sta->auth_alg != WLAN_AUTH_FT &&
hapd->conf->pmksa_caching_privacy &&
ieee802_11_rsnx_capab_len(elems->rsnxe, elems->rsnxe_len,
WLAN_RSNX_CAPAB_PMKSA_CACHING_PRIVACY)) {
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index e13be816118a..46544847319f 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -5787,7 +5787,8 @@ mscs_fail:
#ifdef CONFIG_PMKSA_PRIVACY
ap_rsnxe = wpa_bss_get_rsnxe(wpa_s, wpa_s->current_bss,
NULL, wpa_s->valid_links);
- if ((ssid->pmksa_privacy ||
+ if (auth_type != WLAN_AUTH_FT &&
+ (ssid->pmksa_privacy ||
(wpas_security_profile_active(wpa_s) &&
sec_prof_list_has_epp(ssid->security_profiles))) &&
(wpa_s->drv_flags2 &
--
2.55.0
More information about the Hostap
mailing list