Introduce the capability to support more than two mt76_phys. This is a preliminary series to add mt7990 support. Changes since v2: - rebase on top of mt76 master - fix an issue in mt76_dma_cleanup Changes since v1: - added Bo's SoB Lorenzo Bianconi (5): mt76: add phy_idx in mt76_rx_status mt76: introduce phys array in mt76_dev structure mt76: add phy_idx to mt76_wcid mt76: convert MT_TX_HW_QUEUE_EXT_PHY to MT_TX_HW_QUEUE_PHY mt76: get rid of mt76_wcid_hw routine drivers/net/wireless/mediatek/mt76/dma.c | 13 ++-- drivers/net/wireless/mediatek/mt76/mac80211.c | 27 ++++---- drivers/net/wireless/mediatek/mt76/mt76.h | 68 ++++++++++--------- .../net/wireless/mediatek/mt76/mt7615/init.c | 4 +- .../net/wireless/mediatek/mt76/mt7615/mac.c | 44 ++++++------ .../net/wireless/mediatek/mt76/mt7615/main.c | 4 +- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 32 ++++----- .../wireless/mediatek/mt76/mt7615/mt7615.h | 2 +- .../wireless/mediatek/mt76/mt7615/pci_mac.c | 15 ++-- .../wireless/mediatek/mt76/mt76_connac_mac.c | 12 ++-- .../net/wireless/mediatek/mt76/mt7915/init.c | 4 +- .../net/wireless/mediatek/mt76/mt7915/mac.c | 23 ++++--- .../net/wireless/mediatek/mt76/mt7915/main.c | 4 +- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 25 +++---- .../wireless/mediatek/mt76/mt7915/mt7915.h | 2 +- .../net/wireless/mediatek/mt76/mt7921/main.c | 4 +- drivers/net/wireless/mediatek/mt76/testmode.c | 5 +- drivers/net/wireless/mediatek/mt76/tx.c | 51 ++++++++------ 18 files changed, 181 insertions(+), 158 deletions(-) -- 2.36.1