mbox series

[00/11] mt76: introduce mt792x-usb support

Message ID cover.1687920269.git.deren.wu@mediatek.com
Headers show
Series mt76: introduce mt792x-usb support | expand

Message

Deren Wu June 28, 2023, 7:07 a.m. UTC
This patch set includes the new module mt792x-usb support.

Move some common header/functions from mt7921 to mt792x and also rename prefix
to mt792x. The new module would integrate the common functionalities of mt76
station driver mt7921 and upcoming WiFi7 solution.

(This patch set is based on preceding series "mt76: introduce mt792x-lib support")

Lorenzo Bianconi (11):
  wifi: mt76: mt792x: move more dma shared code in mt792x_dma
  wifi: mt76: mt7921: move hif_ops macro in mt792x.h
  wifi: mt76: mt7921: move shared runtime-pm code on mt792x-lib
  wifi: mt76: mt7921: move runtime-pm pci code in mt792x-lib
  wifi: mt76: mt7921: move acpi_sar code in mt792x-lib module
  wifi: mt76: mt792x: introduce mt792x-usb module
  wifi: mt76: mt792x: move mt7921_load_firmware in mt792x-lib module
  wifi: mt76: mt76_connac3: move lmac queue enumeration in
    mt76_connac3_mac.h
  wifi: mt76: mt792x: move MT7921_PM_TIMEOUT and MT7921_HW_SCAN_TIMEOUT
    in common code
  wifi: mt76: mt7921: move mt7921_dma_init in pci.c
  wifi: mt76: mt7921: move mt7921u_disconnect mt792x-lib

 drivers/net/wireless/mediatek/mt76/Kconfig    |   4 +
 drivers/net/wireless/mediatek/mt76/Makefile   |   5 +-
 .../wireless/mediatek/mt76/mt76_connac3_mac.h |  14 +
 .../net/wireless/mediatek/mt76/mt7921/Kconfig |   2 +-
 .../wireless/mediatek/mt76/mt7921/Makefile    |   5 +-
 .../wireless/mediatek/mt76/mt7921/acpi_sar.h  | 105 ------
 .../net/wireless/mediatek/mt76/mt7921/dma.c   | 223 ------------
 .../net/wireless/mediatek/mt76/mt7921/init.c  |  16 +-
 .../net/wireless/mediatek/mt76/mt7921/mac.c   |  72 +---
 .../net/wireless/mediatek/mt76/mt7921/main.c  |  11 +-
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 111 +-----
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  61 ----
 .../net/wireless/mediatek/mt76/mt7921/pci.c   | 170 +++++----
 .../wireless/mediatek/mt76/mt7921/pci_mac.c   |   4 +-
 .../wireless/mediatek/mt76/mt7921/pci_mcu.c   |  65 ----
 .../net/wireless/mediatek/mt76/mt7921/sdio.c  |   6 +-
 .../wireless/mediatek/mt76/mt7921/testmode.c  |   2 +-
 .../net/wireless/mediatek/mt76/mt7921/usb.c   | 179 ++++-----
 .../wireless/mediatek/mt76/mt7921/usb_mac.c   | 255 -------------
 drivers/net/wireless/mediatek/mt76/mt792x.h   |  94 ++++-
 .../{mt7921/acpi_sar.c => mt792x_acpi_sar.c}  | 125 ++++---
 .../wireless/mediatek/mt76/mt792x_acpi_sar.h  | 105 ++++++
 .../net/wireless/mediatek/mt76/mt792x_core.c  | 244 ++++++++-----
 .../net/wireless/mediatek/mt76/mt792x_dma.c   | 344 ++++++++++++++++++
 .../net/wireless/mediatek/mt76/mt792x_mac.c   |  72 ++++
 .../net/wireless/mediatek/mt76/mt792x_usb.c   | 309 ++++++++++++++++
 .../wireless/mediatek/mt76/mt7996/mt7996.h    |  14 -
 27 files changed, 1334 insertions(+), 1283 deletions(-)
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.h
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/dma.c
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c
 rename drivers/net/wireless/mediatek/mt76/{mt7921/acpi_sar.c => mt792x_acpi_sar.c} (64%)
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_dma.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_usb.c