wifi: cfg80211: add RNR with reporting AP information
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 2 Jan 2024 19:35:32 +0000 (21:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jan 2024 08:39:32 +0000 (09:39 +0100)
commit4d1d6b3f45999b1ddde53831d639a67e2655285f
tree56c89dc36c0fdbc1ad62770e00fa3e45ac9bf75e
parent7f78840cf4d4ac9ab36ddf574a025a45835375d0
wifi: cfg80211: add RNR with reporting AP information

If the reporting AP is part of the same MLD, then an entry in the RNR is
required in order to discover it again from the BSS generated from the
per-STA profile in the Multi-Link Probe Response.

We need this because we do not have a direct concept of an MLD AP and
just do the lookup from one to the other on the fly if needed. As such,
we need to ensure that this lookup will work both ways.

Fixes: 2481b5da9c6b ("wifi: cfg80211: handle BSS data contained in ML probe responses")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240102213313.4cb3dbb1d84f.I7c74edec83c5d7598cdd578929fd0876d67aef7f@changeid
[roll in off-by-one fix and test updates from Benjamin]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c
net/wireless/tests/scan.c