blob: dfb76e07960caf7b993b3b735e919c491b1cc3be [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From 3ba122ebb3462395d26d4f8f55dab510a49f5b5e 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
developer05f3b2b2024-08-19 19:17:34 +08004Subject: [PATCH 115/199] mtk: 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
developer05f3b2b2024-08-19 19:17:34 +080015index 598f32ba..340b6637 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,
developer05f3b2b2024-08-19 19:17:34 +080043@@ -2456,11 +2458,13 @@ int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
developer66e89bc2024-04-23 14:50:01 +080044 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