wifi: mac80211: Extend support for scanning while MLO connected
authorIlan Peer <ilan.peer@intel.com>
Mon, 13 Nov 2023 09:35:01 +0000 (11:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Nov 2023 19:06:31 +0000 (20:06 +0100)
commitcbde0b49f276c43efca6b5d5193f2d26f51afbfa
treea17cffc39ca84fdfa7a68b53bb38990058b6e944
parent6285ee30caa1a0fbd9537496578085c143127eee
wifi: mac80211: Extend support for scanning while MLO connected

- If the scan request includes a link ID, validate that it is
  one of the active links. Otherwise, if the scan request doesn't
  include a valid link ID, select one of the active links.

- When reporting the TSF for a BSS entry, use the link ID information
  from the Rx status or the scan request to set the parent BSSID.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231113112844.68564692c404.Iae9605cbb7f9d52e00ce98260b3559a34cf18341@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c