mt76: improve tx queue stop/wake
authorFelix Fietkau <nbd@nbd.name>
Sat, 21 Nov 2020 13:00:47 +0000 (14:00 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 4 Dec 2020 13:31:16 +0000 (14:31 +0100)
commit90d494c99a99fa2eb858754345c4a9c851b409a0
treeae824d47b2953a48b35b32d69fa8912aed19fa5b
parentd211c003389ade3f8e31d1217c38f056e033d841
mt76: improve tx queue stop/wake

Instead of stopping and waking only a single queue, handle all phy tx queues
mapped ot the same hardware queue.
Also allow the driver to block tx queues

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