[RFC 16/30] SME: Indicate support for SMD when using EPPKE

Ilan Peer ilan.peer at intel.com
Wed Oct 21 06:43:34 PDT 2026


When SMD is supported and doing EPPKE authentication
indicate in the RSNXE that SMD is supported.

Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
 wpa_supplicant/sme.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index d928367c6d2f..658a7052ed22 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -1746,6 +1746,9 @@ static int wpas_eppke_initialize(struct wpa_supplicant *wpa_s,
 	    ieee802_11_rsnx_capab(ap_rsnxe, WLAN_RSNX_CAPAB_SPP_A_MSDU))
 		capab |= BIT(WLAN_RSNX_CAPAB_SPP_A_MSDU);
 
+	if (wpa_s->drv_flags2 & WPA_DRIVER_FLAGS2_SMD_STA_SUPPORT)
+		capab |= BIT_ULL(WLAN_RSNX_CAPAB_SMD);
+
 	pasn_set_rsnxe_caps(pasn, capab);
 	pasn_set_initiator_pmksa(pasn, wpa_sm_get_pmksa_cache(wpa_s->wpa));
 
-- 
2.55.0




More information about the Hostap mailing list