mbox series

pull request: mt76 2025-01-13

Message ID 6c05b939-5649-4a07-91b2-81791ae0ad80@nbd.name (mailing list archive)
State New
Delegated to: Kalle Valo
Headers show
Series pull request: mt76 2025-01-13 | expand

Pull-request

https://github.com/nbd168/wireless tags/mt76-for-kvalo-2025-01-13

Message

Felix Fietkau Jan. 13, 2025, 10:22 a.m. UTC
Hi Kalle,

Here's my pull request for 6.14.

- Felix

The following changes since commit 8221712a174ad83e36489c414c26619010f4e348:

   wifi: brcmfmac: Add missing Return: to function documentation (2025-01-10 15:14:00 +0200)

are available in the Git repository at:

   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2025-01-13

for you to fetch changes up to 4d915d0d5cf04c7e36127303fb74b325f47839c0:

   wifi: mt76: mt7921: avoid undesired changes of the preset regulatory domain (2025-01-13 11:22:01 +0100)

----------------------------------------------------------------
mt76 patches for 6.14

- mlo fixes for mt792x
- single wiphy multiband support for mt7996
- mt7915 stability fixes

----------------------------------------------------------------
Allan Wang (2):
       wifi: mt76: introduce mt792x_config_mac_addr_list routine
       wifi: mt76: mt7921: add rfkill_poll for hardware rfkill

Ben Greear (2):
       wifi: mt76: mt7996: Add eht radiotap tlv
       wifi: mt76: Fix EHT NSS radiotap reporting.

Chad Monroe (2):
       wifi: mt76: mt7915: exclude tx backoff time from airtime
       wifi: mt76: mt7996: exclude tx backoff time from airtime

Charles Han (1):
       wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links

Christophe JAILLET (1):
       wifi: mt76: mt7915: Fix an error handling path in mt7915_add_interface()

Dan Carpenter (1):
       wifi: mt76: mt7925: fix off by one in mt7925_load_clc()

Eric-SY Chang (1):
       wifi: mt76: mt7925: fix wrong band_idx setting when enable sniffer mode

Felix Fietkau (37):
       wifi: mt76: remove mt76_calculate_default_rate()
       wifi: mt76: mt7996: remove phy->monitor_vif
       wifi: mt76: mt7915: fix slot time for 5/6GHz
       wifi: mt76: mt7915: fix eifs value on older chipsets
       wifi: mt76: mt7996: fix rx filter setting for bfee functionality
       wifi: mt76: mt7915: reduce the number of command retries
       wifi: mt76: mt7915: decrease timeout for commonly issued MCU commands
       wifi: mt76: only enable tx worker after setting the channel
       wifi: mt76: mt7915: ensure that only one sta entry is active per mac address
       wifi: mt76: mt7915: hold dev->mutex while interacting with the thermal state
       wifi: mt76: mt7915: firmware restart on devices with a second pcie link
       wifi: mt76: mt7915: fix omac index assignment after hardware reset
       wifi: mt76: mt7996: use mac80211 .sta_state op
       wifi: mt76: do not add wcid entries to sta poll list during MCU reset
       wifi: mt76: add code for emulating hardware scanning
       wifi: mt76: add support for allocating a phy without hw
       wifi: mt76: rename struct mt76_vif to mt76_vif_link
       wifi: mt76: add vif link specific data structure
       wifi: mt76: mt7996: split link specific data from struct mt7996_vif
       wifi: mt76: initialize more wcid fields mt76_wcid_init
       wifi: mt76: add chanctx functions for multi-channel phy support
       wifi: mt76: remove dev->wcid_phy_mask
       wifi: mt76: add multi-radio support to a few core hw ops
       wifi: mt76: add multi-radio support to tx scheduling
       wifi: mt76: add multi-radio support to scanning code
       wifi: mt76: add multi-radio remain_on_channel functions
       wifi: mt76: mt7996: use emulated hardware scan support
       wifi: mt76: mt7996: pass wcid to mt7996_mcu_sta_hdr_trans_tlv
       wifi: mt76: mt7996: prepare mt7996_mcu_add_dev/bss_info for MLO support
       wifi: mt76: mt7996: prepare mt7996_mcu_add_beacon for MLO support
       wifi: mt76: mt7996: prepare mt7996_mcu_set_tx for MLO support
       wifi: mt76: mt7996: prepare mt7996_mcu_set_timing for MLO support
       wifi: mt76: connac: prepare mt76_connac_mcu_sta_basic_tlv for MLO support
       wifi: mt76: mt7996: prepare mt7996_mcu_update_bss_color for MLO support
       wifi: mt76: mt7996: move all debugfs files to the primary phy
       wifi: mt76: mt7996: switch to single multi-radio wiphy
       wifi: mt76: mt7996: fix monitor mode

