mbox series

pull request: mt76 2023-12-06 v3

Message ID 2de82252-7896-4fb7-9731-e5f0f9f1c724@nbd.name (mailing list archive)
State Accepted
Commit 379872288fd353119d15c65f11d20a219e09d6b2
Delegated to: Kalle Valo
Headers show
Series pull request: mt76 2023-12-06 v3 | expand

Pull-request

https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-12-06

Message

Felix Fietkau Dec. 11, 2023, 12:13 p.m. UTC
Hi Kalle,

here's another updated version of my first request for 6.8.
There was one more warning left to fix.

- Felix

The following changes since commit db7fac15eaf0f09d675730d7002edabe27fe9e1d:

   wifi: rtw89: mac: refine SER setting during WiFi CPU power on (2023-12-07 18:22:12 +0200)

are available in the Git repository at:

   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-12-06

for you to fetch changes up to 10f2903147ed04784522ab841c20bb469bdd8681:

   wifi: mt76: mt7921: fix wrong 6Ghz power type (2023-12-11 13:11:53 +0100)

----------------------------------------------------------------
mt76 patches for 6.8

* fixes
* nvmem eeprom improvements
* mt7996 eht improvements
* mt7996 wed support
* mt7996 36-bit DMA support

----------------------------------------------------------------
Allen Ye (2):
       wifi: mt76: use chainmask for power delta calculation
       wifi: mt76: connac: add beacon protection support for mt7996

Arnd Bergmann (1):
       wifi: mt76: mt7996: fix mt7996_mcu_all_sta_info_event struct packing

Benjamin Lin (3):
       wifi: mt76: mt7996: switch to mcu command for TX GI report
       wifi: mt76: mt7996: add DMA support for mt7992
       wifi: mt76: connac: add new definition of tx descriptor

Bo Jiao (1):
       wifi: mt76: mt7996: add wed rx support

Christian Marangi (6):
       wifi: mt76: fix broken precal loading from MTD for mt7915
       wifi: mt76: fix typo in mt76_get_of_eeprom_from_nvmem function
       wifi: mt76: limit support of precal loading for mt7915 to MTD only
       wifi: mt76: make mt76_get_of_eeprom static again
       wifi: mt76: permit to use alternative cell name to eeprom NVMEM load
       wifi: mt76: permit to load precal from NVMEM cell for mt7915

Howard Hsu (4):
       wifi: mt76: mt7996: add TX statistics for EHT mode in debugfs
       wifi: mt76: connac: add thermal protection support for mt7996
       wifi: mt76: mt7996: add thermal sensor device support
       wifi: mt76: connac: set fixed_bw bit in TX descriptor for fixed rate frames

Lorenzo Bianconi (13):
       wifi: mt76: mmio: move mt76_mmio_wed_{init,release}_rx_buf in common code
       wifi: mt76: move mt76_mmio_wed_offload_{enable,disable} in common code
       wifi: mt76: move mt76_net_setup_tc in common code
       wifi: mt76: introduce mt76_queue_is_wed_tx_free utility routine
       wifi: mt76: introduce wed pointer in mt76_queue
       wifi: mt76: increase MT_QFLAG_WED_TYPE size
       wifi: mt76: dma: introduce __mt76_dma_queue_reset utility routine
       wifi: mt76: mt7996: use u16 for val field in mt7996_mcu_set_rro signature
       wifi: mt76: move wed reset common code in mt76 module
       wifi: mt76: mt7996: add wed reset support
       wifi: mt76: mt7996: add wed rro delete session garbage collector
       wifi: mt76: mt7915: fallback to non-wed mode if platform_get_resource fails in mt7915_mmio_wed_init()
       wifi: mt76: mt7925: remove iftype from mt7925_init_eht_caps signature

MeiChia Chiu (2):
       wifi: mt76: mt7996: fix rate usage of inband discovery frames
       wifi: mt76: connac: fix EHT phy mode check

Ming Yen Hsieh (3):
       wifi: mt76: mt7921: fix country count limitation for CLC
       wifi: mt76: mt7921: fix CLC command timeout when suspend/resume
       wifi: mt76: mt7921: fix wrong 6Ghz power type

