This is a preliminary series to reuse mt76_connac module in mt7915 driver. Lorenzo Bianconi (7): mt76: connac: introduce MCU_EXT macros mt76: connac: align MCU_EXT definitions with 7915 driver mt76: connac: remove MCU_FW_PREFIX bit mt76: connac: introduce MCU_UNI_CMD macro mt76: connac: introduce MCU_CE_CMD macro mt76: connac: rely on MCU_CMD macro mt76: mt7915: rely on mt76_connac definitions .../net/wireless/mediatek/mt76/mt7615/main.c | 4 +- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 200 ++--- .../net/wireless/mediatek/mt76/mt7615/mcu.h | 127 --- .../wireless/mediatek/mt76/mt7615/testmode.c | 4 +- .../wireless/mediatek/mt76/mt7615/usb_mcu.c | 2 +- .../wireless/mediatek/mt76/mt76_connac_mcu.c | 111 +-- .../wireless/mediatek/mt76/mt76_connac_mcu.h | 517 +++++++++++- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 17 +- .../net/wireless/mediatek/mt76/mt7915/mcu.h | 796 +----------------- .../wireless/mediatek/mt76/mt7915/mt7915.h | 14 - .../net/wireless/mediatek/mt76/mt7921/main.c | 6 +- .../net/wireless/mediatek/mt76/mt7921/mcu.c | 128 ++- .../net/wireless/mediatek/mt76/mt7921/mcu.h | 128 --- .../wireless/mediatek/mt76/mt7921/pci_mcu.c | 2 +- .../wireless/mediatek/mt76/mt7921/sdio_mcu.c | 2 +- .../wireless/mediatek/mt76/mt7921/testmode.c | 4 +- 16 files changed, 694 insertions(+), 1368 deletions(-) -- 2.31.1