diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index ca7fe6c159a..1ce166e9563 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 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 ad3c067813c..00000000000 --- 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,