Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef HOSTAP_CONFIG_H
0003 #define HOSTAP_CONFIG_H
0004 
0005 /* In the previous versions of Host AP driver, support for user space version
0006  * of IEEE 802.11 management (hostapd) used to be disabled in the default
0007  * configuration. From now on, support for hostapd is always included and it is
0008  * possible to disable kernel driver version of IEEE 802.11 management with a
0009  * separate define, PRISM2_NO_KERNEL_IEEE80211_MGMT. */
0010 /* #define PRISM2_NO_KERNEL_IEEE80211_MGMT */
0011 
0012 /* Maximum number of events handler per one interrupt */
0013 #define PRISM2_MAX_INTERRUPT_EVENTS 20
0014 
0015 /* Include code for downloading firmware images into volatile RAM. */
0016 #define PRISM2_DOWNLOAD_SUPPORT
0017 
0018 /* Allow kernel configuration to enable download support. */
0019 #if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
0020 #define PRISM2_DOWNLOAD_SUPPORT
0021 #endif
0022 
0023 /* Allow kernel configuration to enable non-volatile download support. */
0024 #ifdef CONFIG_HOSTAP_FIRMWARE_NVRAM
0025 #define PRISM2_NON_VOLATILE_DOWNLOAD
0026 #endif
0027 
0028 /* Save low-level I/O for debugging. This should not be enabled in normal use.
0029  */
0030 /* #define PRISM2_IO_DEBUG */
0031 
0032 /* Following defines can be used to remove unneeded parts of the driver, e.g.,
0033  * to limit the size of the kernel module. Definitions can be added here in
0034  * hostap_config.h or they can be added to make command with ccflags-y,
0035  * e.g.,
0036  * 'make pccard ccflags-y="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"'
0037  */
0038 
0039 /* Do not include debug messages into the driver */
0040 /* #define PRISM2_NO_DEBUG */
0041 
0042 /* Do not include /proc/net/prism2/wlan#/{registers,debug} */
0043 /* #define PRISM2_NO_PROCFS_DEBUG */
0044 
0045 /* Do not include station functionality (i.e., allow only Master (Host AP) mode
0046  */
0047 /* #define PRISM2_NO_STATION_MODES */
0048 
0049 #endif /* HOSTAP_CONFIG_H */