]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Handle authentication and association on link address
authorSriram R <quic_srirrama@quicinc.com>
Wed, 17 Apr 2024 04:27:44 +0000 (09:57 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 20 Apr 2024 12:58:48 +0000 (15:58 +0300)
commitfd1a35e14a1b24350cb428a036b16708a111111c
tree8c9090e6e88cdb8e7d80249efe2fb6d5e998af8a
parente4e7724560191e634613784a3d2a91c889b2ef6e
AP MLD: Handle authentication and association on link address

The nl80211 driver interface function mlme_event_mgmt_tx_status(),
filled in link_id only if the frame was the last transmitted on the
whole drv (driver) level. With co-hosted MLDs, there could be cases
where multiple frames are sent out by various interfaces (BSS) under the
same drv. Now while handling the TX status, only one interface will get
the proper link_id. Rest will get -1 and the event will be routed to the
first BSS always. If the frame was not sent from the first BSS this
leads to possibility of the frame getting dropped.

Hence to make the underlying link identification easier, modify
authentication and association frames to be always sent with the link
address as A1 and A3 for ease of TX status handling.

Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/ieee802_11.c