]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Generate and keep per STA profiles for each link
authorSriram R <quic_srirrama@quicinc.com>
Wed, 7 Aug 2024 06:41:41 +0000 (12:11 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 7 Aug 2024 15:57:09 +0000 (18:57 +0300)
commit2042cae9b3a485f4e0c7bf5ee0f7c65190070775
tree19a95b79ba5fe18d15f684942dea4b9ee704d868
parent8f07e9699b999f43f76fcbf5d7454daada81b4ef
AP MLD: Generate and keep per STA profiles for each link

Currently, upon receiving a Probe Request frame, per STA profile is
generated and added to the Probe Response frame. However, the per STA
profile remains unchanged unless there’s a property change in one of the
affliated link of the AP MLD. This approach introduces unnecessary delay
in forming and sending out the Probe Response frame.

To optimize this process, generate the per STA profile for each link at
the start and store it. When needed, it can be simply copied into the
Probe Response frame. Additionally, whenever there’s a change in the
link’s properties, re-generate the per STA profiles for all affiliated
links of the AP MLD.

As an initial step, copy the complete per STA profile and store it
within the links. The intersection with reporting BSS and inheritance
will be addressed in a subsequent change. Then finally, this will be
used to generate the Probe Response frame. As of this commit, no change
in adding per STA profiles in the Probe Response frame.

Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
Co-developed-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/beacon.c
src/ap/hostapd.c
src/ap/hostapd.h