]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Keep BTM information until connection completes
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 20 Feb 2024 13:18:27 +0000 (14:18 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 2 Mar 2024 18:52:50 +0000 (20:52 +0200)
commite508c070c40e1727a14ef740840b4b98cb020746
treeebb5a65f5a70d6253b01979d265c217e6511e090
parent17a2aa822c26b042b89491677b844730f29699dc
WNM: Keep BTM information until connection completes

In the MLD case, the information from the transition management request
is relevant during the association process in order to filter out links
that were disallowed by the BTM request. Also, the information remains
useful should a connection attempt fail.

To enable these scenarios, keep the information around until the
connection has completed. As this might make it impossible to establish
a connection, also clear this information at the same time that a normal
BSS ignore is cleared to avoid getting stuck in case the transition
fails unexpectedly.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/events.c
wpa_supplicant/wnm_sta.c
wpa_supplicant/wnm_sta.h
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h