Hao Zhang (1):
       wifi: mt76: mt792x: add P2P_DEVICE support

Leon Yen (4):
       wifi: mt76: mt7921s: fix a potential firmware freeze during startup
       wifi: mt76: mt7925: Fix CNM Timeout with Single Active Link in MLO
       wifi: mt76: mt7921: introduce CSA support
       wifi: mt76: mt7921: avoid undesired changes of the preset regulatory domain

Michael Lo (2):
       wifi: mt76: mt7921: fix using incorrect group cipher after disconnection.
       wifi: mt76: mt7925: config the dwell time by firmware

Ming Yen Hsieh (15):
       wifi: mt76: mt7925: fix get wrong chip cap from incorrect pointer
       wifi: mt76: mt7925: fix the invalid ip address for arp offload
       wifi: mt76: mt7925: Fix incorrect MLD address in bss_mld_tlv for MLO support
       wifi: mt76: mt7925: Fix incorrect WCID assignment for MLO
       wifi: mt76: mt7925: fix wrong parameter for related cmd of chan info
       wifi: mt76: mt7925: Enhance mt7925_mac_link_bss_add to support MLO
       wifi: mt76: Enhance mt7925_mac_link_sta_add to support MLO
       wifi: mt76: mt7925: Update mt7925_mcu_sta_update for BC in ASSOC state
       wifi: mt76: mt7925: Update mt792x_rx_get_wcid for per-link STA
       wifi: mt76: mt7925: Update mt7925_unassign_vif_chanctx for per-link BSS
       wifi: mt76: mt7925: Update secondary link PS flow
       wifi: mt76: mt7925: Init secondary link PM state
       wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO
       wifi: mt76: mt7925: Cleanup MLO settings post-disconnection
       wifi: mt76: mt7925: Properly handle responses for commands with events

Nick Morrow (1):
       wifi: mt76: mt7921u: Add VID/PID for TP-Link TXE50UH

Nicolas Cavallari (1):
       wifi: mt76: mt7915: Fix mesh scan on MT7916 DBDC

Peter Chiu (2):
       wifi: mt76: mt7915: fix register mapping
       wifi: mt76: mt7996: fix register mapping

Quan Zhou (6):
       wifi: mt76: mt7921: fix a potential scan no APs
       wifi: mt76: do not hold queue lock during initial rx buffer alloc
       wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend
       wifi: mt76: mt7925: fix CLC command timeout when suspend/resume
       wifi: mt76: mt7925: add handler to hif suspend/resume event
       wifi: mt76: mt7925e: fix too long of wifi resume time

Sean Wang (1):
       wifi: mt76: connac: Extend mt76_connac_mcu_uni_add_dev for MLO

Shayne Chen (4):
       wifi: mt76: mt7996: extend flexibility of mt7996_mcu_get_eeprom()
       wifi: mt76: mt7996: add support for more variants
       wifi: mt76: mt7915: add module param to select 5 GHz or 6 GHz on MT7916
       wifi: mt76: connac: rework connac helpers

Shen Lichuan (1):
       wifi: mt76: mt7615: Convert comma to semicolon

StanleyYP Wang (1):
       wifi: mt76: mt7996: set correct background radar capability

