[openwrt/openwrt] mwlwifi: fix mac80211 broken after update to 6.9.9

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 28 10:16:37 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d261be1d9e850a25fa6747a84595a8e170a029ac

commit d261be1d9e850a25fa6747a84595a8e170a029ac
Author: Aleksey Vasilenko <aleksey.vasilenko at gmail.com>
AuthorDate: Sat Jul 27 20:01:00 2024 +0300

    mwlwifi: fix mac80211 broken after update to 6.9.9
    
    Port of kernel commit: https://github.com/torvalds/linux/commit/0a44dfc
    Fixes: https://github.com/openwrt/openwrt/issues/15975
    Fixes: 1bfcc1e ("mac80211: update to version 6.9.9")
    
    Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16016
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/mwlwifi/patches/005-mac80211_update.patch | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/kernel/mwlwifi/patches/005-mac80211_update.patch b/package/kernel/mwlwifi/patches/005-mac80211_update.patch
index da37875705..877053fdf1 100644
--- a/package/kernel/mwlwifi/patches/005-mac80211_update.patch
+++ b/package/kernel/mwlwifi/patches/005-mac80211_update.patch
@@ -428,11 +428,15 @@
  				const struct ieee80211_tx_queue_params *params)
  {
  	struct mwl_priv *priv = hw->priv;
-@@ -934,4 +934,5 @@ const struct ieee80211_ops mwl_mac80211_
+@@ -934,4 +934,9 @@ const struct ieee80211_ops mwl_mac80211_
  	.pre_channel_switch = mwl_mac80211_chnl_switch,
  	.sw_scan_start      = mwl_mac80211_sw_scan_start,
  	.sw_scan_complete   = mwl_mac80211_sw_scan_complete,
 +	.wake_tx_queue	    = ieee80211_handle_wake_tx_queue,
++	.add_chanctx        = ieee80211_emulate_add_chanctx,
++	.remove_chanctx     = ieee80211_emulate_remove_chanctx,
++	.change_chanctx     = ieee80211_emulate_change_chanctx,
++	.switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
  };
 --- a/utils.c
 +++ b/utils.c




More information about the lede-commits mailing list