]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Recognize Basic MLE in Authentication frames even without H2E
authorJouni Malinen <quic_jouni@quicinc.com>
Fri, 13 Sep 2024 00:15:31 +0000 (03:15 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 13 Sep 2024 00:30:58 +0000 (03:30 +0300)
commitccba6921de6372a2220350bb5ed5776ea8c76bbb
treeca25f429d178c261cf7134a6bad2dbb4c570aef0
parentc97168f58ae96476f70a74c84d236603a8d989fd
SAE: Recognize Basic MLE in Authentication frames even without H2E

IEEE P802.11be requires H2E to be used whenever SAE is used for ML
association. However, some early Wi-Fi 7 APs enable MLO without H2E.
Recognize this special case based on the fixed length Basic Multi-Link
element being at the end of the data that would contain the unknown
variable length Anti-Clogging Token field. The Basic Multi-Link element
in Authentication frames include the MLD MAC addreess in the Common Info
field and all subfields of the Presence Bitmap subfield of the
Multi-Link Control field of the element zero and consequently, has a
fixed length of 12 octets.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/sme.c