]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Send external auth status after sending Authentication frame
authorVinay Gannevaram <quic_vganneva@quicinc.com>
Fri, 5 Jan 2024 06:58:41 +0000 (12:28 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 31 Jul 2024 15:28:39 +0000 (18:28 +0300)
commit7e0e69cfeac300414ef0492bc76a2aa164443249
tree04423dc7769c4dc1c018162809375d88b89200cf
parentbe6e4279fa5f7c5e96cf55503ab97058aced7960
SAE: Send external auth status after sending Authentication frame

The driver might delete the STA node details on receiving external auth
status. In SAE authentication failure case on the AP, an Authentication
frame with a failure status is sent to the driver after sending the
external auth status. Authentication frame transmission didn't have a
dependency with STA node details earlier, but with MLO, Authentication
frames should be transmitted using the link address for a given MLD MAC
address by the supplicant. Since MLD to link address translation is done
by the driver, the STA node details are required to transmit the
Authentication frame. Hence, send external auth status to the driver
after sending the Authentication frame.

SAE external auth was introduced in commit 4ffb0fefe4e7 ("hostapd:
Support external authentication offload in AP mode"), which requires the
change in order of sending Authentication frame and auth status in case
of failure when using MLO.

Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
src/ap/ieee802_11.c