[openwrt/openwrt] mt76: update to Git HEAD (2025-04-11)

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 11 02:10:21 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/372c2ea65612fc86039f441be16714df249cd063

commit 372c2ea65612fc86039f441be16714df249cd063
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Apr 11 11:09:33 2025 +0200

    mt76: update to Git HEAD (2025-04-11)
    
    3e25f2bc33af wifi: mt76: mt7925: introduce MLO capability control
    ce3622257026 wifi: mt76: mt7925: fix fails to enter low power mode in suspend state
    dfdb8e975718 wifi: mt76: mt7915: fix possible integer overflows in mt7915_muru_stats_show()
    29f0ad5a439a wifi: mt76: mt7925: ensure wow pattern command align fw format
    5eab65bb5473 wifi: mt76: mt7925: fix country count limitation for CLC
    d6a197dbc9a2 wifi: mt76: Add check for devm_kstrdup()
    901492c4621a wifi: mt76: mt7925: Remove unnecessary if-check
    24062ce4fa0f wifi: mt76: mt7925: Simplify HIF suspend handling to avoid suspend fail
    56c0beddbed8 wifi: mt76: mt7921: fix kernel panic due to null pointer dereference
    11bacfcce3b9 Revert "wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO"
    2823c50b1c15 wifi: mt76: mt7925: fix the wrong link_idx when has p2p_device
    f54ff3cabab6 wifi: mt76: mt7925: fix the wrong simultaneous cap for MLO
    aa7d366ccf40 wifi: mt76: mt7925: adjust rm BSS flow to prevent next connection failure
    d25359e8bb83 wifi: mt76: mt7925: integrate *mlo_sta_cmd and *sta_cmd
    25a0285d8ee3 wifi: mt76: mt7925: update the power-saving flow
    5910f0806c05 wifi: mt76: mt7925: load the appropriate CLC data based on hardware type
    454a69cbb718 wifi: mt76: mt7925: add EHT control support based on the CLC data
    bdc09b8f2321 wifi: mt76: mt7925: update the channel usage when the regd domain changed
    772dcb4b4e61 wifi: mt76: mt7925: remove unused acpi function for clc
    b94b025490ef wifi: mt76: mt792x: extend MTCL of APCI to version3 for EHT control
    9ff2afce5fef wifi: mt76: mt7925: add MTCL support to enhance the regulatory compliance
    f11807364258 wifi: mt76: add mt76_get_power_bound helper function
    ffd1cbfc485e wifi: mt76: mt7921: fix returned txpower
    687e2fdfbf40 wifi: mt76: mt7925: fix returned txpower
    43aaa62fbc55 wifi: mt76: mt7915: cleanup mt7915_get_power_bound
    a4be3fc9ed4b wifi: mt76: mt7996: cleanup mt7996_get_power_bound
    0ba7a69f8927 wifi: mt76: move napi_enable() from under BH
    1b370c689a2f wifi: mt76: mt7921: avoid undesired changes of the preset regulatory domain
    e931cecc45de mt76: mt792x: fix unused variable warning
    539e7e711a15 Revert "wifi: mt76: mt7925: fix returned txpower"
    67c724cc60b1 Revert "wifi: mt76: mt7921: fix returned txpower"
    52f51a398e7e wifi: mt76: mt7996: Add change_vif_links stub
    b3b61abd733f wifi: mt76: mt7996: Introduce mt7996_sta_link container
    915938e83c35 wifi: mt76: mt7996: Add mt7996_sta_link struct in mt7996_vif_link
    3e06380a43a4 wifi: mt76: mt7996: Add vif_cfg_changed callback
    f419c62e9198 wifi: mt76: mt7996: Add link_info_changed callback
    3082c9edbe35 wifi: mt76: mt7996: Add mt7996_sta_state routine
    46e20e5d7455 wifi: mt76: mt7996: Rely on mt7996_sta_link in sta_add/sta_remove callbacks
    1de180821525 wifi: mt76: mt7996: Add mt7996_mac_sta_change_links callback
    2efb26f1fc10 wifi: mt76: mt7996: Support MLO in mt7996_mac_sta_event()
    2e249744bc12 wifi: mt76: Check link_conf pointer in mt76_connac_mcu_sta_basic_tlv()
    0eee20d3e388 wifi: mt76: mt7996: Update mt7996_mcu_add_sta to MLO support
    200ce414fe61 wifi: mt76: mt7996: Rely on mt7996_vif_link in mt7996_mcu_twt_agrt_update signature
    d195324131ba wifi: mt76: mt7996: Rely on mt7996_vif/sta_link in twt teardown
    7757e7c140f7 wifi: mac80211: call rate_control_rate_update() for link STA
    a3b651aeb551 wifi: mt76: mt7996: Update mt7996_mcu_add_rate_ctrl to MLO
    2a005953dc49 wifi: mt76: mt7996: Add mt7996_mcu_sta_mld_setup_tlv() and mt7996_mcu_sta_eht_mld_tlv()
    58e8b71782fc wifi: mt76: mt7996: Add mt7996_mcu_teardown_mld_sta rouine
    e0b422f2acaf wifi: mt76: mt7996: rework mt7996_mac_write_txwi() for MLO support
    21aa0c288470 wifi: mt76: mt7996: Rely on wcid_to_sta in mt7996_mac_add_txs_skb()
    87c437fa8b43 wifi: mt76: mt7996: rework mt7996_rx_get_wcid to support MLO
    9b4de3ce7fc7 wifi: mt76: mt7996: rework mt7996_sta_set_4addr and mt7996_sta_set_decap_offload to support MLO
    a369b0c14d25 wifi: mt76: mt7996: Add mt7996_sta_link to mt7996_mcu_add_bss_info signature
    9c6ec015afbb wifi: mt76: mt7996: rework mt7996_set_hw_key to support MLO
    60967d28a5e0 wifi: mt76: mt7996: rework mt7996_sta_hw_queue_read to support MLO
    3668d57795e3 wifi: mt76: mt7996: remove mt7996_mac_enable_rtscts()
    275e6a681bac wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO
    057822770ca5 wifi: mt76: mt7996: rework mt7996_mac_sta_poll to support MLO
    b9682a51c109 wifi: mt76: mt7996: rework mt7996_update_mu_group to support MLO
    d1a5a0afa6d6 wifi: mt76: mt7996: rework mt7996_net_fill_forward_path to support MLO
    56529041b364 wifi: mt76: mt7996: rework mt7996_mcu_add_obss_spr to support MLO
    c788d5748dc8 wifi: mt76: mt7996: rework mt7996_mcu_beacon_inband_discov to support MLO
    974e6c2df98b wifi: mt76: mt7996: set vif default link_id adding/removing vif links
    70717b761af2 wifi: mt76: mt7996: rework set/get_tsf callabcks to support MLO
    d01b9d300eaa wifi: mt76: mt7996: rework mt7996_ampdu_action to support MLO
    d5cddf65f7a7 wifi: mt76: mt7996: Update mt7996_tx to MLO support
    a1ed21a66913 wifi: mt76: mt792x: re-register CHANCTX_STA_CSA only for the mt7921 series
    a826fc287483 wifi: mt76: mt7925: update MLO cleanup flow during disconnection
    0994f0af632e wifi: mt76: mt7925: fix the incomplete revert of [tx,rx]_ba for MLO
    5169d4e8669b wifi: mt76: mt76x2u: add TP-Link TL-WDN6200 ID to device table
    46f3a10a9f0f mt76: mt7925: sync with upstream cleanups
    de635e1e3adc wifi: mt76: mt7996: fix locking in mt7996_mac_sta_rc_work()
    63a4edf1cb74 wifi: mt76: mt7996: add macros for pci decive id
    a2dd2f7896f7 wifi: mt76: connac: add support to load firmware for mt7990
    3908cf04aa39 wifi: mt76: mt7996: rework WA mcu command for mt7990
    6243414a4e80 wifi: mt76: mt7996: rework DMA configuration for mt7990
    a8def214d736 wifi: mt76: mt7996: rework register mapping for mt7990
    51db7a2d57f6 wifi: mt76: mt7996: add eeprom support for mt7990
    d0799f3303e9 wifi: mt76: mt7996: adjust HW capabilities for mt7990
    10c3ea97a86d wifi: mt76: connac: rework TX descriptor and TX free for mt7990
    bc588ac3d104 wifi: mt76: mt7996: rework background radar check for mt7990
    f8c3dd3677dd wifi: mt76: mt7996: add PCI device id for mt7990
    3cec186474c4 wifi: mt76: mt7915: set correct background radar capability
    9bacdb2bf2c3 wifi: mt76: mt7915: rework radar HWRDD idx
    a19543c7e05e wifi: mt76: mt7996: rework radar HWRDD idx
    b0cf33e76a3a wifi: mt76: mt7925: Fix logical vs bitwise typo
    0433adc883c9 wifi: mt76: mt7925: add EHT preamble puncturing
    be28ef77e330 wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/kernel/mt76/Makefile                     |  6 ++--
 package/kernel/mt76/patches/100-api_update.patch | 46 ------------------------
 2 files changed, 3 insertions(+), 49 deletions(-)

diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index ca7fe6c159..1ce166e956 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -8,9 +8,9 @@ PKG_LICENSE_FILES:=
 
 PKG_SOURCE_URL:=https://github.com/openwrt/mt76
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2025-02-14
-PKG_SOURCE_VERSION:=e5fef138524e63314cb96ff8314048d175294e95
-PKG_MIRROR_HASH:=4d6ea8669b3034c97f5b341a5473facf4fe21262a2fde71257b57c4d1c86be5e
+PKG_SOURCE_DATE:=2025-04-11
+PKG_SOURCE_VERSION:=be28ef77e330fdee28054214c798f028ddfbbc02
+PKG_MIRROR_HASH:=71d0651fd74b00fd83f5ea965483623dd6b33581c9cb0a05552d8e3d29dd2767
 
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 PKG_USE_NINJA:=0
diff --git a/package/kernel/mt76/patches/100-api_update.patch b/package/kernel/mt76/patches/100-api_update.patch
deleted file mode 100644
index ad3c067813..0000000000
--- a/package/kernel/mt76/patches/100-api_update.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- a/mt7915/main.c
-+++ b/mt7915/main.c
-@@ -1224,9 +1224,10 @@ static void mt7915_sta_rc_work(void *dat
- 
- static void mt7915_sta_rc_update(struct ieee80211_hw *hw,
- 				 struct ieee80211_vif *vif,
--				 struct ieee80211_sta *sta,
-+				 struct ieee80211_link_sta *link_sta,
- 				 u32 changed)
- {
-+	struct ieee80211_sta *sta = link_sta->sta;
- 	struct mt7915_phy *phy = mt7915_hw_phy(hw);
- 	struct mt7915_dev *dev = phy->dev;
- 	struct mt7915_sta *msta = (struct mt7915_sta *)sta->drv_priv;
-@@ -1770,7 +1771,7 @@ const struct ieee80211_ops mt7915_ops =
- 	.stop_ap = mt7915_stop_ap,
- 	.sta_state = mt76_sta_state,
- 	.sta_pre_rcu_remove = mt76_sta_pre_rcu_remove,
--	.sta_rc_update = mt7915_sta_rc_update,
-+	.link_sta_rc_update = mt7915_sta_rc_update,
- 	.set_key = mt7915_set_key,
- 	.ampdu_action = mt7915_ampdu_action,
- 	.set_rts_threshold = mt7915_set_rts_threshold,
---- a/mt7996/main.c
-+++ b/mt7996/main.c
-@@ -1491,9 +1491,10 @@ static void mt7996_sta_rc_work(void *dat
- 
- static void mt7996_sta_rc_update(struct ieee80211_hw *hw,
- 				 struct ieee80211_vif *vif,
--				 struct ieee80211_sta *sta,
-+				 struct ieee80211_link_sta *link_sta,
- 				 u32 changed)
- {
-+	struct ieee80211_sta *sta = link_sta->sta;
- 	struct mt7996_dev *dev = mt7996_hw_dev(hw);
- 
- 	mt7996_sta_rc_work(&changed, sta);
-@@ -1938,7 +1939,7 @@ const struct ieee80211_ops mt7996_ops =
- 	.link_info_changed = mt7996_link_info_changed,
- 	.sta_state = mt7996_sta_state,
- 	.sta_pre_rcu_remove = mt76_sta_pre_rcu_remove,
--	.sta_rc_update = mt7996_sta_rc_update,
-+	.link_sta_rc_update = mt7996_sta_rc_update,
- 	.set_key = mt7996_set_key,
- 	.ampdu_action = mt7996_ampdu_action,
- 	.set_rts_threshold = mt7996_set_rts_threshold,




More information about the lede-commits mailing list