wpa_supplicant 0.6.6 Compiling the Broadcom backend errors.

Pavel Roskin proski
Wed Jan 28 10:01:47 PST 2009


On Wed, 2009-01-28 at 11:19 +0100, Thorben J wrote:
> Hi,
> 
> I'm trying to build wpa_supplicant with the broadcom wl.ko driver.
> I am using the 64bit kernel module from here
> http://www.broadcom.com/support/802.11/linux_sta.php
> (version 5.10.27.14 1/21/2009)
> 
> In my config I have:
> CONFIG_DRIVER_BROADCOM=y
> CFLAGS += -I/home/thorbenj/Build/broadcom/src/include

This was only meant for the driver for mips architecture.

> In file included from ../src/drivers/driver.h:20,
>                  from ../src/drivers/driver_broadcom.c:36:
> ../src/common/defs.h:27:1: warning: "WPA_CIPHER_NONE" redefined

That would need to be redefined in wpa_supplicant if we are going to
support the new proprietary driver from Broadcom.

> ../src/drivers/driver_broadcom.c: In function
> ?wpa_driver_broadcom_event_receive?:
> ../src/drivers/driver_broadcom.c:229: error: ?wl_wpa_header_t?
> undeclared (first use in this function)

wl_wpa_header_t is no longer defined by the Broadcom driver.  This code
will need to be rewritten to conform to the new API.  The same applies
to most other error messages.

> Is there a patch for this?

I'm not aware of it.

> I found this bug report which looks like the same bug
> http://hostap.epitest.fi/bugz/show_bug.cgi?id=282

Yes, that's it.

> I note it lacked a link to the Broadcom driver download (above) which
> might help with reproducing this error.

I can reproduce it easily.

-- 
Regards,
Pavel Roskin



More information about the Hostap mailing list