| From d0a61bbe57616c1a87a3bb4676f141ed54110add Mon Sep 17 00:00:00 2001 |
| From: Shayne Chen <shayne.chen@mediatek.com> |
| Date: Wed, 19 Jan 2022 15:51:01 +0800 |
| Subject: [PATCH 4/6] mt76: mt7915: fix tx descriptor |
| |
| --- |
| mt7915/mac.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/mt7915/mac.c b/mt7915/mac.c |
| index 47d5a993..887292da 100644 |
| --- a/mt7915/mac.c |
| +++ b/mt7915/mac.c |
| @@ -1001,6 +1001,7 @@ mt7915_mac_write_txwi_tm(struct mt7915_phy *phy, __le32 *txwi, |
| if (td->tx_rate_ldpc || (bw > 0 && mode >= MT_PHY_TYPE_HE_SU)) |
| val |= MT_TXD6_LDPC; |
| |
| + txwi[1] &= ~cpu_to_le32(MT_TXD1_VTA); |
| txwi[3] &= ~cpu_to_le32(MT_TXD3_SN_VALID); |
| txwi[6] |= cpu_to_le32(val); |
| txwi[7] |= cpu_to_le32(FIELD_PREP(MT_TXD7_SPE_IDX, |
| -- |
| 2.18.0 |
| |