Lost wifi adapter after 24.04.4 update
https://askubuntu.com/questions/1566325/lost-wifi-adapter-after-24-04-4-updateI’ve just upgraded 24.04.4 to the latest software release and lost my BMC43228 WiFi adapter. Going into the GRUB boot menu I can chose between Linux kernel 6.17.0-23 and 6.8.0-41. Using the earlier 6.8 version I still had a working WiFi, so I felt reasonably confident about fixing the 6.17 install. Doing an lshw -class network I can see the BMC43228 adapter as -network UNCLAIMED.
I’ve tried uninstalling and reinstalling the driver, but it comes back with an error that suggests I look in /var/lib/dkmd/broadcom-sta/6.30.223.271/build/make.log as shown below.
DKMS make.log for broadcom-sta-6.30.223.271 for kernel 6.17.0-23-generic (x86_64)
Fri May 1 12:34:37 PM BST 2026
CFG80211 API is prefered for this kernel version
Makefile:91: Neither CFG80211 nor Wireless Extension is enabled in kernel
KBUILD_NOPEDANTIC=1 make -C /lib/modules/6.17.0-23-generic/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-23-generic'
make[2]: Entering directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
CC [M] src/shared/linux_osl.o
src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or directory
23 | #include <typedefs.h>
| ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-6.17.0-23-generic/scripts/Makefile.build:287: src/shared/linux_osl.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.17.0-23-generic/Makefile:2016: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.17.0-23-generic/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-23-generic'
make: *** [Makefile:183: all] Error 2
The line Makefile:91: Neither CFG80211 nor Wireless Extension is enabled in kernel suggests the kernel is at fault. Is this the case and how do I fix it?

