[PATCH] mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST

From: Kristian Evensen
Date: Sun Aug 12 2018 - 10:53:10 EST


Enable the use of CQM with mt76-devices.

Signed-off-by: Kristian Evensen <kristian.evensen@xxxxxxxxx>
---
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