Peter Chiu (4):
       wifi: mt76: mt7996: adjust WFDMA settings to improve performance
       wifi: mt76: mt7996: handle IEEE80211_RC_SMPS_CHANGED
       wifi: mt76: mt7996: align the format of fixed rate command
       wifi: mt76: mt7996: rework ampdu params setting

Rong Yan (1):
       wifi: mt76: mt7921: support 5.9/6GHz channel config in acpi

Ryder Lee (1):
       wifi: mt76: add ability to explicitly forbid LED registration with DT

Sean Wang (1):
       wifi: mt76: mt7921: reduce the size of MCU firmware download Rx queue

Shayne Chen (4):
       wifi: mt76: mt7996: add support for variants with auxiliary RX path
       wifi: mt76: change txpower init to per-phy
       wifi: mt76: mt7996: add txpower setting support
       wifi: mt76: mt7996: introduce mt7996_band_valid()

StanleyYP Wang (9):
       wifi: mt76: connac: add beacon duplicate TX mode support for mt7996
       wifi: mt76: mt7996: fix alignment of sta info event
       wifi: mt76: mt7915: fix EEPROM offset of TSSI flag on MT7981
       wifi: mt76: mt7915: also MT7981 is 3T3R but nss2 on 5 GHz band
       wifi: mt76: connac: add firmware support for mt7992
       wifi: mt76: mt7996: rework register offsets for mt7992
       wifi: mt76: mt7996: support mt7992 eeprom loading
       wifi: mt76: mt7996: adjust interface num and wtbl size for mt7992
       wifi: mt76: mt7996: add PCI IDs for mt7992

Sujuan Chen (3):
       wifi: mt76: mt7996: add wed tx support
       wifi: mt76: mt7996: fix the size of struct bss_rate_tlv
       wifi: mt76: mt7996: set DMA mask to 36 bits for boards with more than 4GB of RAM

Uwe Kleine-König (1):
       wifi: mt76: Convert to platform remove callback returning void

Wang Zhao (1):
       wifi: mt76: mt7921s: fix workqueue problem causes STA association fail

Wu Yunchuan (1):
       wifi: mt76: Remove unnecessary (void*) conversions

Yi-Chia Hsieh (1):
       wifi: mt76: mt7996: fix uninitialized variable in parsing txfree

  drivers/net/wireless/mediatek/mt76/dma.c              | 258 +++++++++++++++++++++---------
  drivers/net/wireless/mediatek/mt76/dma.h              |  54 +++++++
  drivers/net/wireless/mediatek/mt76/eeprom.c           |  22 +--
  drivers/net/wireless/mediatek/mt76/mac80211.c         |  60 +++++--
  drivers/net/wireless/mediatek/mt76/mmio.c             | 108 +++++++++++++
  drivers/net/wireless/mediatek/mt76/mt76.h             | 105 +++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7603/dma.c       |   9 +-
  drivers/net/wireless/mediatek/mt76/mt7603/soc.c       |   7 +-
  drivers/net/wireless/mediatek/mt76/mt7615/dma.c       |   6 +-
  drivers/net/wireless/mediatek/mt76/mt7615/mcu.c       |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7615/sdio.c      |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7615/soc.c       |   6 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac.h      |   8 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.h |   7 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c  |   5 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c  |   5 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h  |  29 +++-
  drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c     |   5 +-
  drivers/net/wireless/mediatek/mt76/mt7915/dma.c       |  46 ++----
  drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c    |   7 +-
  drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h    |   3 +-
  drivers/net/wireless/mediatek/mt76/mt7915/init.c      |  30 ++--
  drivers/net/wireless/mediatek/mt76/mt7915/mac.c       |   6 +-
  drivers/net/wireless/mediatek/mt76/mt7915/main.c      |  21 +--
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.h       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7915/mmio.c      | 118 +-------------
  drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h    |   3 +-
  drivers/net/wireless/mediatek/mt76/mt7915/soc.c       |   6 +-
  drivers/net/wireless/mediatek/mt76/mt7921/init.c      |  23 ++-
  drivers/net/wireless/mediatek/mt76/mt7921/main.c      |  38 ++++-
  drivers/net/wireless/mediatek/mt76/mt7921/mcu.c       |  17 +-
  drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h    |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7921/pci.c       |   7 +-
  drivers/net/wireless/mediatek/mt76/mt7921/sdio.c      |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c  |   3 +-
  drivers/net/wireless/mediatek/mt76/mt7925/main.c      |   5 +-
  drivers/net/wireless/mediatek/mt76/mt7925/mcu.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7925/pci.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt792x.h           |   6 +
  drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c  |  53 +++++++
  drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h  |   2 +
  drivers/net/wireless/mediatek/mt76/mt792x_mac.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c   |   5 +-
  drivers/net/wireless/mediatek/mt76/mt7996/dma.c       | 398 ++++++++++++++++++++++++++++++++++++++++------
  drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c    |  38 ++++-
  drivers/net/wireless/mediatek/mt76/mt7996/eeprom.h    |   3 +
  drivers/net/wireless/mediatek/mt76/mt7996/init.c      | 520 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
  drivers/net/wireless/mediatek/mt76/mt7996/mac.c       | 219 +++++++++++++++++---------
  drivers/net/wireless/mediatek/mt76/mt7996/main.c      |  89 +++++++++--
  drivers/net/wireless/mediatek/mt76/mt7996/mcu.c       | 642 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
  drivers/net/wireless/mediatek/mt76/mt7996/mcu.h       | 249 +++++++++++++++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7996/mmio.c      | 295 ++++++++++++++++++++++++++++++++---
  drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h    | 160 +++++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7996/pci.c       |  79 +++++++---
  drivers/net/wireless/mediatek/mt76/mt7996/regs.h      | 182 +++++++++++++++++----
  drivers/net/wireless/mediatek/mt76/sdio.c             |  18 ++-
  57 files changed, 3266 insertions(+), 743 deletions(-)

