projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0063b86
)
mt76: mt7921: fix injected MPDU transmission to not use HW A-MSDU
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Tue, 15 Feb 2022 19:03:19 +0000
(20:03 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 24 Feb 2022 13:40:23 +0000
(14:40 +0100)
Similar to mt7915 driver, do not aggregate injected frames in
HW A-MSDU block.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
index
0a6c269
..
ea2a655
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7921/mac.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7921/mac.c
@@
-913,6
+913,7
@@
mt7921_mac_write_txwi_80211(struct mt7921_dev *dev, __le32 *txwi,
val = MT_TXD3_SN_VALID |
FIELD_PREP(MT_TXD3_SEQ, IEEE80211_SEQ_TO_SN(seqno));
txwi[3] |= cpu_to_le32(val);
+ txwi[7] &= ~cpu_to_le32(MT_TXD7_HW_AMSDU);
}
if (mt76_is_mmio(&dev->mt76)) {