OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6450b13
)
mt76: mt7915: set band1 TGID field in tx descriptor
author
Shayne Chen
<shayne.chen@mediatek.com>
Fri, 11 Mar 2022 14:44:25 +0000
(22:44 +0800)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 16 Mar 2022 16:40:22 +0000
(17:40 +0100)
Set proper group index of tx descriptor for band1.
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
index
44866d4
..
fdfdded
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7915/mac.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7915/mac.c
@@
-1218,8
+1218,7
@@
void mt7915_mac_write_txwi(struct mt7915_dev *dev, __le32 *txwi,
FIELD_PREP(MT_TXD1_WLAN_IDX, wcid->idx) |
FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx);
- if ((ext_phy || band_idx) &&
- q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0)
+ if (ext_phy || band_idx)
val |= MT_TXD1_TGID;
txwi[1] = cpu_to_le32(val);