Public bug reported:

[Impact]

broadcom-sta-dkms does not compile from source in Plucky with kernel
6.14:

In file included from src/shared/linux_osl.c:25:
././src/include/linuxver.h:151:10: fatal error: net/lib80211.h: No such file or 
directory
  151 | #include <net/lib80211.h>
      |          ^~~~~~~~~~~~~~~~
In file included from src/wl/sys/wl_cfg80211_hybrid.c:26:
././src/include/linuxver.h:151:10: fatal error: net/lib80211.h: No such file or 
directory
  151 | #include <net/lib80211.h>
      |          ^~~~~~~~~~~~~~~~
In file included from src/wl/sys/wl_linux.c:27:
././src/include/linuxver.h:151:10: fatal error: net/lib80211.h: No such file or 
directory
  151 | #include <net/lib80211.h>
      |          ^~~~~~~~~~~~~~~~

src/wl/sys/wl_cfg80211_hybrid.c:1833:25: error: initialization of ‘int 
(*)(struct wiphy *, struct wireless_dev *, unsigned int,  int *)’ from 
incompatible pointer type ‘s32 (*)(struct wiphy *, struct wireless_dev *, s32 
*)’ {aka ‘int (*)(struct wiphy *, struct wireless_dev *, int *)’} 
[-Wincompatible-pointer-types]
 1833 |         .get_tx_power = wl_cfg80211_get_tx_power,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1833:25: note: (near initialization for 
‘wl_cfg80211_ops.get_tx_power’)

[ Test case ]

Verify that Plucky is running on 6.14 kernel:
$ uname -r
6.14.0-X-generic

Install broadcom-sta-dkms:
$ sudo apt install broadcom-sta-dkms

Load the module:

$ sudo modprobe wl

Verify that the module has been loaded properly:

$ lsmod | grep wl

[Fix]

Patch the code to properly support Linux 6.14.

** Affects: broadcom-sta (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Changed in: broadcom-sta (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to broadcom-sta in Ubuntu.
https://bugs.launchpad.net/bugs/2100607

Title:
  boradcom-sta-dkms FTBFS in Plucky with 6.14 kernel

Status in broadcom-sta package in Ubuntu:
  In Progress

Bug description:
  [Impact]

  broadcom-sta-dkms does not compile from source in Plucky with kernel
  6.14:

  In file included from src/shared/linux_osl.c:25:
  ././src/include/linuxver.h:151:10: fatal error: net/lib80211.h: No such file 
or directory
    151 | #include <net/lib80211.h>
        |          ^~~~~~~~~~~~~~~~
  In file included from src/wl/sys/wl_cfg80211_hybrid.c:26:
  ././src/include/linuxver.h:151:10: fatal error: net/lib80211.h: No such file 
or directory
    151 | #include <net/lib80211.h>
        |          ^~~~~~~~~~~~~~~~
  In file included from src/wl/sys/wl_linux.c:27:
  ././src/include/linuxver.h:151:10: fatal error: net/lib80211.h: No such file 
or directory
    151 | #include <net/lib80211.h>
        |          ^~~~~~~~~~~~~~~~

  src/wl/sys/wl_cfg80211_hybrid.c:1833:25: error: initialization of ‘int 
(*)(struct wiphy *, struct wireless_dev *, unsigned int,  int *)’ from 
incompatible pointer type ‘s32 (*)(struct wiphy *, struct wireless_dev *, s32 
*)’ {aka ‘int (*)(struct wiphy *, struct wireless_dev *, int *)’} 
[-Wincompatible-pointer-types]
   1833 |         .get_tx_power = wl_cfg80211_get_tx_power,
        |                         ^~~~~~~~~~~~~~~~~~~~~~~~
  src/wl/sys/wl_cfg80211_hybrid.c:1833:25: note: (near initialization for 
‘wl_cfg80211_ops.get_tx_power’)

  [ Test case ]

  Verify that Plucky is running on 6.14 kernel:
  $ uname -r
  6.14.0-X-generic

  Install broadcom-sta-dkms:
  $ sudo apt install broadcom-sta-dkms

  Load the module:

  $ sudo modprobe wl

  Verify that the module has been loaded properly:

  $ lsmod | grep wl

  [Fix]

  Patch the code to properly support Linux 6.14.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2100607/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to