developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 1 | From ab5d7deb92a8180b4d236da52863bfe9b7327dca Mon Sep 17 00:00:00 2001 |
| 2 | From: Rex Lu <rex.lu@mediatek.com> |
| 3 | Date: Thu, 30 May 2024 17:39:38 +0800 |
| 4 | Subject: [PATCH 142/199] mtk: mt76: mt7996: fix kite can't handle 11v beacon |
| 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 |
| 15 | index 7cf3a37e..cc696a69 100644 |
| 16 | --- 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 | -- |
| 36 | 2.18.0 |
| 37 | |