Skip to content

wifi: cfg80211/mac80211: add support to handle incumbent signal detected event

Amith A linux-wireless 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 0 repliesNew
  2. v52 patches 1 replySuperseded
  3. v43 patches 7 repliesSuperseded

Changes in v6 from the cover letter

- Simplified chanctx iterator plumbing, tightened input length validation replaced strsep/kstrtou32 parsing with sscanf and collapsed local variables to reduce complexity.
- Removed patch "wifi: cfg80211: add support to handle incumbent signal detected event from mac80211/driver" from the series as it got accepted.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1wifi: mac80211_hwsim: add incumbent signal interference detection supportdrivers/net/wireless/virtual/mac80211_hwsim.c+64 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH wireless-next v6 0/1] wifi: cfg80211/mac80211: add support to handle incumbent signal detected event

This patch series adds support to handle incumbent signal interference detected event in 6 GHz band. When an incumbent signal is detected by an AP/mesh interface operating in 6 GHz band, the AP/mesh is expected to vacate the channels affected by it.

Driver is expected to call the newly introduced API with required information to notify the interference detection. This information will be ultimately sent to user space via NL802111 command. User space is expected to process it and take further action - vacate the channel, or reduce the bandwidth.

Aditya Kumar Singh (1):
wifi: mac80211_hwsim: add incumbent signal interference detection
support
---
Changes in v6:
- Simplified chanctx iterator plumbing, tightened input length validation replaced strsep/kstrtou32 parsing with sscanf and collapsed local variables to reduce complexity.
- Removed patch "wifi: cfg80211: add support to handle incumbent signal detected event from mac80211/driver" from the series as it got accepted.
Changes in v5:
- Made chandef const in cfg80211_incumbent_signal_notify()
- Removed mac80211 wrapper ieee80211_incumbent_signal_detected(). Driver/hwsim calls cfg80211 notify directly.
- In mac80211_hwsim, switched debugfs to custom fops with .write that accepts “freq_mhz bitmap”. Now 6 GHz chanctx is selected by primary 20 MHz center.

Changes in v4:
- Restored gfp_t in cfg80211_incumbent_signal_notify().
- Dropped incumbt_sig_intf_bmap from ieee80211_chanctx_conf and passed bitmap directly.
- Updated trace/call path: api_incumbent_signal_detected() to take bitmap
- Simplified hwsim: removed helper struct.

Changes in v3:
- Removed the workqueue mechanism in ieee80211_incumbent_signal_detected(), exported the cfg80211_ function that sends the NL80211 command and called it from ieee80211_incumbent_signal_detected() directly.
- Renamed nl80211_incumbent_signal_notify() to cfg80211_incumbent_signal_notify() and removed the gfp argument from it.

Changes in v2:
- Updated the kernel doc of NL80211_ATTR_INCUMBENT_SIGNAL_INTERFERENCE_BITMAP to include details of how it interacts with puncturing.
- Rebased on ToT

---
 drivers/net/wireless/virtual/mac80211_hwsim.c | 64 +++++++++++++++++++
 1 file changed, 64 insertions(+)

base-commit: 5d048bbed1bb2bbef612dad0bb9c177c434e63a4

Signature · 1 line
2.34.1