]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mac80211_hwsim: add incumbent signal interference detection support
authorAditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Fri, 6 Mar 2026 06:09:27 +0000 (11:39 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Mar 2026 09:54:42 +0000 (10:54 +0100)
commit4e0417a00971cd621e568396c18109f96be2a01d
tree255947cb1d0a0cf5e309beed2e29d63e8c740f9d
parent35de87bf598ca48d5cd5cc7f328ce00df2b5fb59
wifi: mac80211_hwsim: add incumbent signal interference detection support

Add a debugfs 'simulate_incumbent_signal_interference' with custom
file_operations and a .write that accepts "<freq_mhz> <bitmap>". The
handler selects the 6 GHz chanctx whose primary 20 MHz center matches
<freq_mhz> and reports the event via cfg80211_incumbent_signal_notify().
The bitmap marks affected 20 MHz segments within the current chandef
(lowest bit = lowest segment)

Signed-off-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Signed-off-by: Amith A <amith.a@oss.qualcomm.com>
Link: https://patch.msgid.link/20260306060927.504567-2-amith.a@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/virtual/mac80211_hwsim.c