mbox series

[wireless-next,v2,0/3] wifi: cfg80211/mac80211: Handle simultaneous scan and DFS operations on different radios

Message ID 20250527-mlo-dfs-acs-v2-0-92c2f37c81d9@quicinc.com
Headers show
Series wifi: cfg80211/mac80211: Handle simultaneous scan and DFS operations on different radios | expand

Message

Raj Kumar Bhagat May 27, 2025, 8:41 a.m. UTC
This patch series addresses the intersection of scan and DFS operations
with multi-radio wiphy case. The changes allow for more flexible handling
of scan and DFS operations when both operations are on different radios
within a same wiphy.

---
Changes in v2:
- Half-open interval ([start, end[) frequency range check added for API:
  cfg80211_get_radio_idx_by_chan().
- In API ieee80211_is_radio_idx_in_scan_req(), WARN_ON() and abort logic
  added for unexpected case.
- Function __ieee80211_is_scan_ongoing() renamed to
  ieee80211_is_scan_ongoing().
- The logic to handle ongoing roc work and scan with multi-radio wiphy is
  simplified in the function- ieee80211_is_scan_ongoing().
- Patch re-ordering is done.
- Link to v1: https://lore.kernel.org/r/20250514-mlo-dfs-acs-v1-0-74e42a5583c6@quicinc.com

---
Aditya Kumar Singh (1):
      wifi: mac80211: Allow DFS/CSA on a radio if scan is ongoing on another radio

Raj Kumar Bhagat (1):
      wifi: mac80211: Allow scan on a radio while operating on DFS on another radio

Vasanthakumar Thiagarajan (1):
      wifi: cfg80211: Add utility API to get radio index from channel

 include/net/cfg80211.h     | 11 ++++++++++
 net/mac80211/cfg.c         | 54 ++++++++++++++++++++++++++++++++++++++++++++--
 net/mac80211/chan.c        | 30 +++++++++++++++++++++++---
 net/mac80211/ieee80211_i.h |  6 +++++-
 net/mac80211/offchannel.c  |  5 ++++-
 net/mac80211/scan.c        | 20 +++++++++++------
 net/mac80211/util.c        | 27 +++++++++++++++++++++++
 net/wireless/util.c        | 24 +++++++++++++++++++++
 8 files changed, 163 insertions(+), 14 deletions(-)
---
base-commit: ea15e046263b19e91ffd827645ae5dfa44ebd044
change-id: 20250514-mlo-dfs-acs-33d7d9eea437