android.config revision 1.1.1.2 1 1.1 christos # Example hostapd build time configuration
2 1.1 christos #
3 1.1 christos # This file lists the configuration options that are used when building the
4 1.1 christos # hostapd binary. All lines starting with # are ignored. Configuration option
5 1.1 christos # lines must be commented out complete, if they are not to be included, i.e.,
6 1.1 christos # just setting VARIABLE=n is not disabling that variable.
7 1.1 christos #
8 1.1 christos # This file is included in Makefile, so variables like CFLAGS and LIBS can also
9 1.1 christos # be modified from here. In most cass, these lines should use += in order not
10 1.1 christos # to override previous values of the variables.
11 1.1 christos
12 1.1 christos # Driver interface for Host AP driver
13 1.1 christos #CONFIG_DRIVER_HOSTAP=y
14 1.1 christos
15 1.1 christos # Driver interface for wired authenticator
16 1.1 christos #CONFIG_DRIVER_WIRED=y
17 1.1 christos
18 1.1 christos # Driver interface for madwifi driver
19 1.1 christos #CONFIG_DRIVER_MADWIFI=y
20 1.1 christos #CFLAGS += -I../../madwifi # change to the madwifi source directory
21 1.1 christos
22 1.1 christos # Driver interface for drivers using the nl80211 kernel interface
23 1.1 christos #CONFIG_DRIVER_NL80211=y
24 1.1 christos # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be
25 1.1 christos # shipped with your distribution yet. If that is the case, you need to build
26 1.1 christos # newer libnl version and point the hostapd build to use it.
27 1.1 christos #LIBNL=/usr/src/libnl
28 1.1 christos #CFLAGS += -I$(LIBNL)/include
29 1.1 christos #LIBS += -L$(LIBNL)/lib
30 1.1 christos CONFIG_LIBNL20=y
31 1.1 christos
32 1.1 christos # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
33 1.1 christos #CONFIG_DRIVER_BSD=y
34 1.1 christos #CFLAGS += -I/usr/local/include
35 1.1 christos #LIBS += -L/usr/local/lib
36 1.1 christos #LIBS_p += -L/usr/local/lib
37 1.1 christos #LIBS_c += -L/usr/local/lib
38 1.1 christos
39 1.1 christos # Driver interface for no driver (e.g., RADIUS server only)
40 1.1 christos #CONFIG_DRIVER_NONE=y
41 1.1 christos
42 1.1 christos # IEEE 802.11F/IAPP
43 1.1 christos #CONFIG_IAPP=y
44 1.1 christos
45 1.1 christos # WPA2/IEEE 802.11i RSN pre-authentication
46 1.1 christos #CONFIG_RSN_PREAUTH=y
47 1.1 christos
48 1.1 christos # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
49 1.1 christos #CONFIG_PEERKEY=y
50 1.1 christos
51 1.1 christos # IEEE 802.11w (management frame protection)
52 1.1 christos # This version is an experimental implementation based on IEEE 802.11w/D1.0
53 1.1 christos # draft and is subject to change since the standard has not yet been finalized.
54 1.1 christos # Driver support is also needed for IEEE 802.11w.
55 1.1.1.2 christos CONFIG_IEEE80211W=y
56 1.1 christos
57 1.1 christos # Integrated EAP server
58 1.1 christos #CONFIG_EAP=y
59 1.1 christos
60 1.1 christos # EAP-MD5 for the integrated EAP server
61 1.1 christos #CONFIG_EAP_MD5=y
62 1.1 christos
63 1.1 christos # EAP-TLS for the integrated EAP server
64 1.1 christos #CONFIG_EAP_TLS=y
65 1.1 christos
66 1.1 christos # EAP-MSCHAPv2 for the integrated EAP server
67 1.1 christos #CONFIG_EAP_MSCHAPV2=y
68 1.1 christos
69 1.1 christos # EAP-PEAP for the integrated EAP server
70 1.1 christos #CONFIG_EAP_PEAP=y
71 1.1 christos
72 1.1 christos # EAP-GTC for the integrated EAP server
73 1.1 christos #CONFIG_EAP_GTC=y
74 1.1 christos
75 1.1 christos # EAP-TTLS for the integrated EAP server
76 1.1 christos #CONFIG_EAP_TTLS=y
77 1.1 christos
78 1.1 christos # EAP-SIM for the integrated EAP server
79 1.1 christos #CONFIG_EAP_SIM=y
80 1.1 christos
81 1.1 christos # EAP-AKA for the integrated EAP server
82 1.1 christos #CONFIG_EAP_AKA=y
83 1.1 christos
84 1.1 christos # EAP-AKA' for the integrated EAP server
85 1.1 christos # This requires CONFIG_EAP_AKA to be enabled, too.
86 1.1 christos #CONFIG_EAP_AKA_PRIME=y
87 1.1 christos
88 1.1 christos # EAP-PAX for the integrated EAP server
89 1.1 christos #CONFIG_EAP_PAX=y
90 1.1 christos
91 1.1 christos # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
92 1.1 christos #CONFIG_EAP_PSK=y
93 1.1 christos
94 1.1 christos # EAP-SAKE for the integrated EAP server
95 1.1 christos #CONFIG_EAP_SAKE=y
96 1.1 christos
97 1.1 christos # EAP-GPSK for the integrated EAP server
98 1.1 christos #CONFIG_EAP_GPSK=y
99 1.1 christos # Include support for optional SHA256 cipher suite in EAP-GPSK
100 1.1 christos #CONFIG_EAP_GPSK_SHA256=y
101 1.1 christos
102 1.1 christos # EAP-FAST for the integrated EAP server
103 1.1 christos # Note: Default OpenSSL package does not include support for all the
104 1.1 christos # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
105 1.1 christos # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
106 1.1 christos # to add the needed functions.
107 1.1 christos #CONFIG_EAP_FAST=y
108 1.1 christos
109 1.1 christos # Wi-Fi Protected Setup (WPS)
110 1.1 christos CONFIG_WPS=y
111 1.1 christos # Enable UPnP support for external WPS Registrars
112 1.1 christos #CONFIG_WPS_UPNP=y
113 1.1 christos
114 1.1 christos # EAP-IKEv2
115 1.1 christos #CONFIG_EAP_IKEV2=y
116 1.1 christos
117 1.1 christos # Trusted Network Connect (EAP-TNC)
118 1.1 christos #CONFIG_EAP_TNC=y
119 1.1 christos
120 1.1 christos # PKCS#12 (PFX) support (used to read private key and certificate file from
121 1.1 christos # a file that usually has extension .p12 or .pfx)
122 1.1 christos CONFIG_PKCS12=y
123 1.1 christos
124 1.1 christos # RADIUS authentication server. This provides access to the integrated EAP
125 1.1 christos # server from external hosts using RADIUS.
126 1.1 christos #CONFIG_RADIUS_SERVER=y
127 1.1 christos
128 1.1 christos # Build IPv6 support for RADIUS operations
129 1.1 christos CONFIG_IPV6=y
130 1.1 christos
131 1.1 christos # IEEE Std 802.11r-2008 (Fast BSS Transition)
132 1.1 christos #CONFIG_IEEE80211R=y
133 1.1 christos
134 1.1 christos # Use the hostapd's IEEE 802.11 authentication (ACL), but without
135 1.1 christos # the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)
136 1.1 christos #CONFIG_DRIVER_RADIUS_ACL=y
137 1.1 christos
138 1.1 christos # IEEE 802.11n (High Throughput) support
139 1.1 christos CONFIG_IEEE80211N=y
140 1.1 christos
141 1.1 christos # Remove debugging code that is printing out debug messages to stdout.
142 1.1 christos # This can be used to reduce the size of the hostapd considerably if debugging
143 1.1 christos # code is not needed.
144 1.1 christos #CONFIG_NO_STDOUT_DEBUG=y
145 1.1 christos
146 1.1 christos # Add support for writing debug log to Android logcat instead of standard output
147 1.1 christos CONFIG_ANDROID_LOG=y
148 1.1 christos
149 1.1 christos # Remove support for RADIUS accounting
150 1.1 christos #CONFIG_NO_ACCOUNTING=y
151 1.1 christos
152 1.1 christos # Remove support for RADIUS
153 1.1 christos CONFIG_NO_RADIUS=y
154 1.1 christos
155 1.1 christos # Remove support for VLANs
156 1.1 christos #CONFIG_NO_VLAN=y
157 1.1 christos
158 1.1.1.2 christos # Remove support for dumping internal state through control interface commands
159 1.1 christos # This can be used to reduce binary size at the cost of disabling a debugging
160 1.1 christos # option.
161 1.1 christos #CONFIG_NO_DUMP_STATE=y
162 1.1 christos
163 1.1 christos # Select wrapper for operatins system and C library specific functions
164 1.1 christos # unix = UNIX/POSIX like systems (default)
165 1.1 christos # win32 = Windows systems
166 1.1 christos # none = Empty template
167 1.1 christos CONFIG_OS=unix
168 1.1 christos
169 1.1 christos # Enable tracing code for developer debugging
170 1.1 christos # This tracks use of memory allocations and other registrations and reports
171 1.1 christos # incorrect use with a backtrace of call (or allocation) location.
172 1.1 christos #CONFIG_WPA_TRACE=y
173 1.1 christos # For BSD, comment out these.
174 1.1 christos #LIBS += -lexecinfo
175 1.1 christos #LIBS_p += -lexecinfo
176 1.1 christos #LIBS_c += -lexecinfo
177 1.1 christos
178 1.1 christos # Use libbfd to get more details for developer debugging
179 1.1 christos # This enables use of libbfd to get more detailed symbols for the backtraces
180 1.1 christos # generated by CONFIG_WPA_TRACE=y.
181 1.1 christos #CONFIG_WPA_TRACE_BFD=y
182 1.1 christos # For BSD, comment out these.
183 1.1 christos #LIBS += -lbfd -liberty -lz
184 1.1 christos #LIBS_p += -lbfd -liberty -lz
185 1.1 christos #LIBS_c += -lbfd -liberty -lz
186 1.1 christos
187 1.1 christos # Enable AP
188 1.1 christos CONFIG_AP=y
189