Archive

Posts Tagged ‘STA driver’

Fixing Broadcom 802.11 Linux STA driver

October 31, 2008 Leave a comment

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

SOLUTION (THIS ALSO HOLDS TRUE FOR NDISWRAPPER)

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

save.

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)