mt76: reduce q->lock hold time
authorFelix Fietkau <nbd@nbd.name>
Sun, 24 Jan 2021 11:25:13 +0000 (12:25 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 27 Jan 2021 16:33:44 +0000 (17:33 +0100)
commit2fbcdb4386dda0a911b5485b33468540716251f8
tree650609ac5b85dda8769b90171ea59abe0c7281c1
parent9b0f100c1970f777444c68f5dea2ef5b13a48e4a
mt76: reduce q->lock hold time

Instead of holding it for the duration of an entire station schedule run,
which can block out competing tasks for a significant amount of time,
only hold it for scheduling one batch of packets for one station.
Improves responsiveness under load

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