Add mt76_sw_queue data structure in order to support new chipsets (e.g. mt7615) that have a shared hardware queue for all traffic identifiers. mt76_sw_queue is used to track outstanding packets. Add mt76_txq_id field to mt76_queue_entry in order to properly track outstanding frames Lorenzo Bianconi (5): mt76: remove mt76_queue dependency from tx_queue_skb function pointer mt76: remove mt76_queue dependency from tx_prepare_skb function pointer mt76: remove mt76_queue dependency from tx_complete_skb function pointer mt76: introduce mt76_sw_queue data structure mt76: introduce mt76_txq_id field in mt76_queue_entry drivers/net/wireless/mediatek/mt76/debugfs.c | 7 +- drivers/net/wireless/mediatek/mt76/dma.c | 19 +++--- drivers/net/wireless/mediatek/mt76/mac80211.c | 4 +- drivers/net/wireless/mediatek/mt76/mt76.h | 27 ++++---- .../wireless/mediatek/mt76/mt7603/beacon.c | 14 ++-- .../net/wireless/mediatek/mt76/mt7603/dma.c | 13 +++- .../net/wireless/mediatek/mt76/mt7603/mac.c | 19 +++--- .../net/wireless/mediatek/mt76/mt7603/main.c | 2 +- .../wireless/mediatek/mt76/mt7603/mt7603.h | 6 +- drivers/net/wireless/mediatek/mt76/mt76x02.h | 2 +- .../net/wireless/mediatek/mt76/mt76x02_mac.c | 4 +- .../net/wireless/mediatek/mt76/mt76x02_mac.h | 4 +- .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 23 ++++--- .../net/wireless/mediatek/mt76/mt76x02_txrx.c | 4 +- .../net/wireless/mediatek/mt76/mt76x02_usb.h | 6 +- .../wireless/mediatek/mt76/mt76x02_usb_core.c | 11 ++-- .../net/wireless/mediatek/mt76/mt76x02_util.c | 2 +- drivers/net/wireless/mediatek/mt76/tx.c | 66 ++++++++++--------- drivers/net/wireless/mediatek/mt76/usb.c | 28 +++++--- 19 files changed, 149 insertions(+), 112 deletions(-) -- 2.20.1