diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-11-21 14:00:47 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-04 14:31:16 +0100 |
commit | 90d494c99a99fa2eb858754345c4a9c851b409a0 (patch) | |
tree | ae824d47b2953a48b35b32d69fa8912aed19fa5b /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | d211c003389ade3f8e31d1217c38f056e033d841 (diff) | |
download | linux-stable-90d494c99a99fa2eb858754345c4a9c851b409a0.tar.gz linux-stable-90d494c99a99fa2eb858754345c4a9c851b409a0.tar.bz2 linux-stable-90d494c99a99fa2eb858754345c4a9c851b409a0.zip |
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>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 15d52af24d12..ea80ae188dd6 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -136,6 +136,7 @@ struct mt76_queue { int queued; int buf_size; bool stopped; + bool blocked; u8 buf_offset; u8 hw_idx; |