developer | 20d6771 | 2022-03-02 14:09:32 +0800 | [diff] [blame^] | 1 | From 628ae3efe19f29dea777d17a8a7c72cc924ec9b9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Mon, 24 Jan 2022 16:30:36 +0800 |
| 4 | Subject: [PATCH 01/11] mt76: mt7915: fix TGID field in tx descriptor |
| 5 | |
| 6 | Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> |
| 7 | --- |
| 8 | drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 3 +-- |
| 9 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 10 | |
| 11 | diff --git a/mt7915/mac.c b/mt7915/mac.c |
| 12 | index 06186c0..268b7f9 100644 |
| 13 | --- a/mt7915/mac.c |
| 14 | +++ b/mt7915/mac.c |
| 15 | @@ -1217,8 +1217,7 @@ void mt7915_mac_write_txwi(struct mt7915_dev *dev, __le32 *txwi, |
| 16 | FIELD_PREP(MT_TXD1_WLAN_IDX, wcid->idx) | |
| 17 | FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx); |
| 18 | |
| 19 | - if ((ext_phy || band_idx) && |
| 20 | - q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0) |
| 21 | + if (ext_phy || band_idx) |
| 22 | val |= MT_TXD1_TGID; |
| 23 | |
| 24 | txwi[1] = cpu_to_le32(val); |
| 25 | -- |
| 26 | 2.25.1 |
| 27 | |