Comments

Kalle Valo Dec. 12, 2023, 3:06 p.m. UTC | #1
Felix Fietkau <nbd@nbd.name> wrote:

> Hi Kalle,
> 
> here's another updated version of my first request for 6.8.
> There was one more warning left to fix.
> 
> - Felix
> 
> The following changes since commit db7fac15eaf0f09d675730d7002edabe27fe9e1d:
> 
>    wifi: rtw89: mac: refine SER setting during WiFi CPU power on (2023-12-07 18:22:12 +0200)
> 
> are available in the Git repository at:
> 
>    https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-12-06
> 
> for you to fetch changes up to 10f2903147ed04784522ab841c20bb469bdd8681:
> 
>    wifi: mt76: mt7921: fix wrong 6Ghz power type (2023-12-11 13:11:53 +0100)
> 
> ----------------------------------------------------------------
> mt76 patches for 6.8
> 
> * fixes
> * nvmem eeprom improvements
> * mt7996 eht improvements
> * mt7996 wed support
> * mt7996 36-bit DMA support
> 
> ----------------------------------------------------------------
> Allen Ye (2):
>        wifi: mt76: use chainmask for power delta calculation
>        wifi: mt76: connac: add beacon protection support for mt7996
> 
> Arnd Bergmann (1):
>        wifi: mt76: mt7996: fix mt7996_mcu_all_sta_info_event struct packing
> 
> Benjamin Lin (3):
>        wifi: mt76: mt7996: switch to mcu command for TX GI report
>        wifi: mt76: mt7996: add DMA support for mt7992
>        wifi: mt76: connac: add new definition of tx descriptor
> 
> Bo Jiao (1):
>        wifi: mt76: mt7996: add wed rx support
> 
> Christian Marangi (6):
>        wifi: mt76: fix broken precal loading from MTD for mt7915
>        wifi: mt76: fix typo in mt76_get_of_eeprom_from_nvmem function
>        wifi: mt76: limit support of precal loading for mt7915 to MTD only
>        wifi: mt76: make mt76_get_of_eeprom static again
>        wifi: mt76: permit to use alternative cell name to eeprom NVMEM load
>        wifi: mt76: permit to load precal from NVMEM cell for mt7915
> 
> Howard Hsu (4):
>        wifi: mt76: mt7996: add TX statistics for EHT mode in debugfs
>        wifi: mt76: connac: add thermal protection support for mt7996
>        wifi: mt76: mt7996: add thermal sensor device support
>        wifi: mt76: connac: set fixed_bw bit in TX descriptor for fixed rate frames
> 
> Lorenzo Bianconi (13):
>        wifi: mt76: mmio: move mt76_mmio_wed_{init,release}_rx_buf in common code
>        wifi: mt76: move mt76_mmio_wed_offload_{enable,disable} in common code
>        wifi: mt76: move mt76_net_setup_tc in common code
>        wifi: mt76: introduce mt76_queue_is_wed_tx_free utility routine
>        wifi: mt76: introduce wed pointer in mt76_queue
>        wifi: mt76: increase MT_QFLAG_WED_TYPE size
>        wifi: mt76: dma: introduce __mt76_dma_queue_reset utility routine
>        wifi: mt76: mt7996: use u16 for val field in mt7996_mcu_set_rro signature
>        wifi: mt76: move wed reset common code in mt76 module
>        wifi: mt76: mt7996: add wed reset support
>        wifi: mt76: mt7996: add wed rro delete session garbage collector
>        wifi: mt76: mt7915: fallback to non-wed mode if platform_get_resource fails in mt7915_mmio_wed_init()
>        wifi: mt76: mt7925: remove iftype from mt7925_init_eht_caps signature
> 
> MeiChia Chiu (2):
>        wifi: mt76: mt7996: fix rate usage of inband discovery frames
>        wifi: mt76: connac: fix EHT phy mode check
> 
> Ming Yen Hsieh (3):
>        wifi: mt76: mt7921: fix country count limitation for CLC
>        wifi: mt76: mt7921: fix CLC command timeout when suspend/resume
>        wifi: mt76: mt7921: fix wrong 6Ghz power type
> 
> Peter Chiu (4):
>        wifi: mt76: mt7996: adjust WFDMA settings to improve performance
>        wifi: mt76: mt7996: handle IEEE80211_RC_SMPS_CHANGED
>        wifi: mt76: mt7996: align the format of fixed rate command
>        wifi: mt76: mt7996: rework ampdu params setting
> 
> Rong Yan (1):
>        wifi: mt76: mt7921: support 5.9/6GHz channel config in acpi
> 
> Ryder Lee (1):
>        wifi: mt76: add ability to explicitly forbid LED registration with DT
> 
> Sean Wang (1):
>        wifi: mt76: mt7921: reduce the size of MCU firmware download Rx queue
> 
> Shayne Chen (4):
>        wifi: mt76: mt7996: add support for variants with auxiliary RX path
>        wifi: mt76: change txpower init to per-phy
>        wifi: mt76: mt7996: add txpower setting support
>        wifi: mt76: mt7996: introduce mt7996_band_valid()
> 
> StanleyYP Wang (9):
>        wifi: mt76: connac: add beacon duplicate TX mode support for mt7996
>        wifi: mt76: mt7996: fix alignment of sta info event
>        wifi: mt76: mt7915: fix EEPROM offset of TSSI flag on MT7981
>        wifi: mt76: mt7915: also MT7981 is 3T3R but nss2 on 5 GHz band
>        wifi: mt76: connac: add firmware support for mt7992
>        wifi: mt76: mt7996: rework register offsets for mt7992
>        wifi: mt76: mt7996: support mt7992 eeprom loading
>        wifi: mt76: mt7996: adjust interface num and wtbl size for mt7992
>        wifi: mt76: mt7996: add PCI IDs for mt7992
> 
> Sujuan Chen (3):
>        wifi: mt76: mt7996: add wed tx support
>        wifi: mt76: mt7996: fix the size of struct bss_rate_tlv
>        wifi: mt76: mt7996: set DMA mask to 36 bits for boards with more than 4GB of RAM
> 
> Uwe Kleine-König (1):
>        wifi: mt76: Convert to platform remove callback returning void
> 
> Wang Zhao (1):
>        wifi: mt76: mt7921s: fix workqueue problem causes STA association fail
> 
> Wu Yunchuan (1):
>        wifi: mt76: Remove unnecessary (void*) conversions
> 
> Yi-Chia Hsieh (1):
>        wifi: mt76: mt7996: fix uninitialized variable in parsing txfree
> 
>   drivers/net/wireless/mediatek/mt76/dma.c              | 258 +++++++++++++++++++++---------
>   drivers/net/wireless/mediatek/mt76/dma.h              |  54 +++++++
>   drivers/net/wireless/mediatek/mt76/eeprom.c           |  22 +--
>   drivers/net/wireless/mediatek/mt76/mac80211.c         |  60 +++++--
>   drivers/net/wireless/mediatek/mt76/mmio.c             | 108 +++++++++++++
>   drivers/net/wireless/mediatek/mt76/mt76.h             | 105 +++++++++++--
>   drivers/net/wireless/mediatek/mt76/mt7603/dma.c       |   9 +-
>   drivers/net/wireless/mediatek/mt76/mt7603/soc.c       |   7 +-
>   drivers/net/wireless/mediatek/mt76/mt7615/dma.c       |   6 +-
>   drivers/net/wireless/mediatek/mt76/mt7615/mcu.c       |   4 +-
>   drivers/net/wireless/mediatek/mt76/mt7615/sdio.c      |   2 +-
>   drivers/net/wireless/mediatek/mt76/mt7615/soc.c       |   6 +-
>   drivers/net/wireless/mediatek/mt76/mt76_connac.h      |   8 +-
>   drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.h |   7 +-
>   drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c  |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c  |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h  |  29 +++-
>   drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c     |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/dma.c       |  46 ++----
>   drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c    |   7 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h    |   3 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/init.c      |  30 ++--
>   drivers/net/wireless/mediatek/mt76/mt7915/mac.c       |   6 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/main.c      |  21 +--
>   drivers/net/wireless/mediatek/mt76/mt7915/mcu.c       |   2 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/mcu.h       |   2 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/mmio.c      | 118 +-------------
>   drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h    |   3 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/soc.c       |   6 +-
>   drivers/net/wireless/mediatek/mt76/mt7921/init.c      |  23 ++-
>   drivers/net/wireless/mediatek/mt76/mt7921/main.c      |  38 ++++-
>   drivers/net/wireless/mediatek/mt76/mt7921/mcu.c       |  17 +-
>   drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h    |   4 +-
>   drivers/net/wireless/mediatek/mt76/mt7921/pci.c       |   7 +-
>   drivers/net/wireless/mediatek/mt76/mt7921/sdio.c      |   4 +-
>   drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c  |   3 +-
>   drivers/net/wireless/mediatek/mt76/mt7925/main.c      |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt7925/mcu.c       |   2 +-
>   drivers/net/wireless/mediatek/mt76/mt7925/pci.c       |   2 +-
>   drivers/net/wireless/mediatek/mt76/mt792x.h           |   6 +
>   drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c  |  53 +++++++
>   drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h  |   2 +
>   drivers/net/wireless/mediatek/mt76/mt792x_mac.c       |   2 +-
>   drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c   |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt7996/dma.c       | 398 ++++++++++++++++++++++++++++++++++++++++------
>   drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c    |  38 ++++-
>   drivers/net/wireless/mediatek/mt76/mt7996/eeprom.h    |   3 +
>   drivers/net/wireless/mediatek/mt76/mt7996/init.c      | 520 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
>   drivers/net/wireless/mediatek/mt76/mt7996/mac.c       | 219 +++++++++++++++++---------
>   drivers/net/wireless/mediatek/mt76/mt7996/main.c      |  89 +++++++++--
>   drivers/net/wireless/mediatek/mt76/mt7996/mcu.c       | 642 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
>   drivers/net/wireless/mediatek/mt76/mt7996/mcu.h       | 249 +++++++++++++++++++++++++++--
>   drivers/net/wireless/mediatek/mt76/mt7996/mmio.c      | 295 ++++++++++++++++++++++++++++++++---
>   drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h    | 160 +++++++++++++++++--
>   drivers/net/wireless/mediatek/mt76/mt7996/pci.c       |  79 +++++++---
>   drivers/net/wireless/mediatek/mt76/mt7996/regs.h      | 182 +++++++++++++++++----
>   drivers/net/wireless/mediatek/mt76/sdio.c             |  18 ++-
>   57 files changed, 3266 insertions(+), 743 deletions(-)

Pulled, thanks.

379872288fd3 Merge tag 'mt76-for-kvalo-2023-12-06' of https://github.com/nbd168/wireless