From: Jouni Malinen Date: Mon, 1 Feb 2021 15:08:52 +0000 (+0200) Subject: Add EAPOL-4WAY-HS-COMPLETED indication to AP X-Git-Tag: hostap_2_10~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2302f878c72b3474adc89971af659c2a7b1212;p=thirdparty%2Fhostap.git Add EAPOL-4WAY-HS-COMPLETED indication to AP This makes it easier for test scripts to track completion of 4-way handshake from hostapd, e.g., when going through PTK rekeying. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index 9655cd522..83805681e 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -3694,6 +3694,8 @@ SM_STATE(WPA_PTK, PTKINITDONE) wpa_auth_vlogger(sm->wpa_auth, sm->addr, LOGGER_INFO, "pairwise key handshake completed (%s)", sm->wpa == WPA_VERSION_WPA ? "WPA" : "RSN"); + wpa_msg(sm->wpa_auth->conf.msg_ctx, MSG_INFO, "EAPOL-4WAY-HS-COMPLETED " + MACSTR, MAC2STR(sm->addr)); #ifdef CONFIG_IEEE80211R_AP wpa_ft_push_pmk_r1(sm->wpa_auth, sm->addr);