summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chiu <chui-hao.chiu@mediatek.com>2025-09-15 09:59:07 +0200
committerFelix Fietkau <nbd@nbd.name>2025-09-15 13:23:01 +0200
commit5847e7579e8924f7ef20cf4b2b4cea4ab145aa7d (patch)
tree542a9b7411effcea45d0055547fb5808fb3cb042
parente99113ac0984d5fcfdee3883367c5747d918d6e9 (diff)
wifi: mt76: mt7996: set VTA in txwi
Enable VTA flag in txwi to enable HQD in SPL which is needed by the PST. Without this patch, PST cannot get the correct delay of TxD and lead to a large latency. Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> Link: https://patch.msgid.link/20250915075910.47558-12-nbd@nbd.name Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7996/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mac.c b/drivers/net/wireless/mediatek/mt76/mt7996/mac.c
index 289f69cc2bdf..2d5dab535357 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7996/mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7996/mac.c
@@ -968,7 +968,7 @@ void mt7996_mac_write_txwi(struct mt7996_dev *dev, __le32 *txwi,
val |= MT_TXD5_TX_STATUS_HOST;
txwi[5] = cpu_to_le32(val);
- val = MT_TXD6_DAS;
+ val = MT_TXD6_DAS | MT_TXD6_VTA;
if ((q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0) ||
skb->protocol == cpu_to_be16(ETH_P_PAE))
val |= MT_TXD6_DIS_MAT;