From: Lorenzo Bianconi Date: Tue, 15 Feb 2022 19:03:19 +0000 (+0100) Subject: mt76: mt7921: fix injected MPDU transmission to not use HW A-MSDU X-Git-Tag: microblaze-v5.19~142^2~110^2~33^2~2 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=b8d16f1181e21e7ffc85ca15ddd225a04a526bf7;p=linux-2.6-microblaze.git mt76: mt7921: fix injected MPDU transmission to not use HW A-MSDU Similar to mt7915 driver, do not aggregate injected frames in HW A-MSDU block. Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c index 0a6c269a2fb6..ea2a655acc6a 100644 --- 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)) {