mbox series

pull request: mt76 2023-02-03

Message ID a5085d68-c786-abc1-e7f1-ccf48acec6a8@nbd.name
State New
Headers show
Series pull request: mt76 2023-02-03 | expand

Pull-request

https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-02-03

Message

Felix Fietkau Feb. 3, 2023, 1:54 p.m. UTC
Hi Kalle,

here's a replacement for my first request for 6.3

- Felix

The following changes since commit 8065c0e13f9875f597920a2af47e5dc2940a9c4f:

   Merge branch 'yt8531-support' (2023-02-03 09:34:51 +0000)

are available in the Git repository at:

   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-02-03

for you to fetch changes up to 518c5d778e985441a7e8c82c696dd38c002c44f0:

   wifi: mt76: support ww power config in dts node (2023-02-03 14:51:37 +0100)

----------------------------------------------------------------
mt76 patches for 6.3

- fixes
- mt7996 cleanups
- switch to page pool allocator
- mt7996 eht support
- WED reset support

----------------------------------------------------------------
Aaron Ma (1):
       wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read

Chuanhong Guo (1):
       wifi: mt76: mt7921u: add support for Comfast CF-952AX

Deren Wu (7):
       wifi: mt76: mt7921: fix channel switch fail in monitor mode
       wifi: mt76: mt7921: add ack signal support
       wifi: mt76: mt7921: fix invalid remain_on_channel duration
       wifi: mt76: add flexible polling wait-interval support
       wifi: mt76: mt7921: reduce polling time in pmctrl
       wifi: mt76: add memory barrier to SDIO queue kick
       wifi: mt76: support ww power config in dts node

Felix Fietkau (1):
       wifi: mt76: mt7921: fix deadlock in mt7921_abort_roc

Howard Hsu (4):
       wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work
       wifi: mt76: mt7915: rework mt7915_mcu_set_thermal_throttling
       wifi: mt76: mt7915: rework mt7915_thermal_temp_store()
       wifi: mt76: mt7915: add error message in mt7915_thermal_set_cur_throttle_state()

Lorenzo Bianconi (22):
       wifi: mt76: introduce mt76_queue_is_wed_rx utility routine
       wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit
       wifi: mt76: mt7996: fix memory leak in mt7996_mcu_exit
       wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
       wifi: mt76: dma: fix memory leak running mt76_dma_tx_cleanup
       wifi: mt76: mt7915: avoid mcu_restart function pointer
       wifi: mt76: mt7603: avoid mcu_restart function pointer
       wifi: mt76: mt7615: avoid mcu_restart function pointer
       wifi: mt76: mt7921: avoid mcu_restart function pointer
       wifi: mt76: fix switch default case in mt7996_reverse_frag0_hdr_trans
       wifi: mt76: mt7915: fix memory leak in mt7915_mmio_wed_init_rx_buf
       wifi: mt76: switch to page_pool allocator
       wifi: mt76: enable page_pool stats
       wifi: mt76: mt7996: rely on mt76_connac2_mac_tx_rate_val
       wifi: mt76: mt7996: rely on mt76_connac_txp_common structure
       wifi: mt76: mt7996: rely on mt76_connac_txp_skb_unmap
       wifi: mt76: mt7996: rely on mt76_connac_tx_complete_skb
       wifi: mt76: mt7996: avoid mcu_restart function pointer
       wifi: mt76: remove __mt76_mcu_restart macro
       wifi: mt76: mt7915: add mt7915 wed reset callbacks
       wifi: mt76: mt7915: complete wed reset support
       wifi: mt76: mt76x0u: report firmware version through ethtool

MeiChia Chiu (2):
       wifi: mt76: mt7915: remove BW160 and BW80+80 support
       wifi: mt76: mt7996: add EHT beamforming support

Neil Chen (1):
       wifi: mt76: mt7921: fix rx filter incorrect by drv/fw inconsistent

