public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: nbd@nbd.name
Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org,
	ryder.lee@mediatek.com, royluo@google.com, yf.luo@mediatek.com
Subject: [RFC 4/5] mt76: mt7615: unlock dfs bands
Date: Wed, 26 Jun 2019 00:01:25 +0200	[thread overview]
Message-ID: <5b95dc9a237dc4e130c65d8480ca0cad2a5b9313.1561499275.git.lorenzo@kernel.org> (raw)
In-Reply-To: <cover.1561499275.git.lorenzo@kernel.org>

Unlock dfs channels since now mt7615 driver supports radar detection

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/wireless/mediatek/mt76/mt7615/init.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c
index 5dc4cced5789..6d336d82cafe 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c
@@ -152,6 +152,12 @@ static const struct ieee80211_iface_combination if_comb[] = {
 		.max_interfaces = 4,
 		.num_different_channels = 1,
 		.beacon_int_infra_match = true,
+		.radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
+				       BIT(NL80211_CHAN_WIDTH_20) |
+				       BIT(NL80211_CHAN_WIDTH_40) |
+				       BIT(NL80211_CHAN_WIDTH_80) |
+				       BIT(NL80211_CHAN_WIDTH_160) |
+				       BIT(NL80211_CHAN_WIDTH_80P80),
 	}
 };
 
-- 
2.21.0


  parent reply	other threads:[~2019-06-25 22:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 22:01 [RFC 0/5] add hw dfs pattern detector support to mt7615 driver Lorenzo Bianconi
2019-06-25 22:01 ` [RFC 1/5] mt76: mt7615: introduce mt7615_regd_notifier Lorenzo Bianconi
2019-06-25 22:01 ` [RFC 2/5] mt76: mt7615: add hw dfs pattern detector support Lorenzo Bianconi
2019-06-25 22:01 ` [RFC 3/5] mt76: mt7615: do not perform txcalibration before cac is complited Lorenzo Bianconi
2019-06-25 22:01 ` Lorenzo Bianconi [this message]
2019-06-25 22:01 ` [RFC 5/5] mt76: mt7615: add radar pattern test knob to debugfs Lorenzo Bianconi
2019-06-26  9:46 ` [RFC 0/5] add hw dfs pattern detector support to mt7615 driver Ryder Lee

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=5b95dc9a237dc4e130c65d8480ca0cad2a5b9313.1561499275.git.lorenzo@kernel.org \
    --to=lorenzo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=nbd@nbd.name \
    --cc=royluo@google.com \
    --cc=ryder.lee@mediatek.com \
    --cc=yf.luo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox