Skip to contentSkip to conversation

package/rtl8723bu: bump to 2025-10-08 version

PATCH In review Giulio Benetti 2 participants 6 messages Oct 8, 2025 – Oct 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rtl8723bu: bump to 2025-10-08 version

This version allows to build with Linux 6.17

---
 package/rtl8723bu/rtl8723bu.hash | 2 +-
 package/rtl8723bu/rtl8723bu.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/rtl8723bu/rtl8723bu.hash +1 -1
index 39d2202d6e..1261139a20 100644
@@ -1,2 +1,2 @@
 # Locally computed
-sha256  f0d5fecf6f8fd9668d46c462d0cdb13d5cb91ecc383123989812f3d50ff28e65  rtl8723bu-89b6e527ad6bbae19caa6781ebac849b927d87db.tar.gz
+sha256  e9f94b6e6a6412acbef98d5e21f5c5ef185b0d856f35790e328caeb5df40702c  rtl8723bu-bb6fcc9d14b1ec8eb9c3b448c2023fa8fc551178.tar.gz
package/rtl8723bu/rtl8723bu.mk +1 -1
index 92fd93ccd2..b324b87685 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RTL8723BU_VERSION = 89b6e527ad6bbae19caa6781ebac849b927d87db
+RTL8723BU_VERSION = bb6fcc9d14b1ec8eb9c3b448c2023fa8fc551178
 RTL8723BU_SITE = $(call github,benetti-engineering,rtl8723bu,$(RTL8723BU_VERSION))
 RTL8723BU_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs)
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/1 package/rtl8812au-aircrack-ng: fix build with Linux 6.17

Add local patch pending upstream to fix build failure with Linux 6.17.

Fixes:
Still not occured

---
 .../0003-Fix-build-for-kernel-6.17.patch      | 57 +++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 package/rtl8812au-aircrack-ng/0003-Fix-build-for-kernel-6.17.patch
package/rtl8812au-aircrack-ng/0003-Fix-build-for-kernel-6.17.patch new file +57 -0
new file mode 100644
index 0000000000..361615b945
@@ -0,0 +1,57 @@
+From dfbeaa319808624c367200739a9a6f7fbc4b8281 Mon Sep 17 00:00:00 2001
+From: Giulio Benetti <[email protected]>
+Date: Wed, 8 Oct 2025 17:56:52 +0200
+Subject: [PATCH] Fix build for kernel 6.17
+
+With commit:
+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b74947b4f6ff7c122a1bb6eb38bb7ecfbb1d3820
+set_wiphy_params() and set/get_tx_power() gain argument radio_idx to get
+radio index. So let's add that argument according to linux version >=
+6.17.
+
+Upstream: https://github.com/aircrack-ng/rtl8812au/pull/1238
+Signed-off-by: Giulio Benetti <[email protected]>
+---
+ os_dep/linux/ioctl_cfg80211.c | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
+index ec47e95..3d834a4 100644
+--- a/os_dep/linux/ioctl_cfg80211.c
++++ b/os_dep/linux/ioctl_cfg80211.c
+@@ -3365,7 +3365,12 @@ exit:
+ 	return ret;
+ }
+ 
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
++static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, int radio_idx,
++					 u32 changed)
++#else
+ static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, u32 changed)
++#endif
+ {
+ #if 0
+ 	struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
+@@ -4267,6 +4272,9 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
+ 	struct wireless_dev *wdev,
+ #endif
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
++	int radio_idx,
++#endif
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)) || defined(COMPAT_KERNEL_RELEASE)
+ 	enum nl80211_tx_power_setting type, int mbm)
+ #else
+@@ -4328,6 +4336,9 @@ static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
+ 	struct wireless_dev *wdev,
+ #endif
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
++	int radio_idx,
++#endif
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
+ 	unsigned int link_id,
+ #endif
+-- 
+2.47.3
+
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 1/1 package/rtl8821au: bump to 2025-10-08 version

In reply to Giulio Benetti

This version allows to build with Linux 6.17

---
 package/rtl8821au/rtl8821au.hash | 2 +-
 package/rtl8821au/rtl8821au.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/rtl8821au/rtl8821au.hash +1 -1
index 2796c50791..29b4d46f8e 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  d8d11753f88d670be7489fd1d5d30718543f4994ccc5031609f4408a5586ef3c  rtl8821au-4d39880a41201ddb14b19f2e7273054bb812b32e.tar.gz
+sha256  fe9840003e9481cf9fce3a5ed3f5b985615f862abc1b8d51fe6de7da9e4943c9  rtl8821au-dfe6801adb9b3a5572260ab308d3b69522992814.tar.gz
 sha256  640d90f6ee401241ff62834d0d1b33f83049e99b8bfdfa04ed1b0a1635dde3e7  LICENSE
package/rtl8821au/rtl8821au.mk +1 -1
index afd520b467..734b427019 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RTL8821AU_VERSION = 4d39880a41201ddb14b19f2e7273054bb812b32e
+RTL8821AU_VERSION = dfe6801adb9b3a5572260ab308d3b69522992814
 RTL8821AU_SITE = $(call github,benetti-engineering,rtl8821au,$(RTL8821AU_VERSION))
 RTL8821AU_LICENSE = GPL-2.0
 RTL8821AU_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 1/1 package/rtl8723ds: bump to 2025-10-08 version

