All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: johannes@sipsolutions.net
Cc: nbd@nbd.name, linux-wireless@vger.kernel.org,
	lorenzo.bianconi@redhat.com, ryder.lee@mediatek.com,
	evelyn.tsai@mediatek.com
Subject: [PATCH v2 mac80211-next 0/6] add offchannel radar chain support
Date: Sat, 23 Oct 2021 11:10:49 +0200	[thread overview]
Message-ID: <cover.1634979655.git.lorenzo@kernel.org> (raw)

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


             reply	other threads:[~2021-10-23  9:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23  9:10 Lorenzo Bianconi [this message]
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

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=cover.1634979655.git.lorenzo@kernel.org \
    --to=lorenzo@kernel.org \
    --cc=evelyn.tsai@mediatek.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=nbd@nbd.name \
    --cc=ryder.lee@mediatek.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.