blob: eabeada2c5e62200a8e9ded1e3bbc9f3d5bcd6dd [file] [log] [blame]
developer6bcdd6c2024-03-21 16:26:34 +08001From d4e9249cf62db96fee4c93af5370c526e2029208 Mon Sep 17 00:00:00 2001
2From: mtk23510 <rudra.shahi@mediatek.com>
3Date: Fri, 24 Mar 2023 19:18:53 +0800
4Subject: [PATCH 039/120] mtk: wifi: mt76: mt7996: add driver support for wpa3
5 ocv and bp mt76
6
7Signed-off-by: mtk23510 <rudra.shahi@mediatek.com>
8---
9 mt7996/init.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/mt7996/init.c b/mt7996/init.c
13index fba61c017..1498787f1 100644
14--- a/mt7996/init.c
15+++ b/mt7996/init.c
16@@ -391,6 +391,8 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
17 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CAN_REPLACE_PTK0);
18 wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER);
19
20+ wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION);
21+ wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_PROTECTION);
22 if (!mdev->dev->of_node ||
23 !of_property_read_bool(mdev->dev->of_node,
24 "mediatek,disable-radar-background"))
25--
262.39.2
27