From: Kristian Evensen <kristian.evensen@gmail.com>
To: linux-wireless@vger.kernel.org, kvalo@codeaurora.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Kristian Evensen <kristian.evensen@gmail.com>
Subject: [PATCH] mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST
Date: Sun, 12 Aug 2018 16:52:07 +0200 [thread overview]
Message-ID: <20180812145207.11395-1-kristian.evensen@gmail.com> (raw)
Enable the use of CQM with mt76-devices.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
---
drivers/net/wireless/mediatek/mt76/mac80211.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c
index 029d54bc..3eb328ff 100644
--- a/drivers/net/wireless/mediatek/mt76/mac80211.c
+++ b/drivers/net/wireless/mediatek/mt76/mac80211.c
@@ -305,6 +305,8 @@ int mt76_register_device(struct mt76_dev *dev, bool vht,
wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR;
+ wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
+
wiphy->available_antennas_tx = dev->antenna_mask;
wiphy->available_antennas_rx = dev->antenna_mask;
--
2.14.1
next reply other threads:[~2018-08-12 14:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-12 14:52 Kristian Evensen [this message]
2018-08-12 18:14 ` [PATCH] mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST Kalle Valo
[not found] ` <871sb3zc3v.fsf-HodKDYzPHsUD5k0oWYwrnHL1okKdlPRT@public.gmane.org>
2018-08-12 18:44 ` Arend van Spriel
2018-08-13 4:58 ` Kristian Evensen
[not found] ` <5B708025.4090906-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2018-08-13 10:55 ` Lorenzo Bianconi
[not found] ` <CAJ0CqmVZNAnHwnU4YqRRv7R8DyHi2MiFJr1bvQDPVszUU5Ez3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-08-13 12:39 ` Arend van Spriel
2018-08-13 14:25 ` Kristian Evensen
[not found] ` <CAKfDRXia3zwW9Q=7RZGqK_DWCsyQzG4KEZHsyHzGcNb70Ge1kA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-08-18 2:28 ` Andrew Zaborowski
2018-08-31 12:25 ` Kristian Evensen
2018-08-31 13:15 ` Lorenzo Bianconi
2018-08-31 13:20 ` Kristian Evensen
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=20180812145207.11395-1-kristian.evensen@gmail.com \
--to=kristian.evensen@gmail.com \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).