mt76: fix A-MPDU density handling
authorFelix Fietkau <nbd@nbd.name>
Mon, 20 Apr 2020 14:34:16 +0000 (16:34 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:32 +0000 (19:52 +0200)
commit55961d8be35d0268d66f4ffe2cbbccff4936aae5
treee0f63575fcc2cde166cfea307ec04c614afeaf85
parentd0116058c7f637842097741cee357496326f2b9d
mt76: fix A-MPDU density handling

The hardware requirements for A-MPDU density are entirely on the tx side,
not the rx side. Because of that, the IE value should stay at 0 and the
minimum value should instead be enforced in WTBL/TXWI

MT7615 has no restrictions here

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/mt7603/mac.c
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c