public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Amith A <amith.a@oss.qualcomm.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org, amith.a@oss.qualcomm.com
Subject: [PATCH wireless-next v5 0/2] wifi: cfg80211/mac80211: add support to handle incumbent signal detected event
Date: Mon, 16 Feb 2026 08:50:25 +0530	[thread overview]
Message-ID: <20260216032027.2310956-1-amith.a@oss.qualcomm.com> (raw)

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

Hari Chandrakanthan (1):
  wifi: cfg80211: add support to handle incumbent signal detected event
    from mac80211/driver
---
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 | 80 +++++++++++++++++++
 drivers/net/wireless/virtual/mac80211_hwsim.h |  2 +
 include/net/cfg80211.h                        | 23 ++++++
 include/uapi/linux/nl80211.h                  | 19 +++++
 net/wireless/nl80211.c                        | 40 ++++++++++
 net/wireless/trace.h                          | 19 +++++
 6 files changed, 183 insertions(+)


base-commit: 333225e1e9ead7b06e5363389403bdac72ba3046
-- 
2.34.1


             reply	other threads:[~2026-02-16  3:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-16  3:20 Amith A [this message]
2026-02-16  3:20 ` [PATCH wireless-next v5 1/2] wifi: cfg80211: add support to handle incumbent signal detected event from mac80211/driver Amith A
2026-02-16  3:20 ` [PATCH wireless-next v5 2/2] wifi: mac80211_hwsim: add incumbent signal interference detection support Amith A
2026-03-02  8:22   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260216032027.2310956-1-amith.a@oss.qualcomm.com \
    --to=amith.a@oss.qualcomm.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox