]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Learn AP MLD MAC address from Beacon frames
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 10 Aug 2023 07:57:07 +0000 (10:57 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 10 Aug 2023 09:14:31 +0000 (12:14 +0300)
commit74e4a0a6f1e420e2f5492a54c8786b5288ec1533
treec7067c939f5bfa2661077b3943198fd565f117f1
parent3973300b8deda00a096f1c3f13a2147d5507ebd0
wlantest: Learn AP MLD MAC address from Beacon frames

Use the Basic Multi-Link element in Beacon frames (and Probe Response
frames for that matter) to learn the AP MLD MAC address instead of
having to wait until this address is included in an EAPOL-Key frame.
This is needed for FT protocol (where 4-way handshake is not used) and
it is also convenient to have the MLD MAC address available as soon as
possible to be able to decrypt frames and even to recognize some special
AP vs. STA cases when either the BSSID or the AP MLD MAC address might
be used.

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