]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Define a new MLD-level PMKSA cache shared by all links
authorChenming Huang <quic_chenhuan@quicinc.com>
Wed, 26 Feb 2025 14:32:20 +0000 (20:02 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 27 Feb 2025 10:11:42 +0000 (12:11 +0200)
commit799cc8eca9ef51a485ff98f3b45a54bbcb90dc56
treec31f5e59533805d3e71f527576411681ed6c0e2b
parent1993770a5433e0512b0a8c3c1b67abf14068d679
AP MLD: Define a new MLD-level PMKSA cache shared by all links

Currently PMKSA is only cached on the association link. Subsequent
connections may happen on other links if peer is a non-AP MLD.
Association using SAE might get rejected due to PMKID not found in such
cases.

Define a new PMKSA entry list in struct wpa_authenticator which will be
used in subsequent commits. Initialize ml_pmksa only on the primary link
authenticator and deinitialize it when the last link authenticator is
deinitialized. Other affiliated links share the same instance.

Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_glue.c
src/ap/wpa_auth_i.h