WangYuli (1):
       wifi: mt76: mt76u_vendor_request: Do not print error messages when -EPROTO

Zhang Kunbo (1):
       wifi: mt76: mt7925: replace zero-length array with flexible-array member

allan.wang (1):
       wifi: mt76: mt7925: Fix incorrect WCID phy_idx assignment

xueqin Luo (2):
       wifi: mt76: mt7996: fix overflows seen when writing limit attributes
       wifi: mt76: mt7915: fix overflows seen when writing limit attributes

  drivers/net/wireless/mediatek/mt76/Makefile           |   2 +-
  drivers/net/wireless/mediatek/mt76/channel.c          | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/net/wireless/mediatek/mt76/dma.c              |  22 +++-
  drivers/net/wireless/mediatek/mt76/mac80211.c         | 235 ++++++++++++++++++++++++++-----------
  drivers/net/wireless/mediatek/mt76/mt76.h             | 152 ++++++++++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7603/mac.c       |   9 +-
  drivers/net/wireless/mediatek/mt76/mt7603/main.c      |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7615/mac.c       |  14 +--
  drivers/net/wireless/mediatek/mt76/mt7615/main.c      |  11 +-
  drivers/net/wireless/mediatek/mt76/mt7615/mcu.c       |   8 +-
  drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h    |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7615/pci.c       |   6 +-
  drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c   |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7615/sdio.c      |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c  |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7615/usb.c       |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c   |   2 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac.h      |   2 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac3_mac.c |   5 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c  |  38 +++---
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c  |  79 +++++++------
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h  |  23 ++--
  drivers/net/wireless/mediatek/mt76/mt76x0/phy.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c     |   2 +-
  drivers/net/wireless/mediatek/mt76/mt76x02_util.c     |   3 +-
  drivers/net/wireless/mediatek/mt76/mt76x2/phy.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c    |  21 +++-
  drivers/net/wireless/mediatek/mt76/mt7915/init.c      |  22 +++-
  drivers/net/wireless/mediatek/mt76/mt7915/mac.c       |  26 ++---
  drivers/net/wireless/mediatek/mt76/mt7915/main.c      |  79 +++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.c       |  34 +++++-
  drivers/net/wireless/mediatek/mt76/mt7915/mmio.c      |   4 +-
  drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h    |   3 +-
  drivers/net/wireless/mediatek/mt76/mt7915/pci.c       |   1 +
  drivers/net/wireless/mediatek/mt76/mt7915/regs.h      |   7 ++
  drivers/net/wireless/mediatek/mt76/mt7921/init.c      |   8 ++
  drivers/net/wireless/mediatek/mt76/mt7921/mac.c       |  18 +--
  drivers/net/wireless/mediatek/mt76/mt7921/main.c      | 136 +++++++++++++++++++--
  drivers/net/wireless/mediatek/mt76/mt7921/mcu.c       |  30 ++++-
  drivers/net/wireless/mediatek/mt76/mt7921/mcu.h       |   5 +
  drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h    |   5 +
  drivers/net/wireless/mediatek/mt76/mt7921/pci.c       |  10 +-
  drivers/net/wireless/mediatek/mt76/mt7921/sdio.c      |   6 +-
  drivers/net/wireless/mediatek/mt76/mt7921/usb.c       |   7 +-
  drivers/net/wireless/mediatek/mt76/mt7925/init.c      |  30 ++++-
  drivers/net/wireless/mediatek/mt76/mt7925/mac.c       |  28 ++---
  drivers/net/wireless/mediatek/mt76/mt7925/main.c      | 126 ++++++++++++++------
  drivers/net/wireless/mediatek/mt76/mt7925/mcu.c       | 236 +++++++++++++++++++++++++------------
  drivers/net/wireless/mediatek/mt76/mt7925/mcu.h       |   7 +-
  drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h    |  23 ++++
  drivers/net/wireless/mediatek/mt76/mt7925/pci.c       |  33 ++++--
  drivers/net/wireless/mediatek/mt76/mt7925/usb.c       |  20 +++-
  drivers/net/wireless/mediatek/mt76/mt792x.h           |  23 +++-
  drivers/net/wireless/mediatek/mt76/mt792x_core.c      |  48 +++++++-
  drivers/net/wireless/mediatek/mt76/mt792x_mac.c       |   2 +-
  drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c   | 150 ++++++++++++++----------
  drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c    | 214 +++++++++++++++++++++++----------
  drivers/net/wireless/mediatek/mt76/mt7996/eeprom.h    |   2 +
  drivers/net/wireless/mediatek/mt76/mt7996/init.c      | 346 ++++++++++++++++++++++++++++++++++++------------------
  drivers/net/wireless/mediatek/mt76/mt7996/mac.c       |  52 ++++-----
  drivers/net/wireless/mediatek/mt76/mt7996/main.c      | 909 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------
  drivers/net/wireless/mediatek/mt76/mt7996/mcu.c       | 356 ++++++++++++++++++++++++++++++-------------------------
  drivers/net/wireless/mediatek/mt76/mt7996/mmio.c      |   6 +-
  drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h    | 171 ++++++++++++++++++++++-----
  drivers/net/wireless/mediatek/mt76/mt7996/regs.h      |  12 ++
  drivers/net/wireless/mediatek/mt76/scan.c             | 168 ++++++++++++++++++++++++++
  drivers/net/wireless/mediatek/mt76/sdio_txrx.c        |   4 +
  drivers/net/wireless/mediatek/mt76/tx.c               |  33 +++---
  drivers/net/wireless/mediatek/mt76/usb.c              |   4 +-
  drivers/net/wireless/mediatek/mt76/util.c             |  10 +-
  70 files changed, 3186 insertions(+), 1262 deletions(-)
  create mode 100644 drivers/net/wireless/mediatek/mt76/channel.c
  create mode 100644 drivers/net/wireless/mediatek/mt76/scan.c

