mt76: use AC specific reorder timeout
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Sat, 14 Dec 2019 09:58:59 +0000 (10:58 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:01 +0000 (10:06 +0100)
commite7ec563eae04d16b5d2c4f56c3ac8254f7e4cb09
tree077b29f7ab66d50f82b78d9d0f38a402afd984f1
parent183d1fcf0b6a8542fcd4be3074b1dee50bd3b760
mt76: use AC specific reorder timeout

Before this patch, mt76 handled rx traffic for all TIDs equally,
when released from reorder buffer early. This patch uses an AC specific
reorder timeout, in order to release partial aggregated frames for video
ACs earlier. Voice ACs are currently not aggregated (thanks to Felix for
this hint). For example, ath10k also uses AC specific reorder timeouts
(reported by firmware in that case).

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/agg-rx.c
drivers/net/wireless/mediatek/mt76/mt76.h