]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Handle re-association from a non-AP MLD
authorIlan Peer <ilan.peer@intel.com>
Mon, 20 Nov 2023 23:51:42 +0000 (01:51 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 25 Nov 2023 22:05:51 +0000 (00:05 +0200)
commite996704201e7ef6eedf655322f8c402cf65d1539
tree5216915e3e586cdea4cb45532032d4a0fb616757
parenta18f8ee0f5b209b1ece739bc7604dd496fd3b6c8
AP: Handle re-association from a non-AP MLD

When processing a (Re)Association Request frame and no corresponding
station is found, try to find the station using the station MLD MAC
address from the Basic ML element, as it is possible that the station
is trying to re-associate but with a different link address (in such
a case the underlying driver would not perform address translations).

When sending the (Re)Association Response frame, use the addresses from
the (Re)Association Request frame and not the AP MLD MAC address, again,
to avoid the address translation done in the driver.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/ap/ieee802_11.c
src/ap/ieee802_11.h
src/ap/ieee802_11_eht.c