Introduce the capability to configure a dedicated chain available for radar detection on some hw (e.g. mt7915). The driver is supposed to implement CAC management in sw or fw while hostapd will implement the logic to select and configure the monitored channel. Using a dedicated chain to perform the CAC, the AP can avoid the CAC downtime switching to a new DFS channel. Changes since rfc: - rely on NL80211_CMD_RADAR_DETECT netlink msg to configure offchannel radar chain Lorenzo Bianconi (4): mac80211: introduce set_radar_offchan callback cfg80211: introduce NL80211_ATTR_RADAR_OFFCHAN netlink attribute cfg80211: introduce cfg80211_cac_offchan_event routine cfg80211: introduce NL80211_EXT_FEATURE_RADAR_OFFCHAN feature flag include/net/cfg80211.h | 19 +++++++++++++++++++ include/net/mac80211.h | 5 +++++ include/uapi/linux/nl80211.h | 10 ++++++++++ net/mac80211/cfg.c | 13 +++++++++++++ net/wireless/mlme.c | 26 ++++++++++++++++++++++++++ net/wireless/nl80211.c | 16 ++++++++++++++-- net/wireless/rdev-ops.h | 17 +++++++++++++++++ net/wireless/trace.h | 19 +++++++++++++++++++ 8 files changed, 123 insertions(+), 2 deletions(-) -- 2.31.1