blob: b9f377eb5931f32d7647229b27b0365a3684e80e [file] [log] [blame]
developerd0c89452024-10-11 16:53:27 +08001From f703aab4906d08ae441eb0c710c288db45445cae Mon Sep 17 00:00:00 2001
developer05f3b2b2024-08-19 19:17:34 +08002From: Rex Lu <rex.lu@mediatek.com>
3Date: Thu, 30 May 2024 17:39:38 +0800
developerd0c89452024-10-11 16:53:27 +08004Subject: [PATCH 130/223] mtk: mt76: mt7996: fix kite can't handle 11v beacon
developer05f3b2b2024-08-19 19:17:34 +08005 on sta side
6
7this hw flag SUPPORTS_MULTI_BSSID need to set. otherwise cfg80211_parse_mbssid_data will not handle 11v mbss beacon
8
9Signed-off-by: Rex Lu <rex.lu@mediatek.com>
10---
11 mt7996/init.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/mt7996/init.c b/mt7996/init.c
developerd0c89452024-10-11 16:53:27 +080015index 32c79bd8..001f0d9c 100644
developer05f3b2b2024-08-19 19:17:34 +080016--- a/mt7996/init.c
17+++ b/mt7996/init.c
18@@ -48,6 +48,7 @@ static const struct ieee80211_iface_combination if_comb[] = {
19
20 static const u8 mt7996_if_types_ext_capa[] = {
21 [0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING,
22+ [2] = WLAN_EXT_CAPA3_MULTI_BSSID_SUPPORT,
23 [7] = WLAN_EXT_CAPA8_OPMODE_NOTIF,
24 };
25
26@@ -447,7 +448,7 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
27 ieee80211_hw_set(hw, SUPPORTS_TX_ENCAP_OFFLOAD);
28 ieee80211_hw_set(hw, SUPPORTS_RX_DECAP_OFFLOAD);
29 ieee80211_hw_set(hw, WANT_MONITOR_VIF);
30- // ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
31+ ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
32 ieee80211_hw_set(hw, CHANCTX_STA_CSA);
33 ieee80211_hw_set(hw, CONNECTION_MONITOR);
34
35--
developerd0c89452024-10-11 16:53:27 +0800362.45.2
developer05f3b2b2024-08-19 19:17:34 +080037