hostap_config.h 1.7 KB

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