android.config 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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 drivers using the nl80211 kernel interface
  16. #CONFIG_DRIVER_NL80211=y
  17. # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be
  18. # shipped with your distribution yet. If that is the case, you need to build
  19. # newer libnl version and point the hostapd build to use it.
  20. #LIBNL=/usr/src/libnl
  21. #CFLAGS += -I$(LIBNL)/include
  22. #LIBS += -L$(LIBNL)/lib
  23. CONFIG_LIBNL20=y
  24. # QCA vendor extensions to nl80211
  25. CONFIG_DRIVER_NL80211_QCA=y
  26. # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
  27. #CONFIG_DRIVER_BSD=y
  28. #CFLAGS += -I/usr/local/include
  29. #LIBS += -L/usr/local/lib
  30. #LIBS_p += -L/usr/local/lib
  31. #LIBS_c += -L/usr/local/lib
  32. # Driver interface for no driver (e.g., RADIUS server only)
  33. #CONFIG_DRIVER_NONE=y
  34. # IEEE 802.11F/IAPP
  35. #CONFIG_IAPP=y
  36. # WPA2/IEEE 802.11i RSN pre-authentication
  37. #CONFIG_RSN_PREAUTH=y
  38. # IEEE 802.11w (management frame protection)
  39. # This version is an experimental implementation based on IEEE 802.11w/D1.0
  40. # draft and is subject to change since the standard has not yet been finalized.
  41. # Driver support is also needed for IEEE 802.11w.
  42. CONFIG_IEEE80211W=y
  43. # Integrated EAP server
  44. #CONFIG_EAP=y
  45. # EAP-MD5 for the integrated EAP server
  46. #CONFIG_EAP_MD5=y
  47. # EAP-TLS for the integrated EAP server
  48. #CONFIG_EAP_TLS=y
  49. # EAP-MSCHAPv2 for the integrated EAP server
  50. #CONFIG_EAP_MSCHAPV2=y
  51. # EAP-PEAP for the integrated EAP server
  52. #CONFIG_EAP_PEAP=y
  53. # EAP-GTC for the integrated EAP server
  54. #CONFIG_EAP_GTC=y
  55. # EAP-TTLS for the integrated EAP server
  56. #CONFIG_EAP_TTLS=y
  57. # EAP-SIM for the integrated EAP server
  58. #CONFIG_EAP_SIM=y
  59. # EAP-AKA for the integrated EAP server
  60. #CONFIG_EAP_AKA=y
  61. # EAP-AKA' for the integrated EAP server
  62. # This requires CONFIG_EAP_AKA to be enabled, too.
  63. #CONFIG_EAP_AKA_PRIME=y
  64. # EAP-PAX for the integrated EAP server
  65. #CONFIG_EAP_PAX=y
  66. # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
  67. #CONFIG_EAP_PSK=y
  68. # EAP-SAKE for the integrated EAP server
  69. #CONFIG_EAP_SAKE=y
  70. # EAP-GPSK for the integrated EAP server
  71. #CONFIG_EAP_GPSK=y
  72. # Include support for optional SHA256 cipher suite in EAP-GPSK
  73. #CONFIG_EAP_GPSK_SHA256=y
  74. # EAP-FAST for the integrated EAP server
  75. # Note: Default OpenSSL package does not include support for all the
  76. # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
  77. # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
  78. # to add the needed functions.
  79. #CONFIG_EAP_FAST=y
  80. # Wi-Fi Protected Setup (WPS)
  81. CONFIG_WPS=y
  82. # Enable UPnP support for external WPS Registrars
  83. #CONFIG_WPS_UPNP=y
  84. # EAP-IKEv2
  85. #CONFIG_EAP_IKEV2=y
  86. # Trusted Network Connect (EAP-TNC)
  87. #CONFIG_EAP_TNC=y
  88. # PKCS#12 (PFX) support (used to read private key and certificate file from
  89. # a file that usually has extension .p12 or .pfx)
  90. CONFIG_PKCS12=y
  91. # RADIUS authentication server. This provides access to the integrated EAP
  92. # server from external hosts using RADIUS.
  93. #CONFIG_RADIUS_SERVER=y
  94. # Build IPv6 support for RADIUS operations
  95. CONFIG_IPV6=y
  96. # IEEE Std 802.11r-2008 (Fast BSS Transition)
  97. #CONFIG_IEEE80211R=y
  98. # Use the hostapd's IEEE 802.11 authentication (ACL), but without
  99. # the IEEE 802.11 Management capability (e.g., FreeBSD/net80211)
  100. #CONFIG_DRIVER_RADIUS_ACL=y
  101. # IEEE 802.11n (High Throughput) support
  102. CONFIG_IEEE80211N=y
  103. # Remove debugging code that is printing out debug messages to stdout.
  104. # This can be used to reduce the size of the hostapd considerably if debugging
  105. # code is not needed.
  106. #CONFIG_NO_STDOUT_DEBUG=y
  107. # Add support for writing debug log to Android logcat instead of standard output
  108. CONFIG_ANDROID_LOG=y
  109. # Remove support for RADIUS accounting
  110. #CONFIG_NO_ACCOUNTING=y
  111. # Remove support for RADIUS
  112. CONFIG_NO_RADIUS=y
  113. # Remove support for VLANs
  114. #CONFIG_NO_VLAN=y
  115. # Remove support for dumping internal state through control interface commands
  116. # This can be used to reduce binary size at the cost of disabling a debugging
  117. # option.
  118. #CONFIG_NO_DUMP_STATE=y
  119. # Select wrapper for operatins system and C library specific functions
  120. # unix = UNIX/POSIX like systems (default)
  121. # win32 = Windows systems
  122. # none = Empty template
  123. CONFIG_OS=unix
  124. # Enable tracing code for developer debugging
  125. # This tracks use of memory allocations and other registrations and reports
  126. # incorrect use with a backtrace of call (or allocation) location.
  127. #CONFIG_WPA_TRACE=y
  128. # For BSD, comment out these.
  129. #LIBS += -lexecinfo
  130. #LIBS_p += -lexecinfo
  131. #LIBS_c += -lexecinfo
  132. # Use libbfd to get more details for developer debugging
  133. # This enables use of libbfd to get more detailed symbols for the backtraces
  134. # generated by CONFIG_WPA_TRACE=y.
  135. #CONFIG_WPA_TRACE_BFD=y
  136. # For BSD, comment out these.
  137. #LIBS += -lbfd -liberty -lz
  138. #LIBS_p += -lbfd -liberty -lz
  139. #LIBS_c += -lbfd -liberty -lz
  140. # Should we use poll instead of select? Select is used by default.
  141. #CONFIG_ELOOP_POLL=y
  142. # Should we use epoll instead of select? Select is used by default.
  143. #CONFIG_ELOOP_EPOLL=y
  144. # Enable AP
  145. CONFIG_AP=y
  146. # Enable Fast Session Transfer (FST)
  147. #CONFIG_FST=y
  148. # Multiband Operation support
  149. # These extentions facilitate efficient use of multiple frequency bands
  150. # available to the AP and the devices that may associate with it.
  151. #CONFIG_MBO=y
  152. # Include internal line edit mode in hostapd_cli.
  153. CONFIG_WPA_CLI_EDIT=y
  154. # Opportunistic Wireless Encryption (OWE)
  155. # Experimental implementation of draft-harkins-owe-07.txt
  156. #CONFIG_OWE=y
  157. # Wpa_supplicant's random pool is not necessary on Android. Randomness is
  158. # already provided by the entropymixer service which ensures sufficient
  159. # entropy is maintained across reboots. Commit b410eb1913 'Initialize
  160. # /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before
  161. # either wpa_supplicant or hostapd are run.
  162. CONFIG_NO_RANDOM_POOL=y