Skip to content

Commit efb1676

Browse files
nbd168Kalle Valo
authored andcommitted
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1264c1e commit efb1676

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7615

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7615/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ void mt7615_init_device(struct mt7615_dev *dev)
460460
dev->mphy.sband_2g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
461461
dev->mphy.sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
462462
dev->mphy.sband_5g.sband.vht_cap.cap |=
463-
IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 |
463+
IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991 |
464464
IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK;
465465
mt7615_cap_dbdc_disable(dev);
466466
dev->phy.dfs_state = -1;

0 commit comments

Comments
 (0)