diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-02-28 19:23:09 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-04-11 12:30:20 +0300 |
commit | 670d9e53886c942b7f29c475b2b494278e586921 (patch) | |
tree | 1916f66a0707b3ba7fb2b989a1960c035ec32cf1 | |
parent | 87fce88658ba047ae62e83497d3f3c5dc22fa6f9 (diff) |
mt7601u: enable TDLS support
Notify mac80211 the mt7601u chipset support 802.11 TDLS. The feature has
been tested with a mt7610u peer.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/8f9fd662cdbbb70ba896f1bea80e696b15011d3f.1614536496.git.lorenzo@kernel.org
-rw-r--r-- | drivers/net/wireless/mediatek/mt7601u/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt7601u/init.c b/drivers/net/wireless/mediatek/mt7601u/init.c index cada48800928..5d9e952b2966 100644 --- a/drivers/net/wireless/mediatek/mt7601u/init.c +++ b/drivers/net/wireless/mediatek/mt7601u/init.c @@ -610,6 +610,7 @@ int mt7601u_register_device(struct mt7601u_dev *dev) wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); + wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS; wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST); |