Introduce support for mt7663u 802.11ac 2x2:2 chipset to mt7615 driver. Create mt7615-common module as container for mmio and usb shared code Changes since v2: - rebased ontop of mt76 master branch - fix license Changes since v1: - rebased ontop of mt76 master branch Lorenzo Bianconi (2): mt76: mt7615: move core shared code in mt7615-common module mt76: mt7615: introduce mt7663u support drivers/net/wireless/mediatek/mt76/Makefile | 2 +- drivers/net/wireless/mediatek/mt76/mt76.h | 1 + .../net/wireless/mediatek/mt76/mt7615/Kconfig | 18 +- .../wireless/mediatek/mt76/mt7615/Makefile | 10 +- .../wireless/mediatek/mt76/mt7615/debugfs.c | 1 + .../net/wireless/mediatek/mt76/mt7615/dma.c | 39 -- .../wireless/mediatek/mt76/mt7615/eeprom.c | 1 + .../net/wireless/mediatek/mt76/mt7615/init.c | 194 +-------- .../net/wireless/mediatek/mt76/mt7615/mac.c | 249 ++++------- .../net/wireless/mediatek/mt76/mt7615/mac.h | 5 +- .../net/wireless/mediatek/mt76/mt7615/main.c | 66 +-- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 18 +- .../net/wireless/mediatek/mt76/mt7615/mcu.h | 5 + .../net/wireless/mediatek/mt76/mt7615/mmio.c | 30 ++ .../wireless/mediatek/mt76/mt7615/mt7615.h | 22 +- .../wireless/mediatek/mt76/mt7615/pci_init.c | 189 +++++++++ .../wireless/mediatek/mt76/mt7615/pci_mac.c | 184 ++++++++ .../net/wireless/mediatek/mt76/mt7615/regs.h | 26 ++ .../net/wireless/mediatek/mt76/mt7615/usb.c | 396 ++++++++++++++++++ .../wireless/mediatek/mt76/mt7615/usb_init.c | 144 +++++++ .../wireless/mediatek/mt76/mt7615/usb_mcu.c | 93 ++++ 21 files changed, 1259 insertions(+), 434 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/usb.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/usb_init.c create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c -- 2.25.2