Maemo debianization.
[wpasupplicant] / debian / config / linux
1 # Debian's wpa_supplicant build time configuration
2
3 # Driver interface for Host AP driver
4 # XXX: Linux mainline hostap driver supports wext since Linux 2.6.14 (or earlier)
5 #CONFIG_DRIVER_HOSTAP=y
6
7 # Driver interface for Agere driver
8 # XXX: Non-GPL header required
9 #CONFIG_DRIVER_HERMES=y
10 # Change include directories to match with the local setup
11 #CFLAGS += -I../../hcf -I../../include -I../../include/hcf
12 #CFLAGS += -I../../include/wireless
13
14 # Driver interface for madwifi driver
15 # XXX: madwifi driver supports wext in all Debian releases so far
16 #CONFIG_DRIVER_MADWIFI=y
17 # Change include directories to match with the local setup
18 #CFLAGS += -I../debian/madwifi-headers
19
20 # Driver interface for Prism54 driver
21 # (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
22 # for developers only)
23 #CONFIG_DRIVER_PRISM54=y
24
25 # Driver interface for ndiswrapper
26 # XXX: Deprecated since Linux 2.6.14
27 #CONFIG_DRIVER_NDISWRAPPER=y
28
29 # Driver interface for Atmel driver
30 #CONFIG_DRIVER_ATMEL=y
31
32 # Driver interface for Broadcom driver
33 # XXX: Non-GPL header required
34 #CONFIG_DRIVER_BROADCOM=y
35 # Example path for wlioctl.h; change to match your configuration
36 #CFLAGS += -I/opt/WRT54GS/release/src/include
37
38 # Driver interface for Intel ipw2100/2200 driver
39 # XXX: Deprecated since Linux 2.6.14
40 #CONFIG_DRIVER_IPW=y
41
42 # Driver interface for Ralink driver
43 # XXX: rt2x00 supports DRIVER_WEXT, the legacy drivers hardly work at all
44 #CONFIG_DRIVER_RALINK=y
45
46 # Driver interface for generic Linux wireless extensions
47 CONFIG_DRIVER_WEXT=y
48
49 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
50 # XXX: we are not FreeBSD
51 #CONFIG_DRIVER_BSD=y
52 #CFLAGS += -I/usr/local/include
53 #LIBS += -L/usr/local/lib
54
55 # Driver interface for Windows NDIS
56 # XXX: we don't cater for the win32 arch
57 #CONFIG_DRIVER_NDIS=y
58 #CFLAGS += -I/usr/include/w32api/ddk
59 #LIBS += -L/usr/local/lib
60 # For native build using mingw
61 #CONFIG_NATIVE_WINDOWS=y
62 # Additional directories for cross-compilation on Linux host for mingw target
63 #CFLAGS += -I/opt/mingw/mingw32/include/ddk
64 #LIBS += -L/opt/mingw/mingw32/lib
65 #CC=mingw32-gcc
66 # By default, driver_ndis uses WinPcap for low-level operations. This can be
67 # replaced with the following option which replaces WinPcap calls with NDISUIO.
68 # However, this requires that WZC is disabled (net stop wzcsvc) before starting
69 # wpa_supplicant.
70 # CONFIG_USE_NDISUIO=y
71
72 # Driver interface for development testing
73 #CONFIG_DRIVER_TEST=y
74
75 # Driver interface for wired Ethernet drivers
76 CONFIG_DRIVER_WIRED=y
77
78 # Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
79 # included)
80 CONFIG_IEEE8021X_EAPOL=y
81
82 # EAP-MD5
83 CONFIG_EAP_MD5=y
84
85 # EAP-MSCHAPv2
86 CONFIG_EAP_MSCHAPV2=y
87
88 # EAP-TLS
89 CONFIG_EAP_TLS=y
90
91 # EAL-PEAP
92 CONFIG_EAP_PEAP=y
93
94 # EAP-TTLS
95 CONFIG_EAP_TTLS=y
96
97 # EAP-FAST
98 # Note: Default OpenSSL package does not include support for all the
99 # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
100 # the OpenSSL library must be patched (openssl-0.9.8d-tls-extensions.patch)
101 # to add the needed functions.
102 #CONFIG_EAP_FAST=y
103
104 # EAP-GTC
105 CONFIG_EAP_GTC=y
106
107 # EAP-OTP
108 CONFIG_EAP_OTP=y
109
110 # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
111 #CONFIG_EAP_SIM=y
112
113 # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
114 CONFIG_EAP_PSK=y
115
116 # EAP-PAX
117 CONFIG_EAP_PAX=y
118
119 # LEAP
120 CONFIG_EAP_LEAP=y
121
122 # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
123 CONFIG_EAP_AKA=y
124
125 # EAP-SAKE
126 #CONFIG_EAP_SAKE=y
127
128 # EAP-GPSK
129 #CONFIG_EAP_GPSK=y
130 # Include support for optional SHA256 cipher suite in EAP-GPSK
131 #CONFIG_EAP_GPSK_SHA256=y
132
133 # EAP-TNC and related Trusted Network Connect support (experimental)
134 #CONFIG_EAP_TNC=y
135
136 # EAP-IKEv2
137 #CONFIG_EAP_IKEV2=y
138
139 # PKCS#12 (PFX) support (used to read private key and certificate file from
140 # a file that usually has extension .p12 or .pfx)
141 CONFIG_PKCS12=y
142
143 # Smartcard support (i.e., private key on a smartcard), e.g., with openssl
144 # engine.
145 #CONFIG_SMARTCARD=y
146
147 # PC/SC interface for smartcards (USIM, GSM SIM)
148 # Enable this if EAP-SIM or EAP-AKA is included
149 #CONFIG_PCSC=y
150
151 # Development testing
152 #CONFIG_EAPOL_TEST=y
153
154 # Select control interface backend for external programs, e.g, wpa_cli:
155 # unix = UNIX domain sockets (default for Linux/*BSD)
156 # udp = UDP sockets using localhost (127.0.0.1)
157 # named_pipe = Windows Named Pipe (default for Windows)
158 # y = use default (backwards compatibility)
159 # If this option is commented out, control interface is not included in the
160 # build.
161 CONFIG_CTRL_IFACE=y
162
163 # Include support for GNU Readline and History Libraries in wpa_cli.
164 # When building a wpa_cli binary for distribution, please note that these
165 # libraries are licensed under GPL and as such, BSD license may not apply for
166 # the resulting binary.
167 #CONFIG_READLINE=y
168
169 # Remove debugging code that is printing out debug message to stdout.
170 # This can be used to reduce the size of the wpa_supplicant considerably
171 # if debugging code is not needed. The size reduction can be around 35%
172 # (e.g., 90 kB).
173 #CONFIG_NO_STDOUT_DEBUG=y
174
175 # Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
176 # 35-50 kB in code size.
177 #CONFIG_NO_WPA=y
178
179 # Remove WPA2 support. This allows WPA to be used, but removes WPA2 code to
180 # save about 1 kB in code size when building only WPA-Personal (no EAP support)
181 # or 6 kB if building for WPA-Enterprise.
182 #CONFIG_NO_WPA2=y
183
184 # Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
185 # This option can be used to reduce code size by removing support for
186 # converting ASCII passphrases into PSK. If this functionality is removed, the
187 # PSK can only be configured as the 64-octet hexstring (e.g., from
188 # wpa_passphrase). This saves about 0.5 kB in code size.
189 #CONFIG_NO_WPA_PASSPHRASE=y
190
191 # Remove AES extra functions. This can be used to reduce code size by about
192 # 1.5 kB by removing extra AES modes that are not needed for commonly used
193 # client configurations (they are needed for some EAP types).
194 #CONFIG_NO_AES_EXTRAS=y
195
196 # Disable scan result processing (ap_mode=1) to save code size by about 1 kB.
197 # This can be used if ap_scan=1 mode is never enabled.
198 #CONFIG_NO_SCAN_PROCESSING=y
199
200 # Select configuration backend:
201 # file = text file (e.g., wpa_supplicant.conf; note: the configuration file
202 #       path is given on command line, not here; this option is just used to
203 #       select the backend that allows configuration files to be used)
204 # winreg = Windows registry (see win_example.reg for an example)
205 CONFIG_BACKEND=file
206
207 # Remove configuration write functionality (i.e., to allow the configuration
208 # file to be updated based on runtime configuration changes). The runtime
209 # configuration can still be changed, the changes are just not going to be
210 # persistent over restarts. This option can be used to reduce code size by
211 # about 3.5 kB.
212 #CONFIG_NO_CONFIG_WRITE=y
213
214 # Remove support for configuration blobs to reduce code size by about 1.5 kB.
215 #CONFIG_NO_CONFIG_BLOBS=y
216
217 # Select program entry point implementation:
218 # main = UNIX/POSIX like main() function (default)
219 # main_winsvc = Windows service (read parameters from registry)
220 # main_none = Very basic example (development use only)
221 CONFIG_MAIN=main
222
223 # Select wrapper for operatins system and C library specific functions
224 # unix = UNIX/POSIX like systems (default)
225 # win32 = Windows systems
226 # none = Empty template
227 CONFIG_OS=unix
228
229 # Select event loop implementation
230 # eloop = select() loop (default)
231 # eloop_win = Windows events and WaitForMultipleObject() loop
232 # eloop_none = Empty template
233 CONFIG_ELOOP=eloop
234
235 # Select layer 2 packet implementation
236 # linux = Linux packet socket (default)
237 # pcap = libpcap/libdnet/WinPcap
238 # freebsd = FreeBSD libpcap
239 # winpcap = WinPcap with receive thread
240 # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
241 # none = Empty template
242 CONFIG_L2_PACKET=linux
243
244 # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
245 CONFIG_PEERKEY=y
246
247 # IEEE 802.11w (management frame protection)
248 # This version is an experimental implementation based on IEEE 802.11w/D1.0
249 # draft and is subject to change since the standard has not yet been finalized.
250 # Driver support is also needed for IEEE 802.11w.
251 CONFIG_IEEE80211W=y
252
253 # Select TLS implementation
254 # openssl = OpenSSL (default)
255 # gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
256 # internal = Internal TLSv1 implementation (experimental)
257 # none = Empty template
258 CONFIG_TLS=openssl
259
260 # Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
261 # You need CONFIG_TLS=gnutls for this to have any effect. Please note that
262 # even though the core GnuTLS library is released under LGPL, this extra
263 # library uses GPL and as such, the terms of GPL apply to the combination
264 # of wpa_supplicant and GnuTLS if this option is enabled. BSD license may not
265 # apply for distribution of the resulting binary.
266 #CONFIG_GNUTLS_EXTRA=y
267
268 # If CONFIG_TLS=internal is used, additional library and include paths are
269 # needed for LibTomMath. Alternatively, an integrated, minimal version of
270 # LibTomMath can be used. See beginning of libtommath.c for details on benefits
271 # and drawbacks of this option.
272 #CONFIG_INTERNAL_LIBTOMMATH=y
273 #ifndef CONFIG_INTERNAL_LIBTOMMATH
274 #LTM_PATH=/usr/src/libtommath-0.39
275 #CFLAGS += -I$(LTM_PATH)
276 #LIBS += -L$(LTM_PATH)
277 #LIBS_p += -L$(LTM_PATH)
278 #endif
279 # At the cost of about 4 kB of additional binary size, the internal LibTomMath
280 # can be configured to include faster routines for exptmod, sqr, and div to
281 # speed up DH and RSA calculation considerably
282 #CONFIG_INTERNAL_LIBTOMMATH_FAST=y
283
284 # Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
285 # This is only for Windows builds and requires WMI-related header files and
286 # WbemUuid.Lib from Platform SDK even when building with MinGW.
287 #CONFIG_NDIS_EVENTS_INTEGRATED=y
288 #PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
289
290 # Add support for DBus control interface
291 CONFIG_CTRL_IFACE_DBUS=y
292
293 # Add support for loading EAP methods dynamically as shared libraries.
294 # When this option is enabled, each EAP method can be either included
295 # statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
296 # Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
297 # be loaded in the beginning of the wpa_supplicant configuration file
298 # (see load_dynamic_eap parameter in the example file) before being used in
299 # the network blocks.
300 #
301 # Note that some shared parts of EAP methods are included in the main program
302 # and in order to be able to use dynamic EAP methods using these parts, the
303 # main program must have been build with the EAP method enabled (=y or =dyn).
304 # This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
305 # unless at least one of them was included in the main build to force inclusion
306 # of the shared code. Similarly, at least one of EAP-SIM/AKA must be included
307 # in the main build to be able to load these methods dynamically.
308 #
309 # Please also note that using dynamic libraries will increase the total binary
310 # size. Thus, it may not be the best option for targets that have limited
311 # amount of memory/flash.
312 #CONFIG_DYNAMIC_EAP_METHODS=y
313
314 # Include client MLME (management frame processing).
315 # This can be used to move MLME processing of Devicescape IEEE 802.11 stack
316 # into user space.
317 #CONFIG_CLIENT_MLME=y
318 # Currently, driver_devicescape.c build requires some additional parameters
319 # to be able to include some of the kernel header files. Following lines can
320 # be used to set these (WIRELESS_DEV must point to the root directory of the
321 # wireless-dev.git tree).
322 WIRELESS_DEV=~/core/compat-wireless-2009-01-26
323 CFLAGS += -I$(WIRELESS_DEV)/net/mac80211
324
325 # IEEE Std 802.11r-2008 (Fast BSS Transition)
326 CONFIG_IEEE80211R=y
327
328 # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
329 CONFIG_DEBUG_FILE=y
330
331 # Enable privilege separation (see README 'Privilege separation' for details)
332 #CONFIG_PRIVSEP=y
333
334 # Enable mitigation against certain attacks against TKIP by delaying Michael
335 # MIC error reports by a random amount of time between 0 and 60 seconds
336 CONFIG_DELAYED_MIC_ERROR_REPORT=y