]>
Commit | Line | Data |
---|---|---|
5db49892 DS |
1 | # Example hostapd 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 cass, these lines should use += in order not | |
10 | # to override previous values of the variables. | |
11 | ||
12 | # Driver interface for Host AP driver | |
13 | #CONFIG_DRIVER_HOSTAP=y | |
14 | ||
15 | # Driver interface for wired authenticator | |
16 | #CONFIG_DRIVER_WIRED=y | |
17 | ||
5db49892 DS |
18 | # Driver interface for drivers using the nl80211 kernel interface |
19 | #CONFIG_DRIVER_NL80211=y | |
20 | # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be | |
21 | # shipped with your distribution yet. If that is the case, you need to build | |
22 | # newer libnl version and point the hostapd build to use it. | |
23 | #LIBNL=/usr/src/libnl | |
24 | #CFLAGS += -I$(LIBNL)/include | |
25 | #LIBS += -L$(LIBNL)/lib | |
26 | CONFIG_LIBNL20=y | |
27 | ||
b658547d JM |
28 | # QCA vendor extensions to nl80211 |
29 | CONFIG_DRIVER_NL80211_QCA=y | |
30 | ||
5db49892 DS |
31 | # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) |
32 | #CONFIG_DRIVER_BSD=y | |
33 | #CFLAGS += -I/usr/local/include | |
34 | #LIBS += -L/usr/local/lib | |
35 | #LIBS_p += -L/usr/local/lib | |
36 | #LIBS_c += -L/usr/local/lib | |
37 | ||
38 | # Driver interface for no driver (e.g., RADIUS server only) | |
39 | #CONFIG_DRIVER_NONE=y | |
40 | ||
5db49892 DS |
41 | # WPA2/IEEE 802.11i RSN pre-authentication |
42 | #CONFIG_RSN_PREAUTH=y | |
43 | ||
138205d6 MV |
44 | # Support Operating Channel Validation |
45 | #CONFIG_OCV=y | |
46 | ||
5db49892 DS |
47 | # Integrated EAP server |
48 | #CONFIG_EAP=y | |
49 | ||
50 | # EAP-MD5 for the integrated EAP server | |
51 | #CONFIG_EAP_MD5=y | |
52 | ||
53 | # EAP-TLS for the integrated EAP server | |
54 | #CONFIG_EAP_TLS=y | |
55 | ||
56 | # EAP-MSCHAPv2 for the integrated EAP server | |
57 | #CONFIG_EAP_MSCHAPV2=y | |
58 | ||
59 | # EAP-PEAP for the integrated EAP server | |
60 | #CONFIG_EAP_PEAP=y | |
61 | ||
62 | # EAP-GTC for the integrated EAP server | |
63 | #CONFIG_EAP_GTC=y | |
64 | ||
65 | # EAP-TTLS for the integrated EAP server | |
66 | #CONFIG_EAP_TTLS=y | |
67 | ||
68 | # EAP-SIM for the integrated EAP server | |
69 | #CONFIG_EAP_SIM=y | |
70 | ||
71 | # EAP-AKA for the integrated EAP server | |
72 | #CONFIG_EAP_AKA=y | |
73 | ||
74 | # EAP-AKA' for the integrated EAP server | |
75 | # This requires CONFIG_EAP_AKA to be enabled, too. | |
76 | #CONFIG_EAP_AKA_PRIME=y | |
77 | ||
78 | # EAP-PAX for the integrated EAP server | |
79 | #CONFIG_EAP_PAX=y | |
80 | ||
81 | # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK) | |
82 | #CONFIG_EAP_PSK=y | |
83 | ||
84 | # EAP-SAKE for the integrated EAP server | |
85 | #CONFIG_EAP_SAKE=y | |
86 | ||
87 | # EAP-GPSK for the integrated EAP server | |
88 | #CONFIG_EAP_GPSK=y | |
89 | # Include support for optional SHA256 cipher suite in EAP-GPSK | |
90 | #CONFIG_EAP_GPSK_SHA256=y | |
91 | ||
92 | # EAP-FAST for the integrated EAP server | |
93 | # Note: Default OpenSSL package does not include support for all the | |
94 | # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL, | |
95 | # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch) | |
96 | # to add the needed functions. | |
97 | #CONFIG_EAP_FAST=y | |
98 | ||
99 | # Wi-Fi Protected Setup (WPS) | |
100 | CONFIG_WPS=y | |
5db49892 DS |
101 | # Enable UPnP support for external WPS Registrars |
102 | #CONFIG_WPS_UPNP=y | |
103 | ||
104 | # EAP-IKEv2 | |
105 | #CONFIG_EAP_IKEV2=y | |
106 | ||
107 | # Trusted Network Connect (EAP-TNC) | |
108 | #CONFIG_EAP_TNC=y | |
109 | ||
110 | # PKCS#12 (PFX) support (used to read private key and certificate file from | |
111 | # a file that usually has extension .p12 or .pfx) | |
112 | CONFIG_PKCS12=y | |
113 | ||
114 | # RADIUS authentication server. This provides access to the integrated EAP | |
115 | # server from external hosts using RADIUS. | |
116 | #CONFIG_RADIUS_SERVER=y | |
117 | ||
118 | # Build IPv6 support for RADIUS operations | |
119 | CONFIG_IPV6=y | |
120 | ||
121 | # IEEE Std 802.11r-2008 (Fast BSS Transition) | |
122 | #CONFIG_IEEE80211R=y | |
123 | ||
124 | # Use the hostapd's IEEE 802.11 authentication (ACL), but without | |
01b32d5e | 125 | # the IEEE 802.11 Management capability (e.g., FreeBSD/net80211) |
5db49892 DS |
126 | #CONFIG_DRIVER_RADIUS_ACL=y |
127 | ||
5db49892 DS |
128 | # Remove debugging code that is printing out debug messages to stdout. |
129 | # This can be used to reduce the size of the hostapd considerably if debugging | |
130 | # code is not needed. | |
131 | #CONFIG_NO_STDOUT_DEBUG=y | |
132 | ||
133 | # Add support for writing debug log to Android logcat instead of standard output | |
134 | CONFIG_ANDROID_LOG=y | |
135 | ||
136 | # Remove support for RADIUS accounting | |
137 | #CONFIG_NO_ACCOUNTING=y | |
138 | ||
139 | # Remove support for RADIUS | |
140 | CONFIG_NO_RADIUS=y | |
141 | ||
142 | # Remove support for VLANs | |
143 | #CONFIG_NO_VLAN=y | |
144 | ||
a1a31b6c | 145 | # Remove support for dumping internal state through control interface commands |
5db49892 DS |
146 | # This can be used to reduce binary size at the cost of disabling a debugging |
147 | # option. | |
148 | #CONFIG_NO_DUMP_STATE=y | |
149 | ||
150 | # Select wrapper for operatins system and C library specific functions | |
151 | # unix = UNIX/POSIX like systems (default) | |
152 | # win32 = Windows systems | |
153 | # none = Empty template | |
154 | CONFIG_OS=unix | |
155 | ||
156 | # Enable tracing code for developer debugging | |
157 | # This tracks use of memory allocations and other registrations and reports | |
158 | # incorrect use with a backtrace of call (or allocation) location. | |
159 | #CONFIG_WPA_TRACE=y | |
160 | # For BSD, comment out these. | |
161 | #LIBS += -lexecinfo | |
162 | #LIBS_p += -lexecinfo | |
163 | #LIBS_c += -lexecinfo | |
164 | ||
165 | # Use libbfd to get more details for developer debugging | |
166 | # This enables use of libbfd to get more detailed symbols for the backtraces | |
167 | # generated by CONFIG_WPA_TRACE=y. | |
168 | #CONFIG_WPA_TRACE_BFD=y | |
169 | # For BSD, comment out these. | |
170 | #LIBS += -lbfd -liberty -lz | |
171 | #LIBS_p += -lbfd -liberty -lz | |
172 | #LIBS_c += -lbfd -liberty -lz | |
173 | ||
de01710b JM |
174 | # Should we use poll instead of select? Select is used by default. |
175 | #CONFIG_ELOOP_POLL=y | |
176 | ||
177 | # Should we use epoll instead of select? Select is used by default. | |
178 | #CONFIG_ELOOP_EPOLL=y | |
179 | ||
5db49892 DS |
180 | # Enable AP |
181 | CONFIG_AP=y | |
8cf53ec9 AN |
182 | |
183 | # Enable Fast Session Transfer (FST) | |
184 | #CONFIG_FST=y | |
fb9a1c3e AS |
185 | |
186 | # Multiband Operation support | |
187 | # These extentions facilitate efficient use of multiple frequency bands | |
188 | # available to the AP and the devices that may associate with it. | |
189 | #CONFIG_MBO=y | |
bc4b680c MK |
190 | |
191 | # Include internal line edit mode in hostapd_cli. | |
192 | CONFIG_WPA_CLI_EDIT=y | |
61152384 JM |
193 | |
194 | # Opportunistic Wireless Encryption (OWE) | |
195 | # Experimental implementation of draft-harkins-owe-07.txt | |
196 | #CONFIG_OWE=y | |
b65353a7 JVS |
197 | |
198 | # Wpa_supplicant's random pool is not necessary on Android. Randomness is | |
199 | # already provided by the entropymixer service which ensures sufficient | |
200 | # entropy is maintained across reboots. Commit b410eb1913 'Initialize | |
201 | # /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before | |
202 | # either wpa_supplicant or hostapd are run. | |
203 | CONFIG_NO_RANDOM_POOL=y | |
200c7693 JM |
204 | |
205 | # Wired equivalent privacy (WEP) | |
206 | # WEP is an obsolete cryptographic data confidentiality algorithm that is not | |
207 | # considered secure. It should not be used for anything anymore. The | |
208 | # functionality needed to use WEP is available in the current hostapd | |
209 | # release under this optional build parameter. This functionality is subject to | |
210 | # be completely removed in a future release. | |
211 | CONFIG_WEP=y |