]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: ML handling of neighbor report entries
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 18 Jul 2025 11:01:02 +0000 (13:01 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Oct 2025 13:26:23 +0000 (16:26 +0300)
commit0e6a029382cf2f9606b130b7f7a48c72a9ad6cba
treeddaf5ceef7bf2e077ce5af507683b3adec1ebe52
parent3e663cc7982d3ca5cf3fe9ce88b58890d59b54e1
WNM: ML handling of neighbor report entries

Parse out the AP MLD MAC address and also the provided list of link IDs
using the per-STA profile when provided. If given, the MLD MAC address
will be non-zero and the same is true for the link bitmask which will be
non-zero when links have been specified.

Use this information in wnm_is_bss_excluded() to correctly limit the
links for MLD neighbor report entries. Note that this implementation may
permit more links than expected if these links are part of different
neighbor report entries. This is rarely the case, though, and should it
happen, the AP can simply reject the association on one of the links.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/common/ieee802_11_defs.h
wpa_supplicant/wnm_sta.c
wpa_supplicant/wnm_sta.h