blob: 3094b7d316fe54bcd48f663eab4df19e6cbfaf00 [file] [log] [blame]
developer1f55fcf2024-10-17 14:52:33 +08001From 0d11b7b5e82424cc85fb019ae36f42ce2e602d5c 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
developer1f55fcf2024-10-17 14:52:33 +08004Subject: [PATCH 130/193] 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
developer1f55fcf2024-10-17 14:52:33 +080015index 1fe3f09..7d0dea4 100644
developer05f3b2b2024-08-19 19:17:34 +080016--- a/mt7996/init.c
17+++ b/mt7996/init.c
developer1f55fcf2024-10-17 14:52:33 +080018@@ -45,6 +45,7 @@ static const struct ieee80211_iface_combination if_comb[] = {
developer05f3b2b2024-08-19 19:17:34 +080019
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
developer1f55fcf2024-10-17 14:52:33 +080026@@ -444,7 +445,7 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
developer05f3b2b2024-08-19 19:17:34 +080027 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