mt76: mt7915: stop queues when running out of tx tokens
authorFelix Fietkau <nbd@nbd.name>
Sat, 21 Nov 2020 15:00:14 +0000 (16:00 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 4 Dec 2020 13:31:16 +0000 (14:31 +0100)
commit5342758d5522dbf8081360be9c8545bac84b80f3
tree750f9aa3e07bdb3af108de53a573a80fe0002832
parent90d494c99a99fa2eb858754345c4a9c851b409a0
mt76: mt7915: stop queues when running out of tx tokens

Avoids packet drops under load with lots of stations

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