]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: mt76x02: fix tx reordering on rate control probing without a-mpdu
authorFelix Fietkau <nbd@nbd.name>
Thu, 6 Jun 2019 07:22:15 +0000 (09:22 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 27 Jun 2019 10:58:13 +0000 (12:58 +0200)
commit5c280ae76795f0da5cb89e19101cb520374aad7f
tree1089fbd998ad0991dcba3b9b1a47972d444c652d
parent8548c6eb23d29078bba41e3477873e4ad340adee
mt76: mt76x02: fix tx reordering on rate control probing without a-mpdu

To avoid aggregating rate control probing packets with other traffic, and to
ensure that the probing rate gets used, probing packets get assigned a different
internal queueing priority.
This causes packets to be transmitted in a different order, which is compensated
by the receiver side reordering.
However, if A-MPDU is disabled, this reordering can become visible to upper
layers on the receiver side. Disable the priority change if A-MPDU is disabled.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c
drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c