xref: /aosp_15_r20/external/wpa_supplicant_8/wpa_supplicant/android.config (revision 03f9172ca588f91df233974f4258bab95191f931)
1*03f9172cSAndroid Build Coastguard Worker# Example wpa_supplicant build time configuration
2*03f9172cSAndroid Build Coastguard Worker#
3*03f9172cSAndroid Build Coastguard Worker# This file lists the configuration options that are used when building the
4*03f9172cSAndroid Build Coastguard Worker# wpa_supplicant binary. All lines starting with # are ignored. Configuration
5*03f9172cSAndroid Build Coastguard Worker# option lines must be commented out complete, if they are not to be included,
6*03f9172cSAndroid Build Coastguard Worker# i.e., just setting VARIABLE=n is not disabling that variable.
7*03f9172cSAndroid Build Coastguard Worker#
8*03f9172cSAndroid Build Coastguard Worker# This file is included in Makefile, so variables like CFLAGS and LIBS can also
9*03f9172cSAndroid Build Coastguard Worker# be modified from here. In most cases, these lines should use += in order not
10*03f9172cSAndroid Build Coastguard Worker# to override previous values of the variables.
11*03f9172cSAndroid Build Coastguard Worker
12*03f9172cSAndroid Build Coastguard Worker
13*03f9172cSAndroid Build Coastguard Worker# Uncomment following two lines and fix the paths if you have installed OpenSSL
14*03f9172cSAndroid Build Coastguard Worker# or GnuTLS in non-default location
15*03f9172cSAndroid Build Coastguard Worker#CFLAGS += -I/usr/local/openssl/include
16*03f9172cSAndroid Build Coastguard Worker#LIBS += -L/usr/local/openssl/lib
17*03f9172cSAndroid Build Coastguard Worker
18*03f9172cSAndroid Build Coastguard Worker# Some Red Hat versions seem to include kerberos header files from OpenSSL, but
19*03f9172cSAndroid Build Coastguard Worker# the kerberos files are not in the default include path. Following line can be
20*03f9172cSAndroid Build Coastguard Worker# used to fix build issues on such systems (krb5.h not found).
21*03f9172cSAndroid Build Coastguard Worker#CFLAGS += -I/usr/include/kerberos
22*03f9172cSAndroid Build Coastguard Worker
23*03f9172cSAndroid Build Coastguard Worker# Driver interface for generic Linux wireless extensions
24*03f9172cSAndroid Build Coastguard Worker# Note: WEXT is deprecated in the current Linux kernel version and no new
25*03f9172cSAndroid Build Coastguard Worker# functionality is added to it. nl80211-based interface is the new
26*03f9172cSAndroid Build Coastguard Worker# replacement for WEXT and its use allows wpa_supplicant to properly control
27*03f9172cSAndroid Build Coastguard Worker# the driver to improve existing functionality like roaming and to support new
28*03f9172cSAndroid Build Coastguard Worker# functionality.
29*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_WEXT=y
30*03f9172cSAndroid Build Coastguard Worker
31*03f9172cSAndroid Build Coastguard Worker# Driver interface for Linux drivers using the nl80211 kernel interface
32*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_NL80211=y
33*03f9172cSAndroid Build Coastguard WorkerCONFIG_LIBNL20=y
34*03f9172cSAndroid Build Coastguard Worker
35*03f9172cSAndroid Build Coastguard Worker# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
36*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_BSD=y
37*03f9172cSAndroid Build Coastguard Worker#CFLAGS += -I/usr/local/include
38*03f9172cSAndroid Build Coastguard Worker#LIBS += -L/usr/local/lib
39*03f9172cSAndroid Build Coastguard Worker#LIBS_p += -L/usr/local/lib
40*03f9172cSAndroid Build Coastguard Worker#LIBS_c += -L/usr/local/lib
41*03f9172cSAndroid Build Coastguard Worker
42*03f9172cSAndroid Build Coastguard Worker# Driver interface for Windows NDIS
43*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_NDIS=y
44*03f9172cSAndroid Build Coastguard Worker#CFLAGS += -I/usr/include/w32api/ddk
45*03f9172cSAndroid Build Coastguard Worker#LIBS += -L/usr/local/lib
46*03f9172cSAndroid Build Coastguard Worker# For native build using mingw
47*03f9172cSAndroid Build Coastguard Worker#CONFIG_NATIVE_WINDOWS=y
48*03f9172cSAndroid Build Coastguard Worker# Additional directories for cross-compilation on Linux host for mingw target
49*03f9172cSAndroid Build Coastguard Worker#CFLAGS += -I/opt/mingw/mingw32/include/ddk
50*03f9172cSAndroid Build Coastguard Worker#LIBS += -L/opt/mingw/mingw32/lib
51*03f9172cSAndroid Build Coastguard Worker#CC=mingw32-gcc
52*03f9172cSAndroid Build Coastguard Worker# By default, driver_ndis uses WinPcap for low-level operations. This can be
53*03f9172cSAndroid Build Coastguard Worker# replaced with the following option which replaces WinPcap calls with NDISUIO.
54*03f9172cSAndroid Build Coastguard Worker# However, this requires that WZC is disabled (net stop wzcsvc) before starting
55*03f9172cSAndroid Build Coastguard Worker# wpa_supplicant.
56*03f9172cSAndroid Build Coastguard Worker# CONFIG_USE_NDISUIO=y
57*03f9172cSAndroid Build Coastguard Worker
58*03f9172cSAndroid Build Coastguard Worker# Driver interface for wired Ethernet drivers
59*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_WIRED=y
60*03f9172cSAndroid Build Coastguard Worker
61*03f9172cSAndroid Build Coastguard Worker# Driver interface for the Broadcom RoboSwitch family
62*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_ROBOSWITCH=y
63*03f9172cSAndroid Build Coastguard Worker
64*03f9172cSAndroid Build Coastguard Worker# Driver interface for no driver (e.g., WPS ER only)
65*03f9172cSAndroid Build Coastguard Worker#CONFIG_DRIVER_NONE=y
66*03f9172cSAndroid Build Coastguard Worker
67*03f9172cSAndroid Build Coastguard Worker# Solaris libraries
68*03f9172cSAndroid Build Coastguard Worker#LIBS += -lsocket -ldlpi -lnsl
69*03f9172cSAndroid Build Coastguard Worker#LIBS_c += -lsocket
70*03f9172cSAndroid Build Coastguard Worker
71*03f9172cSAndroid Build Coastguard Worker# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
72*03f9172cSAndroid Build Coastguard Worker# included)
73*03f9172cSAndroid Build Coastguard WorkerCONFIG_IEEE8021X_EAPOL=y
74*03f9172cSAndroid Build Coastguard Worker
75*03f9172cSAndroid Build Coastguard Worker# EAP-MD5
76*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_MD5=y
77*03f9172cSAndroid Build Coastguard Worker
78*03f9172cSAndroid Build Coastguard Worker# EAP-MSCHAPv2
79*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_MSCHAPV2=y
80*03f9172cSAndroid Build Coastguard Worker
81*03f9172cSAndroid Build Coastguard Worker# EAP-TLS
82*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_TLS=y
83*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_TLSV1_3=y
84*03f9172cSAndroid Build Coastguard Worker
85*03f9172cSAndroid Build Coastguard Worker# EAL-PEAP
86*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_PEAP=y
87*03f9172cSAndroid Build Coastguard Worker
88*03f9172cSAndroid Build Coastguard Worker# EAP-TTLS
89*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_TTLS=y
90*03f9172cSAndroid Build Coastguard Worker
91*03f9172cSAndroid Build Coastguard Worker# EAP-FAST
92*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_FAST=y
93*03f9172cSAndroid Build Coastguard Worker
94*03f9172cSAndroid Build Coastguard Worker# EAP-GTC
95*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_GTC=y
96*03f9172cSAndroid Build Coastguard Worker
97*03f9172cSAndroid Build Coastguard Worker# EAP-OTP
98*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_OTP=y
99*03f9172cSAndroid Build Coastguard Worker
100*03f9172cSAndroid Build Coastguard Worker# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
101*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_SIM=y
102*03f9172cSAndroid Build Coastguard Worker
103*03f9172cSAndroid Build Coastguard Worker# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
104*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_PSK=y
105*03f9172cSAndroid Build Coastguard Worker
106*03f9172cSAndroid Build Coastguard Worker# EAP-pwd (secure authentication using only a password)
107*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_PWD=y
108*03f9172cSAndroid Build Coastguard Worker
109*03f9172cSAndroid Build Coastguard Worker# EAP-PAX
110*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_PAX=y
111*03f9172cSAndroid Build Coastguard Worker
112*03f9172cSAndroid Build Coastguard Worker# LEAP
113*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_LEAP=y
114*03f9172cSAndroid Build Coastguard Worker
115*03f9172cSAndroid Build Coastguard Worker# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
116*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_AKA=y
117*03f9172cSAndroid Build Coastguard Worker
118*03f9172cSAndroid Build Coastguard Worker# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
119*03f9172cSAndroid Build Coastguard Worker# This requires CONFIG_EAP_AKA to be enabled, too.
120*03f9172cSAndroid Build Coastguard WorkerCONFIG_EAP_AKA_PRIME=y
121*03f9172cSAndroid Build Coastguard Worker
122*03f9172cSAndroid Build Coastguard Worker# Enable USIM simulator (Milenage) for EAP-AKA
123*03f9172cSAndroid Build Coastguard Worker#CONFIG_USIM_SIMULATOR=y
124*03f9172cSAndroid Build Coastguard Worker
125*03f9172cSAndroid Build Coastguard Worker# EAP-SAKE
126*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_SAKE=y
127*03f9172cSAndroid Build Coastguard Worker
128*03f9172cSAndroid Build Coastguard Worker# EAP-GPSK
129*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_GPSK=y
130*03f9172cSAndroid Build Coastguard Worker# Include support for optional SHA256 cipher suite in EAP-GPSK
131*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_GPSK_SHA256=y
132*03f9172cSAndroid Build Coastguard Worker
133*03f9172cSAndroid Build Coastguard Worker# EAP-TNC and related Trusted Network Connect support (experimental)
134*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_TNC=y
135*03f9172cSAndroid Build Coastguard Worker
136*03f9172cSAndroid Build Coastguard Worker# Wi-Fi Protected Setup (WPS)
137*03f9172cSAndroid Build Coastguard WorkerCONFIG_WPS=y
138*03f9172cSAndroid Build Coastguard Worker# Enable WPS external registrar functionality
139*03f9172cSAndroid Build Coastguard WorkerCONFIG_WPS_ER=y
140*03f9172cSAndroid Build Coastguard Worker# Disable credentials for an open network by default when acting as a WPS
141*03f9172cSAndroid Build Coastguard Worker# registrar.
142*03f9172cSAndroid Build Coastguard Worker#CONFIG_WPS_REG_DISABLE_OPEN=y
143*03f9172cSAndroid Build Coastguard Worker# Enable WPS support with NFC config method
144*03f9172cSAndroid Build Coastguard WorkerCONFIG_WPS_NFC=y
145*03f9172cSAndroid Build Coastguard Worker
146*03f9172cSAndroid Build Coastguard Worker# EAP-IKEv2
147*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_IKEV2=y
148*03f9172cSAndroid Build Coastguard Worker
149*03f9172cSAndroid Build Coastguard Worker# EAP-EKE
150*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAP_EKE=y
151*03f9172cSAndroid Build Coastguard Worker
152*03f9172cSAndroid Build Coastguard Worker# PKCS#12 (PFX) support (used to read private key and certificate file from
153*03f9172cSAndroid Build Coastguard Worker# a file that usually has extension .p12 or .pfx)
154*03f9172cSAndroid Build Coastguard WorkerCONFIG_PKCS12=y
155*03f9172cSAndroid Build Coastguard Worker
156*03f9172cSAndroid Build Coastguard Worker# Smartcard support (i.e., private key on a smartcard), e.g., with openssl
157*03f9172cSAndroid Build Coastguard Worker# engine.
158*03f9172cSAndroid Build Coastguard WorkerCONFIG_SMARTCARD=y
159*03f9172cSAndroid Build Coastguard Worker
160*03f9172cSAndroid Build Coastguard Worker# PC/SC interface for smartcards (USIM, GSM SIM)
161*03f9172cSAndroid Build Coastguard Worker# Enable this if EAP-SIM or EAP-AKA is included
162*03f9172cSAndroid Build Coastguard Worker#CONFIG_PCSC=y
163*03f9172cSAndroid Build Coastguard Worker
164*03f9172cSAndroid Build Coastguard Worker# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
165*03f9172cSAndroid Build Coastguard Worker#CONFIG_HT_OVERRIDES=y
166*03f9172cSAndroid Build Coastguard Worker
167*03f9172cSAndroid Build Coastguard Worker# Support VHT overrides (disable VHT, mask MCS rates, etc.)
168*03f9172cSAndroid Build Coastguard Worker#CONFIG_VHT_OVERRIDES=y
169*03f9172cSAndroid Build Coastguard Worker
170*03f9172cSAndroid Build Coastguard Worker# Development testing
171*03f9172cSAndroid Build Coastguard Worker#CONFIG_EAPOL_TEST=y
172*03f9172cSAndroid Build Coastguard Worker
173*03f9172cSAndroid Build Coastguard Worker# Select control interface backend for external programs, e.g, wpa_cli:
174*03f9172cSAndroid Build Coastguard Worker# unix = UNIX domain sockets (default for Linux/*BSD)
175*03f9172cSAndroid Build Coastguard Worker# udp = UDP sockets using localhost (127.0.0.1)
176*03f9172cSAndroid Build Coastguard Worker# udp6 = UDP IPv6 sockets using localhost (::1)
177*03f9172cSAndroid Build Coastguard Worker# named_pipe = Windows Named Pipe (default for Windows)
178*03f9172cSAndroid Build Coastguard Worker# udp-remote = UDP sockets with remote access (only for tests systems/purpose)
179*03f9172cSAndroid Build Coastguard Worker# udp6-remote = UDP IPv6 sockets with remote access (only for tests purpose)
180*03f9172cSAndroid Build Coastguard Worker# y = use default (backwards compatibility)
181*03f9172cSAndroid Build Coastguard Worker# If this option is commented out, control interface is not included in the
182*03f9172cSAndroid Build Coastguard Worker# build.
183*03f9172cSAndroid Build Coastguard WorkerCONFIG_CTRL_IFACE=y
184*03f9172cSAndroid Build Coastguard Worker
185*03f9172cSAndroid Build Coastguard Worker# Include support for GNU Readline and History Libraries in wpa_cli.
186*03f9172cSAndroid Build Coastguard Worker# When building a wpa_cli binary for distribution, please note that these
187*03f9172cSAndroid Build Coastguard Worker# libraries are licensed under GPL and as such, BSD license may not apply for
188*03f9172cSAndroid Build Coastguard Worker# the resulting binary.
189*03f9172cSAndroid Build Coastguard Worker#CONFIG_READLINE=y
190*03f9172cSAndroid Build Coastguard Worker
191*03f9172cSAndroid Build Coastguard Worker# Include internal line edit mode in wpa_cli. This can be used as a replacement
192*03f9172cSAndroid Build Coastguard Worker# for GNU Readline to provide limited command line editing and history support.
193*03f9172cSAndroid Build Coastguard WorkerCONFIG_WPA_CLI_EDIT=y
194*03f9172cSAndroid Build Coastguard Worker
195*03f9172cSAndroid Build Coastguard Worker# Remove debugging code that is printing out debug message to stdout.
196*03f9172cSAndroid Build Coastguard Worker# This can be used to reduce the size of the wpa_supplicant considerably
197*03f9172cSAndroid Build Coastguard Worker# if debugging code is not needed. The size reduction can be around 35%
198*03f9172cSAndroid Build Coastguard Worker# (e.g., 90 kB).
199*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_STDOUT_DEBUG=y
200*03f9172cSAndroid Build Coastguard Worker
201*03f9172cSAndroid Build Coastguard Worker# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
202*03f9172cSAndroid Build Coastguard Worker# 35-50 kB in code size.
203*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_WPA=y
204*03f9172cSAndroid Build Coastguard Worker
205*03f9172cSAndroid Build Coastguard Worker# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
206*03f9172cSAndroid Build Coastguard Worker# This option can be used to reduce code size by removing support for
207*03f9172cSAndroid Build Coastguard Worker# converting ASCII passphrases into PSK. If this functionality is removed, the
208*03f9172cSAndroid Build Coastguard Worker# PSK can only be configured as the 64-octet hexstring (e.g., from
209*03f9172cSAndroid Build Coastguard Worker# wpa_passphrase). This saves about 0.5 kB in code size.
210*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_WPA_PASSPHRASE=y
211*03f9172cSAndroid Build Coastguard Worker
212*03f9172cSAndroid Build Coastguard Worker# Disable scan result processing (ap_mode=1) to save code size by about 1 kB.
213*03f9172cSAndroid Build Coastguard Worker# This can be used if ap_scan=1 mode is never enabled.
214*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_SCAN_PROCESSING=y
215*03f9172cSAndroid Build Coastguard Worker
216*03f9172cSAndroid Build Coastguard Worker# Select configuration backend:
217*03f9172cSAndroid Build Coastguard Worker# file = text file (e.g., wpa_supplicant.conf; note: the configuration file
218*03f9172cSAndroid Build Coastguard Worker#	path is given on command line, not here; this option is just used to
219*03f9172cSAndroid Build Coastguard Worker#	select the backend that allows configuration files to be used)
220*03f9172cSAndroid Build Coastguard Worker# winreg = Windows registry (see win_example.reg for an example)
221*03f9172cSAndroid Build Coastguard WorkerCONFIG_BACKEND=file
222*03f9172cSAndroid Build Coastguard Worker
223*03f9172cSAndroid Build Coastguard Worker# Remove configuration write functionality (i.e., to allow the configuration
224*03f9172cSAndroid Build Coastguard Worker# file to be updated based on runtime configuration changes). The runtime
225*03f9172cSAndroid Build Coastguard Worker# configuration can still be changed, the changes are just not going to be
226*03f9172cSAndroid Build Coastguard Worker# persistent over restarts. This option can be used to reduce code size by
227*03f9172cSAndroid Build Coastguard Worker# about 3.5 kB.
228*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_CONFIG_WRITE=y
229*03f9172cSAndroid Build Coastguard Worker
230*03f9172cSAndroid Build Coastguard Worker# Remove support for configuration blobs to reduce code size by about 1.5 kB.
231*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_CONFIG_BLOBS=y
232*03f9172cSAndroid Build Coastguard Worker
233*03f9172cSAndroid Build Coastguard Worker# Select program entry point implementation:
234*03f9172cSAndroid Build Coastguard Worker# main = UNIX/POSIX like main() function (default)
235*03f9172cSAndroid Build Coastguard Worker# main_winsvc = Windows service (read parameters from registry)
236*03f9172cSAndroid Build Coastguard Worker# main_none = Very basic example (development use only)
237*03f9172cSAndroid Build Coastguard Worker#CONFIG_MAIN=main
238*03f9172cSAndroid Build Coastguard Worker
239*03f9172cSAndroid Build Coastguard Worker# Select wrapper for operating system and C library specific functions
240*03f9172cSAndroid Build Coastguard Worker# unix = UNIX/POSIX like systems (default)
241*03f9172cSAndroid Build Coastguard Worker# win32 = Windows systems
242*03f9172cSAndroid Build Coastguard Worker# none = Empty template
243*03f9172cSAndroid Build Coastguard WorkerCONFIG_OS=unix
244*03f9172cSAndroid Build Coastguard Worker
245*03f9172cSAndroid Build Coastguard Worker# Select event loop implementation
246*03f9172cSAndroid Build Coastguard Worker# eloop = select() loop (default)
247*03f9172cSAndroid Build Coastguard Worker# eloop_win = Windows events and WaitForMultipleObject() loop
248*03f9172cSAndroid Build Coastguard WorkerCONFIG_ELOOP=eloop
249*03f9172cSAndroid Build Coastguard Worker
250*03f9172cSAndroid Build Coastguard Worker# Should we use poll instead of select? Select is used by default.
251*03f9172cSAndroid Build Coastguard Worker#CONFIG_ELOOP_POLL=y
252*03f9172cSAndroid Build Coastguard Worker
253*03f9172cSAndroid Build Coastguard Worker# Should we use epoll instead of select? Select is used by default.
254*03f9172cSAndroid Build Coastguard Worker#CONFIG_ELOOP_EPOLL=y
255*03f9172cSAndroid Build Coastguard Worker
256*03f9172cSAndroid Build Coastguard Worker# Should we use kqueue instead of select? Select is used by default.
257*03f9172cSAndroid Build Coastguard Worker#CONFIG_ELOOP_KQUEUE=y
258*03f9172cSAndroid Build Coastguard Worker
259*03f9172cSAndroid Build Coastguard Worker# Select layer 2 packet implementation
260*03f9172cSAndroid Build Coastguard Worker# linux = Linux packet socket (default)
261*03f9172cSAndroid Build Coastguard Worker# pcap = libpcap/libdnet/WinPcap
262*03f9172cSAndroid Build Coastguard Worker# freebsd = FreeBSD libpcap
263*03f9172cSAndroid Build Coastguard Worker# winpcap = WinPcap with receive thread
264*03f9172cSAndroid Build Coastguard Worker# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
265*03f9172cSAndroid Build Coastguard Worker# none = Empty template
266*03f9172cSAndroid Build Coastguard WorkerCONFIG_L2_PACKET=linux
267*03f9172cSAndroid Build Coastguard Worker
268*03f9172cSAndroid Build Coastguard Worker# Disable Linux packet socket workaround applicable for station interface
269*03f9172cSAndroid Build Coastguard Worker# in a bridge for EAPOL frames. This should be uncommented only if the kernel
270*03f9172cSAndroid Build Coastguard Worker# is known to not have the regression issue in packet socket behavior with
271*03f9172cSAndroid Build Coastguard Worker# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
272*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
273*03f9172cSAndroid Build Coastguard Worker
274*03f9172cSAndroid Build Coastguard Worker# Support Operating Channel Validation
275*03f9172cSAndroid Build Coastguard Worker#CONFIG_OCV=y
276*03f9172cSAndroid Build Coastguard Worker
277*03f9172cSAndroid Build Coastguard Worker# Select TLS implementation
278*03f9172cSAndroid Build Coastguard Worker# openssl = OpenSSL (default)
279*03f9172cSAndroid Build Coastguard Worker# gnutls = GnuTLS
280*03f9172cSAndroid Build Coastguard Worker# internal = Internal TLSv1 implementation (experimental)
281*03f9172cSAndroid Build Coastguard Worker# none = Empty template
282*03f9172cSAndroid Build Coastguard Worker#CONFIG_TLS=openssl
283*03f9172cSAndroid Build Coastguard Worker
284*03f9172cSAndroid Build Coastguard Worker# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
285*03f9172cSAndroid Build Coastguard Worker# can be enabled to get a stronger construction of messages when block ciphers
286*03f9172cSAndroid Build Coastguard Worker# are used. It should be noted that some existing TLS v1.0 -based
287*03f9172cSAndroid Build Coastguard Worker# implementation may not be compatible with TLS v1.1 message (ClientHello is
288*03f9172cSAndroid Build Coastguard Worker# sent prior to negotiating which version will be used)
289*03f9172cSAndroid Build Coastguard Worker#CONFIG_TLSV11=y
290*03f9172cSAndroid Build Coastguard Worker
291*03f9172cSAndroid Build Coastguard Worker# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
292*03f9172cSAndroid Build Coastguard Worker# can be enabled to enable use of stronger crypto algorithms. It should be
293*03f9172cSAndroid Build Coastguard Worker# noted that some existing TLS v1.0 -based implementation may not be compatible
294*03f9172cSAndroid Build Coastguard Worker# with TLS v1.2 message (ClientHello is sent prior to negotiating which version
295*03f9172cSAndroid Build Coastguard Worker# will be used)
296*03f9172cSAndroid Build Coastguard Worker#CONFIG_TLSV12=y
297*03f9172cSAndroid Build Coastguard Worker
298*03f9172cSAndroid Build Coastguard Worker# Select which ciphers to use by default with OpenSSL if the user does not
299*03f9172cSAndroid Build Coastguard Worker# specify them.
300*03f9172cSAndroid Build Coastguard Worker#CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW"
301*03f9172cSAndroid Build Coastguard Worker
302*03f9172cSAndroid Build Coastguard Worker# If CONFIG_TLS=internal is used, additional library and include paths are
303*03f9172cSAndroid Build Coastguard Worker# needed for LibTomMath. Alternatively, an integrated, minimal version of
304*03f9172cSAndroid Build Coastguard Worker# LibTomMath can be used. See beginning of libtommath.c for details on benefits
305*03f9172cSAndroid Build Coastguard Worker# and drawbacks of this option.
306*03f9172cSAndroid Build Coastguard Worker#CONFIG_INTERNAL_LIBTOMMATH=y
307*03f9172cSAndroid Build Coastguard Worker#ifndef CONFIG_INTERNAL_LIBTOMMATH
308*03f9172cSAndroid Build Coastguard Worker#LTM_PATH=/usr/src/libtommath-0.39
309*03f9172cSAndroid Build Coastguard Worker#CFLAGS += -I$(LTM_PATH)
310*03f9172cSAndroid Build Coastguard Worker#LIBS += -L$(LTM_PATH)
311*03f9172cSAndroid Build Coastguard Worker#LIBS_p += -L$(LTM_PATH)
312*03f9172cSAndroid Build Coastguard Worker#endif
313*03f9172cSAndroid Build Coastguard Worker# At the cost of about 4 kB of additional binary size, the internal LibTomMath
314*03f9172cSAndroid Build Coastguard Worker# can be configured to include faster routines for exptmod, sqr, and div to
315*03f9172cSAndroid Build Coastguard Worker# speed up DH and RSA calculation considerably
316*03f9172cSAndroid Build Coastguard Worker#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
317*03f9172cSAndroid Build Coastguard Worker
318*03f9172cSAndroid Build Coastguard Worker# Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
319*03f9172cSAndroid Build Coastguard Worker# This is only for Windows builds and requires WMI-related header files and
320*03f9172cSAndroid Build Coastguard Worker# WbemUuid.Lib from Platform SDK even when building with MinGW.
321*03f9172cSAndroid Build Coastguard Worker#CONFIG_NDIS_EVENTS_INTEGRATED=y
322*03f9172cSAndroid Build Coastguard Worker#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
323*03f9172cSAndroid Build Coastguard Worker
324*03f9172cSAndroid Build Coastguard Worker# Add support for new DBus control interface
325*03f9172cSAndroid Build Coastguard Worker# (fi.w1.hostap.wpa_supplicant1)
326*03f9172cSAndroid Build Coastguard Worker#CONFIG_CTRL_IFACE_DBUS_NEW=y
327*03f9172cSAndroid Build Coastguard Worker
328*03f9172cSAndroid Build Coastguard Worker# Add introspection support for new DBus control interface
329*03f9172cSAndroid Build Coastguard Worker#CONFIG_CTRL_IFACE_DBUS_INTRO=y
330*03f9172cSAndroid Build Coastguard Worker
331*03f9172cSAndroid Build Coastguard Worker# Add support for Aidl control interface
332*03f9172cSAndroid Build Coastguard Worker# Only applicable for Android platforms.
333*03f9172cSAndroid Build Coastguard WorkerCONFIG_CTRL_IFACE_AIDL=y
334*03f9172cSAndroid Build Coastguard Worker
335*03f9172cSAndroid Build Coastguard Worker# Add support for loading EAP methods dynamically as shared libraries.
336*03f9172cSAndroid Build Coastguard Worker# When this option is enabled, each EAP method can be either included
337*03f9172cSAndroid Build Coastguard Worker# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
338*03f9172cSAndroid Build Coastguard Worker# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
339*03f9172cSAndroid Build Coastguard Worker# be loaded in the beginning of the wpa_supplicant configuration file
340*03f9172cSAndroid Build Coastguard Worker# (see load_dynamic_eap parameter in the example file) before being used in
341*03f9172cSAndroid Build Coastguard Worker# the network blocks.
342*03f9172cSAndroid Build Coastguard Worker#
343*03f9172cSAndroid Build Coastguard Worker# Note that some shared parts of EAP methods are included in the main program
344*03f9172cSAndroid Build Coastguard Worker# and in order to be able to use dynamic EAP methods using these parts, the
345*03f9172cSAndroid Build Coastguard Worker# main program must have been build with the EAP method enabled (=y or =dyn).
346*03f9172cSAndroid Build Coastguard Worker# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
347*03f9172cSAndroid Build Coastguard Worker# unless at least one of them was included in the main build to force inclusion
348*03f9172cSAndroid Build Coastguard Worker# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included
349*03f9172cSAndroid Build Coastguard Worker# in the main build to be able to load these methods dynamically.
350*03f9172cSAndroid Build Coastguard Worker#
351*03f9172cSAndroid Build Coastguard Worker# Please also note that using dynamic libraries will increase the total binary
352*03f9172cSAndroid Build Coastguard Worker# size. Thus, it may not be the best option for targets that have limited
353*03f9172cSAndroid Build Coastguard Worker# amount of memory/flash.
354*03f9172cSAndroid Build Coastguard Worker#CONFIG_DYNAMIC_EAP_METHODS=y
355*03f9172cSAndroid Build Coastguard Worker
356*03f9172cSAndroid Build Coastguard Worker# IEEE Std 802.11r-2008 (Fast BSS Transition) for station mode
357*03f9172cSAndroid Build Coastguard WorkerCONFIG_IEEE80211R=y
358*03f9172cSAndroid Build Coastguard Worker
359*03f9172cSAndroid Build Coastguard Worker# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
360*03f9172cSAndroid Build Coastguard Worker#CONFIG_DEBUG_FILE=y
361*03f9172cSAndroid Build Coastguard Worker
362*03f9172cSAndroid Build Coastguard Worker# Send debug messages to syslog instead of stdout
363*03f9172cSAndroid Build Coastguard Worker#CONFIG_DEBUG_SYSLOG=y
364*03f9172cSAndroid Build Coastguard Worker# Set syslog facility for debug messages
365*03f9172cSAndroid Build Coastguard Worker#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
366*03f9172cSAndroid Build Coastguard Worker
367*03f9172cSAndroid Build Coastguard Worker# Add support for sending all debug messages (regardless of debug verbosity)
368*03f9172cSAndroid Build Coastguard Worker# to the Linux kernel tracing facility. This helps debug the entire stack by
369*03f9172cSAndroid Build Coastguard Worker# making it easy to record everything happening from the driver up into the
370*03f9172cSAndroid Build Coastguard Worker# same file, e.g., using trace-cmd.
371*03f9172cSAndroid Build Coastguard Worker#CONFIG_DEBUG_LINUX_TRACING=y
372*03f9172cSAndroid Build Coastguard Worker
373*03f9172cSAndroid Build Coastguard Worker# Add support for writing debug log to Android logcat instead of standard
374*03f9172cSAndroid Build Coastguard Worker# output
375*03f9172cSAndroid Build Coastguard WorkerCONFIG_ANDROID_LOG=y
376*03f9172cSAndroid Build Coastguard Worker
377*03f9172cSAndroid Build Coastguard Worker# Enable privilege separation (see README 'Privilege separation' for details)
378*03f9172cSAndroid Build Coastguard Worker#CONFIG_PRIVSEP=y
379*03f9172cSAndroid Build Coastguard Worker
380*03f9172cSAndroid Build Coastguard Worker# Enable mitigation against certain attacks against TKIP by delaying Michael
381*03f9172cSAndroid Build Coastguard Worker# MIC error reports by a random amount of time between 0 and 60 seconds
382*03f9172cSAndroid Build Coastguard Worker#CONFIG_DELAYED_MIC_ERROR_REPORT=y
383*03f9172cSAndroid Build Coastguard Worker
384*03f9172cSAndroid Build Coastguard Worker# Enable tracing code for developer debugging
385*03f9172cSAndroid Build Coastguard Worker# This tracks use of memory allocations and other registrations and reports
386*03f9172cSAndroid Build Coastguard Worker# incorrect use with a backtrace of call (or allocation) location.
387*03f9172cSAndroid Build Coastguard Worker#CONFIG_WPA_TRACE=y
388*03f9172cSAndroid Build Coastguard Worker# For BSD, uncomment these.
389*03f9172cSAndroid Build Coastguard Worker#LIBS += -lexecinfo
390*03f9172cSAndroid Build Coastguard Worker#LIBS_p += -lexecinfo
391*03f9172cSAndroid Build Coastguard Worker#LIBS_c += -lexecinfo
392*03f9172cSAndroid Build Coastguard Worker
393*03f9172cSAndroid Build Coastguard Worker# Use libbfd to get more details for developer debugging
394*03f9172cSAndroid Build Coastguard Worker# This enables use of libbfd to get more detailed symbols for the backtraces
395*03f9172cSAndroid Build Coastguard Worker# generated by CONFIG_WPA_TRACE=y.
396*03f9172cSAndroid Build Coastguard Worker#CONFIG_WPA_TRACE_BFD=y
397*03f9172cSAndroid Build Coastguard Worker# For BSD, uncomment these.
398*03f9172cSAndroid Build Coastguard Worker#LIBS += -lbfd -liberty -lz
399*03f9172cSAndroid Build Coastguard Worker#LIBS_p += -lbfd -liberty -lz
400*03f9172cSAndroid Build Coastguard Worker#LIBS_c += -lbfd -liberty -lz
401*03f9172cSAndroid Build Coastguard Worker
402*03f9172cSAndroid Build Coastguard Worker# wpa_supplicant depends on strong random number generation being available
403*03f9172cSAndroid Build Coastguard Worker# from the operating system. os_get_random() function is used to fetch random
404*03f9172cSAndroid Build Coastguard Worker# data when needed, e.g., for key generation. On Linux and BSD systems, this
405*03f9172cSAndroid Build Coastguard Worker# works by reading /dev/urandom. It should be noted that the OS entropy pool
406*03f9172cSAndroid Build Coastguard Worker# needs to be properly initialized before wpa_supplicant is started. This is
407*03f9172cSAndroid Build Coastguard Worker# important especially on embedded devices that do not have a hardware random
408*03f9172cSAndroid Build Coastguard Worker# number generator and may by default start up with minimal entropy available
409*03f9172cSAndroid Build Coastguard Worker# for random number generation.
410*03f9172cSAndroid Build Coastguard Worker#
411*03f9172cSAndroid Build Coastguard Worker# As a safety net, wpa_supplicant is by default trying to internally collect
412*03f9172cSAndroid Build Coastguard Worker# additional entropy for generating random data to mix in with the data fetched
413*03f9172cSAndroid Build Coastguard Worker# from the OS. This by itself is not considered to be very strong, but it may
414*03f9172cSAndroid Build Coastguard Worker# help in cases where the system pool is not initialized properly. However, it
415*03f9172cSAndroid Build Coastguard Worker# is very strongly recommended that the system pool is initialized with enough
416*03f9172cSAndroid Build Coastguard Worker# entropy either by using hardware assisted random number generator or by
417*03f9172cSAndroid Build Coastguard Worker# storing state over device reboots.
418*03f9172cSAndroid Build Coastguard Worker#
419*03f9172cSAndroid Build Coastguard Worker# wpa_supplicant can be configured to maintain its own entropy store over
420*03f9172cSAndroid Build Coastguard Worker# restarts to enhance random number generation. This is not perfect, but it is
421*03f9172cSAndroid Build Coastguard Worker# much more secure than using the same sequence of random numbers after every
422*03f9172cSAndroid Build Coastguard Worker# reboot. This can be enabled with -e<entropy file> command line option. The
423*03f9172cSAndroid Build Coastguard Worker# specified file needs to be readable and writable by wpa_supplicant.
424*03f9172cSAndroid Build Coastguard Worker#
425*03f9172cSAndroid Build Coastguard Worker# If the os_get_random() is known to provide strong random data (e.g., on
426*03f9172cSAndroid Build Coastguard Worker# Linux/BSD, the board in question is known to have reliable source of random
427*03f9172cSAndroid Build Coastguard Worker# data from /dev/urandom), the internal wpa_supplicant random pool can be
428*03f9172cSAndroid Build Coastguard Worker# disabled. This will save some in binary size and CPU use. However, this
429*03f9172cSAndroid Build Coastguard Worker# should only be considered for builds that are known to be used on devices
430*03f9172cSAndroid Build Coastguard Worker# that meet the requirements described above.
431*03f9172cSAndroid Build Coastguard Worker
432*03f9172cSAndroid Build Coastguard Worker# Wpa_supplicant's random pool is not necessary on Android. Randomness is
433*03f9172cSAndroid Build Coastguard Worker# already provided by the entropymixer service which ensures sufficient
434*03f9172cSAndroid Build Coastguard Worker# entropy is maintained across reboots. Commit b410eb1913 'Initialize
435*03f9172cSAndroid Build Coastguard Worker# /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before
436*03f9172cSAndroid Build Coastguard Worker# either wpa_supplicant or hostapd are run.
437*03f9172cSAndroid Build Coastguard WorkerCONFIG_NO_RANDOM_POOL=y
438*03f9172cSAndroid Build Coastguard Worker
439*03f9172cSAndroid Build Coastguard Worker# IEEE 802.11ac (Very High Throughput) support (mainly for AP mode)
440*03f9172cSAndroid Build Coastguard Worker#CONFIG_IEEE80211AC=y
441*03f9172cSAndroid Build Coastguard Worker
442*03f9172cSAndroid Build Coastguard Worker# Wireless Network Management (IEEE Std 802.11v-2011)
443*03f9172cSAndroid Build Coastguard Worker# Note: This is experimental and not complete implementation.
444*03f9172cSAndroid Build Coastguard WorkerCONFIG_WNM=y
445*03f9172cSAndroid Build Coastguard Worker
446*03f9172cSAndroid Build Coastguard Worker# Interworking (IEEE 802.11u)
447*03f9172cSAndroid Build Coastguard Worker# This can be used to enable functionality to improve interworking with
448*03f9172cSAndroid Build Coastguard Worker# external networks (GAS/ANQP to learn more about the networks and network
449*03f9172cSAndroid Build Coastguard Worker# selection based on available credentials).
450*03f9172cSAndroid Build Coastguard WorkerCONFIG_INTERWORKING=y
451*03f9172cSAndroid Build Coastguard Worker
452*03f9172cSAndroid Build Coastguard Worker# Hotspot 2.0
453*03f9172cSAndroid Build Coastguard WorkerCONFIG_HS20=y
454*03f9172cSAndroid Build Coastguard Worker
455*03f9172cSAndroid Build Coastguard Worker# Enable interface matching in wpa_supplicant
456*03f9172cSAndroid Build Coastguard Worker#CONFIG_MATCH_IFACE=y
457*03f9172cSAndroid Build Coastguard Worker
458*03f9172cSAndroid Build Coastguard Worker# Disable roaming in wpa_supplicant
459*03f9172cSAndroid Build Coastguard WorkerCONFIG_NO_ROAMING=y
460*03f9172cSAndroid Build Coastguard Worker
461*03f9172cSAndroid Build Coastguard Worker# AP mode operations with wpa_supplicant
462*03f9172cSAndroid Build Coastguard Worker# This can be used for controlling AP mode operations with wpa_supplicant. It
463*03f9172cSAndroid Build Coastguard Worker# should be noted that this is mainly aimed at simple cases like
464*03f9172cSAndroid Build Coastguard Worker# WPA2-Personal while more complex configurations like WPA2-Enterprise with an
465*03f9172cSAndroid Build Coastguard Worker# external RADIUS server can be supported with hostapd.
466*03f9172cSAndroid Build Coastguard WorkerCONFIG_AP=y
467*03f9172cSAndroid Build Coastguard Worker
468*03f9172cSAndroid Build Coastguard Worker# P2P (Wi-Fi Direct)
469*03f9172cSAndroid Build Coastguard Worker# This can be used to enable P2P support in wpa_supplicant. See README-P2P for
470*03f9172cSAndroid Build Coastguard Worker# more information on P2P operations.
471*03f9172cSAndroid Build Coastguard WorkerCONFIG_P2P=y
472*03f9172cSAndroid Build Coastguard Worker
473*03f9172cSAndroid Build Coastguard Worker# Enable TDLS support
474*03f9172cSAndroid Build Coastguard WorkerCONFIG_TDLS=y
475*03f9172cSAndroid Build Coastguard Worker
476*03f9172cSAndroid Build Coastguard Worker# Wi-Fi Display
477*03f9172cSAndroid Build Coastguard Worker# This can be used to enable Wi-Fi Display extensions for P2P using an external
478*03f9172cSAndroid Build Coastguard Worker# program to control the additional information exchanges in the messages.
479*03f9172cSAndroid Build Coastguard WorkerCONFIG_WIFI_DISPLAY=y
480*03f9172cSAndroid Build Coastguard Worker
481*03f9172cSAndroid Build Coastguard Worker# Autoscan
482*03f9172cSAndroid Build Coastguard Worker# This can be used to enable automatic scan support in wpa_supplicant.
483*03f9172cSAndroid Build Coastguard Worker# See wpa_supplicant.conf for more information on autoscan usage.
484*03f9172cSAndroid Build Coastguard Worker#
485*03f9172cSAndroid Build Coastguard Worker# Enabling directly a module will enable autoscan support.
486*03f9172cSAndroid Build Coastguard Worker# For exponential module:
487*03f9172cSAndroid Build Coastguard Worker#CONFIG_AUTOSCAN_EXPONENTIAL=y
488*03f9172cSAndroid Build Coastguard Worker# For periodic module:
489*03f9172cSAndroid Build Coastguard Worker#CONFIG_AUTOSCAN_PERIODIC=y
490*03f9172cSAndroid Build Coastguard Worker
491*03f9172cSAndroid Build Coastguard Worker# Password (and passphrase, etc.) backend for external storage
492*03f9172cSAndroid Build Coastguard Worker# These optional mechanisms can be used to add support for storing passwords
493*03f9172cSAndroid Build Coastguard Worker# and other secrets in external (to wpa_supplicant) location. This allows, for
494*03f9172cSAndroid Build Coastguard Worker# example, operating system specific key storage to be used
495*03f9172cSAndroid Build Coastguard Worker#
496*03f9172cSAndroid Build Coastguard Worker# External password backend for testing purposes (developer use)
497*03f9172cSAndroid Build Coastguard Worker#CONFIG_EXT_PASSWORD_TEST=y
498*03f9172cSAndroid Build Coastguard Worker
499*03f9172cSAndroid Build Coastguard Worker# Enable Fast Session Transfer (FST)
500*03f9172cSAndroid Build Coastguard Worker#CONFIG_FST=y
501*03f9172cSAndroid Build Coastguard Worker
502*03f9172cSAndroid Build Coastguard Worker# Support Multi Band Operation
503*03f9172cSAndroid Build Coastguard WorkerCONFIG_MBO=y
504*03f9172cSAndroid Build Coastguard Worker
505*03f9172cSAndroid Build Coastguard Worker# Fast Initial Link Setup (FILS) (IEEE 802.11ai)
506*03f9172cSAndroid Build Coastguard WorkerCONFIG_FILS=y
507*03f9172cSAndroid Build Coastguard Worker
508*03f9172cSAndroid Build Coastguard Worker# EAP Re-authentication protocol
509*03f9172cSAndroid Build Coastguard WorkerCONFIG_ERP=y
510*03f9172cSAndroid Build Coastguard Worker
511*03f9172cSAndroid Build Coastguard Worker# Support RSN on IBSS networks
512*03f9172cSAndroid Build Coastguard Worker# This is needed to be able to use mode=1 network profile with proto=RSN and
513*03f9172cSAndroid Build Coastguard Worker# key_mgmt=WPA-PSK (i.e., full key management instead of WPA-None).
514*03f9172cSAndroid Build Coastguard Worker#CONFIG_IBSS_RSN=y
515*03f9172cSAndroid Build Coastguard Worker
516*03f9172cSAndroid Build Coastguard Worker# External PMKSA cache control
517*03f9172cSAndroid Build Coastguard Worker# This can be used to enable control interface commands that allow the current
518*03f9172cSAndroid Build Coastguard Worker# PMKSA cache entries to be fetched and new entries to be added.
519*03f9172cSAndroid Build Coastguard Worker#CONFIG_PMKSA_CACHE_EXTERNAL=y
520*03f9172cSAndroid Build Coastguard Worker
521*03f9172cSAndroid Build Coastguard Worker# Mesh Networking (IEEE 802.11s)
522*03f9172cSAndroid Build Coastguard Worker#CONFIG_MESH=y
523*03f9172cSAndroid Build Coastguard Worker
524*03f9172cSAndroid Build Coastguard Worker# Background scanning modules
525*03f9172cSAndroid Build Coastguard Worker# These can be used to request wpa_supplicant to perform background scanning
526*03f9172cSAndroid Build Coastguard Worker# operations for roaming within an ESS (same SSID). See the bgscan parameter in
527*03f9172cSAndroid Build Coastguard Worker# the wpa_supplicant.conf file for more details.
528*03f9172cSAndroid Build Coastguard Worker# Periodic background scans based on signal strength
529*03f9172cSAndroid Build Coastguard Worker#CONFIG_BGSCAN_SIMPLE=y
530*03f9172cSAndroid Build Coastguard Worker# Learn channels used by the network and try to avoid bgscans on other
531*03f9172cSAndroid Build Coastguard Worker# channels (experimental)
532*03f9172cSAndroid Build Coastguard Worker#CONFIG_BGSCAN_LEARN=y
533*03f9172cSAndroid Build Coastguard Worker
534*03f9172cSAndroid Build Coastguard Worker# Opportunistic Wireless Encryption (OWE)
535*03f9172cSAndroid Build Coastguard WorkerCONFIG_OWE=y
536*03f9172cSAndroid Build Coastguard Worker
537*03f9172cSAndroid Build Coastguard Worker# Easy Connect (Device Provisioning Protocol - DPP R1 & R2)
538*03f9172cSAndroid Build Coastguard WorkerCONFIG_DPP=y
539*03f9172cSAndroid Build Coastguard WorkerCONFIG_DPP2=y
540*03f9172cSAndroid Build Coastguard Worker
541*03f9172cSAndroid Build Coastguard Worker# WPA3-Personal (SAE)
542*03f9172cSAndroid Build Coastguard WorkerCONFIG_SAE=y
543*03f9172cSAndroid Build Coastguard Worker
544*03f9172cSAndroid Build Coastguard Worker# PASN
545*03f9172cSAndroid Build Coastguard WorkerCONFIG_PASN=y
546*03f9172cSAndroid Build Coastguard Worker
547*03f9172cSAndroid Build Coastguard Worker# WPA3-Enterprise (SuiteB-192)
548*03f9172cSAndroid Build Coastguard WorkerCONFIG_SUITEB=y
549*03f9172cSAndroid Build Coastguard WorkerCONFIG_SUITEB192=y
550*03f9172cSAndroid Build Coastguard Worker
551*03f9172cSAndroid Build Coastguard Worker# WLAN Authentication and Privacy Infrastructure (WAPI): interface only.
552*03f9172cSAndroid Build Coastguard Worker# Configure the building of the interface which allows WAPI configuration.
553*03f9172cSAndroid Build Coastguard Worker# Note: does not configure WAPI implementation itself.
554*03f9172cSAndroid Build Coastguard Worker#CONFIG_WAPI_INTERFACE=y
555*03f9172cSAndroid Build Coastguard Worker
556*03f9172cSAndroid Build Coastguard Worker# Wired equivalent privacy (WEP)
557*03f9172cSAndroid Build Coastguard Worker# WEP is an obsolete cryptographic data confidentiality algorithm that is not
558*03f9172cSAndroid Build Coastguard Worker# considered secure. It should not be used for anything anymore. The
559*03f9172cSAndroid Build Coastguard Worker# functionality needed to use WEP is available in the current wpa_supplicant
560*03f9172cSAndroid Build Coastguard Worker# release under this optional build parameter. This functionality is subject to
561*03f9172cSAndroid Build Coastguard Worker# be completely removed in a future release.
562*03f9172cSAndroid Build Coastguard WorkerCONFIG_WEP=y
563*03f9172cSAndroid Build Coastguard Worker
564*03f9172cSAndroid Build Coastguard Worker# WPA3-Personal (SAE) PK (Public Key) mode
565*03f9172cSAndroid Build Coastguard WorkerCONFIG_SAE_PK=y
566*03f9172cSAndroid Build Coastguard Worker
567*03f9172cSAndroid Build Coastguard Worker# Disable support for Radio Measurement (IEEE 802.11k) and supported operating
568*03f9172cSAndroid Build Coastguard Worker# class indication. Removing these is not recommended since they can help the
569*03f9172cSAndroid Build Coastguard Worker# AP manage the network and STA steering.
570*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_RRM=y
571*03f9172cSAndroid Build Coastguard Worker
572*03f9172cSAndroid Build Coastguard Worker# Disable support for Robust AV streaming for consumer and enterprise Wi-Fi
573*03f9172cSAndroid Build Coastguard Worker# applications; IEEE Std 802.11-2020, 4.3.24; SCS, MSCS, QoS Management
574*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_ROBUST_AV=y
575*03f9172cSAndroid Build Coastguard Worker
576*03f9172cSAndroid Build Coastguard Worker# Disable support for WMM admission control
577*03f9172cSAndroid Build Coastguard Worker#CONFIG_NO_WMM_AC=y
578*03f9172cSAndroid Build Coastguard Worker
579*03f9172cSAndroid Build Coastguard Worker# Wi-Fi Aware unsynchronized service discovery (NAN USD)
580*03f9172cSAndroid Build Coastguard Worker#CONFIG_NAN_USD=y
581*03f9172cSAndroid Build Coastguard Worker
582*03f9172cSAndroid Build Coastguard Workerinclude $(wildcard $(LOCAL_PATH)/android_config_*.inc)
583