Package: broadcom-sta-dkms Followup-For: Bug #1119951 X-Debbugs-Cc: [email protected], [email protected] User: [email protected] Usertags: amd64 Control: tags -1 ftbfs
Same thing here (on the laptop that runs unstable). Log of failed build https://paste.debian.net/hidden/caefb03c I tried ubuntu's patch for 6.17 (attached) and it worked. Log of successful build https://paste.debian.net/hidden/40663989 Ubuntu's patch is based on this https://gist.github.com/joanbm/4e7f18febc2c25f5fdf8143a739dccd1 -- System Information: Debian Release: forky/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages broadcom-sta-dkms depends on: pn dkms <none> Versions of packages broadcom-sta-dkms recommends: pn wireless-tools <none> broadcom-sta-dkms suggests no packages.
From: =?utf-8?q?Joan_Bruguera_Mic=C3=B3?= <[email protected]> Date: Sat, 28 Jun 2025 22:14:42 +0000 Subject: Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.17-rc1 Some function prototype updates, rel. commit "wifi: cfg80211/mac80211: Add support to get radio index" (Roopni Devanathan, 15 Jun 2025) Bug-Ubuntu: https://bugs.launchpad.net/bugs/2120508 Origin: https://gist.github.com/joanbm/4e7f18febc2c25f5fdf8143a739dccd1 Signed-off-by: You-Sheng Yang <[email protected]> --- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c index 204aab8..dde162a 100644 --- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c +++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c @@ -67,7 +67,11 @@ wl_cfg80211_scan(struct wiphy *wiphy, 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); @@ -86,7 +90,10 @@ static int wl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, 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 mbm); @@ -98,7 +105,10 @@ static s32 wl_cfg80211_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type, s32 mbm); #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, u32 /*link_id*/, s32 *dbm); #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, s32 *dbm); @@ -664,7 +674,11 @@ static s32 wl_set_retry(struct net_device *dev, u32 retry, bool l) 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); @@ -1102,7 +1116,10 @@ wl_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_c 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 mbm) +#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 mbm) @@ -1163,7 +1180,10 @@ wl_cfg80211_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type, s32 mb 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, u32 /*link_id*/, s32 *dbm) #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, s32 *dbm)