Comments

Kalle Valo Jan. 13, 2025, 5:31 p.m. UTC | #1
Felix Fietkau <nbd@nbd.name> wrote:

> Hi Kalle,
> 
> Here's my pull request for 6.14.
> 
> - Felix
> 
> The following changes since commit 8221712a174ad83e36489c414c26619010f4e348:
> 
>    wifi: brcmfmac: Add missing Return: to function documentation (2025-01-10 15:14:00 +0200)
> 
> are available in the Git repository at:
> 
>    https://github.com/nbd168/wireless tags/mt76-for-kvalo-2025-01-13
> 
> for you to fetch changes up to 4d915d0d5cf04c7e36127303fb74b325f47839c0:
> 
>    wifi: mt76: mt7921: avoid undesired changes of the preset regulatory domain (2025-01-13 11:22:01 +0100)
> 
> ----------------------------------------------------------------
> mt76 patches for 6.14
> 
> - mlo fixes for mt792x
> - single wiphy multiband support for mt7996
> - mt7915 stability fixes
> 
> ----------------------------------------------------------------

I see new warnings with GCC 14.2 (and sparse):

drivers/net/wireless/mediatek/mt76/mt7996/init.c:205:55: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
drivers/net/wireless/mediatek/mt76/mt7996/init.c:205:9: note: 'snprintf' output between 16 and 18 bytes into a destination of size 17
drivers/net/wireless/mediatek/mt76/mt7996/init.c:220:57: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
drivers/net/wireless/mediatek/mt76/mt7996/init.c:220:9: note: 'snprintf' output between 16 and 18 bytes into a destination of size 17
drivers/net/wireless/mediatek/mt76/mt7925/main.c:2124:36: warning: variable 'pri_link_conf' set but not used [-Wunused-but-set-variable]
drivers/net/wireless/mediatek/mt76/mt7996/main.c:659:33: warning: variable 'link' set but not used [-Wunused-but-set-variable]
drivers/net/wireless/mediatek/mt76/mac80211.c:1046:20: warning: Using plain integer as NULL pointer