1e5b75505Sopenharmony_ci# Example hostapd build time configuration 2e5b75505Sopenharmony_ci# 3e5b75505Sopenharmony_ci# This file lists the configuration options that are used when building the 4e5b75505Sopenharmony_ci# hostapd binary. All lines starting with # are ignored. Configuration option 5e5b75505Sopenharmony_ci# lines must be commented out complete, if they are not to be included, i.e., 6e5b75505Sopenharmony_ci# just setting VARIABLE=n is not disabling that variable. 7e5b75505Sopenharmony_ci# 8e5b75505Sopenharmony_ci# This file is included in Makefile, so variables like CFLAGS and LIBS can also 9e5b75505Sopenharmony_ci# be modified from here. In most cass, these lines should use += in order not 10e5b75505Sopenharmony_ci# to override previous values of the variables. 11e5b75505Sopenharmony_ci 12e5b75505Sopenharmony_ci# Driver interface for Host AP driver 13e5b75505Sopenharmony_ciCONFIG_DRIVER_HOSTAP=y 14e5b75505Sopenharmony_ci 15e5b75505Sopenharmony_ci# Driver interface for wired authenticator 16e5b75505Sopenharmony_ci#CONFIG_DRIVER_WIRED=y 17e5b75505Sopenharmony_ci 18e5b75505Sopenharmony_ci# Driver interface for drivers using the nl80211 kernel interface 19e5b75505Sopenharmony_ciCONFIG_DRIVER_NL80211=y 20e5b75505Sopenharmony_ci 21e5b75505Sopenharmony_ci# QCA vendor extensions to nl80211 22e5b75505Sopenharmony_ci#CONFIG_DRIVER_NL80211_QCA=y 23e5b75505Sopenharmony_ci 24e5b75505Sopenharmony_ci# driver_nl80211.c requires libnl. If you are compiling it yourself 25e5b75505Sopenharmony_ci# you may need to point hostapd to your version of libnl. 26e5b75505Sopenharmony_ci# 27e5b75505Sopenharmony_ci#CFLAGS += -I$<path to libnl include files> 28e5b75505Sopenharmony_ci#LIBS += -L$<path to libnl library files> 29e5b75505Sopenharmony_ci 30e5b75505Sopenharmony_ci# Use libnl v2.0 (or 3.0) libraries. 31e5b75505Sopenharmony_ci#CONFIG_LIBNL20=y 32e5b75505Sopenharmony_ci 33e5b75505Sopenharmony_ci# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored) 34e5b75505Sopenharmony_ciCONFIG_LIBNL32=y 35e5b75505Sopenharmony_ci 36e5b75505Sopenharmony_ci 37e5b75505Sopenharmony_ci# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) 38e5b75505Sopenharmony_ci#CONFIG_DRIVER_BSD=y 39e5b75505Sopenharmony_ci#CFLAGS += -I/usr/local/include 40e5b75505Sopenharmony_ci#LIBS += -L/usr/local/lib 41e5b75505Sopenharmony_ci#LIBS_p += -L/usr/local/lib 42e5b75505Sopenharmony_ci#LIBS_c += -L/usr/local/lib 43e5b75505Sopenharmony_ci 44e5b75505Sopenharmony_ci# Driver interface for no driver (e.g., RADIUS server only) 45e5b75505Sopenharmony_ci#CONFIG_DRIVER_NONE=y 46e5b75505Sopenharmony_ci 47e5b75505Sopenharmony_ci# IEEE 802.11F/IAPP 48e5b75505Sopenharmony_ciCONFIG_IAPP=y 49e5b75505Sopenharmony_ci 50e5b75505Sopenharmony_ci# WPA2/IEEE 802.11i RSN pre-authentication 51e5b75505Sopenharmony_ciCONFIG_RSN_PREAUTH=y 52e5b75505Sopenharmony_ci 53e5b75505Sopenharmony_ci# IEEE 802.11w (management frame protection) 54e5b75505Sopenharmony_ciCONFIG_IEEE80211W=y 55e5b75505Sopenharmony_ci 56e5b75505Sopenharmony_ci# Support Operating Channel Validation 57e5b75505Sopenharmony_ci#CONFIG_OCV=y 58e5b75505Sopenharmony_ci 59e5b75505Sopenharmony_ci# Integrated EAP server 60e5b75505Sopenharmony_ciCONFIG_EAP=y 61e5b75505Sopenharmony_ci 62e5b75505Sopenharmony_ci# EAP Re-authentication Protocol (ERP) in integrated EAP server 63e5b75505Sopenharmony_ciCONFIG_ERP=y 64e5b75505Sopenharmony_ci 65e5b75505Sopenharmony_ci# EAP-MD5 for the integrated EAP server 66e5b75505Sopenharmony_ciCONFIG_EAP_MD5=y 67e5b75505Sopenharmony_ci 68e5b75505Sopenharmony_ci# EAP-TLS for the integrated EAP server 69e5b75505Sopenharmony_ciCONFIG_EAP_TLS=y 70e5b75505Sopenharmony_ci 71e5b75505Sopenharmony_ci# EAP-MSCHAPv2 for the integrated EAP server 72e5b75505Sopenharmony_ciCONFIG_EAP_MSCHAPV2=y 73e5b75505Sopenharmony_ci 74e5b75505Sopenharmony_ci# EAP-PEAP for the integrated EAP server 75e5b75505Sopenharmony_ciCONFIG_EAP_PEAP=y 76e5b75505Sopenharmony_ci 77e5b75505Sopenharmony_ci# EAP-GTC for the integrated EAP server 78e5b75505Sopenharmony_ciCONFIG_EAP_GTC=y 79e5b75505Sopenharmony_ci 80e5b75505Sopenharmony_ci# EAP-TTLS for the integrated EAP server 81e5b75505Sopenharmony_ciCONFIG_EAP_TTLS=y 82e5b75505Sopenharmony_ci 83e5b75505Sopenharmony_ci# EAP-SIM for the integrated EAP server 84e5b75505Sopenharmony_ci#CONFIG_EAP_SIM=y 85e5b75505Sopenharmony_ci 86e5b75505Sopenharmony_ci# EAP-AKA for the integrated EAP server 87e5b75505Sopenharmony_ci#CONFIG_EAP_AKA=y 88e5b75505Sopenharmony_ci 89e5b75505Sopenharmony_ci# EAP-AKA' for the integrated EAP server 90e5b75505Sopenharmony_ci# This requires CONFIG_EAP_AKA to be enabled, too. 91e5b75505Sopenharmony_ci#CONFIG_EAP_AKA_PRIME=y 92e5b75505Sopenharmony_ci 93e5b75505Sopenharmony_ci# EAP-PAX for the integrated EAP server 94e5b75505Sopenharmony_ci#CONFIG_EAP_PAX=y 95e5b75505Sopenharmony_ci 96e5b75505Sopenharmony_ci# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK) 97e5b75505Sopenharmony_ci#CONFIG_EAP_PSK=y 98e5b75505Sopenharmony_ci 99e5b75505Sopenharmony_ci# EAP-pwd for the integrated EAP server (secure authentication with a password) 100e5b75505Sopenharmony_ci#CONFIG_EAP_PWD=y 101e5b75505Sopenharmony_ci 102e5b75505Sopenharmony_ci# EAP-SAKE for the integrated EAP server 103e5b75505Sopenharmony_ci#CONFIG_EAP_SAKE=y 104e5b75505Sopenharmony_ci 105e5b75505Sopenharmony_ci# EAP-GPSK for the integrated EAP server 106e5b75505Sopenharmony_ci#CONFIG_EAP_GPSK=y 107e5b75505Sopenharmony_ci# Include support for optional SHA256 cipher suite in EAP-GPSK 108e5b75505Sopenharmony_ci#CONFIG_EAP_GPSK_SHA256=y 109e5b75505Sopenharmony_ci 110e5b75505Sopenharmony_ci# EAP-FAST for the integrated EAP server 111e5b75505Sopenharmony_ci#CONFIG_EAP_FAST=y 112e5b75505Sopenharmony_ci 113e5b75505Sopenharmony_ci# EAP-TEAP for the integrated EAP server 114e5b75505Sopenharmony_ci# Note: The current EAP-TEAP implementation is experimental and should not be 115e5b75505Sopenharmony_ci# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number 116e5b75505Sopenharmony_ci# of conflicting statements and missing details and the implementation has 117e5b75505Sopenharmony_ci# vendor specific workarounds for those and as such, may not interoperate with 118e5b75505Sopenharmony_ci# any other implementation. This should not be used for anything else than 119e5b75505Sopenharmony_ci# experimentation and interoperability testing until those issues has been 120e5b75505Sopenharmony_ci# resolved. 121e5b75505Sopenharmony_ci#CONFIG_EAP_TEAP=y 122e5b75505Sopenharmony_ci 123e5b75505Sopenharmony_ci# Wi-Fi Protected Setup (WPS) 124e5b75505Sopenharmony_ci#CONFIG_WPS=y 125e5b75505Sopenharmony_ci# Enable UPnP support for external WPS Registrars 126e5b75505Sopenharmony_ci#CONFIG_WPS_UPNP=y 127e5b75505Sopenharmony_ci# Enable WPS support with NFC config method 128e5b75505Sopenharmony_ci#CONFIG_WPS_NFC=y 129e5b75505Sopenharmony_ci 130e5b75505Sopenharmony_ci# EAP-IKEv2 131e5b75505Sopenharmony_ci#CONFIG_EAP_IKEV2=y 132e5b75505Sopenharmony_ci 133e5b75505Sopenharmony_ci# Trusted Network Connect (EAP-TNC) 134e5b75505Sopenharmony_ci#CONFIG_EAP_TNC=y 135e5b75505Sopenharmony_ci 136e5b75505Sopenharmony_ci# EAP-EKE for the integrated EAP server 137e5b75505Sopenharmony_ci#CONFIG_EAP_EKE=y 138e5b75505Sopenharmony_ci 139e5b75505Sopenharmony_ci# PKCS#12 (PFX) support (used to read private key and certificate file from 140e5b75505Sopenharmony_ci# a file that usually has extension .p12 or .pfx) 141e5b75505Sopenharmony_ciCONFIG_PKCS12=y 142e5b75505Sopenharmony_ci 143e5b75505Sopenharmony_ci# RADIUS authentication server. This provides access to the integrated EAP 144e5b75505Sopenharmony_ci# server from external hosts using RADIUS. 145e5b75505Sopenharmony_ci#CONFIG_RADIUS_SERVER=y 146e5b75505Sopenharmony_ci 147e5b75505Sopenharmony_ci# Build IPv6 support for RADIUS operations 148e5b75505Sopenharmony_ciCONFIG_IPV6=y 149e5b75505Sopenharmony_ci 150e5b75505Sopenharmony_ci# IEEE Std 802.11r-2008 (Fast BSS Transition) 151e5b75505Sopenharmony_ci#CONFIG_IEEE80211R=y 152e5b75505Sopenharmony_ci 153e5b75505Sopenharmony_ci# Use the hostapd's IEEE 802.11 authentication (ACL), but without 154e5b75505Sopenharmony_ci# the IEEE 802.11 Management capability (e.g., FreeBSD/net80211) 155e5b75505Sopenharmony_ci#CONFIG_DRIVER_RADIUS_ACL=y 156e5b75505Sopenharmony_ci 157e5b75505Sopenharmony_ci# IEEE 802.11n (High Throughput) support 158e5b75505Sopenharmony_ci#CONFIG_IEEE80211N=y 159e5b75505Sopenharmony_ci 160e5b75505Sopenharmony_ci# Wireless Network Management (IEEE Std 802.11v-2011) 161e5b75505Sopenharmony_ci# Note: This is experimental and not complete implementation. 162e5b75505Sopenharmony_ci#CONFIG_WNM=y 163e5b75505Sopenharmony_ci 164e5b75505Sopenharmony_ci# IEEE 802.11ac (Very High Throughput) support 165e5b75505Sopenharmony_ci#CONFIG_IEEE80211AC=y 166e5b75505Sopenharmony_ci 167e5b75505Sopenharmony_ci# IEEE 802.11ax HE support 168e5b75505Sopenharmony_ci# Note: This is experimental and work in progress. The definitions are still 169e5b75505Sopenharmony_ci# subject to change and this should not be expected to interoperate with the 170e5b75505Sopenharmony_ci# final IEEE 802.11ax version. 171e5b75505Sopenharmony_ci#CONFIG_IEEE80211AX=y 172e5b75505Sopenharmony_ci 173e5b75505Sopenharmony_ci# Remove debugging code that is printing out debug messages to stdout. 174e5b75505Sopenharmony_ci# This can be used to reduce the size of the hostapd considerably if debugging 175e5b75505Sopenharmony_ci# code is not needed. 176e5b75505Sopenharmony_ci#CONFIG_NO_STDOUT_DEBUG=y 177e5b75505Sopenharmony_ci 178e5b75505Sopenharmony_ci# Add support for writing debug log to a file: -f /tmp/hostapd.log 179e5b75505Sopenharmony_ci# Disabled by default. 180e5b75505Sopenharmony_ci#CONFIG_DEBUG_FILE=y 181e5b75505Sopenharmony_ci 182e5b75505Sopenharmony_ci# Send debug messages to syslog instead of stdout 183e5b75505Sopenharmony_ci#CONFIG_DEBUG_SYSLOG=y 184e5b75505Sopenharmony_ci 185e5b75505Sopenharmony_ci# Add support for sending all debug messages (regardless of debug verbosity) 186e5b75505Sopenharmony_ci# to the Linux kernel tracing facility. This helps debug the entire stack by 187e5b75505Sopenharmony_ci# making it easy to record everything happening from the driver up into the 188e5b75505Sopenharmony_ci# same file, e.g., using trace-cmd. 189e5b75505Sopenharmony_ci#CONFIG_DEBUG_LINUX_TRACING=y 190e5b75505Sopenharmony_ci 191e5b75505Sopenharmony_ci# Remove support for RADIUS accounting 192e5b75505Sopenharmony_ci#CONFIG_NO_ACCOUNTING=y 193e5b75505Sopenharmony_ci 194e5b75505Sopenharmony_ci# Remove support for RADIUS 195e5b75505Sopenharmony_ci#CONFIG_NO_RADIUS=y 196e5b75505Sopenharmony_ci 197e5b75505Sopenharmony_ci# Remove support for VLANs 198e5b75505Sopenharmony_ci#CONFIG_NO_VLAN=y 199e5b75505Sopenharmony_ci 200e5b75505Sopenharmony_ci# Enable support for fully dynamic VLANs. This enables hostapd to 201e5b75505Sopenharmony_ci# automatically create bridge and VLAN interfaces if necessary. 202e5b75505Sopenharmony_ci#CONFIG_FULL_DYNAMIC_VLAN=y 203e5b75505Sopenharmony_ci 204e5b75505Sopenharmony_ci# Use netlink-based kernel API for VLAN operations instead of ioctl() 205e5b75505Sopenharmony_ci# Note: This requires libnl 3.1 or newer. 206e5b75505Sopenharmony_ci#CONFIG_VLAN_NETLINK=y 207e5b75505Sopenharmony_ci 208e5b75505Sopenharmony_ci# Remove support for dumping internal state through control interface commands 209e5b75505Sopenharmony_ci# This can be used to reduce binary size at the cost of disabling a debugging 210e5b75505Sopenharmony_ci# option. 211e5b75505Sopenharmony_ci#CONFIG_NO_DUMP_STATE=y 212e5b75505Sopenharmony_ci 213e5b75505Sopenharmony_ci# Enable tracing code for developer debugging 214e5b75505Sopenharmony_ci# This tracks use of memory allocations and other registrations and reports 215e5b75505Sopenharmony_ci# incorrect use with a backtrace of call (or allocation) location. 216e5b75505Sopenharmony_ci#CONFIG_WPA_TRACE=y 217e5b75505Sopenharmony_ci# For BSD, comment out these. 218e5b75505Sopenharmony_ci#LIBS += -lexecinfo 219e5b75505Sopenharmony_ci#LIBS_p += -lexecinfo 220e5b75505Sopenharmony_ci#LIBS_c += -lexecinfo 221e5b75505Sopenharmony_ci 222e5b75505Sopenharmony_ci# Use libbfd to get more details for developer debugging 223e5b75505Sopenharmony_ci# This enables use of libbfd to get more detailed symbols for the backtraces 224e5b75505Sopenharmony_ci# generated by CONFIG_WPA_TRACE=y. 225e5b75505Sopenharmony_ci#CONFIG_WPA_TRACE_BFD=y 226e5b75505Sopenharmony_ci# For BSD, comment out these. 227e5b75505Sopenharmony_ci#LIBS += -lbfd -liberty -lz 228e5b75505Sopenharmony_ci#LIBS_p += -lbfd -liberty -lz 229e5b75505Sopenharmony_ci#LIBS_c += -lbfd -liberty -lz 230e5b75505Sopenharmony_ci 231e5b75505Sopenharmony_ci# hostapd depends on strong random number generation being available from the 232e5b75505Sopenharmony_ci# operating system. os_get_random() function is used to fetch random data when 233e5b75505Sopenharmony_ci# needed, e.g., for key generation. On Linux and BSD systems, this works by 234e5b75505Sopenharmony_ci# reading /dev/urandom. It should be noted that the OS entropy pool needs to be 235e5b75505Sopenharmony_ci# properly initialized before hostapd is started. This is important especially 236e5b75505Sopenharmony_ci# on embedded devices that do not have a hardware random number generator and 237e5b75505Sopenharmony_ci# may by default start up with minimal entropy available for random number 238e5b75505Sopenharmony_ci# generation. 239e5b75505Sopenharmony_ci# 240e5b75505Sopenharmony_ci# As a safety net, hostapd is by default trying to internally collect 241e5b75505Sopenharmony_ci# additional entropy for generating random data to mix in with the data 242e5b75505Sopenharmony_ci# fetched from the OS. This by itself is not considered to be very strong, but 243e5b75505Sopenharmony_ci# it may help in cases where the system pool is not initialized properly. 244e5b75505Sopenharmony_ci# However, it is very strongly recommended that the system pool is initialized 245e5b75505Sopenharmony_ci# with enough entropy either by using hardware assisted random number 246e5b75505Sopenharmony_ci# generator or by storing state over device reboots. 247e5b75505Sopenharmony_ci# 248e5b75505Sopenharmony_ci# hostapd can be configured to maintain its own entropy store over restarts to 249e5b75505Sopenharmony_ci# enhance random number generation. This is not perfect, but it is much more 250e5b75505Sopenharmony_ci# secure than using the same sequence of random numbers after every reboot. 251e5b75505Sopenharmony_ci# This can be enabled with -e<entropy file> command line option. The specified 252e5b75505Sopenharmony_ci# file needs to be readable and writable by hostapd. 253e5b75505Sopenharmony_ci# 254e5b75505Sopenharmony_ci# If the os_get_random() is known to provide strong random data (e.g., on 255e5b75505Sopenharmony_ci# Linux/BSD, the board in question is known to have reliable source of random 256e5b75505Sopenharmony_ci# data from /dev/urandom), the internal hostapd random pool can be disabled. 257e5b75505Sopenharmony_ci# This will save some in binary size and CPU use. However, this should only be 258e5b75505Sopenharmony_ci# considered for builds that are known to be used on devices that meet the 259e5b75505Sopenharmony_ci# requirements described above. 260e5b75505Sopenharmony_ci#CONFIG_NO_RANDOM_POOL=y 261e5b75505Sopenharmony_ci 262e5b75505Sopenharmony_ci# Should we attempt to use the getrandom(2) call that provides more reliable 263e5b75505Sopenharmony_ci# yet secure randomness source than /dev/random on Linux 3.17 and newer. 264e5b75505Sopenharmony_ci# Requires glibc 2.25 to build, falls back to /dev/random if unavailable. 265e5b75505Sopenharmony_ci#CONFIG_GETRANDOM=y 266e5b75505Sopenharmony_ci 267e5b75505Sopenharmony_ci# Should we use poll instead of select? Select is used by default. 268e5b75505Sopenharmony_ci#CONFIG_ELOOP_POLL=y 269e5b75505Sopenharmony_ci 270e5b75505Sopenharmony_ci# Should we use epoll instead of select? Select is used by default. 271e5b75505Sopenharmony_ci#CONFIG_ELOOP_EPOLL=y 272e5b75505Sopenharmony_ci 273e5b75505Sopenharmony_ci# Should we use kqueue instead of select? Select is used by default. 274e5b75505Sopenharmony_ci#CONFIG_ELOOP_KQUEUE=y 275e5b75505Sopenharmony_ci 276e5b75505Sopenharmony_ci# Select TLS implementation 277e5b75505Sopenharmony_ci# openssl = OpenSSL (default) 278e5b75505Sopenharmony_ci# gnutls = GnuTLS 279e5b75505Sopenharmony_ci# internal = Internal TLSv1 implementation (experimental) 280e5b75505Sopenharmony_ci# linux = Linux kernel AF_ALG and internal TLSv1 implementation (experimental) 281e5b75505Sopenharmony_ci# none = Empty template 282e5b75505Sopenharmony_ci#CONFIG_TLS=openssl 283e5b75505Sopenharmony_ci 284e5b75505Sopenharmony_ci# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1) 285e5b75505Sopenharmony_ci# can be enabled to get a stronger construction of messages when block ciphers 286e5b75505Sopenharmony_ci# are used. 287e5b75505Sopenharmony_ci#CONFIG_TLSV11=y 288e5b75505Sopenharmony_ci 289e5b75505Sopenharmony_ci# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2) 290e5b75505Sopenharmony_ci# can be enabled to enable use of stronger crypto algorithms. 291e5b75505Sopenharmony_ci#CONFIG_TLSV12=y 292e5b75505Sopenharmony_ci 293e5b75505Sopenharmony_ci# Select which ciphers to use by default with OpenSSL if the user does not 294e5b75505Sopenharmony_ci# specify them. 295e5b75505Sopenharmony_ci#CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW" 296e5b75505Sopenharmony_ci 297e5b75505Sopenharmony_ci# If CONFIG_TLS=internal is used, additional library and include paths are 298e5b75505Sopenharmony_ci# needed for LibTomMath. Alternatively, an integrated, minimal version of 299e5b75505Sopenharmony_ci# LibTomMath can be used. See beginning of libtommath.c for details on benefits 300e5b75505Sopenharmony_ci# and drawbacks of this option. 301e5b75505Sopenharmony_ci#CONFIG_INTERNAL_LIBTOMMATH=y 302e5b75505Sopenharmony_ci#ifndef CONFIG_INTERNAL_LIBTOMMATH 303e5b75505Sopenharmony_ci#LTM_PATH=/usr/src/libtommath-0.39 304e5b75505Sopenharmony_ci#CFLAGS += -I$(LTM_PATH) 305e5b75505Sopenharmony_ci#LIBS += -L$(LTM_PATH) 306e5b75505Sopenharmony_ci#LIBS_p += -L$(LTM_PATH) 307e5b75505Sopenharmony_ci#endif 308e5b75505Sopenharmony_ci# At the cost of about 4 kB of additional binary size, the internal LibTomMath 309e5b75505Sopenharmony_ci# can be configured to include faster routines for exptmod, sqr, and div to 310e5b75505Sopenharmony_ci# speed up DH and RSA calculation considerably 311e5b75505Sopenharmony_ci#CONFIG_INTERNAL_LIBTOMMATH_FAST=y 312e5b75505Sopenharmony_ci 313e5b75505Sopenharmony_ci# Interworking (IEEE 802.11u) 314e5b75505Sopenharmony_ci# This can be used to enable functionality to improve interworking with 315e5b75505Sopenharmony_ci# external networks. 316e5b75505Sopenharmony_ci#CONFIG_INTERWORKING=y 317e5b75505Sopenharmony_ci 318e5b75505Sopenharmony_ci# Hotspot 2.0 319e5b75505Sopenharmony_ci#CONFIG_HS20=y 320e5b75505Sopenharmony_ci 321e5b75505Sopenharmony_ci# Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file 322e5b75505Sopenharmony_ci#CONFIG_SQLITE=y 323e5b75505Sopenharmony_ci 324e5b75505Sopenharmony_ci# Enable Fast Session Transfer (FST) 325e5b75505Sopenharmony_ci#CONFIG_FST=y 326e5b75505Sopenharmony_ci 327e5b75505Sopenharmony_ci# Enable CLI commands for FST testing 328e5b75505Sopenharmony_ci#CONFIG_FST_TEST=y 329e5b75505Sopenharmony_ci 330e5b75505Sopenharmony_ci# Testing options 331e5b75505Sopenharmony_ci# This can be used to enable some testing options (see also the example 332e5b75505Sopenharmony_ci# configuration file) that are really useful only for testing clients that 333e5b75505Sopenharmony_ci# connect to this hostapd. These options allow, for example, to drop a 334e5b75505Sopenharmony_ci# certain percentage of probe requests or auth/(re)assoc frames. 335e5b75505Sopenharmony_ci# 336e5b75505Sopenharmony_ci#CONFIG_TESTING_OPTIONS=y 337e5b75505Sopenharmony_ci 338e5b75505Sopenharmony_ci# Automatic Channel Selection 339e5b75505Sopenharmony_ci# This will allow hostapd to pick the channel automatically when channel is set 340e5b75505Sopenharmony_ci# to "acs_survey" or "0". Eventually, other ACS algorithms can be added in 341e5b75505Sopenharmony_ci# similar way. 342e5b75505Sopenharmony_ci# 343e5b75505Sopenharmony_ci# Automatic selection is currently only done through initialization, later on 344e5b75505Sopenharmony_ci# we hope to do background checks to keep us moving to more ideal channels as 345e5b75505Sopenharmony_ci# time goes by. ACS is currently only supported through the nl80211 driver and 346e5b75505Sopenharmony_ci# your driver must have survey dump capability that is filled by the driver 347e5b75505Sopenharmony_ci# during scanning. 348e5b75505Sopenharmony_ci# 349e5b75505Sopenharmony_ci# You can customize the ACS survey algorithm with the hostapd.conf variable 350e5b75505Sopenharmony_ci# acs_num_scans. 351e5b75505Sopenharmony_ci# 352e5b75505Sopenharmony_ci# Supported ACS drivers: 353e5b75505Sopenharmony_ci# * ath9k 354e5b75505Sopenharmony_ci# * ath5k 355e5b75505Sopenharmony_ci# * ath10k 356e5b75505Sopenharmony_ci# 357e5b75505Sopenharmony_ci# For more details refer to: 358e5b75505Sopenharmony_ci# http://wireless.kernel.org/en/users/Documentation/acs 359e5b75505Sopenharmony_ci# 360e5b75505Sopenharmony_ci#CONFIG_ACS=y 361e5b75505Sopenharmony_ci 362e5b75505Sopenharmony_ci# Multiband Operation support 363e5b75505Sopenharmony_ci# These extentions facilitate efficient use of multiple frequency bands 364e5b75505Sopenharmony_ci# available to the AP and the devices that may associate with it. 365e5b75505Sopenharmony_ci#CONFIG_MBO=y 366e5b75505Sopenharmony_ci 367e5b75505Sopenharmony_ci# Client Taxonomy 368e5b75505Sopenharmony_ci# Has the AP retain the Probe Request and (Re)Association Request frames from 369e5b75505Sopenharmony_ci# a client, from which a signature can be produced which can identify the model 370e5b75505Sopenharmony_ci# of client device like "Nexus 6P" or "iPhone 5s". 371e5b75505Sopenharmony_ci#CONFIG_TAXONOMY=y 372e5b75505Sopenharmony_ci 373e5b75505Sopenharmony_ci# Fast Initial Link Setup (FILS) (IEEE 802.11ai) 374e5b75505Sopenharmony_ci#CONFIG_FILS=y 375e5b75505Sopenharmony_ci# FILS shared key authentication with PFS 376e5b75505Sopenharmony_ci#CONFIG_FILS_SK_PFS=y 377e5b75505Sopenharmony_ci 378e5b75505Sopenharmony_ci# Include internal line edit mode in hostapd_cli. This can be used to provide 379e5b75505Sopenharmony_ci# limited command line editing and history support. 380e5b75505Sopenharmony_ci#CONFIG_WPA_CLI_EDIT=y 381e5b75505Sopenharmony_ci 382e5b75505Sopenharmony_ci# Opportunistic Wireless Encryption (OWE) 383e5b75505Sopenharmony_ci# Experimental implementation of draft-harkins-owe-07.txt 384e5b75505Sopenharmony_ci#CONFIG_OWE=y 385e5b75505Sopenharmony_ci 386e5b75505Sopenharmony_ci# Airtime policy support 387e5b75505Sopenharmony_ci#CONFIG_AIRTIME_POLICY=y 388e5b75505Sopenharmony_ci 389e5b75505Sopenharmony_ci# Override default value for the wpa_disable_eapol_key_retries configuration 390e5b75505Sopenharmony_ci# parameter. See that parameter in hostapd.conf for more details. 391e5b75505Sopenharmony_ci#CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1 392