diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-04-12 14:03:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:11 +0100 |
commit | 38f46f257f5df1e00281b50e873fd59474e94d3c (patch) | |
tree | 0ac9fe2f0581c901aef3abefbb71a5780a8130f9 /meta/recipes-connectivity | |
parent | e88e746eb2547c7b9491301e17be4cb5c41f5d1a (diff) | |
download | poky-38f46f257f5df1e00281b50e873fd59474e94d3c.tar.gz |
wpa-supplicant: Use upstream defconfig
The copy of defconfig we were carrying was from 2014 and very out of
date; drop it and use the upstream version with appropriate edits for
our PACKAGECONFIG.
Switch PACKAGECONFIG to using a default (?=) rather than weak default
(??=) as per current recommendation.
(From OE-Core rev: d97bedd8bdcc8c5073e8feead72ea5640987125b)
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig | 552 | ||||
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | 16 |
2 files changed, 6 insertions, 562 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig deleted file mode 100644 index f04e398fdb..0000000000 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig +++ /dev/null | |||
@@ -1,552 +0,0 @@ | |||
1 | # Example wpa_supplicant build time configuration | ||
2 | # | ||
3 | # This file lists the configuration options that are used when building the | ||
4 | # hostapd binary. All lines starting with # are ignored. Configuration option | ||
5 | # lines must be commented out complete, if they are not to be included, i.e., | ||
6 | # just setting VARIABLE=n is not disabling that variable. | ||
7 | # | ||
8 | # This file is included in Makefile, so variables like CFLAGS and LIBS can also | ||
9 | # be modified from here. In most 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 | |||
23 | # Example configuration for various cross-compilation platforms | ||
24 | |||
25 | #### sveasoft (e.g., for Linksys WRT54G) ###################################### | ||
26 | #CC=mipsel-uclibc-gcc | ||
27 | #CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc | ||
28 | #CFLAGS += -Os | ||
29 | #CPPFLAGS += -I../src/include -I../../src/router/openssl/include | ||
30 | #LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl | ||
31 | ############################################################################### | ||
32 | |||
33 | #### openwrt (e.g., for Linksys WRT54G) ####################################### | ||
34 | #CC=mipsel-uclibc-gcc | ||
35 | #CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc | ||
36 | #CFLAGS += -Os | ||
37 | #CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \ | ||
38 | # -I../WRT54GS/release/src/include | ||
39 | #LIBS = -lssl | ||
40 | ############################################################################### | ||
41 | |||
42 | |||
43 | # Driver interface for Host AP driver | ||
44 | CONFIG_DRIVER_HOSTAP=y | ||
45 | |||
46 | # Driver interface for Agere driver | ||
47 | #CONFIG_DRIVER_HERMES=y | ||
48 | # Change include directories to match with the local setup | ||
49 | #CFLAGS += -I../../hcf -I../../include -I../../include/hcf | ||
50 | #CFLAGS += -I../../include/wireless | ||
51 | |||
52 | # Driver interface for madwifi driver | ||
53 | # Deprecated; use CONFIG_DRIVER_WEXT=y instead. | ||
54 | #CONFIG_DRIVER_MADWIFI=y | ||
55 | # Set include directory to the madwifi source tree | ||
56 | #CFLAGS += -I../../madwifi | ||
57 | |||
58 | # Driver interface for ndiswrapper | ||
59 | # Deprecated; use CONFIG_DRIVER_WEXT=y instead. | ||
60 | #CONFIG_DRIVER_NDISWRAPPER=y | ||
61 | |||
62 | # Driver interface for Atmel driver | ||
63 | # CONFIG_DRIVER_ATMEL=y | ||
64 | |||
65 | # Driver interface for old Broadcom driver | ||
66 | # Please note that the newer Broadcom driver ("hybrid Linux driver") supports | ||
67 | # Linux wireless extensions and does not need (or even work) with the old | ||
68 | # driver wrapper. Use CONFIG_DRIVER_WEXT=y with that driver. | ||
69 | #CONFIG_DRIVER_BROADCOM=y | ||
70 | # Example path for wlioctl.h; change to match your configuration | ||
71 | #CFLAGS += -I/opt/WRT54GS/release/src/include | ||
72 | |||
73 | # Driver interface for Intel ipw2100/2200 driver | ||
74 | # Deprecated; use CONFIG_DRIVER_WEXT=y instead. | ||
75 | #CONFIG_DRIVER_IPW=y | ||
76 | |||
77 | # Driver interface for Ralink driver | ||
78 | #CONFIG_DRIVER_RALINK=y | ||
79 | |||
80 | # Driver interface for generic Linux wireless extensions | ||
81 | # Note: WEXT is deprecated in the current Linux kernel version and no new | ||
82 | # functionality is added to it. nl80211-based interface is the new | ||
83 | # replacement for WEXT and its use allows wpa_supplicant to properly control | ||
84 | # the driver to improve existing functionality like roaming and to support new | ||
85 | # functionality. | ||
86 | CONFIG_DRIVER_WEXT=y | ||
87 | |||
88 | # Driver interface for Linux drivers using the nl80211 kernel interface | ||
89 | CONFIG_DRIVER_NL80211=y | ||
90 | |||
91 | # driver_nl80211.c requires libnl. If you are compiling it yourself | ||
92 | # you may need to point hostapd to your version of libnl. | ||
93 | # | ||
94 | #CFLAGS += -I$<path to libnl include files> | ||
95 | #LIBS += -L$<path to libnl library files> | ||
96 | |||
97 | # Use libnl v2.0 (or 3.0) libraries. | ||
98 | #CONFIG_LIBNL20=y | ||
99 | |||
100 | # Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored) | ||
101 | CONFIG_LIBNL32=y | ||
102 | |||
103 | |||
104 | # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) | ||
105 | #CONFIG_DRIVER_BSD=y | ||
106 | #CFLAGS += -I/usr/local/include | ||
107 | #LIBS += -L/usr/local/lib | ||
108 | #LIBS_p += -L/usr/local/lib | ||
109 | #LIBS_c += -L/usr/local/lib | ||
110 | |||
111 | # Driver interface for Windows NDIS | ||
112 | #CONFIG_DRIVER_NDIS=y | ||
113 | #CFLAGS += -I/usr/include/w32api/ddk | ||
114 | #LIBS += -L/usr/local/lib | ||
115 | # For native build using mingw | ||
116 | #CONFIG_NATIVE_WINDOWS=y | ||
117 | # Additional directories for cross-compilation on Linux host for mingw target | ||
118 | #CFLAGS += -I/opt/mingw/mingw32/include/ddk | ||
119 | #LIBS += -L/opt/mingw/mingw32/lib | ||
120 | #CC=mingw32-gcc | ||
121 | # By default, driver_ndis uses WinPcap for low-level operations. This can be | ||
122 | # replaced with the following option which replaces WinPcap calls with NDISUIO. | ||
123 | # However, this requires that WZC is disabled (net stop wzcsvc) before starting | ||
124 | # wpa_supplicant. | ||
125 | # CONFIG_USE_NDISUIO=y | ||
126 | |||
127 | # Driver interface for development testing | ||
128 | #CONFIG_DRIVER_TEST=y | ||
129 | |||
130 | # Driver interface for wired Ethernet drivers | ||
131 | CONFIG_DRIVER_WIRED=y | ||
132 | |||
133 | # Driver interface for the Broadcom RoboSwitch family | ||
134 | #CONFIG_DRIVER_ROBOSWITCH=y | ||
135 | |||
136 | # Driver interface for no driver (e.g., WPS ER only) | ||
137 | #CONFIG_DRIVER_NONE=y | ||
138 | |||
139 | # Enable IEEE 802.1X Supplicant (automatically included if any EAP method is | ||
140 | # included) | ||
141 | CONFIG_IEEE8021X_EAPOL=y | ||
142 | |||
143 | # EAP-MD5 | ||
144 | CONFIG_EAP_MD5=y | ||
145 | |||
146 | # EAP-MSCHAPv2 | ||
147 | CONFIG_EAP_MSCHAPV2=y | ||
148 | |||
149 | # EAP-TLS | ||
150 | CONFIG_EAP_TLS=y | ||
151 | |||
152 | # EAL-PEAP | ||
153 | CONFIG_EAP_PEAP=y | ||
154 | |||
155 | # EAP-TTLS | ||
156 | CONFIG_EAP_TTLS=y | ||
157 | |||
158 | # EAP-FAST | ||
159 | # Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed | ||
160 | # for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g., | ||
161 | # with openssl-0.9.8x-tls-extensions.patch, to add the needed functions. | ||
162 | #CONFIG_EAP_FAST=y | ||
163 | |||
164 | # EAP-GTC | ||
165 | CONFIG_EAP_GTC=y | ||
166 | |||
167 | # EAP-OTP | ||
168 | CONFIG_EAP_OTP=y | ||
169 | |||
170 | # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) | ||
171 | #CONFIG_EAP_SIM=y | ||
172 | |||
173 | # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) | ||
174 | #CONFIG_EAP_PSK=y | ||
175 | |||
176 | # EAP-pwd (secure authentication using only a password) | ||
177 | #CONFIG_EAP_PWD=y | ||
178 | |||
179 | # EAP-PAX | ||
180 | #CONFIG_EAP_PAX=y | ||
181 | |||
182 | # LEAP | ||
183 | CONFIG_EAP_LEAP=y | ||
184 | |||
185 | # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) | ||
186 | #CONFIG_EAP_AKA=y | ||
187 | |||
188 | # EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used). | ||
189 | # This requires CONFIG_EAP_AKA to be enabled, too. | ||
190 | #CONFIG_EAP_AKA_PRIME=y | ||
191 | |||
192 | # Enable USIM simulator (Milenage) for EAP-AKA | ||
193 | #CONFIG_USIM_SIMULATOR=y | ||
194 | |||
195 | # EAP-SAKE | ||
196 | #CONFIG_EAP_SAKE=y | ||
197 | |||
198 | # EAP-GPSK | ||
199 | #CONFIG_EAP_GPSK=y | ||
200 | # Include support for optional SHA256 cipher suite in EAP-GPSK | ||
201 | #CONFIG_EAP_GPSK_SHA256=y | ||
202 | |||
203 | # EAP-TNC and related Trusted Network Connect support (experimental) | ||
204 | #CONFIG_EAP_TNC=y | ||
205 | |||
206 | # Wi-Fi Protected Setup (WPS) | ||
207 | CONFIG_WPS=y | ||
208 | # Enable WSC 2.0 support | ||
209 | #CONFIG_WPS2=y | ||
210 | # Enable WPS external registrar functionality | ||
211 | #CONFIG_WPS_ER=y | ||
212 | # Disable credentials for an open network by default when acting as a WPS | ||
213 | # registrar. | ||
214 | #CONFIG_WPS_REG_DISABLE_OPEN=y | ||
215 | # Enable WPS support with NFC config method | ||
216 | #CONFIG_WPS_NFC=y | ||
217 | |||
218 | # EAP-IKEv2 | ||
219 | #CONFIG_EAP_IKEV2=y | ||
220 | |||
221 | # EAP-EKE | ||
222 | #CONFIG_EAP_EKE=y | ||
223 | |||
224 | # PKCS#12 (PFX) support (used to read private key and certificate file from | ||
225 | # a file that usually has extension .p12 or .pfx) | ||
226 | CONFIG_PKCS12=y | ||
227 | |||
228 | # Smartcard support (i.e., private key on a smartcard), e.g., with openssl | ||
229 | # engine. | ||
230 | CONFIG_SMARTCARD=y | ||
231 | |||
232 | # PC/SC interface for smartcards (USIM, GSM SIM) | ||
233 | # Enable this if EAP-SIM or EAP-AKA is included | ||
234 | #CONFIG_PCSC=y | ||
235 | |||
236 | # Support HT overrides (disable HT/HT40, mask MCS rates, etc.) | ||
237 | #CONFIG_HT_OVERRIDES=y | ||
238 | |||
239 | # Support VHT overrides (disable VHT, mask MCS rates, etc.) | ||
240 | #CONFIG_VHT_OVERRIDES=y | ||
241 | |||
242 | # Development testing | ||
243 | #CONFIG_EAPOL_TEST=y | ||
244 | |||
245 | # Select control interface backend for external programs, e.g, wpa_cli: | ||
246 | # unix = UNIX domain sockets (default for Linux/*BSD) | ||
247 | # udp = UDP sockets using localhost (127.0.0.1) | ||
248 | # named_pipe = Windows Named Pipe (default for Windows) | ||
249 | # udp-remote = UDP sockets with remote access (only for tests systems/purpose) | ||
250 | # y = use default (backwards compatibility) | ||
251 | # If this option is commented out, control interface is not included in the | ||
252 | # build. | ||
253 | CONFIG_CTRL_IFACE=y | ||
254 | |||
255 | # Include support for GNU Readline and History Libraries in wpa_cli. | ||
256 | # When building a wpa_cli binary for distribution, please note that these | ||
257 | # libraries are licensed under GPL and as such, BSD license may not apply for | ||
258 | # the resulting binary. | ||
259 | #CONFIG_READLINE=y | ||
260 | |||
261 | # Include internal line edit mode in wpa_cli. This can be used as a replacement | ||
262 | # for GNU Readline to provide limited command line editing and history support. | ||
263 | #CONFIG_WPA_CLI_EDIT=y | ||
264 | |||
265 | # Remove debugging code that is printing out debug message to stdout. | ||
266 | # This can be used to reduce the size of the wpa_supplicant considerably | ||
267 | # if debugging code is not needed. The size reduction can be around 35% | ||
268 | # (e.g., 90 kB). | ||
269 | #CONFIG_NO_STDOUT_DEBUG=y | ||
270 | |||
271 | # Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save | ||
272 | # 35-50 kB in code size. | ||
273 | #CONFIG_NO_WPA=y | ||
274 | |||
275 | # Remove IEEE 802.11i/WPA-Personal ASCII passphrase support | ||
276 | # This option can be used to reduce code size by removing support for | ||
277 | # converting ASCII passphrases into PSK. If this functionality is removed, the | ||
278 | # PSK can only be configured as the 64-octet hexstring (e.g., from | ||
279 | # wpa_passphrase). This saves about 0.5 kB in code size. | ||
280 | #CONFIG_NO_WPA_PASSPHRASE=y | ||
281 | |||
282 | # Disable scan result processing (ap_mode=1) to save code size by about 1 kB. | ||
283 | # This can be used if ap_scan=1 mode is never enabled. | ||
284 | #CONFIG_NO_SCAN_PROCESSING=y | ||
285 | |||
286 | # Select configuration backend: | ||
287 | # file = text file (e.g., wpa_supplicant.conf; note: the configuration file | ||
288 | # path is given on command line, not here; this option is just used to | ||
289 | # select the backend that allows configuration files to be used) | ||
290 | # winreg = Windows registry (see win_example.reg for an example) | ||
291 | CONFIG_BACKEND=file | ||
292 | |||
293 | # Remove configuration write functionality (i.e., to allow the configuration | ||
294 | # file to be updated based on runtime configuration changes). The runtime | ||
295 | # configuration can still be changed, the changes are just not going to be | ||
296 | # persistent over restarts. This option can be used to reduce code size by | ||
297 | # about 3.5 kB. | ||
298 | #CONFIG_NO_CONFIG_WRITE=y | ||
299 | |||
300 | # Remove support for configuration blobs to reduce code size by about 1.5 kB. | ||
301 | #CONFIG_NO_CONFIG_BLOBS=y | ||
302 | |||
303 | # Select program entry point implementation: | ||
304 | # main = UNIX/POSIX like main() function (default) | ||
305 | # main_winsvc = Windows service (read parameters from registry) | ||
306 | # main_none = Very basic example (development use only) | ||
307 | #CONFIG_MAIN=main | ||
308 | |||
309 | # Select wrapper for operatins system and C library specific functions | ||
310 | # unix = UNIX/POSIX like systems (default) | ||
311 | # win32 = Windows systems | ||
312 | # none = Empty template | ||
313 | #CONFIG_OS=unix | ||
314 | |||
315 | # Select event loop implementation | ||
316 | # eloop = select() loop (default) | ||
317 | # eloop_win = Windows events and WaitForMultipleObject() loop | ||
318 | #CONFIG_ELOOP=eloop | ||
319 | |||
320 | # Should we use poll instead of select? Select is used by default. | ||
321 | #CONFIG_ELOOP_POLL=y | ||
322 | |||
323 | # Select layer 2 packet implementation | ||
324 | # linux = Linux packet socket (default) | ||
325 | # pcap = libpcap/libdnet/WinPcap | ||
326 | # freebsd = FreeBSD libpcap | ||
327 | # winpcap = WinPcap with receive thread | ||
328 | # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y) | ||
329 | # none = Empty template | ||
330 | #CONFIG_L2_PACKET=linux | ||
331 | |||
332 | # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) | ||
333 | CONFIG_PEERKEY=y | ||
334 | |||
335 | # IEEE 802.11w (management frame protection), also known as PMF | ||
336 | # Driver support is also needed for IEEE 802.11w. | ||
337 | #CONFIG_IEEE80211W=y | ||
338 | |||
339 | # Select TLS implementation | ||
340 | # openssl = OpenSSL (default) | ||
341 | # gnutls = GnuTLS | ||
342 | # internal = Internal TLSv1 implementation (experimental) | ||
343 | # none = Empty template | ||
344 | #CONFIG_TLS=openssl | ||
345 | |||
346 | # TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1) | ||
347 | # can be enabled to get a stronger construction of messages when block ciphers | ||
348 | # are used. It should be noted that some existing TLS v1.0 -based | ||
349 | # implementation may not be compatible with TLS v1.1 message (ClientHello is | ||
350 | # sent prior to negotiating which version will be used) | ||
351 | #CONFIG_TLSV11=y | ||
352 | |||
353 | # TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2) | ||
354 | # can be enabled to enable use of stronger crypto algorithms. It should be | ||
355 | # noted that some existing TLS v1.0 -based implementation may not be compatible | ||
356 | # with TLS v1.2 message (ClientHello is sent prior to negotiating which version | ||
357 | # will be used) | ||
358 | #CONFIG_TLSV12=y | ||
359 | |||
360 | # If CONFIG_TLS=internal is used, additional library and include paths are | ||
361 | # needed for LibTomMath. Alternatively, an integrated, minimal version of | ||
362 | # LibTomMath can be used. See beginning of libtommath.c for details on benefits | ||
363 | # and drawbacks of this option. | ||
364 | #CONFIG_INTERNAL_LIBTOMMATH=y | ||
365 | #ifndef CONFIG_INTERNAL_LIBTOMMATH | ||
366 | #LTM_PATH=/usr/src/libtommath-0.39 | ||
367 | #CFLAGS += -I$(LTM_PATH) | ||
368 | #LIBS += -L$(LTM_PATH) | ||
369 | #LIBS_p += -L$(LTM_PATH) | ||
370 | #endif | ||
371 | # At the cost of about 4 kB of additional binary size, the internal LibTomMath | ||
372 | # can be configured to include faster routines for exptmod, sqr, and div to | ||
373 | # speed up DH and RSA calculation considerably | ||
374 | #CONFIG_INTERNAL_LIBTOMMATH_FAST=y | ||
375 | |||
376 | # Include NDIS event processing through WMI into wpa_supplicant/wpasvc. | ||
377 | # This is only for Windows builds and requires WMI-related header files and | ||
378 | # WbemUuid.Lib from Platform SDK even when building with MinGW. | ||
379 | #CONFIG_NDIS_EVENTS_INTEGRATED=y | ||
380 | #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib" | ||
381 | |||
382 | # Add support for old DBus control interface | ||
383 | # (fi.epitest.hostap.WPASupplicant) | ||
384 | #CONFIG_CTRL_IFACE_DBUS=y | ||
385 | |||
386 | # Add support for new DBus control interface | ||
387 | # (fi.w1.hostap.wpa_supplicant1) | ||
388 | CONFIG_CTRL_IFACE_DBUS_NEW=y | ||
389 | |||
390 | # Add introspection support for new DBus control interface | ||
391 | #CONFIG_CTRL_IFACE_DBUS_INTRO=y | ||
392 | |||
393 | # Add support for loading EAP methods dynamically as shared libraries. | ||
394 | # When this option is enabled, each EAP method can be either included | ||
395 | # statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn). | ||
396 | # Dynamic EAP methods are build as shared objects (eap_*.so) and they need to | ||
397 | # be loaded in the beginning of the wpa_supplicant configuration file | ||
398 | # (see load_dynamic_eap parameter in the example file) before being used in | ||
399 | # the network blocks. | ||
400 | # | ||
401 | # Note that some shared parts of EAP methods are included in the main program | ||
402 | # and in order to be able to use dynamic EAP methods using these parts, the | ||
403 | # main program must have been build with the EAP method enabled (=y or =dyn). | ||
404 | # This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries | ||
405 | # unless at least one of them was included in the main build to force inclusion | ||
406 | # of the shared code. Similarly, at least one of EAP-SIM/AKA must be included | ||
407 | # in the main build to be able to load these methods dynamically. | ||
408 | # | ||
409 | # Please also note that using dynamic libraries will increase the total binary | ||
410 | # size. Thus, it may not be the best option for targets that have limited | ||
411 | # amount of memory/flash. | ||
412 | #CONFIG_DYNAMIC_EAP_METHODS=y | ||
413 | |||
414 | # IEEE Std 802.11r-2008 (Fast BSS Transition) | ||
415 | #CONFIG_IEEE80211R=y | ||
416 | |||
417 | # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt) | ||
418 | #CONFIG_DEBUG_FILE=y | ||
419 | |||
420 | # Send debug messages to syslog instead of stdout | ||
421 | #CONFIG_DEBUG_SYSLOG=y | ||
422 | # Set syslog facility for debug messages | ||
423 | #CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON | ||
424 | |||
425 | # Add support for sending all debug messages (regardless of debug verbosity) | ||
426 | # to the Linux kernel tracing facility. This helps debug the entire stack by | ||
427 | # making it easy to record everything happening from the driver up into the | ||
428 | # same file, e.g., using trace-cmd. | ||
429 | #CONFIG_DEBUG_LINUX_TRACING=y | ||
430 | |||
431 | # Enable privilege separation (see README 'Privilege separation' for details) | ||
432 | #CONFIG_PRIVSEP=y | ||
433 | |||
434 | # Enable mitigation against certain attacks against TKIP by delaying Michael | ||
435 | # MIC error reports by a random amount of time between 0 and 60 seconds | ||
436 | #CONFIG_DELAYED_MIC_ERROR_REPORT=y | ||
437 | |||
438 | # Enable tracing code for developer debugging | ||
439 | # This tracks use of memory allocations and other registrations and reports | ||
440 | # incorrect use with a backtrace of call (or allocation) location. | ||
441 | #CONFIG_WPA_TRACE=y | ||
442 | # For BSD, uncomment these. | ||
443 | #LIBS += -lexecinfo | ||
444 | #LIBS_p += -lexecinfo | ||
445 | #LIBS_c += -lexecinfo | ||
446 | |||
447 | # Use libbfd to get more details for developer debugging | ||
448 | # This enables use of libbfd to get more detailed symbols for the backtraces | ||
449 | # generated by CONFIG_WPA_TRACE=y. | ||
450 | #CONFIG_WPA_TRACE_BFD=y | ||
451 | # For BSD, uncomment these. | ||
452 | #LIBS += -lbfd -liberty -lz | ||
453 | #LIBS_p += -lbfd -liberty -lz | ||
454 | #LIBS_c += -lbfd -liberty -lz | ||
455 | |||
456 | CONFIG_TLS = %ssl% | ||
457 | CONFIG_CTRL_IFACE_DBUS=y | ||
458 | CONFIG_CTRL_IFACE_DBUS_NEW=y | ||
459 | |||
460 | # wpa_supplicant depends on strong random number generation being available | ||
461 | # from the operating system. os_get_random() function is used to fetch random | ||
462 | # data when needed, e.g., for key generation. On Linux and BSD systems, this | ||
463 | # works by reading /dev/urandom. It should be noted that the OS entropy pool | ||
464 | # needs to be properly initialized before wpa_supplicant is started. This is | ||
465 | # important especially on embedded devices that do not have a hardware random | ||
466 | # number generator and may by default start up with minimal entropy available | ||
467 | # for random number generation. | ||
468 | # | ||
469 | # As a safety net, wpa_supplicant is by default trying to internally collect | ||
470 | # additional entropy for generating random data to mix in with the data fetched | ||
471 | # from the OS. This by itself is not considered to be very strong, but it may | ||
472 | # help in cases where the system pool is not initialized properly. However, it | ||
473 | # is very strongly recommended that the system pool is initialized with enough | ||
474 | # entropy either by using hardware assisted random number generator or by | ||
475 | # storing state over device reboots. | ||
476 | # | ||
477 | # wpa_supplicant can be configured to maintain its own entropy store over | ||
478 | # restarts to enhance random number generation. This is not perfect, but it is | ||
479 | # much more secure than using the same sequence of random numbers after every | ||
480 | # reboot. This can be enabled with -e<entropy file> command line option. The | ||
481 | # specified file needs to be readable and writable by wpa_supplicant. | ||
482 | # | ||
483 | # If the os_get_random() is known to provide strong random data (e.g., on | ||
484 | # Linux/BSD, the board in question is known to have reliable source of random | ||
485 | # data from /dev/urandom), the internal wpa_supplicant random pool can be | ||
486 | # disabled. This will save some in binary size and CPU use. However, this | ||
487 | # should only be considered for builds that are known to be used on devices | ||
488 | # that meet the requirements described above. | ||
489 | #CONFIG_NO_RANDOM_POOL=y | ||
490 | |||
491 | # IEEE 802.11n (High Throughput) support (mainly for AP mode) | ||
492 | #CONFIG_IEEE80211N=y | ||
493 | |||
494 | # IEEE 802.11ac (Very High Throughput) support (mainly for AP mode) | ||
495 | # (depends on CONFIG_IEEE80211N) | ||
496 | #CONFIG_IEEE80211AC=y | ||
497 | |||
498 | # Wireless Network Management (IEEE Std 802.11v-2011) | ||
499 | # Note: This is experimental and not complete implementation. | ||
500 | #CONFIG_WNM=y | ||
501 | |||
502 | # Interworking (IEEE 802.11u) | ||
503 | # This can be used to enable functionality to improve interworking with | ||
504 | # external networks (GAS/ANQP to learn more about the networks and network | ||
505 | # selection based on available credentials). | ||
506 | #CONFIG_INTERWORKING=y | ||
507 | |||
508 | # Hotspot 2.0 | ||
509 | #CONFIG_HS20=y | ||
510 | |||
511 | # Disable roaming in wpa_supplicant | ||
512 | #CONFIG_NO_ROAMING=y | ||
513 | |||
514 | # AP mode operations with wpa_supplicant | ||
515 | # This can be used for controlling AP mode operations with wpa_supplicant. It | ||
516 | # should be noted that this is mainly aimed at simple cases like | ||
517 | # WPA2-Personal while more complex configurations like WPA2-Enterprise with an | ||
518 | # external RADIUS server can be supported with hostapd. | ||
519 | CONFIG_AP=y | ||
520 | |||
521 | CONFIG_BGSCAN_SIMPLE=y | ||
522 | |||
523 | # P2P (Wi-Fi Direct) | ||
524 | # This can be used to enable P2P support in wpa_supplicant. See README-P2P for | ||
525 | # more information on P2P operations. | ||
526 | #CONFIG_P2P=y | ||
527 | |||
528 | # Enable TDLS support | ||
529 | #CONFIG_TDLS=y | ||
530 | |||
531 | # Wi-Fi Direct | ||
532 | # This can be used to enable Wi-Fi Direct extensions for P2P using an external | ||
533 | # program to control the additional information exchanges in the messages. | ||
534 | #CONFIG_WIFI_DISPLAY=y | ||
535 | |||
536 | # Autoscan | ||
537 | # This can be used to enable automatic scan support in wpa_supplicant. | ||
538 | # See wpa_supplicant.conf for more information on autoscan usage. | ||
539 | # | ||
540 | # Enabling directly a module will enable autoscan support. | ||
541 | # For exponential module: | ||
542 | CONFIG_AUTOSCAN_EXPONENTIAL=y | ||
543 | # For periodic module: | ||
544 | #CONFIG_AUTOSCAN_PERIODIC=y | ||
545 | |||
546 | # Password (and passphrase, etc.) backend for external storage | ||
547 | # These optional mechanisms can be used to add support for storing passwords | ||
548 | # and other secrets in external (to wpa_supplicant) location. This allows, for | ||
549 | # example, operating system specific key storage to be used | ||
550 | # | ||
551 | # External password backend for testing purposes (developer use) | ||
552 | #CONFIG_EXT_PASSWORD_TEST=y | ||
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb index 43865ed960..51ec500485 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb | |||
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \ | |||
11 | DEPENDS = "dbus libnl" | 11 | DEPENDS = "dbus libnl" |
12 | 12 | ||
13 | SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ | 13 | SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ |
14 | file://defconfig \ | ||
15 | file://wpa-supplicant.sh \ | 14 | file://wpa-supplicant.sh \ |
16 | file://wpa_supplicant.conf \ | 15 | file://wpa_supplicant.conf \ |
17 | file://wpa_supplicant.conf-sane \ | 16 | file://wpa_supplicant.conf-sane \ |
@@ -25,7 +24,7 @@ S = "${WORKDIR}/wpa_supplicant-${PV}" | |||
25 | 24 | ||
26 | inherit pkgconfig systemd | 25 | inherit pkgconfig systemd |
27 | 26 | ||
28 | PACKAGECONFIG ??= "openssl" | 27 | PACKAGECONFIG ?= "openssl" |
29 | PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" | 28 | PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" |
30 | PACKAGECONFIG[openssl] = ",,openssl" | 29 | PACKAGECONFIG[openssl] = ",,openssl" |
31 | 30 | ||
@@ -33,15 +32,12 @@ CVE_PRODUCT = "wpa_supplicant" | |||
33 | 32 | ||
34 | do_configure () { | 33 | do_configure () { |
35 | ${MAKE} -C wpa_supplicant clean | 34 | ${MAKE} -C wpa_supplicant clean |
36 | install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config | 35 | sed -e '/CONFIG_TLS=/d' <wpa_supplicant/defconfig >wpa_supplicant/.config |
37 | 36 | ||
38 | if echo "${PACKAGECONFIG}" | grep -qw "openssl"; then | 37 | if ${@ bb.utils.contains('PACKAGECONFIG', 'openssl', 'true', 'false', d) }; then |
39 | ssl=openssl | 38 | echo 'CONFIG_TLS=openssl' >>wpa_supplicant/.config |
40 | elif echo "${PACKAGECONFIG}" | grep -qw "gnutls"; then | 39 | elif ${@ bb.utils.contains('PACKAGECONFIG', 'gnutls', 'true', 'false', d) }; then |
41 | ssl=gnutls | 40 | echo 'CONFIG_TLS=gnutls' >>wpa_supplicant/.config |
42 | fi | ||
43 | if [ -n "$ssl" ]; then | ||
44 | sed -i "s/%ssl%/$ssl/" wpa_supplicant/.config | ||
45 | fi | 41 | fi |
46 | 42 | ||
47 | # For rebuild | 43 | # For rebuild |