]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Disassociate STA only when Link Removal Imminent is 0 in BTM Request frame
authorYuvarani V <yuvarani@qti.qualcomm.com>
Sun, 1 Jun 2025 17:18:08 +0000 (22:48 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 7 Jun 2025 13:41:16 +0000 (16:41 +0300)
commit3e8fa9551a813aaaaacff4a3408800a58fc03abc
tree496338f5339e81c85229e086f24d96d9e4ffd259
parent849bce56e8b84b76e1582aac6852f2ef369d0796
WNM: Disassociate STA only when Link Removal Imminent is 0 in BTM Request frame

When BSS Transition Management (BTM) Request frame is sent by an AP MLD
with disassociation timer set, it is expected to arm disassociation
timer for the STA and eventually disassociate it once the timer expires.

The current code avoids this by assuming that the ML association is not
being terminated and only the link is being removed. However, link
removal is scheduled only when Link Removal Imminent field is set in BTM
request, as per IEEE P802.11be/D7.0 - 9.6.13.9 (BSS Transition
Management Request frame format). If the Link Removal Imminent field in
the Request Mode field is set to 1, the BSS Termination Included field
indicates that the BSS, whose AP transmits this BSS Transition
Management Request frame, is shutting down. In this case, the STA
associated with the AP or the non-AP MLD that has set up only this link
will be disassociated and the non-AP MLD that has set up more than this
link remains associated to the AP MLD with the remaining setup link(s).

Hence, schedule disassociation for STA unless Link Removal Imminent bit
is set to 1 in the BTM Request frame.

Signed-off-by: Yuvarani V <yuvarani@qti.qualcomm.com>
src/ap/wnm_ap.c