I'm in the process of building BLFS 8.2-systemd; it's going well except for the 
fact that I don't know what to do about my Broadcom BCM4322 wireless network 
card (PCI-ID 14e4:432b).
I've done some reading 
(https://wiki.archlinux.org/index.php/broadcom_wireless), and from what I 
understand it looks like there are two possible solutions: (1) the kernel 
module 'b43' in connection with proprietary firmware or (2) the proprietary 
'wl' driver from Broadcom. The 'brcm80211' driver doesn't seem to work with 
that particular card.
On http://linuxwireless.sipsolutions.net/en/users/Drivers/b43/ it says under 
'Supported devices' that this card is only 'partially' supported - not sure 
what partially means in this context - and that the only alternative would be 
Broadcom's own hybrid-wl driver. I'd prefer fully supported over partially 
supported, so I thought I'd give the hybrid-wl a try.
So I downloaded the Linux STA 64-bit driver (https://docs.broadcom.com/docs/12358410 ) and tried to compile it 
according to the readme 
(https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwiAht6C4PvZAhUG-2MKHakyCOwQFggwMAE&url=https%3A%2F%2Fdocs.broadcom.com%2Fdocs%2F1211168561592&usg=AOvVaw0xdj1exf-BQS6ZDcYAlicM
 ). The readme lists my card as supported. I recompiled my kernel so that other modules are not included (b43, 
brcmsmac, ssb, bcma) and that cfg80211 is compiled as a module. Running 'make' as described in the readme gives 
me an error message

...
/mypath/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_monitor':
/mypath/hybrid_wl/src/wl/sys/wl_linux.c:2918:10: error: 'struct net_device' has 
no member named 'last_rx'
skb->dev->last_rx = jiffies;
^~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:317: 
/mypath/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [Makefile:1508: _module_/mypath/hybrid_wl] Error 2
make[1]: Leaving directory '/usr/src/linux-4.15.3'
make: *** [Makefile:159: all] Error 2

and then the build stops. I tried to read up on that error message, and it 
seems like it's related to the kernel version - the driver was prepared for an 
earlier version of linux (https://github.com/NixOS/nixpkgs/issues/27607 ). But 
I can't seem to find any specific information about how to fix this.
What to do? Did anyone successfully compile the hybrid-wl on LFS/BLFS? If yes, 
how did you work around that kernel version issue? Or should I just give b43 a 
shot and go with the 'partial' support?
Thanks a lot,

Hans
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to