]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Move driver MBO transition rejection into wnm_is_bss_excluded()
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 19 Sep 2024 10:19:15 +0000 (12:19 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2024 10:01:33 +0000 (12:01 +0200)
commit53f9d6f695ac3da505353188dd3fb4a855b5c8b9
treed907ec581989d07962bb71cd45b83b497b5a6aec
parent977edbdd9b66653e23cb5ea35600a47fb305b0e6
WNM: Move driver MBO transition rejection into wnm_is_bss_excluded()

Change the logic a bit to not directly use the result of the
wpa_drv_get_bss_trans_status() call and instead use the same selection
logic as usual but taking into account the driver rejections.

This changes the logic in minor ways. The main change is that this
aligns the ordering of BSSs to be identical in all cases. More
precisely, we'll select the best BSS as found by find_better_target().

Beyond that, it also means that in the case of an non-abridged BTM
request we'll also consider candidates that were found through the scan
and not in the neighbor report. In this case, the driver will not have a
chance to reject them.

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