blob: 30acd39d76a2892de5a684b9b716201c74b9da1f [file] [log] [blame]
Jouni Malinenff1d2762005-05-12 22:54:16 -04001#ifndef HOSTAP_CONFIG_H
2#define HOSTAP_CONFIG_H
3
Jouni Malinenff1d2762005-05-12 22:54:16 -04004/* In the previous versions of Host AP driver, support for user space version
5 * of IEEE 802.11 management (hostapd) used to be disabled in the default
6 * configuration. From now on, support for hostapd is always included and it is
7 * possible to disable kernel driver version of IEEE 802.11 management with a
8 * separate define, PRISM2_NO_KERNEL_IEEE80211_MGMT. */
9/* #define PRISM2_NO_KERNEL_IEEE80211_MGMT */
10
11/* Maximum number of events handler per one interrupt */
12#define PRISM2_MAX_INTERRUPT_EVENTS 20
13
Jouni Malinenff1d2762005-05-12 22:54:16 -040014/* Include code for downloading firmware images into volatile RAM. */
15#define PRISM2_DOWNLOAD_SUPPORT
16
17/* Allow kernel configuration to enable download support. */
18#if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
19#define PRISM2_DOWNLOAD_SUPPORT
20#endif
21
Pavel Roskina485cde2005-12-30 18:22:26 -050022/* Allow kernel configuration to enable non-volatile download support. */
23#ifdef CONFIG_HOSTAP_FIRMWARE_NVRAM
24#define PRISM2_NON_VOLATILE_DOWNLOAD
25#endif
Jouni Malinenff1d2762005-05-12 22:54:16 -040026
27/* Save low-level I/O for debugging. This should not be enabled in normal use.
28 */
29/* #define PRISM2_IO_DEBUG */
30
31/* Following defines can be used to remove unneeded parts of the driver, e.g.,
32 * to limit the size of the kernel module. Definitions can be added here in
33 * hostap_config.h or they can be added to make command with EXTRA_CFLAGS,
34 * e.g.,
35 * 'make pccard EXTRA_CFLAGS="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"'
36 */
37
38/* Do not include debug messages into the driver */
39/* #define PRISM2_NO_DEBUG */
40
41/* Do not include /proc/net/prism2/wlan#/{registers,debug} */
42/* #define PRISM2_NO_PROCFS_DEBUG */
43
44/* Do not include station functionality (i.e., allow only Master (Host AP) mode
45 */
46/* #define PRISM2_NO_STATION_MODES */
47
48#endif /* HOSTAP_CONFIG_H */