[PATCH v2 mac80211-next 0/6] add offchannel radar chain support
From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2021-10-23 09:11:24
Introduce the capability to configure a dedicated chain available for radar
detection on some hw (e.g. mt7915). This chain can't be used to transmit or
receive frames and it is bounded to a running wdev.
Offchannel radar/CAC detection allows to avoid the CAC downtime switching
to a different channel during CAC detection on the selected radar channel.
hostapd will implement the logic to select and configure the monitored
channel.
Changes since v1:
- introduce offchanel chain ownership through offchan_radar_wdev pointer
- spilt patch 1/5 in cfg80211 and mac80211 part
- move cac work from driver code to cfg80211
Changes since rfc:
- rely on NL80211_CMD_RADAR_DETECT netlink msg to configure offchannel radar
chain
Lorenzo Bianconi (6):
cfg80211: introduce set_radar_offchan callback
mac80211: introduce set_radar_offchan callback
cfg80211: introduce the capability to configure offchannel CAC
detection
cfg80211: introduce cfg80211_cac_offchan_event routine
cfg80211: introduce offchannel cac delayed work
cfg80211: introduce NL80211_EXT_FEATURE_RADAR_OFFCHAN feature flag
include/net/cfg80211.h | 24 +++++++
include/net/mac80211.h | 10 +++
include/uapi/linux/nl80211.h | 13 ++++
net/mac80211/cfg.c | 13 ++++
net/wireless/ap.c | 2 +
net/wireless/core.c | 2 +
net/wireless/core.h | 15 +++++
net/wireless/mlme.c | 117 +++++++++++++++++++++++++++++++++++
net/wireless/nl80211.c | 17 +++--
net/wireless/rdev-ops.h | 18 ++++++
net/wireless/trace.h | 19 ++++++
11 files changed, 244 insertions(+), 6 deletions(-)
--
2.31.1