Jouni Malinen | ff1d276 | 2005-05-12 22:54:16 -0400 | [diff] [blame] | 1 | #ifndef HOSTAP_CONFIG_H |
| 2 | #define HOSTAP_CONFIG_H |
| 3 | |
Jouni Malinen | c6e3f95 | 2005-08-28 10:51:35 -0700 | [diff] [blame] | 4 | #define PRISM2_VERSION "0.4.4-kernel" |
Jouni Malinen | ff1d276 | 2005-05-12 22:54:16 -0400 | [diff] [blame] | 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 | |
Jouni Malinen | ff1d276 | 2005-05-12 22:54:16 -0400 | [diff] [blame] | 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 | |
Pavel Roskin | a485cde | 2005-12-30 18:22:26 -0500 | [diff] [blame] | 24 | /* Allow kernel configuration to enable non-volatile download support. */ |
| 25 | #ifdef CONFIG_HOSTAP_FIRMWARE_NVRAM |
| 26 | #define PRISM2_NON_VOLATILE_DOWNLOAD |
| 27 | #endif |
Jouni Malinen | ff1d276 | 2005-05-12 22:54:16 -0400 | [diff] [blame] | 28 | |
| 29 | /* Save low-level I/O for debugging. This should not be enabled in normal use. |
| 30 | */ |
| 31 | /* #define PRISM2_IO_DEBUG */ |
| 32 | |
| 33 | /* Following defines can be used to remove unneeded parts of the driver, e.g., |
| 34 | * to limit the size of the kernel module. Definitions can be added here in |
| 35 | * hostap_config.h or they can be added to make command with EXTRA_CFLAGS, |
| 36 | * e.g., |
| 37 | * 'make pccard EXTRA_CFLAGS="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"' |
| 38 | */ |
| 39 | |
| 40 | /* Do not include debug messages into the driver */ |
| 41 | /* #define PRISM2_NO_DEBUG */ |
| 42 | |
| 43 | /* Do not include /proc/net/prism2/wlan#/{registers,debug} */ |
| 44 | /* #define PRISM2_NO_PROCFS_DEBUG */ |
| 45 | |
| 46 | /* Do not include station functionality (i.e., allow only Master (Host AP) mode |
| 47 | */ |
| 48 | /* #define PRISM2_NO_STATION_MODES */ |
| 49 | |
| 50 | #endif /* HOSTAP_CONFIG_H */ |