Patch to Broadcom 802.11 Linux STA driver for Kernel 2.6.27

Update 2009-01-04: As Jose mentioned, the latest driver (ver. 5.10.27.12) no longer needs this patch!

If you have problem to compile Broadcom 802.11 Linux STA driver (version 5.10.27.6) on Kernel 2.6.27 and get error message like the following:

/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c: In function ‘wl_iw_get_scan’:
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:934: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:934: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:934: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:934: error: too few arguments to function ‘iwe_stream_add_event’
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:939: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:939: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:939: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/ye/downloads/bcm4328/hybrid_wl/src/wl/sys/wl_iw.c:939: error: too few arguments to function ‘iwe_stream_add_point’
...

Then you need to apply the patch: hybrid_wl-5.10.27.6_patch-2.6.27

How to apply the patch:

  1. Download the STA driver and the patch.
  2. Extract the STA driver and switch to the root of source tree (where Makefile is located).
  3. patch -p1 -E < path_to_patch/hybrid_wl_5.10.27.6_patch-2.6.27

Windows Vista: Install Python 2.6 for all users

Python 2.6 final was release yesterday. If you are using Windows Vista and you want to install Python 2.6 for all users, but the “Vista Note” from the release page does not work for you, you may try this:

  1. Run the command line program (cmd/powershell) as Administrator (right-click -> Run as Administrator), then issue the following command:
  2. msiexec /i path_to_the_msi\python-2.6.msi

That’s it!