]>
Commit | Line | Data |
---|---|---|
6fc6879b JM |
1 | # Example wpa_supplicant build time configuration |
2 | # | |
3 | # This file lists the configuration options that are used when building the | |
212a8f48 JM |
4 | # wpa_supplicant binary. All lines starting with # are ignored. Configuration |
5 | # option lines must be commented out complete, if they are not to be included, | |
6 | # i.e., just setting VARIABLE=n is not disabling that variable. | |
6fc6879b JM |
7 | # |
8 | # This file is included in Makefile, so variables like CFLAGS and LIBS can also | |
9 | # be modified from here. In most cases, these lines should use += in order not | |
10 | # to override previous values of the variables. | |
11 | ||
12 | ||
13 | # Uncomment following two lines and fix the paths if you have installed OpenSSL | |
14 | # or GnuTLS in non-default location | |
15 | #CFLAGS += -I/usr/local/openssl/include | |
16 | #LIBS += -L/usr/local/openssl/lib | |
17 | ||
18 | # Some Red Hat versions seem to include kerberos header files from OpenSSL, but | |
19 | # the kerberos files are not in the default include path. Following line can be | |
20 | # used to fix build issues on such systems (krb5.h not found). | |
21 | #CFLAGS += -I/usr/include/kerberos | |
22 | ||
6fc6879b | 23 | # Driver interface for generic Linux wireless extensions |
0725cc7b JM |
24 | # Note: WEXT is deprecated in the current Linux kernel version and no new |
25 | # functionality is added to it. nl80211-based interface is the new | |
26 | # replacement for WEXT and its use allows wpa_supplicant to properly control | |
27 | # the driver to improve existing functionality like roaming and to support new | |
28 | # functionality. | |
6fc6879b JM |
29 | CONFIG_DRIVER_WEXT=y |
30 | ||
421b4ba5 | 31 | # Driver interface for Linux drivers using the nl80211 kernel interface |
0725cc7b | 32 | CONFIG_DRIVER_NL80211=y |
421b4ba5 | 33 | |
b658547d JM |
34 | # QCA vendor extensions to nl80211 |
35 | #CONFIG_DRIVER_NL80211_QCA=y | |
36 | ||
3043b4f4 BG |
37 | # driver_nl80211.c requires libnl. If you are compiling it yourself |
38 | # you may need to point hostapd to your version of libnl. | |
39 | # | |
40 | #CFLAGS += -I$<path to libnl include files> | |
41 | #LIBS += -L$<path to libnl library files> | |
42 | ||
43 | # Use libnl v2.0 (or 3.0) libraries. | |
44 | #CONFIG_LIBNL20=y | |
45 | ||
46 | # Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored) | |
55570efe | 47 | CONFIG_LIBNL32=y |
3043b4f4 BG |
48 | |
49 | ||
6fc6879b JM |
50 | # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) |
51 | #CONFIG_DRIVER_BSD=y | |
52 | #CFLAGS += -I/usr/local/include | |
53 | #LIBS += -L/usr/local/lib | |
953f0f63 MH |
54 | #LIBS_p += -L/usr/local/lib |
55 | #LIBS_c += -L/usr/local/lib | |
6fc6879b JM |
56 | |
57 | # Driver interface for Windows NDIS | |
58 | #CONFIG_DRIVER_NDIS=y | |
59 | #CFLAGS += -I/usr/include/w32api/ddk | |
60 | #LIBS += -L/usr/local/lib | |
61 | # For native build using mingw | |
62 | #CONFIG_NATIVE_WINDOWS=y | |
63 | # Additional directories for cross-compilation on Linux host for mingw target | |
64 | #CFLAGS += -I/opt/mingw/mingw32/include/ddk | |
65 | #LIBS += -L/opt/mingw/mingw32/lib | |
66 | #CC=mingw32-gcc | |
67 | # By default, driver_ndis uses WinPcap for low-level operations. This can be | |
68 | # replaced with the following option which replaces WinPcap calls with NDISUIO. | |
69 | # However, this requires that WZC is disabled (net stop wzcsvc) before starting | |
70 | # wpa_supplicant. | |
71 | # CONFIG_USE_NDISUIO=y | |
72 | ||
6fc6879b JM |
73 | # Driver interface for wired Ethernet drivers |
74 | CONFIG_DRIVER_WIRED=y | |
75 | ||
208263c0 JK |
76 | # Driver interface for MACsec capable Qualcomm Atheros drivers |
77 | #CONFIG_DRIVER_MACSEC_QCA=y | |
78 | ||
79 | # Driver interface for Linux MACsec drivers | |
80 | #CONFIG_DRIVER_MACSEC_LINUX=y | |
81 | ||
e519314e JW |
82 | # Driver interface for the Broadcom RoboSwitch family |
83 | #CONFIG_DRIVER_ROBOSWITCH=y | |
84 | ||
a3c6598f JM |
85 | # Driver interface for no driver (e.g., WPS ER only) |
86 | #CONFIG_DRIVER_NONE=y | |
87 | ||
60da5e0f MH |
88 | # Solaris libraries |
89 | #LIBS += -lsocket -ldlpi -lnsl | |
90 | #LIBS_c += -lsocket | |
91 | ||
208263c0 JK |
92 | # Enable IEEE 802.1X Supplicant (automatically included if any EAP method or |
93 | # MACsec is included) | |
6fc6879b JM |
94 | CONFIG_IEEE8021X_EAPOL=y |
95 | ||
96 | # EAP-MD5 | |
97 | CONFIG_EAP_MD5=y | |
98 | ||
99 | # EAP-MSCHAPv2 | |
100 | CONFIG_EAP_MSCHAPV2=y | |
101 | ||
102 | # EAP-TLS | |
103 | CONFIG_EAP_TLS=y | |
104 | ||
105 | # EAL-PEAP | |
106 | CONFIG_EAP_PEAP=y | |
107 | ||
108 | # EAP-TTLS | |
109 | CONFIG_EAP_TTLS=y | |
110 | ||
111 | # EAP-FAST | |
eafc5fec | 112 | CONFIG_EAP_FAST=y |
6fc6879b JM |
113 | |
114 | # EAP-GTC | |
115 | CONFIG_EAP_GTC=y | |
116 | ||
117 | # EAP-OTP | |
118 | CONFIG_EAP_OTP=y | |
119 | ||
120 | # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) | |
121 | #CONFIG_EAP_SIM=y | |
122 | ||
2f6700c9 MS |
123 | # Enable SIM simulator (Milenage) for EAP-SIM |
124 | #CONFIG_SIM_SIMULATOR=y | |
125 | ||
6fc6879b JM |
126 | # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) |
127 | #CONFIG_EAP_PSK=y | |
128 | ||
27c9d333 | 129 | # EAP-pwd (secure authentication using only a password) |
eafc5fec | 130 | CONFIG_EAP_PWD=y |
27c9d333 | 131 | |
6fc6879b | 132 | # EAP-PAX |
eafc5fec | 133 | CONFIG_EAP_PAX=y |
6fc6879b JM |
134 | |
135 | # LEAP | |
136 | CONFIG_EAP_LEAP=y | |
137 | ||
138 | # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) | |
139 | #CONFIG_EAP_AKA=y | |
140 | ||
a9d1364c JM |
141 | # EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used). |
142 | # This requires CONFIG_EAP_AKA to be enabled, too. | |
143 | #CONFIG_EAP_AKA_PRIME=y | |
144 | ||
2a24bb31 JM |
145 | # Enable USIM simulator (Milenage) for EAP-AKA |
146 | #CONFIG_USIM_SIMULATOR=y | |
147 | ||
6fc6879b | 148 | # EAP-SAKE |
eafc5fec | 149 | CONFIG_EAP_SAKE=y |
6fc6879b JM |
150 | |
151 | # EAP-GPSK | |
eafc5fec | 152 | CONFIG_EAP_GPSK=y |
6fc6879b | 153 | # Include support for optional SHA256 cipher suite in EAP-GPSK |
eafc5fec | 154 | CONFIG_EAP_GPSK_SHA256=y |
6fc6879b JM |
155 | |
156 | # EAP-TNC and related Trusted Network Connect support (experimental) | |
eafc5fec | 157 | CONFIG_EAP_TNC=y |
6fc6879b | 158 | |
ad08c363 | 159 | # Wi-Fi Protected Setup (WPS) |
f87450a7 | 160 | CONFIG_WPS=y |
4aced422 JM |
161 | # Enable WPS external registrar functionality |
162 | #CONFIG_WPS_ER=y | |
745e8aba AB |
163 | # Disable credentials for an open network by default when acting as a WPS |
164 | # registrar. | |
165 | #CONFIG_WPS_REG_DISABLE_OPEN=y | |
51ca03f4 JM |
166 | # Enable WPS support with NFC config method |
167 | #CONFIG_WPS_NFC=y | |
ad08c363 | 168 | |
6fc6879b | 169 | # EAP-IKEv2 |
eafc5fec | 170 | CONFIG_EAP_IKEV2=y |
6fc6879b | 171 | |
7e7610d7 JM |
172 | # EAP-EKE |
173 | #CONFIG_EAP_EKE=y | |
174 | ||
208263c0 JK |
175 | # MACsec |
176 | #CONFIG_MACSEC=y | |
177 | ||
6fc6879b JM |
178 | # PKCS#12 (PFX) support (used to read private key and certificate file from |
179 | # a file that usually has extension .p12 or .pfx) | |
180 | CONFIG_PKCS12=y | |
181 | ||
182 | # Smartcard support (i.e., private key on a smartcard), e.g., with openssl | |
183 | # engine. | |
184 | CONFIG_SMARTCARD=y | |
185 | ||
186 | # PC/SC interface for smartcards (USIM, GSM SIM) | |
187 | # Enable this if EAP-SIM or EAP-AKA is included | |
188 | #CONFIG_PCSC=y | |
189 | ||
80e8a5ee BG |
190 | # Support HT overrides (disable HT/HT40, mask MCS rates, etc.) |
191 | #CONFIG_HT_OVERRIDES=y | |
192 | ||
e9ee8dc3 JB |
193 | # Support VHT overrides (disable VHT, mask MCS rates, etc.) |
194 | #CONFIG_VHT_OVERRIDES=y | |
195 | ||
6fc6879b JM |
196 | # Development testing |
197 | #CONFIG_EAPOL_TEST=y | |
198 | ||
199 | # Select control interface backend for external programs, e.g, wpa_cli: | |
200 | # unix = UNIX domain sockets (default for Linux/*BSD) | |
201 | # udp = UDP sockets using localhost (127.0.0.1) | |
4db216fc | 202 | # udp6 = UDP IPv6 sockets using localhost (::1) |
6fc6879b | 203 | # named_pipe = Windows Named Pipe (default for Windows) |
afadf423 | 204 | # udp-remote = UDP sockets with remote access (only for tests systems/purpose) |
4db216fc | 205 | # udp6-remote = UDP IPv6 sockets with remote access (only for tests purpose) |
6fc6879b JM |
206 | # y = use default (backwards compatibility) |
207 | # If this option is commented out, control interface is not included in the | |
208 | # build. | |
209 | CONFIG_CTRL_IFACE=y | |
210 | ||
211 | # Include support for GNU Readline and History Libraries in wpa_cli. | |
212 | # When building a wpa_cli binary for distribution, please note that these | |
213 | # libraries are licensed under GPL and as such, BSD license may not apply for | |
214 | # the resulting binary. | |
215 | #CONFIG_READLINE=y | |
216 | ||
aee680e8 JM |
217 | # Include internal line edit mode in wpa_cli. This can be used as a replacement |
218 | # for GNU Readline to provide limited command line editing and history support. | |
219 | #CONFIG_WPA_CLI_EDIT=y | |
220 | ||
6fc6879b JM |
221 | # Remove debugging code that is printing out debug message to stdout. |
222 | # This can be used to reduce the size of the wpa_supplicant considerably | |
223 | # if debugging code is not needed. The size reduction can be around 35% | |
224 | # (e.g., 90 kB). | |
225 | #CONFIG_NO_STDOUT_DEBUG=y | |
226 | ||
227 | # Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save | |
228 | # 35-50 kB in code size. | |
229 | #CONFIG_NO_WPA=y | |
230 | ||
6fc6879b JM |
231 | # Remove IEEE 802.11i/WPA-Personal ASCII passphrase support |
232 | # This option can be used to reduce code size by removing support for | |
233 | # converting ASCII passphrases into PSK. If this functionality is removed, the | |
234 | # PSK can only be configured as the 64-octet hexstring (e.g., from | |
235 | # wpa_passphrase). This saves about 0.5 kB in code size. | |
236 | #CONFIG_NO_WPA_PASSPHRASE=y | |
237 | ||
bf46c6fc LR |
238 | # Simultaneous Authentication of Equals (SAE), WPA3-Personal |
239 | CONFIG_SAE=y | |
240 | ||
6fc6879b JM |
241 | # Disable scan result processing (ap_mode=1) to save code size by about 1 kB. |
242 | # This can be used if ap_scan=1 mode is never enabled. | |
243 | #CONFIG_NO_SCAN_PROCESSING=y | |
244 | ||
245 | # Select configuration backend: | |
246 | # file = text file (e.g., wpa_supplicant.conf; note: the configuration file | |
247 | # path is given on command line, not here; this option is just used to | |
248 | # select the backend that allows configuration files to be used) | |
249 | # winreg = Windows registry (see win_example.reg for an example) | |
250 | CONFIG_BACKEND=file | |
251 | ||
252 | # Remove configuration write functionality (i.e., to allow the configuration | |
253 | # file to be updated based on runtime configuration changes). The runtime | |
254 | # configuration can still be changed, the changes are just not going to be | |
255 | # persistent over restarts. This option can be used to reduce code size by | |
256 | # about 3.5 kB. | |
257 | #CONFIG_NO_CONFIG_WRITE=y | |
258 | ||
259 | # Remove support for configuration blobs to reduce code size by about 1.5 kB. | |
260 | #CONFIG_NO_CONFIG_BLOBS=y | |
261 | ||
262 | # Select program entry point implementation: | |
263 | # main = UNIX/POSIX like main() function (default) | |
264 | # main_winsvc = Windows service (read parameters from registry) | |
265 | # main_none = Very basic example (development use only) | |
266 | #CONFIG_MAIN=main | |
267 | ||
f0356ec8 | 268 | # Select wrapper for operating system and C library specific functions |
6fc6879b JM |
269 | # unix = UNIX/POSIX like systems (default) |
270 | # win32 = Windows systems | |
271 | # none = Empty template | |
272 | #CONFIG_OS=unix | |
273 | ||
274 | # Select event loop implementation | |
275 | # eloop = select() loop (default) | |
276 | # eloop_win = Windows events and WaitForMultipleObject() loop | |
6fc6879b JM |
277 | #CONFIG_ELOOP=eloop |
278 | ||
2df4c4ef BG |
279 | # Should we use poll instead of select? Select is used by default. |
280 | #CONFIG_ELOOP_POLL=y | |
281 | ||
f0356ec8 MH |
282 | # Should we use epoll instead of select? Select is used by default. |
283 | #CONFIG_ELOOP_EPOLL=y | |
284 | ||
634e2e29 RM |
285 | # Should we use kqueue instead of select? Select is used by default. |
286 | #CONFIG_ELOOP_KQUEUE=y | |
287 | ||
6fc6879b JM |
288 | # Select layer 2 packet implementation |
289 | # linux = Linux packet socket (default) | |
290 | # pcap = libpcap/libdnet/WinPcap | |
291 | # freebsd = FreeBSD libpcap | |
292 | # winpcap = WinPcap with receive thread | |
293 | # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y) | |
294 | # none = Empty template | |
295 | #CONFIG_L2_PACKET=linux | |
296 | ||
67deaa58 MSS |
297 | # Disable Linux packet socket workaround applicable for station interface |
298 | # in a bridge for EAPOL frames. This should be uncommented only if the kernel | |
299 | # is known to not have the regression issue in packet socket behavior with | |
300 | # bridge interfaces (commit 'bridge: respect RFC2863 operational state')'). | |
301 | #CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y | |
302 | ||
4732ee3a | 303 | # IEEE 802.11w (management frame protection), also known as PMF |
6fc6879b | 304 | # Driver support is also needed for IEEE 802.11w. |
61130836 | 305 | CONFIG_IEEE80211W=y |
6fc6879b | 306 | |
138205d6 MV |
307 | # Support Operating Channel Validation |
308 | #CONFIG_OCV=y | |
309 | ||
6fc6879b JM |
310 | # Select TLS implementation |
311 | # openssl = OpenSSL (default) | |
fd2f2d04 | 312 | # gnutls = GnuTLS |
6fc6879b | 313 | # internal = Internal TLSv1 implementation (experimental) |
206516e8 | 314 | # linux = Linux kernel AF_ALG and internal TLSv1 implementation (experimental) |
6fc6879b JM |
315 | # none = Empty template |
316 | #CONFIG_TLS=openssl | |
317 | ||
5c47af9a JM |
318 | # TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1) |
319 | # can be enabled to get a stronger construction of messages when block ciphers | |
320 | # are used. It should be noted that some existing TLS v1.0 -based | |
321 | # implementation may not be compatible with TLS v1.1 message (ClientHello is | |
322 | # sent prior to negotiating which version will be used) | |
323 | #CONFIG_TLSV11=y | |
324 | ||
ca84eed7 JM |
325 | # TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2) |
326 | # can be enabled to enable use of stronger crypto algorithms. It should be | |
327 | # noted that some existing TLS v1.0 -based implementation may not be compatible | |
328 | # with TLS v1.2 message (ClientHello is sent prior to negotiating which version | |
329 | # will be used) | |
330 | #CONFIG_TLSV12=y | |
331 | ||
2b9891bd BG |
332 | # Select which ciphers to use by default with OpenSSL if the user does not |
333 | # specify them. | |
334 | #CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW" | |
335 | ||
6fc6879b JM |
336 | # If CONFIG_TLS=internal is used, additional library and include paths are |
337 | # needed for LibTomMath. Alternatively, an integrated, minimal version of | |
338 | # LibTomMath can be used. See beginning of libtommath.c for details on benefits | |
339 | # and drawbacks of this option. | |
340 | #CONFIG_INTERNAL_LIBTOMMATH=y | |
341 | #ifndef CONFIG_INTERNAL_LIBTOMMATH | |
342 | #LTM_PATH=/usr/src/libtommath-0.39 | |
343 | #CFLAGS += -I$(LTM_PATH) | |
344 | #LIBS += -L$(LTM_PATH) | |
345 | #LIBS_p += -L$(LTM_PATH) | |
346 | #endif | |
b95394c6 JM |
347 | # At the cost of about 4 kB of additional binary size, the internal LibTomMath |
348 | # can be configured to include faster routines for exptmod, sqr, and div to | |
187bc466 | 349 | # speed up DH and RSA calculation considerably |
b95394c6 | 350 | #CONFIG_INTERNAL_LIBTOMMATH_FAST=y |
6fc6879b JM |
351 | |
352 | # Include NDIS event processing through WMI into wpa_supplicant/wpasvc. | |
353 | # This is only for Windows builds and requires WMI-related header files and | |
354 | # WbemUuid.Lib from Platform SDK even when building with MinGW. | |
355 | #CONFIG_NDIS_EVENTS_INTEGRATED=y | |
356 | #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" | |
357 | ||
8fc2fb56 WS |
358 | # Add support for new DBus control interface |
359 | # (fi.w1.hostap.wpa_supplicant1) | |
fafad852 | 360 | CONFIG_CTRL_IFACE_DBUS_NEW=y |
8fc2fb56 | 361 | |
ce4f7fdb | 362 | # Add introspection support for new DBus control interface |
fafad852 | 363 | CONFIG_CTRL_IFACE_DBUS_INTRO=y |
8fc2fb56 | 364 | |
6fc6879b JM |
365 | # Add support for loading EAP methods dynamically as shared libraries. |
366 | # When this option is enabled, each EAP method can be either included | |
367 | # statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn). | |
368 | # Dynamic EAP methods are build as shared objects (eap_*.so) and they need to | |
369 | # be loaded in the beginning of the wpa_supplicant configuration file | |
370 | # (see load_dynamic_eap parameter in the example file) before being used in | |
371 | # the network blocks. | |
372 | # | |
373 | # Note that some shared parts of EAP methods are included in the main program | |
374 | # and in order to be able to use dynamic EAP methods using these parts, the | |
375 | # main program must have been build with the EAP method enabled (=y or =dyn). | |
376 | # This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries | |
377 | # unless at least one of them was included in the main build to force inclusion | |
378 | # of the shared code. Similarly, at least one of EAP-SIM/AKA must be included | |
379 | # in the main build to be able to load these methods dynamically. | |
380 | # | |
381 | # Please also note that using dynamic libraries will increase the total binary | |
382 | # size. Thus, it may not be the best option for targets that have limited | |
383 | # amount of memory/flash. | |
384 | #CONFIG_DYNAMIC_EAP_METHODS=y | |
385 | ||
4ec1fd8e | 386 | # IEEE Std 802.11r-2008 (Fast BSS Transition) for station mode |
9515fa92 | 387 | CONFIG_IEEE80211R=y |
6fc6879b JM |
388 | |
389 | # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt) | |
f64050da | 390 | CONFIG_DEBUG_FILE=y |
6fc6879b | 391 | |
fe885594 | 392 | # Send debug messages to syslog instead of stdout |
f64050da | 393 | CONFIG_DEBUG_SYSLOG=y |
fe885594 JM |
394 | # Set syslog facility for debug messages |
395 | #CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON | |
396 | ||
4f68895e JB |
397 | # Add support for sending all debug messages (regardless of debug verbosity) |
398 | # to the Linux kernel tracing facility. This helps debug the entire stack by | |
399 | # making it easy to record everything happening from the driver up into the | |
400 | # same file, e.g., using trace-cmd. | |
401 | #CONFIG_DEBUG_LINUX_TRACING=y | |
402 | ||
abfc3ad9 JM |
403 | # Add support for writing debug log to Android logcat instead of standard |
404 | # output | |
405 | #CONFIG_ANDROID_LOG=y | |
406 | ||
6fc6879b JM |
407 | # Enable privilege separation (see README 'Privilege separation' for details) |
408 | #CONFIG_PRIVSEP=y | |
46690a3b JM |
409 | |
410 | # Enable mitigation against certain attacks against TKIP by delaying Michael | |
411 | # MIC error reports by a random amount of time between 0 and 60 seconds | |
412 | #CONFIG_DELAYED_MIC_ERROR_REPORT=y | |
b22b41ee JM |
413 | |
414 | # Enable tracing code for developer debugging | |
415 | # This tracks use of memory allocations and other registrations and reports | |
416 | # incorrect use with a backtrace of call (or allocation) location. | |
417 | #CONFIG_WPA_TRACE=y | |
540609c5 | 418 | # For BSD, uncomment these. |
953f0f63 MH |
419 | #LIBS += -lexecinfo |
420 | #LIBS_p += -lexecinfo | |
421 | #LIBS_c += -lexecinfo | |
b22b41ee JM |
422 | |
423 | # Use libbfd to get more details for developer debugging | |
424 | # This enables use of libbfd to get more detailed symbols for the backtraces | |
425 | # generated by CONFIG_WPA_TRACE=y. | |
96603e4f | 426 | #CONFIG_WPA_TRACE_BFD=y |
540609c5 | 427 | # For BSD, uncomment these. |
953f0f63 MH |
428 | #LIBS += -lbfd -liberty -lz |
429 | #LIBS_p += -lbfd -liberty -lz | |
430 | #LIBS_c += -lbfd -liberty -lz | |
bbb921da JM |
431 | |
432 | # wpa_supplicant depends on strong random number generation being available | |
433 | # from the operating system. os_get_random() function is used to fetch random | |
434 | # data when needed, e.g., for key generation. On Linux and BSD systems, this | |
435 | # works by reading /dev/urandom. It should be noted that the OS entropy pool | |
436 | # needs to be properly initialized before wpa_supplicant is started. This is | |
437 | # important especially on embedded devices that do not have a hardware random | |
438 | # number generator and may by default start up with minimal entropy available | |
439 | # for random number generation. | |
440 | # | |
441 | # As a safety net, wpa_supplicant is by default trying to internally collect | |
442 | # additional entropy for generating random data to mix in with the data fetched | |
443 | # from the OS. This by itself is not considered to be very strong, but it may | |
444 | # help in cases where the system pool is not initialized properly. However, it | |
445 | # is very strongly recommended that the system pool is initialized with enough | |
38e24575 | 446 | # entropy either by using hardware assisted random number generator or by |
bbb921da JM |
447 | # storing state over device reboots. |
448 | # | |
38e24575 JM |
449 | # wpa_supplicant can be configured to maintain its own entropy store over |
450 | # restarts to enhance random number generation. This is not perfect, but it is | |
451 | # much more secure than using the same sequence of random numbers after every | |
452 | # reboot. This can be enabled with -e<entropy file> command line option. The | |
453 | # specified file needs to be readable and writable by wpa_supplicant. | |
454 | # | |
455 | # If the os_get_random() is known to provide strong random data (e.g., on | |
bbb921da JM |
456 | # Linux/BSD, the board in question is known to have reliable source of random |
457 | # data from /dev/urandom), the internal wpa_supplicant random pool can be | |
458 | # disabled. This will save some in binary size and CPU use. However, this | |
459 | # should only be considered for builds that are known to be used on devices | |
460 | # that meet the requirements described above. | |
461 | #CONFIG_NO_RANDOM_POOL=y | |
03948f42 | 462 | |
89a7cdd6 LR |
463 | # Should we attempt to use the getrandom(2) call that provides more reliable |
464 | # yet secure randomness source than /dev/random on Linux 3.17 and newer. | |
465 | # Requires glibc 2.25 to build, falls back to /dev/random if unavailable. | |
466 | #CONFIG_GETRANDOM=y | |
467 | ||
03948f42 | 468 | # IEEE 802.11n (High Throughput) support (mainly for AP mode) |
6b7a0da7 | 469 | CONFIG_IEEE80211N=y |
46ee0427 | 470 | |
f2112b2a EP |
471 | # IEEE 802.11ac (Very High Throughput) support (mainly for AP mode) |
472 | # (depends on CONFIG_IEEE80211N) | |
6b7a0da7 | 473 | CONFIG_IEEE80211AC=y |
f2112b2a | 474 | |
b6668734 JM |
475 | # Wireless Network Management (IEEE Std 802.11v-2011) |
476 | # Note: This is experimental and not complete implementation. | |
477 | #CONFIG_WNM=y | |
478 | ||
46ee0427 JM |
479 | # Interworking (IEEE 802.11u) |
480 | # This can be used to enable functionality to improve interworking with | |
481 | # external networks (GAS/ANQP to learn more about the networks and network | |
482 | # selection based on available credentials). | |
467004d6 | 483 | CONFIG_INTERWORKING=y |
25471fe3 JK |
484 | |
485 | # Hotspot 2.0 | |
467004d6 | 486 | CONFIG_HS20=y |
ef3e60bf | 487 | |
2e997eec RM |
488 | # Enable interface matching in wpa_supplicant |
489 | #CONFIG_MATCH_IFACE=y | |
490 | ||
abfc3ad9 JM |
491 | # Disable roaming in wpa_supplicant |
492 | #CONFIG_NO_ROAMING=y | |
493 | ||
ef3e60bf JM |
494 | # AP mode operations with wpa_supplicant |
495 | # This can be used for controlling AP mode operations with wpa_supplicant. It | |
496 | # should be noted that this is mainly aimed at simple cases like | |
497 | # WPA2-Personal while more complex configurations like WPA2-Enterprise with an | |
498 | # external RADIUS server can be supported with hostapd. | |
2d6d4721 | 499 | CONFIG_AP=y |
ef3e60bf JM |
500 | |
501 | # P2P (Wi-Fi Direct) | |
502 | # This can be used to enable P2P support in wpa_supplicant. See README-P2P for | |
503 | # more information on P2P operations. | |
c4eafad0 | 504 | CONFIG_P2P=y |
7c865c68 | 505 | |
abfc3ad9 JM |
506 | # Enable TDLS support |
507 | #CONFIG_TDLS=y | |
508 | ||
d989e67d JM |
509 | # Wi-Fi Display |
510 | # This can be used to enable Wi-Fi Display extensions for P2P using an external | |
215a02f3 | 511 | # program to control the additional information exchanges in the messages. |
c4eafad0 | 512 | CONFIG_WIFI_DISPLAY=y |
215a02f3 | 513 | |
7c865c68 TB |
514 | # Autoscan |
515 | # This can be used to enable automatic scan support in wpa_supplicant. | |
65015b2d | 516 | # See wpa_supplicant.conf for more information on autoscan usage. |
c0fba2b3 TB |
517 | # |
518 | # Enabling directly a module will enable autoscan support. | |
519 | # For exponential module: | |
520 | #CONFIG_AUTOSCAN_EXPONENTIAL=y | |
e3659c89 TB |
521 | # For periodic module: |
522 | #CONFIG_AUTOSCAN_PERIODIC=y | |
306ae225 JM |
523 | |
524 | # Password (and passphrase, etc.) backend for external storage | |
525 | # These optional mechanisms can be used to add support for storing passwords | |
526 | # and other secrets in external (to wpa_supplicant) location. This allows, for | |
527 | # example, operating system specific key storage to be used | |
528 | # | |
529 | # External password backend for testing purposes (developer use) | |
530 | #CONFIG_EXT_PASSWORD_TEST=y | |
79c7b36d AN |
531 | |
532 | # Enable Fast Session Transfer (FST) | |
533 | #CONFIG_FST=y | |
a8dab08a AN |
534 | |
535 | # Enable CLI commands for FST testing | |
536 | #CONFIG_FST_TEST=y | |
939471b9 AD |
537 | |
538 | # OS X builds. This is only for building eapol_test. | |
539 | #CONFIG_OSX=y | |
d9909717 TB |
540 | |
541 | # Automatic Channel Selection | |
542 | # This will allow wpa_supplicant to pick the channel automatically when channel | |
543 | # is set to "0". | |
544 | # | |
545 | # TODO: Extend parser to be able to parse "channel=acs_survey" as an alternative | |
546 | # to "channel=0". This would enable us to eventually add other ACS algorithms in | |
547 | # similar way. | |
548 | # | |
549 | # Automatic selection is currently only done through initialization, later on | |
550 | # we hope to do background checks to keep us moving to more ideal channels as | |
551 | # time goes by. ACS is currently only supported through the nl80211 driver and | |
552 | # your driver must have survey dump capability that is filled by the driver | |
553 | # during scanning. | |
554 | # | |
555 | # TODO: In analogy to hostapd be able to customize the ACS survey algorithm with | |
556 | # a newly to create wpa_supplicant.conf variable acs_num_scans. | |
557 | # | |
558 | # Supported ACS drivers: | |
559 | # * ath9k | |
560 | # * ath5k | |
561 | # * ath10k | |
562 | # | |
563 | # For more details refer to: | |
564 | # http://wireless.kernel.org/en/users/Documentation/acs | |
565 | #CONFIG_ACS=y | |
facf2c72 DS |
566 | |
567 | # Support Multi Band Operation | |
568 | #CONFIG_MBO=y | |
9b7a2b83 JM |
569 | |
570 | # Fast Initial Link Setup (FILS) (IEEE 802.11ai) | |
9b7a2b83 | 571 | #CONFIG_FILS=y |
76e20f4f JM |
572 | # FILS shared key authentication with PFS |
573 | #CONFIG_FILS_SK_PFS=y | |
913c3e1e JM |
574 | |
575 | # Support RSN on IBSS networks | |
576 | # This is needed to be able to use mode=1 network profile with proto=RSN and | |
577 | # key_mgmt=WPA-PSK (i.e., full key management instead of WPA-None). | |
ec52faa2 | 578 | CONFIG_IBSS_RSN=y |
3459381d JM |
579 | |
580 | # External PMKSA cache control | |
581 | # This can be used to enable control interface commands that allow the current | |
582 | # PMKSA cache entries to be fetched and new entries to be added. | |
583 | #CONFIG_PMKSA_CACHE_EXTERNAL=y | |
ce691a8d MH |
584 | |
585 | # Mesh Networking (IEEE 802.11s) | |
586 | #CONFIG_MESH=y | |
784710b7 JM |
587 | |
588 | # Background scanning modules | |
589 | # These can be used to request wpa_supplicant to perform background scanning | |
590 | # operations for roaming within an ESS (same SSID). See the bgscan parameter in | |
591 | # the wpa_supplicant.conf file for more details. | |
592 | # Periodic background scans based on signal strength | |
ae5240db | 593 | CONFIG_BGSCAN_SIMPLE=y |
784710b7 JM |
594 | # Learn channels used by the network and try to avoid bgscans on other |
595 | # channels (experimental) | |
596 | #CONFIG_BGSCAN_LEARN=y | |
61152384 JM |
597 | |
598 | # Opportunistic Wireless Encryption (OWE) | |
599 | # Experimental implementation of draft-harkins-owe-07.txt | |
600 | #CONFIG_OWE=y | |
ca098ee4 LR |
601 | |
602 | # Device Provisioning Protocol (DPP) | |
603 | # This requires CONFIG_IEEE80211W=y to be enabled, too. (see | |
604 | # wpa_supplicant/README-DPP for details) | |
605 | CONFIG_DPP=y |