In reply to Giulio Benetti

This version allows to build with Linux 6.17

---
 package/rtl8723ds/rtl8723ds.hash | 2 +-
 package/rtl8723ds/rtl8723ds.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/rtl8723ds/rtl8723ds.hash +1 -1
index fa3c472f57..c2691402bd 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  6cbe12b9ea2b816f52075cbcb402054ecd2cd984852b0da7bc82dfa2baa760e9  rtl8723ds-3ffabeef5e1af54ce3c19ce975ffd0dab731fd73.tar.gz
+sha256  338f0fe08acdd1352428d86f88366935e1b967b134f252ac9a3e50cc8922fe14  rtl8723ds-546ffb2cb735e0c33e765936721bd66dd58e6893.tar.gz
 sha256  cd5c66af63b509ccd75ec85fee41b6e5cbb77cd6bf9392a54900acc0f02be4a6  COPYING
package/rtl8723ds/rtl8723ds.mk +1 -1
index e3e020eb7b..14938daaf6 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RTL8723DS_VERSION = 3ffabeef5e1af54ce3c19ce975ffd0dab731fd73
+RTL8723DS_VERSION = 546ffb2cb735e0c33e765936721bd66dd58e6893
 RTL8723DS_SITE = $(call github,benetti-engineering,rtl8723ds,$(RTL8723DS_VERSION))
 RTL8723DS_LICENSE = GPL-2.0
 RTL8723DS_LICENSE_FILES = COPYING
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH 1/1 package/rtl8821cu: fix build failure with Linux 6.17

In reply to Giulio Benetti

* Bump to version 2025-09-10
* Drop upstreamed local patch
* Add local patch to fix build with Linux 6.17

---
 .../0001-Fix-build-for-kernel-6.16.patch      | 34 -----------
 .../0001-Fix-build-for-kernel-6.17.patch      | 57 +++++++++++++++++++
 package/rtl8821cu/rtl8821cu.hash              |  2 +-
 package/rtl8821cu/rtl8821cu.mk                |  2 +-
 4 files changed, 59 insertions(+), 36 deletions(-)
 delete mode 100644 package/rtl8821cu/0001-Fix-build-for-kernel-6.16.patch
 create mode 100644 package/rtl8821cu/0001-Fix-build-for-kernel-6.17.patch
package/rtl8821cu/0001-Fix-build-for-kernel-6.16.patch deleted +0 -34
deleted file mode 100644
index 311d4fcd4c..0000000000
@@ -1,34 +0,0 @@
-From 13f85e370c265b782a801cd22f86cea6f6cda876 Mon Sep 17 00:00:00 2001
-From: Giulio Benetti <[email protected]>
-Date: Mon, 8 Sep 2025 21:04:30 +0200
-Subject: [PATCH] Fix build for kernel 6.16
-
-With commit:
-https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=41cb08555c4164996d67c78b3bf1c658075b75f1
-from_timer() has been renamed to timer_container_of() so let's rename
-according to linux version >= 6.16.
-
-Upstream: https://github.com/morrownr/8821cu-20210916/pull/187
-Signed-off-by: Giulio Benetti <[email protected]>
----
- include/osdep_service_linux.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/include/osdep_service_linux.h b/include/osdep_service_linux.h
-index ed1e19b..c25f6a2 100644
---- a/include/osdep_service_linux.h
-+++ b/include/osdep_service_linux.h
-@@ -210,6 +210,10 @@ typedef void	*thread_context;
- typedef void timer_hdl_return;
- typedef void *timer_hdl_context;
- 
-+#if (LINUX_VERSION_CODE > KERNEL_VERSION(6, 16, 0))
-+#define from_timer     timer_container_of
-+#endif
-+
- #if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 41))
- 	typedef struct work_struct _workitem;
- #else
--- 
-2.43.0
-
package/rtl8821cu/0001-Fix-build-for-kernel-6.17.patch new file +57 -0

57 lines not on this page · raw message

package/rtl8821cu/rtl8821cu.hash +1 -1
index e7418b4cd0..ad59dfedfd 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  6b4bf57959d14ad1a2637a0385876c6fb319d6e4951986bbba18de3c0e65bb86  rtl8821cu-d74134a1c68f59f2b80cdd6c6afb8c1a8a687cbf.tar.gz
+sha256  9ec641bb8005ac6f8fb7f5e941bf07496f0c78618c61bce084e66cb94544cff4  rtl8821cu-07fa9cf0fa8b0c08920c359c725dfc250e91422b.tar.gz
 sha256  22cdb0a9cf492dbf05c5b27381a5c0e73ae0d4622427b522b0ba92b7495e5fb0  LICENSE
package/rtl8821cu/rtl8821cu.mk +1 -1
index ac53b65fda..9010ec389b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RTL8821CU_VERSION = d74134a1c68f59f2b80cdd6c6afb8c1a8a687cbf
+RTL8821CU_VERSION = 07fa9cf0fa8b0c08920c359c725dfc250e91422b
 RTL8821CU_SITE = $(call github,morrownr,8821cu-20210916,$(RTL8821CU_VERSION))
 RTL8821CU_LICENSE = GPL-2.0
 RTL8821CU_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot