blob: 6682f9b515e1640bb8059bc28ec8ce3470e25c9d [file] [log] [blame]
From ab265243158a3d44bd5c0a55d0e92bd6decbb3e2 Mon Sep 17 00:00:00 2001
From: Shayne Chen <shayne.chen@mediatek.com>
Date: Wed, 20 Mar 2024 22:56:44 +0800
Subject: [PATCH 103/223] mtk: mt76: mt7996: tmp disable VOW
FW will return failed when legacy 5G station connects after legacy 2G
station, need to check.
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
---
mt7996/mcu.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mt7996/mcu.c b/mt7996/mcu.c
index 48837d41..54b0272c 100644
--- a/mt7996/mcu.c
+++ b/mt7996/mcu.c
@@ -2374,6 +2374,7 @@ int mt7996_mcu_add_rate_ctrl(struct mt7996_dev *dev,
return mt7996_mcu_add_rate_ctrl_fixed(dev, conf, mconf, link_sta, mlink);
}
+#if 0
static int
mt7996_mcu_sta_init_vow(struct mt7996_bss_conf *mconf,
struct mt7996_link_sta *mlink)
@@ -2407,6 +2408,7 @@ mt7996_mcu_sta_init_vow(struct mt7996_bss_conf *mconf,
return mt7996_mcu_set_vow_drr_ctrl(phy, mconf, mlink, VOW_DRR_CTRL_STA_ALL);
}
+#endif
int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
struct mt7996_bss_conf *mconf,
@@ -2416,7 +2418,7 @@ int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
struct ieee80211_vif *vif = conf->vif;
struct sk_buff *skb;
int conn_state;
- int ret;
+ // int ret;
skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mconf->mt76,
&mlink->wcid,
@@ -2463,11 +2465,13 @@ int mt7996_mcu_add_sta(struct mt7996_dev *dev, struct ieee80211_bss_conf *conf,
mt7996_mcu_sta_bfee_tlv(dev, skb, conf, mconf, link_sta);
}
+#if 0
ret = mt7996_mcu_sta_init_vow(mconf, mlink);
if (ret) {
dev_kfree_skb(skb);
return ret;
}
+#endif
out:
return mt76_mcu_skb_send_msg(&dev->mt76, skb,
MCU_WMWA_UNI_CMD(STA_REC_UPDATE), true);
--
2.45.2