]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: reduce maximum VHT MPDU length to 7991
authorFelix Fietkau <nbd@nbd.name>
Wed, 23 Sep 2020 05:24:42 +0000 (07:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 24 Sep 2020 13:12:22 +0000 (16:12 +0300)
commit4336177e5210560588c84d6e7f9747e8a8c813cb
tree8c07a5c8613d0807e4ee13df1b6757ad0c8f97ac
parente011b64a1e009f535e7da2d268cc3f6178e9c3e2
mt76: mt7615: reduce maximum VHT MPDU length to 7991

After fixing mac80211 to allow larger A-MSDUs in some cases, there have been
reports of performance regressions and packet loss with some clients.
It appears that the issue occurs when the hardware is transmitting A-MSDUs
bigger than 8k. Limit the local VHT MPDU size capability to 7991, matching
the value used for MT7915 as well.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200923052442.24141-1-nbd@nbd.name
drivers/net/wireless/mediatek/mt76/mt7615/init.c