linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 mac80211-next 0/6] add offchannel radar chain support
@ 2021-10-23  9:10 Lorenzo Bianconi
  2021-10-23  9:10 ` [PATCH v2 mac80211-next 1/6] cfg80211: introduce set_radar_offchan callback Lorenzo Bianconi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Lorenzo Bianconi @ 2021-10-23  9:10 UTC (permalink / raw)
  To: johannes; +Cc: nbd, linux-wireless, lorenzo.bianconi, ryder.lee, evelyn.tsai

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-23  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-23  9:10 [PATCH v2 mac80211-next 0/6] add offchannel radar chain support Lorenzo Bianconi
2021-10-23  9:10 ` [PATCH v2 mac80211-next 1/6] cfg80211: introduce set_radar_offchan callback Lorenzo Bianconi
2021-10-23  9:10 ` [PATCH v2 mac80211-next 2/6] mac80211: " Lorenzo Bianconi
2021-10-23  9:10 ` [PATCH v2 mac80211-next 3/6] cfg80211: introduce the capability to configure offchannel CAC detection Lorenzo Bianconi
2021-10-23  9:10 ` [PATCH v2 mac80211-next 4/6] cfg80211: introduce cfg80211_cac_offchan_event routine Lorenzo Bianconi
2021-10-23  9:10 ` [PATCH v2 mac80211-next 5/6] cfg80211: introduce offchannel cac delayed work Lorenzo Bianconi
2021-10-23  9:10 ` [PATCH v2 mac80211-next 6/6] cfg80211: introduce NL80211_EXT_FEATURE_RADAR_OFFCHAN feature flag Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).