From: Benjamin Berg <benjamin@xxxxxxxxxxxxxxxx> This patchset refactors the BSS selection when handling BTM requests to use the normal selection mechanism. This is done by moving all checks into wnm_is_bss_excluded. The advantage of this is that the code is simpler overall and that the tests in wnm_is_bss_excluded are also used when doing link selection during MLO. As part of this, the behaviour of the BTM handling code is updated somewhat to handle the abridged bit and also parse the candidate list even if it is not mandatory to do so. Avraham Stern (1): MBO: Always accept BTM request with disassociation imminent bit set Benjamin Berg (15): WNM: Only trigger selection logic for own scans WNM: Store whether disassociation address is an MLD Address WNM: Use os_relatime_add_ms helper WNM: Split candidate list parsing into a separate function WNM: Remove unused age parameter for neighbor comparison WNM: Swap logic in wnm_is_bss_excluded to allow more checks WNM: Move neighbor report test into wnm_is_bss_excluded WNM: Move driver MBO transition rejection into wnm_is_bss_excluded tests: Set the abridged bit in BTM tests WNM: Use standard BSS selection and enable abridged bit handling WNM: Reject requests with an invalid dialog token WNM: Consolidate the scanning paths for BTM requests WNM: Always parse candidate list tests: Add a WNM tests to check candidate list is used if not required WNM: Scan for BSSID if there are forbidden neighbors tests/hwsim/test_ap_hs20.py | 1 + tests/hwsim/test_hapd_ctrl.py | 1 + tests/hwsim/test_wnm.py | 91 +++-- wpa_supplicant/events.c | 8 +- wpa_supplicant/wnm_sta.c | 600 ++++++++++++++---------------- wpa_supplicant/wnm_sta.h | 2 +- wpa_supplicant/wpa_supplicant_i.h | 9 +- 7 files changed, 349 insertions(+), 363 deletions(-) -- 2.44.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap