[openwrt/openwrt] mwlwifi: add pending patch to support kernel 6.18
LEDE Commits
lede-commits at lists.infradead.org
Sun Dec 7 15:37:32 PST 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c8855881eabf5f67456576284091580eae0561d0
commit c8855881eabf5f67456576284091580eae0561d0
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Dec 1 23:56:54 2025 +0100
mwlwifi: add pending patch to support kernel 6.18
Add pending patch to support backports package based on kernel 6.18.
Link: https://github.com/openwrt/openwrt/pull/20964
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
.../100-mac80211-support-kernel-version-6.18.patch | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/package/kernel/mwlwifi/patches/100-mac80211-support-kernel-version-6.18.patch b/package/kernel/mwlwifi/patches/100-mac80211-support-kernel-version-6.18.patch
new file mode 100644
index 0000000000..c284111536
--- /dev/null
+++ b/package/kernel/mwlwifi/patches/100-mac80211-support-kernel-version-6.18.patch
@@ -0,0 +1,32 @@
+From 8c977646a9a7eca0fc70f785606154581cf26be3 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth at gmail.com>
+Date: Mon, 1 Dec 2025 23:48:36 +0100
+Subject: [PATCH] mac80211: support kernel version 6.18
+
+Support mac80211 kernel version 6.18 with new radio_idx arg.
+
+Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
+---
+ mac80211.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/mac80211.c
++++ b/mac80211.c
+@@ -308,7 +308,7 @@ static void mwl_mac80211_remove_interfac
+ mwl_mac80211_remove_vif(priv, vif);
+ }
+
+-static int mwl_mac80211_config(struct ieee80211_hw *hw,
++static int mwl_mac80211_config(struct ieee80211_hw *hw, int radio_idx,
+ u32 changed)
+ {
+ struct ieee80211_conf *conf = &hw->conf;
+@@ -564,7 +564,7 @@ out:
+ return rc;
+ }
+
+-static int mwl_mac80211_set_rts_threshold(struct ieee80211_hw *hw,
++static int mwl_mac80211_set_rts_threshold(struct ieee80211_hw *hw, int radio_idx,
+ u32 value)
+ {
+ return mwl_fwcmd_set_rts_threshold(hw, value);
More information about the lede-commits
mailing list