diff options
author | Ilan Peer <ilan.peer@intel.com> | 2023-11-13 11:35:00 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-11-24 20:06:30 +0100 |
commit | 6285ee30caa1a0fbd9537496578085c143127eee (patch) | |
tree | a539acdb0c9afae8ead2e6949d6782fea54ed2a2 /net/wireless | |
parent | d3ca4ab4f16eb81dc3e7721251adcba49b229d54 (diff) | |
download | linux-6285ee30caa1a0fbd9537496578085c143127eee.tar.gz linux-6285ee30caa1a0fbd9537496578085c143127eee.tar.bz2 linux-6285ee30caa1a0fbd9537496578085c143127eee.zip |
wifi: cfg80211: Extend support for scanning while MLO connected
To extend the support of TSF accounting in scan results for MLO
connections, allow to indicate in the scan request the link ID
corresponding to the BSS whose TSF should be used for the TSF
accounting.
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.d4490bcdefb1.I8fcd158b810adddef4963727e9153096416b30ce@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 569234bc2be6..12b7bd92bb86 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -9337,6 +9337,7 @@ static int nl80211_trigger_scan(struct sk_buff *skb, struct genl_info *info) else eth_broadcast_addr(request->bssid); + request->tsf_report_link_id = nl80211_link_id_or_invalid(info->attrs); request->wdev = wdev; request->wiphy = &rdev->wiphy; request->scan_start = jiffies; |