]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: attempt to free up more room when filling the tx queue
authorFelix Fietkau <nbd@nbd.name>
Sat, 21 Nov 2020 17:23:35 +0000 (18:23 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 4 Dec 2020 13:31:16 +0000 (14:31 +0100)
commitbf14d9ce1f8c25bec72a74962dbb631a85bf76d3
treebf3ebcb4e5375b34f064a5856af46ffedf37d28d
parente1f20cc6732cdcfe6c15ba94be9b9812001ce6f5
mt76: attempt to free up more room when filling the tx queue

Run dma cleanup immediately if the queue is almost full, instead of waiting
for the tx interrupt

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