Tag Archives: Broadcom

Fixing Broadcom 802.11 Linux STA driver

Well Broadcom 802.11 Linux STA driver works with 2.6.25 Kernels but for newer kernels additional Parameters have to be included.Without supplying addidtional parameters following errors may arise while making

(Am using Fedora 9 i386 with a bcm 4312 rev 02)

error: too few arguments
to function ‘iwe_stream_add_point’

Warning: passing
argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type


1) cd hybrid-portsrc-x86_32_5_10_27_6/src/wl/sys

(or 64-bit ….x86_64.. .. instead of x86_32)

2) Make Backup and Open wl_iw.c

3) For Every “iwe_stream_add_event” and “iwe_stream_add_point” function calls Add a first Parameter info


4)Now Try Compiling with instructions from my previous post

OR if you are 2 lazy Download this wl_iw.c and replace at above directory (USE THIS AT YOUR OWN RISK)

Installing Broadcom 802.11 Linux STA driver

Installing Broadcom 802.11 Linux STA driver

NOTE: All major distributions have released their packages for the driver.

Please use this guide only if the drivers in the repository don’t work or compiling is a hobby.

This driver includes
BCM4311, BCM4312, BCM4321, and BCM4322

Finally my HP 6515b with BCM4312 is free from ndiswrapper !!!!

1) Depending on your system download 32 or 64 bit package
from http://www.broadcom.com/support/802.11/linux_sta.php

2) Go to a terminal to the dir with package.

3) tar -xvzf hybrid-portsrc-.tar.gz
Replace version with one you have

4) Install kernel headers (eg. in fedora “yum install kernel-headers”)

5) make -C /lib/modules/`uname -r`/build M=`pwd`

if There were no errors

6) Unload Modules from memory
rmmod ndiswrapper b43 ssb bcm43xx b43legacy

7) For WPA
modprobe ieee80211_crypt_tkip

8)Check if Compiled Module is working
insmod wl.ko

Now Probably a new interface will be there for wireless (wlan0 or eth-1)
To check it run
iwlist scanning

AND YES !! ITS Working !!!!!

B)Making it load on boot

1)cp wl.ko /lib/modules/`uname-r`/kernel/net/wireless/

2)depmod -a

3)rmmod wl

4)modprobe wl

5)Add following Lines to /etc/rc.local (in openSuse /etc/rc/rc.d/boot.local)

modprobe wl

NOTE: If You Have Problems See README on the package page or post in troubleshooting page