summaryrefslogtreecommitdiff
path: root/net-wireless
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-09 19:14:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-09 19:14:39 +0000
commit6e09959beed2f9355ea5dcbb8ead535bba0a57fc (patch)
tree9fa816eeec8c6e6c41ad102f54b2d44f0baf4b99 /net-wireless
parent3e3968c9e274a143289f3732da5d130f6e2a226b (diff)
downloadbaldeagleos-repo-6e09959beed2f9355ea5dcbb8ead535bba0a57fc.tar.gz
baldeagleos-repo-6e09959beed2f9355ea5dcbb8ead535bba0a57fc.tar.xz
baldeagleos-repo-6e09959beed2f9355ea5dcbb8ead535bba0a57fc.zip
Adding metadata
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r10.ebuild (renamed from net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r9.ebuild)3
-rw-r--r--net-wireless/broadcom-sta/files/021-broadcom-wl-fix-linux-6.17.patch77
2 files changed, 79 insertions, 1 deletions
diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r9.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r10.ebuild
index 44904d126260..d87ca0e8f3ea 100644
--- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r9.ebuild
+++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}/018-broadcom-wl-fix-linux-6.13.patch"
"${FILESDIR}/019-broadcom-wl-fix-linux-6.14.patch"
"${FILESDIR}/020-broadcom-wl-fix-linux-6.15.patch"
+ "${FILESDIR}/021-broadcom-wl-fix-linux-6.17.patch"
)
pkg_pretend() {
diff --git a/net-wireless/broadcom-sta/files/021-broadcom-wl-fix-linux-6.17.patch b/net-wireless/broadcom-sta/files/021-broadcom-wl-fix-linux-6.17.patch
new file mode 100644
index 000000000000..ca51a6d14d9f
--- /dev/null
+++ b/net-wireless/broadcom-sta/files/021-broadcom-wl-fix-linux-6.17.patch
@@ -0,0 +1,77 @@
+patch based on https://gist.github.com/joanbm/4e7f18febc2c25f5fdf8143a739dccd1
+
+diff -urN works/src/wl/sys/wl_cfg80211_hybrid.c fixed/src/wl/sys/wl_cfg80211_hybrid.c
+--- works/src/wl/sys/wl_cfg80211_hybrid.c 2026-02-25 21:07:31.214177735 +0600
++++ fixed/src/wl/sys/wl_cfg80211_hybrid.c 2026-02-25 21:19:10.577143276 +0600
+@@ -68,7 +68,11 @@
+ static s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
+ struct cfg80211_scan_request *request);
+ #endif
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
++static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, int radio_idx, u32 changed);
++#else
+ static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed);
++#endif
+ static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev,
+ struct cfg80211_ibss_params *params);
+ static s32 wl_cfg80211_leave_ibss(struct wiphy *wiphy, struct net_device *dev);
+@@ -87,7 +91,10 @@
+ struct cfg80211_connect_params *sme);
+ static s32 wl_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code);
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
++static s32 wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, int radio_idx,
++ enum nl80211_tx_power_setting type, s32 dbm);
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
+ static s32
+ wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
+ enum nl80211_tx_power_setting type, s32 dbm);
+@@ -99,7 +106,10 @@
+ enum tx_power_setting type, s32 dbm);
+ #endif
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
++static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, int radio_idx,
++ u32 link_id, s32 *dbm);
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
+ static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
+ unsigned int link_id, s32 *dbm);
+ #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
+@@ -660,7 +670,11 @@
+ return err;
+ }
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
++static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, int radio_idx, u32 changed)
++#else
+ static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed)
++#endif
+ {
+ struct wl_cfg80211_priv *wl = wiphy_to_wl(wiphy);
+ struct net_device *ndev = wl_to_ndev(wl);
+@@ -1094,7 +1108,10 @@
+ return err;
+ }
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
++static s32 wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, int radio_idx,
++ enum nl80211_tx_power_setting type, s32 dbm)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)
+ static s32
+ wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
+ enum nl80211_tx_power_setting type, s32 dbm)
+@@ -1155,7 +1172,10 @@
+ return err;
+ }
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)
++static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, int radio_idx,
++ u32 link_id, s32 *dbm)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)
+ static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
+ unsigned int link_id, s32 *dbm)
+ #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)