blob: 7d6fb6fca6eb978993c37b08032ca595e1db82cf [file] [log] [blame]
developer9237f442024-06-14 17:13:04 +08001From 2611bc7e80596500702dd3eef9d34014d00869b3 Mon Sep 17 00:00:00 2001
developer66e89bc2024-04-23 14:50:01 +08002From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Wed, 20 Mar 2024 22:56:44 +0800
developer9237f442024-06-14 17:13:04 +08004Subject: [PATCH 110/116] mtk: wifi: mt76: mt7996: tmp disable VOW
developer66e89bc2024-04-23 14:50:01 +08005
6FW will return failed when legacy 5G station connects after legacy 2G
7station, need to check.
8
9Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
10---
11 mt7996/mcu.c | 6 +++++-
12 1 file changed, 5 insertions(+), 1 deletion(-)
13
14diff --git a/mt7996/mcu.c b/mt7996/mcu.c
developer9237f442024-06-14 17:13:04 +080015index a71d92f..895ec3e 100644
developer66e89bc2024-04-23 14:50:01 +080016--- a/mt7996/mcu.c
17+++ b/mt7996/mcu.c
18@@ -2369,6 +2369,7 @@ int mt7996_mcu_add_rate_ctrl(struct mt7996_dev *dev,
19 return mt7996_mcu_add_rate_ctrl_fixed(dev, conf, mconf, link_sta, mlink);
20 }
21
22+#if 0
23 static int
24 mt7996_mcu_sta_init_vow(struct mt7996_bss_conf *mconf,
25 struct mt7996_link_sta *mlink)
26@@ -2402,6 +2403,7 @@ mt7996_mcu_sta_init_vow(struct mt7996_bss_conf *mconf,
27
28 return mt7996_mcu_set_vow_drr_ctrl(phy, mconf, mlink, VOW_DRR_CTRL_STA_ALL);
29 }
30+#endif
31
32 int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
33 struct mt7996_bss_conf *mconf,
34@@ -2410,7 +2412,7 @@ int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
35 {
36 struct ieee80211_vif *vif = conf->vif;
37 struct sk_buff *skb;
38- int ret;
39+ // int ret;
40
41 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mconf->mt76,
42 &mlink->wcid,
43@@ -2455,11 +2457,13 @@ int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
44 mt7996_mcu_sta_bfee_tlv(dev, skb, conf, mconf, link_sta);
45 }
46
47+#if 0
48 ret = mt7996_mcu_sta_init_vow(mconf, mlink);
49 if (ret) {
50 dev_kfree_skb(skb);
51 return ret;
52 }
53+#endif
54 out:
55 return mt76_mcu_skb_send_msg(&dev->mt76, skb,
56 MCU_WMWA_UNI_CMD(STA_REC_UPDATE), true);
57--
developer9237f442024-06-14 17:13:04 +0800582.18.0
developer66e89bc2024-04-23 14:50:01 +080059