Peter Chiu (2):
       wifi: mt76: mt7915: set sku initial value to zero
       wifi: mt76: mt7915: wed: enable red per-band token drop

Ryder Lee (1):
       wifi: mt76: mt7915: fix WED TxS reporting

Shayne Chen (17):
       wifi: mt76: mt7915: add chip id condition in mt7915_check_eeprom()
       wifi: mt76: mt7996: fix chainmask calculation in mt7996_set_antenna()
       wifi: mt76: mt7996: update register for CFEND_RATE
       wifi: mt76: mt7996: do not hardcode vht beamform cap
       wifi: mt76: connac: fix POWER_CTRL command name typo
       wifi: mt76: add EHT phy type
       wifi: mt76: connac: add CMD_CBW_320MHZ
       wifi: mt76: connac: add helpers for EHT capability
       wifi: mt76: connac: add cmd id related to EHT support
       wifi: mt76: increase wcid size to 1088
       wifi: mt76: add EHT rate stats for ethtool
       wifi: mt76: mt7996: add variants support
       wifi: mt76: mt7996: add helpers for wtbl and interface limit
       wifi: mt76: mt7996: rework capability init
       wifi: mt76: mt7996: add EHT capability init
       wifi: mt76: mt7996: add support for EHT rate report
       wifi: mt76: mt7996: enable EHT support in firmware

Sujuan Chen (3):
       wifi: mt76: mt7915: release rxwi in mt7915_wed_release_rx_buf
       wifi: mt76: dma: add reset to mt76_dma_wed_setup signature
       wifi: mt76: dma: reset wed queues in mt76_dma_rx_reset

  drivers/net/wireless/mediatek/mt76/Kconfig           |   1 +
  drivers/net/wireless/mediatek/mt76/dma.c             | 118 ++++++++++++++++++++++--------------------
  drivers/net/wireless/mediatek/mt76/dma.h             |   1 +
  drivers/net/wireless/mediatek/mt76/eeprom.c          |   1 +
  drivers/net/wireless/mediatek/mt76/mac80211.c        |  68 ++++++++++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt76.h            |  55 ++++++++++++++++----
  drivers/net/wireless/mediatek/mt76/mt7603/mcu.c      |   3 +-
  drivers/net/wireless/mediatek/mt76/mt7615/mcu.c      |   3 +-
  drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c |   1 -
  drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c  |   1 -
  drivers/net/wireless/mediatek/mt76/mt76_connac.h     |   5 ++
  drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c |   7 +--
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c |  46 +++++++++++++++++
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h |  16 +++++-
  drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c  |   1 +
  drivers/net/wireless/mediatek/mt76/mt7915/dma.c      |  45 ++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c   |   5 +-
  drivers/net/wireless/mediatek/mt76/mt7915/init.c     |  70 +++++++++++--------------
  drivers/net/wireless/mediatek/mt76/mt7915/mac.c      |  12 +++--
  drivers/net/wireless/mediatek/mt76/mt7915/main.c     |  39 ++++++++++----
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.c      | 112 +++++++++++++++++++++++++++++-----------
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.h      |   1 +
  drivers/net/wireless/mediatek/mt76/mt7915/mmio.c     |  96 +++++++++++++++++++++++-----------
  drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h   |   7 +++
  drivers/net/wireless/mediatek/mt76/mt7915/soc.c      |   2 +
  drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c |   7 ++-
  drivers/net/wireless/mediatek/mt76/mt7921/init.c     |  11 +++-
  drivers/net/wireless/mediatek/mt76/mt7921/mac.c      |  15 ++++++
  drivers/net/wireless/mediatek/mt76/mt7921/main.c     | 116 ++++++++++++++++++-----------------------
  drivers/net/wireless/mediatek/mt76/mt7921/mcu.c      | 106 ++++++++++++++++++++++++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h   |   9 ++++
  drivers/net/wireless/mediatek/mt76/mt7921/pci_mcu.c  |   9 ++--
  drivers/net/wireless/mediatek/mt76/mt7921/regs.h     |   8 +++
  drivers/net/wireless/mediatek/mt76/mt7921/testmode.c |   1 -
  drivers/net/wireless/mediatek/mt76/mt7921/usb.c      |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c  |   8 +--
  drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c   |  27 ++++++++++
  drivers/net/wireless/mediatek/mt76/mt7996/init.c     | 402 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------
  drivers/net/wireless/mediatek/mt76/mt7996/mac.c      | 149 +++++++++++++++++++----------------------------------
  drivers/net/wireless/mediatek/mt76/mt7996/mac.h      |  24 ---------
  drivers/net/wireless/mediatek/mt76/mt7996/main.c     |  17 ++++--
  drivers/net/wireless/mediatek/mt76/mt7996/mcu.c      | 234 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
  drivers/net/wireless/mediatek/mt76/mt7996/mcu.h      |  16 ++++++
  drivers/net/wireless/mediatek/mt76/mt7996/mmio.c     |   5 +-
  drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h   |  26 +++++++---
  drivers/net/wireless/mediatek/mt76/mt7996/regs.h     |  15 +++---
  drivers/net/wireless/mediatek/mt76/sdio.c            |   4 ++
  drivers/net/wireless/mediatek/mt76/usb.c             |  42 ++++++++-------
  drivers/net/wireless/mediatek/mt76/util.c            |  10 ++--
  49 files changed, 1335 insertions(+), 646 deletions(-)

