First i tried using the broadcom-sta from non-free repository.
I got the below error when building with "m-a a-i broadcom-sta".
Did googling with this error. But of no use. Since i couldn't solve the above error, i went broadcom site "http://www.broadcom.com/support/802.11/linux_sta.php" and downloaded the tar and i issued "make" after extracting to build the source/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c error: ‘struct net_device’ has no member named ‘mc_list’
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c error: ‘struct net_device’ has no member named ‘mc_count’
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c error: dereferencing pointer to incomplete type
/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c error: dereferencing pointer to incomplete type
make[3]: *** [/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.o] Error 1
I am getting the below error even in this
Could someone help to solve any of the above error to have properitory driver for BCM4312 LPPHY in squeeze (kernel 2.6.39) ??????KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-2.6.39-bpo.2-686-pae'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /home/debuser/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o
/home/debuser/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function ‘wl_inform_single_bss’:
/home/debuser/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c error: too few arguments to function ‘ieee80211_channel_to_frequency’
make[4]: *** [/home/debuser/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o] Error 1
make[3]: *** [_module_/home/debuser/Downloads/hybrid_wl] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.39-bpo.2-686-pae'
make: *** [all] Error 2