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