android.config 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. # Example hostapd build time configuration
  2. #
  3. # This file lists the configuration options that are used when building the
  4. # hostapd binary. All lines starting with # are ignored. Configuration option
  5. # lines must be commented out complete, if they are not to be included, i.e.,
  6. # just setting VARIABLE=n is not disabling that variable.
  7. #
  8. # This file is included in Makefile, so variables like CFLAGS and LIBS can also
  9. # be modified from here. In most cass, these lines should use += in order not
  10. # to override previous values of the variables.
  11. # Driver interface for Host AP driver
  12. #CONFIG_DRIVER_HOSTAP=y
  13. # Driver interface for wired authenticator
  14. #CONFIG_DRIVER_WIRED=y
  15. # Driver interface for madwifi driver
  16. #CONFIG_DRIVER_MADWIFI=y
  17. #CFLAGS += -I../../madwifi # change to the madwifi source directory
  18. # Driver interface for drivers using the nl80211 kernel interface
  19. #CONFIG_DRIVER_NL80211=y
  20. # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be
  21. # shipped with your distribution yet. If that is the case, you need to build
  22. # newer libnl version and point the hostapd build to use it.
  23. #LIBNL=/usr/src/libnl
  24. #CFLAGS += -I$(LIBNL)/include
  25. #LIBS += -L$(LIBNL)/lib
  26. CONFIG_LIBNL20=y
  27. # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
  28. #CONFIG_DRIVER_BSD=y
  29. #CFLAGS += -I/usr/local/include
  30. #LIBS += -L/usr/local/lib
  31. #LIBS_p += -L/usr/local/lib
  32. #LIBS_c += -L/usr/local/lib
  33. # Driver interface for no driver (e.g., RADIUS server only)
  34. #CONFIG_DRIVER_NONE=y
  35. # IEEE 802.11F/IAPP
  36. #CONFIG_IAPP=y
  37. # WPA2/IEEE 802.11i RSN pre-authentication
  38. #CONFIG_RSN_PREAUTH=y
  39. # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
  40. #CONFIG_PEERKEY=y
  41. # IEEE 802.11w (management frame protection)
  42. # This version is an experimental implementation based on IEEE 802.11w/D1.0
  43. # draft and is subject to change since the standard has not yet been finalized.
  44. # Driver support is also needed for IEEE 802.11w.
  45. CONFIG_IEEE80211W=y
  46. # Integrated EAP server
  47. #CONFIG_EAP=y
  48. # EAP-MD5 for the integrated EAP server
  49. #CONFIG_EAP_MD5=y
  50. # EAP-TLS for the integrated EAP server
  51. #CONFIG_EAP_TLS=y
  52. # EAP-MSCHAPv2 for the integrated EAP server
  53. #CONFIG_EAP_MSCHAPV2=y
  54. # EAP-PEAP for the integrated EAP server
  55. #CONFIG_EAP_PEAP=y
  56. # EAP-GTC for the integrated EAP server
  57. #CONFIG_EAP_GTC=y
  58. # EAP-TTLS for the integrated EAP server
  59. #CONFIG_EAP_TTLS=y
  60. # EAP-SIM for the integrated EAP server
  61. #CONFIG_EAP_SIM=y
  62. # EAP-AKA for the integrated EAP server
  63. #CONFIG_EAP_AKA=y
  64. # EAP-AKA' for the integrated EAP server
  65. # This requires CONFIG_EAP_AKA to be enabled, too.
  66. #CONFIG_EAP_AKA_PRIME=y
  67. # EAP-PAX for the integrated EAP server
  68. #CONFIG_EAP_PAX=y
  69. # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
  70. #CONFIG_EAP_PSK=y
  71. # EAP-SAKE for the integrated EAP server
  72. #CONFIG_EAP_SAKE=y
  73. # EAP-GPSK for the integrated EAP server
  74. #CONFIG_EAP_GPSK=y
  75. # Include support for optional SHA256 cipher suite in EAP-GPSK
  76. #CONFIG_EAP_GPSK_SHA256=y
  77. # EAP-FAST for the integrated EAP server
  78. # Note: Default OpenSSL package does not include support for all the
  79. # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
  80. # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
  81. # to add the needed functions.
  82. #CONFIG_EAP_FAST=y
  83. # Wi-Fi Protected Setup (WPS)
  84. CONFIG_WPS=y
  85. # Enable WSC 2.0 support
  86. CONFIG_WPS2=y
  87. # Enable UPnP support for external WPS Registrars
  88. #CONFIG_WPS_UPNP=y
  89. # EAP-IKEv2
  90. #CONFIG_EAP_IKEV2=y
  91. # Trusted Network Connect (EAP-TNC)
  92. #CONFIG_EAP_TNC=y
  93. # PKCS#12 (PFX) support (used to read private key and certificate file from
  94. # a file that usually has extension .p12 or .pfx)
  95. CONFIG_PKCS12=y
  96. # RADIUS authentication server. This provides access to the integrated EAP
  97. # server from external hosts using RADIUS.
  98. #CONFIG_RADIUS_SERVER=y
  99. # Build IPv6 support for RADIUS operations
  100. CONFIG_IPV6=y
  101. # IEEE Std 802.11r-2008 (Fast BSS Transition)
  102. #CONFIG_IEEE80211R=y
  103. # Use the hostapd's IEEE 802.11 authentication (ACL), but without
  104. # the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)
  105. #CONFIG_DRIVER_RADIUS_ACL=y
  106. # IEEE 802.11n (High Throughput) support
  107. CONFIG_IEEE80211N=y
  108. # Remove debugging code that is printing out debug messages to stdout.
  109. # This can be used to reduce the size of the hostapd considerably if debugging
  110. # code is not needed.
  111. #CONFIG_NO_STDOUT_DEBUG=y
  112. # Add support for writing debug log to Android logcat instead of standard output
  113. CONFIG_ANDROID_LOG=y
  114. # Remove support for RADIUS accounting
  115. #CONFIG_NO_ACCOUNTING=y
  116. # Remove support for RADIUS
  117. CONFIG_NO_RADIUS=y
  118. # Remove support for VLANs
  119. #CONFIG_NO_VLAN=y
  120. # Remove support for dumping state into a file on SIGUSR1 signal
  121. # This can be used to reduce binary size at the cost of disabling a debugging
  122. # option.
  123. #CONFIG_NO_DUMP_STATE=y
  124. # Select wrapper for operatins system and C library specific functions
  125. # unix = UNIX/POSIX like systems (default)
  126. # win32 = Windows systems
  127. # none = Empty template
  128. CONFIG_OS=unix
  129. # Enable tracing code for developer debugging
  130. # This tracks use of memory allocations and other registrations and reports
  131. # incorrect use with a backtrace of call (or allocation) location.
  132. #CONFIG_WPA_TRACE=y
  133. # For BSD, comment out these.
  134. #LIBS += -lexecinfo
  135. #LIBS_p += -lexecinfo
  136. #LIBS_c += -lexecinfo
  137. # Use libbfd to get more details for developer debugging
  138. # This enables use of libbfd to get more detailed symbols for the backtraces
  139. # generated by CONFIG_WPA_TRACE=y.
  140. #CONFIG_WPA_TRACE_BFD=y
  141. # For BSD, comment out these.
  142. #LIBS += -lbfd -liberty -lz
  143. #LIBS_p += -lbfd -liberty -lz
  144. #LIBS_c += -lbfd -liberty -lz
  145. # Enable AP
  146. CONFIG_AP=y