]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Handle EAPOL only on the association link
authorChenming Huang <quic_chenhuan@quicinc.com>
Thu, 23 Nov 2023 09:49:22 +0000 (15:19 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 2 Feb 2024 21:01:57 +0000 (23:01 +0200)
commit56038999765906710d58baad536323e976e1a2d2
tree0b96a70681f3da4a092be4e8ef70e9d0139b046b
parent7ba039ba11a34639411fa56053ea158241eaa211
AP MLD: Handle EAPOL only on the association link

For some implementation, there is no link id in EAPOL event, e.g., use
drv_event_eapol_rx for receiving. Current design for such case is switch
to a link that stores the peer. However, this is error-prone because for
non-AP MLD case, sta_info is stored in all valid links but EAPOL sm is
only initialized in the association link. If EAPOL RX event is handled
in a non-association link, it will be discarded and this leads to EAPOL
timeout.

So find the association link to handle received EAPOL frame in such
case. This replaces the previously used workaround for RSN/wpa_sm for
the no link id specified case.

Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
src/ap/drv_callbacks.c