mt76: mt7615: schedule tx tasklet and sta poll on mac tx free
authorFelix Fietkau <nbd@nbd.name>
Wed, 17 Jun 2020 13:21:39 +0000 (15:21 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Jul 2020 17:01:15 +0000 (19:01 +0200)
commit5bb923c767a4d2b4c20e7d4f437e35754ccd6554
treeb070ba3bda9ce4d8bec007ba4f6bf14304d266de
parent6ed942af4f68173eb511bc342d53f2593182d449
mt76: mt7615: schedule tx tasklet and sta poll on mac tx free

Unlike on earlier chips, DMA completion on MT7615 does not imply actually
having sent out any packets.
Since AQL will prevent filling the hardware queues and will only allow more
packets to be passed to the driver after tx completion, it makes much more
sense to schedule the tx tasklet there.
This is also needed for scheduling tx in testmode support

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