developer | 1f55fcf | 2024-10-17 14:52:33 +0800 | [diff] [blame^] | 1 | From 0d11b7b5e82424cc85fb019ae36f42ce2e602d5c Mon Sep 17 00:00:00 2001 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 2 | From: Rex Lu <rex.lu@mediatek.com> |
| 3 | Date: Thu, 30 May 2024 17:39:38 +0800 |
developer | 1f55fcf | 2024-10-17 14:52:33 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 130/193] mtk: mt76: mt7996: fix kite can't handle 11v beacon |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 5 | on sta side |
| 6 | |
| 7 | this hw flag SUPPORTS_MULTI_BSSID need to set. otherwise cfg80211_parse_mbssid_data will not handle 11v mbss beacon |
| 8 | |
| 9 | Signed-off-by: Rex Lu <rex.lu@mediatek.com> |
| 10 | --- |
| 11 | mt7996/init.c | 3 ++- |
| 12 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/mt7996/init.c b/mt7996/init.c |
developer | 1f55fcf | 2024-10-17 14:52:33 +0800 | [diff] [blame^] | 15 | index 1fe3f09..7d0dea4 100644 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 16 | --- a/mt7996/init.c |
| 17 | +++ b/mt7996/init.c |
developer | 1f55fcf | 2024-10-17 14:52:33 +0800 | [diff] [blame^] | 18 | @@ -45,6 +45,7 @@ static const struct ieee80211_iface_combination if_comb[] = { |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 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 | |
developer | 1f55fcf | 2024-10-17 14:52:33 +0800 | [diff] [blame^] | 26 | @@ -444,7 +445,7 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed) |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 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 | -- |
developer | d0c8945 | 2024-10-11 16:53:27 +0800 | [diff] [blame] | 36 | 2.45.2 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 37 | |