blob: 5b46bc42e67a0b5288c420e0b852c4cf28f7e2fe [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001# 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
Dmitry Shmidte61a2d62011-06-27 10:59:51 -070013#CONFIG_DRIVER_HOSTAP=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070014
15# Driver interface for wired authenticator
16#CONFIG_DRIVER_WIRED=y
17
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070018# 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
26CONFIG_LIBNL20=y
27
Dmitry Shmidtd80a4012015-11-05 16:35:40 -080028# QCA vendor extensions to nl80211
29CONFIG_DRIVER_NL80211_QCA=y
30
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070031# 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
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070041# WPA2/IEEE 802.11i RSN pre-authentication
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070042#CONFIG_RSN_PREAUTH=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070043
Hai Shalom74f70d42019-02-11 14:42:39 -080044# Support Operating Channel Validation
45#CONFIG_OCV=y
46
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070047# Integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070048#CONFIG_EAP=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070049
50# EAP-MD5 for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070051#CONFIG_EAP_MD5=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070052
53# EAP-TLS for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070054#CONFIG_EAP_TLS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070055
56# EAP-MSCHAPv2 for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070057#CONFIG_EAP_MSCHAPV2=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070058
59# EAP-PEAP for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070060#CONFIG_EAP_PEAP=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070061
62# EAP-GTC for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070063#CONFIG_EAP_GTC=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070064
65# EAP-TTLS for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070066#CONFIG_EAP_TTLS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070067
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)
100CONFIG_WPS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700101# 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)
112CONFIG_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
119CONFIG_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
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -0800125# the IEEE 802.11 Management capability (e.g., FreeBSD/net80211)
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700126#CONFIG_DRIVER_RADIUS_ACL=y
127
Hai Shalom2aa93c52020-04-28 10:28:08 -0700128# IEEE 802.11ac (Very High Throughput) support
129CONFIG_IEEE80211AC=y
130
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700131# Remove debugging code that is printing out debug messages to stdout.
132# This can be used to reduce the size of the hostapd considerably if debugging
133# code is not needed.
134#CONFIG_NO_STDOUT_DEBUG=y
135
136# Add support for writing debug log to Android logcat instead of standard output
137CONFIG_ANDROID_LOG=y
138
139# Remove support for RADIUS accounting
140#CONFIG_NO_ACCOUNTING=y
141
142# Remove support for RADIUS
Dmitry Shmidt497c1d52011-07-21 15:19:46 -0700143CONFIG_NO_RADIUS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700144
145# Remove support for VLANs
146#CONFIG_NO_VLAN=y
147
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -0800148# Remove support for dumping internal state through control interface commands
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700149# This can be used to reduce binary size at the cost of disabling a debugging
150# option.
151#CONFIG_NO_DUMP_STATE=y
152
153# Select wrapper for operatins system and C library specific functions
154# unix = UNIX/POSIX like systems (default)
155# win32 = Windows systems
156# none = Empty template
157CONFIG_OS=unix
158
159# Enable tracing code for developer debugging
160# This tracks use of memory allocations and other registrations and reports
161# incorrect use with a backtrace of call (or allocation) location.
162#CONFIG_WPA_TRACE=y
163# For BSD, comment out these.
164#LIBS += -lexecinfo
165#LIBS_p += -lexecinfo
166#LIBS_c += -lexecinfo
167
168# Use libbfd to get more details for developer debugging
169# This enables use of libbfd to get more detailed symbols for the backtraces
170# generated by CONFIG_WPA_TRACE=y.
171#CONFIG_WPA_TRACE_BFD=y
172# For BSD, comment out these.
173#LIBS += -lbfd -liberty -lz
174#LIBS_p += -lbfd -liberty -lz
175#LIBS_c += -lbfd -liberty -lz
Dmitry Shmidt497c1d52011-07-21 15:19:46 -0700176
Dmitry Shmidtd80a4012015-11-05 16:35:40 -0800177# Should we use poll instead of select? Select is used by default.
178#CONFIG_ELOOP_POLL=y
179
180# Should we use epoll instead of select? Select is used by default.
181#CONFIG_ELOOP_EPOLL=y
182
Dmitry Shmidt497c1d52011-07-21 15:19:46 -0700183# Enable AP
184CONFIG_AP=y
Dmitry Shmidtd80a4012015-11-05 16:35:40 -0800185
186# Enable Fast Session Transfer (FST)
187#CONFIG_FST=y
Dmitry Shmidt57c2d392016-02-23 13:40:19 -0800188
189# Multiband Operation support
190# These extentions facilitate efficient use of multiple frequency bands
191# available to the AP and the devices that may associate with it.
192#CONFIG_MBO=y
Dmitry Shmidt9839ecd2016-11-07 11:05:47 -0800193
194# Include internal line edit mode in hostapd_cli.
195CONFIG_WPA_CLI_EDIT=y
Dmitry Shmidtd2986c22017-10-23 14:22:09 -0700196
197# Opportunistic Wireless Encryption (OWE)
198# Experimental implementation of draft-harkins-owe-07.txt
199#CONFIG_OWE=y
Jeff Vander Stoepc88b7522017-11-30 11:13:52 -0800200
Jimmy Chencaaac072019-09-16 16:36:06 +0800201# WLAN Authentication and Privacy Infrastructure (WAPI): interface only.
202# Configure the building of the interface which allows WAPI configuration.
203# Note: does not configure WAPI implementation itself.
204#CONFIG_WAPI_INTERFACE=y
205
Jeff Vander Stoepc88b7522017-11-30 11:13:52 -0800206# Wpa_supplicant's random pool is not necessary on Android. Randomness is
207# already provided by the entropymixer service which ensures sufficient
208# entropy is maintained across reboots. Commit b410eb1913 'Initialize
209# /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before
210# either wpa_supplicant or hostapd are run.
211CONFIG_NO_RANDOM_POOL=y
Roshan Piuscc817562017-12-22 14:45:05 -0800212
213# Add support for Hidl control interface
214# Only applicable for Android platforms.
Roshan Pius30b452e2017-12-27 13:36:21 -0800215CONFIG_CTRL_IFACE_HIDL=y
Ningyuan Wang065218c2017-12-19 14:07:29 -0800216
217# Enable support of Automatic Channel Selection
218CONFIG_ACS=y
Hai Shalom749644d2018-09-06 11:50:46 -0700219
220# Easy Connect (Device Provisioning Protocol - DPP)
221CONFIG_DPP=y
222
223# WPA3-Personal (SAE)
224CONFIG_SAE=y
Hai Shalomfdcde762020-04-02 11:19:20 -0700225
226# Wired equivalent privacy (WEP)
227# WEP is an obsolete cryptographic data confidentiality algorithm that is not
228# considered secure. It should not be used for anything anymore. The
229# functionality needed to use WEP is available in the current hostapd
230# release under this optional build parameter. This functionality is subject to
231# be completely removed in a future release.
232CONFIG_WEP=y
233
leslb0f4d542020-09-16 23:06:03 +0800234# Interworking (IEEE 802.11u)
235# This can be used to enable functionality to improve interworking with
236# external networks.
237CONFIG_INTERWORKING=y