i2c: gpio: fault-injector: refactor incomplete transfer
[linux/fpc-iii.git] / drivers / net / wireless / intersil / hostap / hostap_config.h
blob3ebd55847fad3ef243063195732b77c8754b82fa
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef HOSTAP_CONFIG_H
3 #define HOSTAP_CONFIG_H
5 /* In the previous versions of Host AP driver, support for user space version
6 * of IEEE 802.11 management (hostapd) used to be disabled in the default
7 * configuration. From now on, support for hostapd is always included and it is
8 * possible to disable kernel driver version of IEEE 802.11 management with a
9 * separate define, PRISM2_NO_KERNEL_IEEE80211_MGMT. */
10 /* #define PRISM2_NO_KERNEL_IEEE80211_MGMT */
12 /* Maximum number of events handler per one interrupt */
13 #define PRISM2_MAX_INTERRUPT_EVENTS 20
15 /* Include code for downloading firmware images into volatile RAM. */
16 #define PRISM2_DOWNLOAD_SUPPORT
18 /* Allow kernel configuration to enable download support. */
19 #if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
20 #define PRISM2_DOWNLOAD_SUPPORT
21 #endif
23 /* Allow kernel configuration to enable non-volatile download support. */
24 #ifdef CONFIG_HOSTAP_FIRMWARE_NVRAM
25 #define PRISM2_NON_VOLATILE_DOWNLOAD
26 #endif
28 /* Save low-level I/O for debugging. This should not be enabled in normal use.
30 /* #define PRISM2_IO_DEBUG */
32 /* Following defines can be used to remove unneeded parts of the driver, e.g.,
33 * to limit the size of the kernel module. Definitions can be added here in
34 * hostap_config.h or they can be added to make command with ccflags-y,
35 * e.g.,
36 * 'make pccard ccflags-y="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"'
39 /* Do not include debug messages into the driver */
40 /* #define PRISM2_NO_DEBUG */
42 /* Do not include /proc/net/prism2/wlan#/{registers,debug} */
43 /* #define PRISM2_NO_PROCFS_DEBUG */
45 /* Do not include station functionality (i.e., allow only Master (Host AP) mode
47 /* #define PRISM2_NO_STATION_MODES */
49 #endif /* HOSTAP_CONFIG_H */