Comments

Kalle Valo Feb. 13, 2023, 12:50 p.m. UTC | #1
Felix Fietkau <nbd@nbd.name> wrote:

> Hi Kalle,
> 
> here's a replacement for my first request for 6.3
> 
> - Felix
> 
> The following changes since commit 8065c0e13f9875f597920a2af47e5dc2940a9c4f:
> 
>    Merge branch 'yt8531-support' (2023-02-03 09:34:51 +0000)
> 
> are available in the Git repository at:
> 
>    https://github.com/nbd168/wireless tags/mt76-for-kvalo-2023-02-03
> 
> for you to fetch changes up to 518c5d778e985441a7e8c82c696dd38c002c44f0:
> 
>    wifi: mt76: support ww power config in dts node (2023-02-03 14:51:37 +0100)
> 
> ----------------------------------------------------------------
> mt76 patches for 6.3
> 
> - fixes
> - mt7996 cleanups
> - switch to page pool allocator
> - mt7996 eht support
> - WED reset support
> 
> ----------------------------------------------------------------
> Aaron Ma (1):
>        wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
> 
> Chuanhong Guo (1):
>        wifi: mt76: mt7921u: add support for Comfast CF-952AX
> 
> Deren Wu (7):
>        wifi: mt76: mt7921: fix channel switch fail in monitor mode
>        wifi: mt76: mt7921: add ack signal support
>        wifi: mt76: mt7921: fix invalid remain_on_channel duration
>        wifi: mt76: add flexible polling wait-interval support
>        wifi: mt76: mt7921: reduce polling time in pmctrl
>        wifi: mt76: add memory barrier to SDIO queue kick
>        wifi: mt76: support ww power config in dts node
> 
> Felix Fietkau (1):
>        wifi: mt76: mt7921: fix deadlock in mt7921_abort_roc
> 
> Howard Hsu (4):
>        wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work
>        wifi: mt76: mt7915: rework mt7915_mcu_set_thermal_throttling
>        wifi: mt76: mt7915: rework mt7915_thermal_temp_store()
>        wifi: mt76: mt7915: add error message in mt7915_thermal_set_cur_throttle_state()
> 
> Lorenzo Bianconi (22):
>        wifi: mt76: introduce mt76_queue_is_wed_rx utility routine
>        wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit
>        wifi: mt76: mt7996: fix memory leak in mt7996_mcu_exit
>        wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
>        wifi: mt76: dma: fix memory leak running mt76_dma_tx_cleanup
>        wifi: mt76: mt7915: avoid mcu_restart function pointer
>        wifi: mt76: mt7603: avoid mcu_restart function pointer
>        wifi: mt76: mt7615: avoid mcu_restart function pointer
>        wifi: mt76: mt7921: avoid mcu_restart function pointer
>        wifi: mt76: fix switch default case in mt7996_reverse_frag0_hdr_trans
>        wifi: mt76: mt7915: fix memory leak in mt7915_mmio_wed_init_rx_buf
>        wifi: mt76: switch to page_pool allocator
>        wifi: mt76: enable page_pool stats
>        wifi: mt76: mt7996: rely on mt76_connac2_mac_tx_rate_val
>        wifi: mt76: mt7996: rely on mt76_connac_txp_common structure
>        wifi: mt76: mt7996: rely on mt76_connac_txp_skb_unmap
>        wifi: mt76: mt7996: rely on mt76_connac_tx_complete_skb
>        wifi: mt76: mt7996: avoid mcu_restart function pointer
>        wifi: mt76: remove __mt76_mcu_restart macro
>        wifi: mt76: mt7915: add mt7915 wed reset callbacks
>        wifi: mt76: mt7915: complete wed reset support
>        wifi: mt76: mt76x0u: report firmware version through ethtool
> 
> MeiChia Chiu (2):
>        wifi: mt76: mt7915: remove BW160 and BW80+80 support
>        wifi: mt76: mt7996: add EHT beamforming support
> 
> Neil Chen (1):
>        wifi: mt76: mt7921: fix rx filter incorrect by drv/fw inconsistent
> 
> Peter Chiu (2):
>        wifi: mt76: mt7915: set sku initial value to zero
>        wifi: mt76: mt7915: wed: enable red per-band token drop
> 
> Ryder Lee (1):
>        wifi: mt76: mt7915: fix WED TxS reporting
> 
> Shayne Chen (17):
>        wifi: mt76: mt7915: add chip id condition in mt7915_check_eeprom()
>        wifi: mt76: mt7996: fix chainmask calculation in mt7996_set_antenna()
>        wifi: mt76: mt7996: update register for CFEND_RATE
>        wifi: mt76: mt7996: do not hardcode vht beamform cap
>        wifi: mt76: connac: fix POWER_CTRL command name typo
>        wifi: mt76: add EHT phy type
>        wifi: mt76: connac: add CMD_CBW_320MHZ
>        wifi: mt76: connac: add helpers for EHT capability
>        wifi: mt76: connac: add cmd id related to EHT support
>        wifi: mt76: increase wcid size to 1088
>        wifi: mt76: add EHT rate stats for ethtool
>        wifi: mt76: mt7996: add variants support
>        wifi: mt76: mt7996: add helpers for wtbl and interface limit
>        wifi: mt76: mt7996: rework capability init
>        wifi: mt76: mt7996: add EHT capability init
>        wifi: mt76: mt7996: add support for EHT rate report
>        wifi: mt76: mt7996: enable EHT support in firmware
> 
> Sujuan Chen (3):
>        wifi: mt76: mt7915: release rxwi in mt7915_wed_release_rx_buf
>        wifi: mt76: dma: add reset to mt76_dma_wed_setup signature
>        wifi: mt76: dma: reset wed queues in mt76_dma_rx_reset
> 
>   drivers/net/wireless/mediatek/mt76/Kconfig           |   1 +
>   drivers/net/wireless/mediatek/mt76/dma.c             | 118 ++++++++++++++++++++++--------------------
>   drivers/net/wireless/mediatek/mt76/dma.h             |   1 +
>   drivers/net/wireless/mediatek/mt76/eeprom.c          |   1 +
>   drivers/net/wireless/mediatek/mt76/mac80211.c        |  68 ++++++++++++++++++++++--
>   drivers/net/wireless/mediatek/mt76/mt76.h            |  55 ++++++++++++++++----
>   drivers/net/wireless/mediatek/mt76/mt7603/mcu.c      |   3 +-
>   drivers/net/wireless/mediatek/mt76/mt7615/mcu.c      |   3 +-
>   drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c |   1 -
>   drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c  |   1 -
>   drivers/net/wireless/mediatek/mt76/mt76_connac.h     |   5 ++
>   drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c |   7 +--
>   drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c |  46 +++++++++++++++++
>   drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h |  16 +++++-
>   drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c  |   1 +
>   drivers/net/wireless/mediatek/mt76/mt7915/dma.c      |  45 ++++++++++++++--
>   drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c   |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt7915/init.c     |  70 +++++++++++--------------
>   drivers/net/wireless/mediatek/mt76/mt7915/mac.c      |  12 +++--
>   drivers/net/wireless/mediatek/mt76/mt7915/main.c     |  39 ++++++++++----
>   drivers/net/wireless/mediatek/mt76/mt7915/mcu.c      | 112 +++++++++++++++++++++++++++++-----------
>   drivers/net/wireless/mediatek/mt76/mt7915/mcu.h      |   1 +
>   drivers/net/wireless/mediatek/mt76/mt7915/mmio.c     |  96 +++++++++++++++++++++++-----------
>   drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h   |   7 +++
>   drivers/net/wireless/mediatek/mt76/mt7915/soc.c      |   2 +
>   drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c |   7 ++-
>   drivers/net/wireless/mediatek/mt76/mt7921/init.c     |  11 +++-
>   drivers/net/wireless/mediatek/mt76/mt7921/mac.c      |  15 ++++++
>   drivers/net/wireless/mediatek/mt76/mt7921/main.c     | 116 ++++++++++++++++++-----------------------
>   drivers/net/wireless/mediatek/mt76/mt7921/mcu.c      | 106 ++++++++++++++++++++++++++++++++++++--
>   drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h   |   9 ++++
>   drivers/net/wireless/mediatek/mt76/mt7921/pci_mcu.c  |   9 ++--
>   drivers/net/wireless/mediatek/mt76/mt7921/regs.h     |   8 +++
>   drivers/net/wireless/mediatek/mt76/mt7921/testmode.c |   1 -
>   drivers/net/wireless/mediatek/mt76/mt7921/usb.c      |   4 +-
>   drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c  |   8 +--
>   drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c   |  27 ++++++++++
>   drivers/net/wireless/mediatek/mt76/mt7996/init.c     | 402 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------
>   drivers/net/wireless/mediatek/mt76/mt7996/mac.c      | 149 +++++++++++++++++++----------------------------------
>   drivers/net/wireless/mediatek/mt76/mt7996/mac.h      |  24 ---------
>   drivers/net/wireless/mediatek/mt76/mt7996/main.c     |  17 ++++--
>   drivers/net/wireless/mediatek/mt76/mt7996/mcu.c      | 234 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
>   drivers/net/wireless/mediatek/mt76/mt7996/mcu.h      |  16 ++++++
>   drivers/net/wireless/mediatek/mt76/mt7996/mmio.c     |   5 +-
>   drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h   |  26 +++++++---
>   drivers/net/wireless/mediatek/mt76/mt7996/regs.h     |  15 +++---
>   drivers/net/wireless/mediatek/mt76/sdio.c            |   4 ++
>   drivers/net/wireless/mediatek/mt76/usb.c             |  42 ++++++++-------
>   drivers/net/wireless/mediatek/mt76/util.c            |  10 ++--
>   49 files changed, 1335 insertions(+), 646 deletions(-)

Pulled, thanks.

f18bd6f53946 Merge tag 'mt76-for-kvalo-2023-02-03' of https://github.com/nbd168/wireless