mbox series

[-next,v7,00/22] introduce mt7921e support

Message ID cover.1611389300.git.objelf@gmail.com
Headers show
Series introduce mt7921e support | expand

Message

Sean Wang Jan. 23, 2021, 8:34 a.m. UTC
From: Sean Wang <objelf@gmail.com>

Introduce support for mt7921e 802.11ax (Wi-Fi 6) 2x2:2SS chipset.

v2:
- Mark the patch as -next

v3:
- Remove sw scan support
- Get rid of dbdc code
- Run mt7921_configure_filter hodling mt76 mutex
- Correct Txp programming in Txd
- Correct fw log to host command
- Correct eeprom offset definition
- Update rate adaption info report
- Remove unused code and fields in struture
- Split the previous driver into several patches for easy review

v4:
- introduce sched scan support
- introduce 802.11 PS support in sta mode
- introduce support for hardware beacon filter
- introduce beacon_loss mcu event
- introduce PM support
- refine sta_rec_phy and add sta_rec_ra_info
- remove incorrect mt7921_mcu_tx_config member
- fix erroneous endianness conversion in mt7921_tx_complete_skb()
- fix endianness warning in mt7921_get_wtbl_info()
- fix endianness warnings in mt7921_mcu_sta_tlv()
- remove unused code in mt7921_mcu_send_message
- remove scan with random mac until fw is ready
- channel domain is added for hw scan

v5:
- fix implicit conversion from enumeration type
- remove unused function declaration
- drop zero-length packet to avoid Tx hang
- fix MT_CIPHER_BIP_CMAC_128 setkey
- reset token when mac_reset happens
- create mac.h when mac support is added
- reorder the patch of adding module support
- move mac_work in mt76_core module
- move chainmask in mt76_phy
- rebase per moving mac_work in mt76_core module
- rebase per moving chainmask in mt76_phy

v6:
- use UNI_BSS_INFO_BCNFT and UNI_BSS_INFO_PS to carry out
  enabling hardware beacon filter and 802.11 power saving
  mode according to the MT7921 firmware

v7:
- remove the merged patches
- rebase onto the series mt76: introduce mt76_connac common module
	https://patchwork.kernel.org/project/linux-wireless/list/?series=418597
- rely on mt76_connac_mcu common library
- rely on mt76_connac_mcu module for sched_scan and hw_scan
- rely on mt76_connac_mcu module for suspend and WoW support
- introduce regdomain notifier support
- enable MSI interrupts
- introduce Runtime PM support
- add coredump support
- add sta statistics
- disable Rx header translation on default
- set nss to 2 on default

Lorenzo Bianconi (6):
  mt76: mt7921: rely on mt76_connac_mcu common library
  mt76: mt7921: rely on mt76_connac_mcu module for sched_scan and
    hw_scan
  mt76: mt7921: rely on mt76_connac_mcu module for suspend and WoW
    support
  mt76: mt7921: introduce regdomain notifier support
  mt76: mt7921: enable MSI interrupts
  mt76: mt7663: introduce coredump support

Sean Wang (16):
  mt76: mt7921: add MAC support
  mt76: mt7921: add MCU support
  mt76: mt7921: add DMA support
  mt76: mt7921: add EEPROM support
  mt76: mt7921: add ieee80211_ops
  mt76: mt7921: introduce mt7921e support
  mt76: mt7921: add debugfs support
  mt76: mt7921: add module support
  mt76: mt7921: introduce schedule scan support
  mt76: mt7921: introduce 802.11 PS support in sta mode
  mt76: mt7921: introduce support for hardware beacon filter
  mt76: mt7921: introduce beacon_loss mcu event
  mt76: mt7921: introduce PM support
  mt76: mt7921: introduce Runtime PM support
  mt76: mt7921: add coredump support
  mt76: mt7921: add sta statistics

 drivers/net/wireless/mediatek/mt76/Kconfig    |    1 +
 drivers/net/wireless/mediatek/mt76/Makefile   |    1 +
 .../net/wireless/mediatek/mt76/mt7615/Kconfig |    1 +
 .../wireless/mediatek/mt76/mt7615/debugfs.c   |   17 +
 .../net/wireless/mediatek/mt76/mt7615/init.c  |    2 +
 .../net/wireless/mediatek/mt76/mt7615/mac.c   |   43 +
 .../net/wireless/mediatek/mt76/mt7615/mcu.c   |    4 +
 .../net/wireless/mediatek/mt76/mt7615/mcu.h   |    1 +
 .../wireless/mediatek/mt76/mt7615/mt7615.h    |    4 +-
 .../net/wireless/mediatek/mt76/mt76_connac.h  |   14 +
 .../wireless/mediatek/mt76/mt76_connac_mcu.c  |  370 +++-
 .../wireless/mediatek/mt76/mt76_connac_mcu.h  |   25 +
 .../net/wireless/mediatek/mt76/mt7921/Kconfig |   11 +
 .../wireless/mediatek/mt76/mt7921/Makefile    |    5 +
 .../wireless/mediatek/mt76/mt7921/debugfs.c   |  250 +++
 .../net/wireless/mediatek/mt76/mt7921/dma.c   |  356 ++++
 .../wireless/mediatek/mt76/mt7921/eeprom.c    |  100 ++
 .../wireless/mediatek/mt76/mt7921/eeprom.h    |   27 +
 .../net/wireless/mediatek/mt76/mt7921/init.c  |  282 +++
 .../net/wireless/mediatek/mt76/mt7921/mac.c   | 1516 +++++++++++++++++
 .../net/wireless/mediatek/mt76/mt7921/mac.h   |  333 ++++
 .../net/wireless/mediatek/mt76/mt7921/main.c  | 1161 +++++++++++++
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 1308 ++++++++++++++
 .../net/wireless/mediatek/mt76/mt7921/mcu.h   |  434 +++++
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  342 ++++
 .../net/wireless/mediatek/mt76/mt7921/pci.c   |  292 ++++
 .../net/wireless/mediatek/mt76/mt7921/regs.h  |  419 +++++
 27 files changed, 7309 insertions(+), 10 deletions(-)
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Kconfig
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Makefile
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/dma.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/eeprom.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/eeprom.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/init.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mac.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mac.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/main.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mcu.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/pci.c
 create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/regs.h

--
2.25.1