Merge HEAD from master.kernel.org:/home/rmk/linux-2.6-serial
[linux-2.6] / drivers / net / wireless / hostap / hostap_config.h
1 #ifndef HOSTAP_CONFIG_H
2 #define HOSTAP_CONFIG_H
3
4 #define PRISM2_VERSION "0.4.4-kernel"
5
6 /* In the previous versions of Host AP driver, support for user space version
7  * of IEEE 802.11 management (hostapd) used to be disabled in the default
8  * configuration. From now on, support for hostapd is always included and it is
9  * possible to disable kernel driver version of IEEE 802.11 management with a
10  * separate define, PRISM2_NO_KERNEL_IEEE80211_MGMT. */
11 /* #define PRISM2_NO_KERNEL_IEEE80211_MGMT */
12
13 /* Maximum number of events handler per one interrupt */
14 #define PRISM2_MAX_INTERRUPT_EVENTS 20
15
16 /* Include code for downloading firmware images into volatile RAM. */
17 #define PRISM2_DOWNLOAD_SUPPORT
18
19 /* Allow kernel configuration to enable download support. */
20 #if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
21 #define PRISM2_DOWNLOAD_SUPPORT
22 #endif
23
24 #ifdef PRISM2_DOWNLOAD_SUPPORT
25 /* Allow writing firmware images into flash, i.e., to non-volatile storage.
26  * Before you enable this option, you should make absolutely sure that you are
27  * using prism2_srec utility that comes with THIS version of the driver!
28  * In addition, please note that it is possible to kill your card with
29  * non-volatile download if you are using incorrect image. This feature has not
30  * been fully tested, so please be careful with it. */
31 /* #define PRISM2_NON_VOLATILE_DOWNLOAD */
32 #endif /* PRISM2_DOWNLOAD_SUPPORT */
33
34 /* Save low-level I/O for debugging. This should not be enabled in normal use.
35  */
36 /* #define PRISM2_IO_DEBUG */
37
38 /* Following defines can be used to remove unneeded parts of the driver, e.g.,
39  * to limit the size of the kernel module. Definitions can be added here in
40  * hostap_config.h or they can be added to make command with EXTRA_CFLAGS,
41  * e.g.,
42  * 'make pccard EXTRA_CFLAGS="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"'
43  */
44
45 /* Do not include debug messages into the driver */
46 /* #define PRISM2_NO_DEBUG */
47
48 /* Do not include /proc/net/prism2/wlan#/{registers,debug} */
49 /* #define PRISM2_NO_PROCFS_DEBUG */
50
51 /* Do not include station functionality (i.e., allow only Master (Host AP) mode
52  */
53 /* #define PRISM2_NO_STATION_MODES */
54
55 #endif /* HOSTAP_CONFIG_H */