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)
commitefb1676306f664625c0c546dd10d18d33c75e3fc
tree8c07a5c8613d0807e4ee13df1b6757ad0c8f97ac
parent1264c1e0cfe55e2d6c35e869244093195529af37
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