1 # Example wpa_supplicant build time configuration
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.
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.
12 CFLAGS = $(TARGET_CFLAGS)
13 LIBS = $(TARGET_LDFLAGS)
16 # Driver interface for Host AP driver
17 CONFIG_DRIVER_HOSTAP=y
19 # Driver interface for Agere driver
20 #CONFIG_DRIVER_HERMES=y
21 # Change include directories to match with the local setup
22 #CFLAGS += -I../../hcf -I../../include -I../../include/hcf
23 #CFLAGS += -I../../include/wireless
25 # Driver interface for madwifi driver
26 #CONFIG_DRIVER_MADWIFI=y
27 # Change include directories to match with the local setup
28 #CFLAGS += -I../madwifi/wpa
30 # Driver interface for Prism54 driver
31 # (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
32 # for developers only)
33 #CONFIG_DRIVER_PRISM54=y
35 # Driver interface for ndiswrapper
36 #CONFIG_DRIVER_NDISWRAPPER=y
38 # Driver interface for Atmel driver
41 # Driver interface for Broadcom driver
42 #CONFIG_DRIVER_BROADCOM=y
43 # Example path for wlioctl.h; change to match your configuration
44 #CFLAGS += -I/opt/WRT54GS/release/src/include
46 # Driver interface for Intel ipw2100/2200 driver
49 # Driver interface for generic Linux wireless extensions
52 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
54 #CFLAGS += -I/usr/local/include
55 #LIBS += -L/usr/local/lib
57 # Driver interface for Windows NDIS
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
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
71 # CONFIG_USE_NDISUIO=y
73 # Driver interface for development testing
76 # Driver interface for wired Ethernet drivers
77 #CONFIG_DRIVER_WIRED=y
79 # Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
81 CONFIG_IEEE8021X_EAPOL=y
104 # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
107 # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
116 # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
124 # Include support for optional SHA256 cipher suite in EAP-GPSK
125 #CONFIG_EAP_GPSK_SHA256=y
127 # PKCS#12 (PFX) support (used to read private key and certificate file from
128 # a file that usually has extension .p12 or .pfx)
131 # Smartcard support (i.e., private key on a smartcard), e.g., with openssl
135 # PC/SC interface for smartcards (USIM, GSM SIM)
136 # Enable this if EAP-SIM or EAP-AKA is included
139 # Development testing
142 # Replace native Linux implementation of packet sockets with libdnet/libpcap.
143 # This will be automatically set for non-Linux OS.
146 # Select control interface backend for external programs, e.g, wpa_cli:
147 # unix = UNIX domain sockets (default for Linux/*BSD)
148 # udp = UDP sockets using localhost (127.0.0.1)
149 # named_pipe = Windows Named Pipe (default for Windows)
150 # y = use default (backwards compatibility)
151 # If this option is commented out, control interface is not included in the
155 # Include support for GNU Readline and History Libraries in wpa_cli.
156 # When building a wpa_cli binary for distribution, please note that these
157 # libraries are licensed under GPL and as such, BSD license may not apply for
158 # the resulting binary.
161 # Remove debugging code that is printing out debug message to stdout.
162 # This can be used to reduce the size of the wpa_supplicant considerably
163 # if debugging code is not needed. The size reduction can be around 35%
165 CONFIG_NO_STDOUT_DEBUG=y
167 # Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
168 # 35-50 kB in code size.
171 # Remove WPA2 support. This allows WPA to be used, but removes WPA2 code to
172 # save about 1 kB in code size when building only WPA-Personal (no EAP support)
173 # or 6 kB if building for WPA-Enterprise.
176 # Remove AES extra functions. This can be used to reduce code size by about
177 # 1.5 kB by removing extra AES modes that are not needed for commonly used
178 # client configurations (they are needed for some EAP types).
179 #CONFIG_NO_AES_EXTRAS=y
181 # Select configuration backend:
182 # file = text file (e.g., wpa_supplicant.conf)
183 # winreg = Windows registry (see win_example.reg for an example)
186 # Select program entry point implementation:
187 # main = UNIX/POSIX like main() function (default)
188 # main_winsvc = Windows service (read parameters from registry)
189 # main_none = Very basic example (development use only)
192 # Select wrapper for operatins system and C library specific functions
193 # unix = UNIX/POSIX like systems (default)
194 # win32 = Windows systems
195 # none = Empty template
198 # Select event loop implementation
199 # eloop = select() loop (default)
200 # eloop_win = Windows events and WaitForMultipleObject() loop
201 # eloop_none = Empty template
204 # Select layer 2 packet implementation
205 # linux = Linux packet socket (default)
206 # pcap = libpcap/libdnet/WinPcap
207 # freebsd = FreeBSD libpcap
208 # winpcap = WinPcap with receive thread
209 # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
210 # none = Empty template
211 #CONFIG_L2_PACKET=linux
213 # IEEE 802.11i/IEEE 802.11e STAKey negotiation for direct link connection
216 # Proposed replacement for STAKey negotiation: PeerKey handshake for
217 # Station to Station Link
220 # Select TLS implementation
221 # openssl = OpenSSL (default)
222 # gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
223 # internal = Internal TLSv1 implementation (experimental)
224 # none = Empty template
227 # Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
228 # You need CONFIG_TLS=gnutls for this to have any effect. Please note that
229 # even though the core GnuTLS library is released under LGPL, this extra
230 # library uses GPL and as such, the terms of GPL apply to the combination
231 # of wpa_supplicant and GnuTLS if this option is enabled. BSD license may not
232 # apply for distribution of the resulting binary.
233 CONFIG_GNUTLS_EXTRA=y
235 # If CONFIG_TLS=internal is used, additional library and include paths are
236 # needed for LibTomCrypt and TomsFastMath.
237 #LTC_PATH=/usr/src/libtomcrypt-1.11
238 #TFM_PATH=/usr/src/tomsfastmath-0.09
239 #CFLAGS += -I$(LTC_PATH)/src/headers
240 #LIBS += -L$(LTC_PATH) -L$(TFM_PATH)
241 #LIBS_p += -L$(LTC_PATH) -L$(TFM_PATH)
243 # Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
244 # This is only for Windows builds and requires WMI-related header files and
245 # WbemUuid.Lib from Platform SDK even when building with MinGW.
246 #CONFIG_NDIS_EVENTS_INTEGRATED=y
247 #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
249 # Add support for DBus control interface
250 #CONFIG_CTRL_IFACE_DBUS=y
252 # Add support for loading EAP methods dynamically as shared libraries.
253 # When this option is enabled, each EAP method can be either included
254 # statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
255 # Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
256 # be loaded in the beginning of the wpa_supplicant configuration file
257 # (see load_dynamic_eap parameter in the example file) before being used in
258 # the network blocks.
260 # Note that some shared parts of EAP methods are included in the main program
261 # and in order to be able to use dynamic EAP methods using these parts, the
262 # main program must have been build with the EAP method enabled (=y or =dyn).
263 # This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
264 # unless at least one of them was included in the main build to force inclusion
265 # of the shared code. Similarly, at least one of EAP-SIM/AKA must be included
266 # in the main build to be able to load these methods dynamically.
268 # Please also note that using dynamic libraries will increase the total binary
269 # size. Thus, it may not be the best option for targets that have limited
270 # amount of memory/flash.
271 #CONFIG_DYNAMIC_EAP_METHODS=y
273 # Include client MLME (management frame processing).
274 # This can be used to move MLME processing of Devicescape IEEE 802.11 stack
276 #CONFIG_CLIENT_MLME=y
277 # Currently, driver_devicescape.c build requires some additional parameters
278 # to be able to include some of the kernel header files. Following lines can
279 # be used to set these (WIRELESS_DEV must point to the root directory of the
280 # wireless-dev.git tree).
281 #WIRELESS_DEV=/usr/src/wireless-dev
282 #CFLAGS += -I$(WIRELESS_DEV)/include
283 #CFLAGS += -I$(WIRELESS_DEV)/net/d80211
284 #CFLAGS += -D_LINUX_TYPES_H