firmware upgrade config
Morgan Read
mstuff
Wed Sep 1 11:50:48 PDT 2004
Hi,
Please, how do I enable firmware upgrade in hostap 0.2.4, instructions
I've found say :
Enable PRISM2_DOWNLOAD_SUPPORT and PRISM2_NON_VOLATILE_DOWNLOAD in
driver/modules/hostap_config.h. You simply just uncomment those two
define's.
But, it's not so simple as PRISM2_NON_VOLATILE_DOWNLOAD seems to be
embeded in some structure I don't understand. Copied with my attempts:
******************************************
/* Include code for downloading firmware images into volatile RAM. */
define PRISM2_DOWNLOAD_SUPPORT
/* Allow kernel configuration to enable download support. */
#if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
#define PRISM2_DOWNLOAD_SUPPORT
#endif
#ifdef PRISM2_DOWNLOAD_SUPPORT
/* Allow writing firmware images into flash, i.e., to non-volatile storage.
* Before you enable this option, you should make absolutely sure that
you are
* using prism2_srec utility that comes with THIS version of the driver!
* In addition, please note that it is possible to kill your card with
* non-volatile download if you are using incorrect image. This feature
has not
* been fully tested, so please be careful with it. */
/* #define PRISM2_NON_VOLATILE_DOWNLOAD */
#endif /* PRISM2_DOWNLOAD_SUPPORT */
define PRISM2_NON_VOLATILE_DOWNLOAD
******************************************
So, I get errors:
******************************************
[root at morgansmachine hostap-driver-0.2.4]# make
make -C /lib/modules/2.6.6-1.435.2.3/build
SUBDIRS=/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules
\
MODVERDIR=/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules
modules
make[1]: Entering directory `/lib/modules/2.6.6-1.435.2.3/build'
CC [M]
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap.o
In file included from
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap_wlan.h:4,
from
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap.c:38:
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap_config.h:48:
error: syntax error before "PRISM2_DOWNLOAD_SUPPORT"
In file included from
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap_wlan.h:8,
from
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap.c:38:
/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap_crypt.h:4:
error: syntax error before "struct"
make[2]: ***
[/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules/hostap.o]
Error 1
make[1]: ***
[_module_/home/morgan/Desktop/AlliedTelesyn_WiFi_Card/hostap-driver-0.2.4/driver/modules]
Error 2
make[1]: Leaving directory `/lib/modules/2.6.6-1.435.2.3/build'
make: *** [2.6] Error 2
[root at morgansmachine hostap-driver-0.2.4]#
******************************************
Regards,
Morgan.
--
Morgan Read
<mailto:mstuffATplDOTnet>
More information about the Hostap
mailing list