[PATCH 00/16] mt76: introduce mt792x-lib support

Deren Wu deren.wu at mediatek.com
Wed Jun 28 00:05:46 PDT 2023


This patch set includes the new module mt792x-lib 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 too big to review. I will post another series with
remaining patches)

Lorenzo Bianconi (16):
  wifi: mt76: mt7921: move common register definition in mt792x_regs.h
  wifi: mt76: mt7921: convert acpisar and clc pointers to void
  wifi: mt76: mt7921: rename mt7921_vif in mt792x_vif
  wifi: mt76: mt7921: rename mt7921_sta in mt792x_sta
  wifi: mt76: mt7921: rename mt7921_phy in mt792x_phy
  wifi: mt76: mt7921: rename mt7921_dev in mt792x_dev
  wifi: mt76: mt7921: rename mt7921_hif_ops in mt792x_hif_ops
  wifi: mt76: mt792x: move shared structure definition in mt792x.h
  wifi: mt76: mt7921: move mt792x_mutex_{acquire/release} in mt792x.h
  wifi: mt76: mt7921: move mt792x_hw_dev in mt792x.h
  wifi: mt76: mt792x: introduce mt792x-lib module
  wifi: mt76: mt7921: move mac shared code in mt792x-lib module
  wifi: mt76: mt7921: move dma shared code in mt792x-lib module
  wifi: mt76: mt7921: move debugfs shared code in mt792x-lib module
  wifi: mt76: mt7921: move init shared code in mt792x-lib module
  wifi: mt76: mt792x: introduce mt792x_irq_map

 drivers/net/wireless/mediatek/mt76/Kconfig    |   4 +
 drivers/net/wireless/mediatek/mt76/Makefile   |   5 +
 .../net/wireless/mediatek/mt76/mt7921/Kconfig |   2 +-
 .../wireless/mediatek/mt76/mt7921/Makefile    |   4 +-
 .../wireless/mediatek/mt76/mt7921/acpi_sar.c  |  25 +-
 .../wireless/mediatek/mt76/mt7921/debugfs.c   | 228 +----
 .../net/wireless/mediatek/mt76/mt7921/dma.c   | 127 +--
 .../net/wireless/mediatek/mt76/mt7921/init.c  | 288 +------
 .../net/wireless/mediatek/mt76/mt7921/mac.c   | 380 +--------
 .../net/wireless/mediatek/mt76/mt7921/main.c  | 787 ++++-------------
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 120 +--
 .../wireless/mediatek/mt76/mt7921/mt7921.h    | 297 ++-----
 .../net/wireless/mediatek/mt76/mt7921/pci.c   |  97 ++-
 .../wireless/mediatek/mt76/mt7921/pci_mac.c   |  14 +-
 .../wireless/mediatek/mt76/mt7921/pci_mcu.c   |  12 +-
 .../net/wireless/mediatek/mt76/mt7921/regs.h  | 464 +---------
 .../net/wireless/mediatek/mt76/mt7921/sdio.c  |  26 +-
 .../wireless/mediatek/mt76/mt7921/sdio_mac.c  |   6 +-
 .../wireless/mediatek/mt76/mt7921/sdio_mcu.c  |  14 +-
 .../wireless/mediatek/mt76/mt7921/testmode.c  |   8 +-
 .../net/wireless/mediatek/mt76/mt7921/trace.c |  12 -
 .../net/wireless/mediatek/mt76/mt7921/usb.c   |  34 +-
 .../wireless/mediatek/mt76/mt7921/usb_mac.c   |  16 +-
 drivers/net/wireless/mediatek/mt76/mt792x.h   | 275 ++++++
 .../net/wireless/mediatek/mt76/mt792x_core.c  | 792 ++++++++++++++++++
 .../wireless/mediatek/mt76/mt792x_debugfs.c   | 168 ++++
 .../net/wireless/mediatek/mt76/mt792x_mac.c   | 313 +++++++
 .../net/wireless/mediatek/mt76/mt792x_regs.h  | 479 +++++++++++
 .../net/wireless/mediatek/mt76/mt792x_trace.c |  14 +
 .../{mt7921/mt7921_trace.h => mt792x_trace.h} |  16 +-
 30 files changed, 2611 insertions(+), 2416 deletions(-)
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/trace.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_core.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_debugfs.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_mac.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_regs.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt792x_trace.c
 rename drivers/net/wireless/mediatek/mt76/{mt7921/mt7921_trace.h => mt792x_trace.h} (68%)

-- 
2.18.0




More information about the Linux-mediatek mailing list