blob: 1715cc848a0e6fc030d15238809270f97a985aeb [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
41# IEEE 802.11F/IAPP
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070042#CONFIG_IAPP=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070043
44# WPA2/IEEE 802.11i RSN pre-authentication
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070045#CONFIG_RSN_PREAUTH=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070046
47# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070048#CONFIG_PEERKEY=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070049
50# IEEE 802.11w (management frame protection)
51# This version is an experimental implementation based on IEEE 802.11w/D1.0
52# draft and is subject to change since the standard has not yet been finalized.
53# Driver support is also needed for IEEE 802.11w.
Dmitry Shmidt1b7cc212014-01-14 14:52:36 -080054CONFIG_IEEE80211W=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070055
56# Integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070057#CONFIG_EAP=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070058
59# EAP-MD5 for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070060#CONFIG_EAP_MD5=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070061
62# EAP-TLS for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070063#CONFIG_EAP_TLS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070064
65# EAP-MSCHAPv2 for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070066#CONFIG_EAP_MSCHAPV2=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070067
68# EAP-PEAP for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070069#CONFIG_EAP_PEAP=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070070
71# EAP-GTC for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070072#CONFIG_EAP_GTC=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070073
74# EAP-TTLS for the integrated EAP server
Dmitry Shmidt497c1d52011-07-21 15:19:46 -070075#CONFIG_EAP_TTLS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070076
77# EAP-SIM for the integrated EAP server
78#CONFIG_EAP_SIM=y
79
80# EAP-AKA for the integrated EAP server
81#CONFIG_EAP_AKA=y
82
83# EAP-AKA' for the integrated EAP server
84# This requires CONFIG_EAP_AKA to be enabled, too.
85#CONFIG_EAP_AKA_PRIME=y
86
87# EAP-PAX for the integrated EAP server
88#CONFIG_EAP_PAX=y
89
90# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
91#CONFIG_EAP_PSK=y
92
93# EAP-SAKE for the integrated EAP server
94#CONFIG_EAP_SAKE=y
95
96# EAP-GPSK for the integrated EAP server
97#CONFIG_EAP_GPSK=y
98# Include support for optional SHA256 cipher suite in EAP-GPSK
99#CONFIG_EAP_GPSK_SHA256=y
100
101# EAP-FAST for the integrated EAP server
102# Note: Default OpenSSL package does not include support for all the
103# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
104# the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
105# to add the needed functions.
106#CONFIG_EAP_FAST=y
107
108# Wi-Fi Protected Setup (WPS)
109CONFIG_WPS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700110# Enable UPnP support for external WPS Registrars
111#CONFIG_WPS_UPNP=y
112
113# EAP-IKEv2
114#CONFIG_EAP_IKEV2=y
115
116# Trusted Network Connect (EAP-TNC)
117#CONFIG_EAP_TNC=y
118
119# PKCS#12 (PFX) support (used to read private key and certificate file from
120# a file that usually has extension .p12 or .pfx)
121CONFIG_PKCS12=y
122
123# RADIUS authentication server. This provides access to the integrated EAP
124# server from external hosts using RADIUS.
125#CONFIG_RADIUS_SERVER=y
126
127# Build IPv6 support for RADIUS operations
128CONFIG_IPV6=y
129
130# IEEE Std 802.11r-2008 (Fast BSS Transition)
131#CONFIG_IEEE80211R=y
132
133# Use the hostapd's IEEE 802.11 authentication (ACL), but without
Dmitry Shmidtfb45fd52015-01-05 13:08:17 -0800134# the IEEE 802.11 Management capability (e.g., FreeBSD/net80211)
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700135#CONFIG_DRIVER_RADIUS_ACL=y
136
137# IEEE 802.11n (High Throughput) support
Dmitry Shmidt707d6292012-02-28 11:21:32 -0800138CONFIG_IEEE80211N=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700139
140# Remove debugging code that is printing out debug messages to stdout.
141# This can be used to reduce the size of the hostapd considerably if debugging
142# code is not needed.
143#CONFIG_NO_STDOUT_DEBUG=y
144
145# Add support for writing debug log to Android logcat instead of standard output
146CONFIG_ANDROID_LOG=y
147
148# Remove support for RADIUS accounting
149#CONFIG_NO_ACCOUNTING=y
150
151# Remove support for RADIUS
Dmitry Shmidt497c1d52011-07-21 15:19:46 -0700152CONFIG_NO_RADIUS=y
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700153
154# Remove support for VLANs
155#CONFIG_NO_VLAN=y
156
Dmitry Shmidtfb79edc2014-01-10 10:45:54 -0800157# Remove support for dumping internal state through control interface commands
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -0700158# This can be used to reduce binary size at the cost of disabling a debugging
159# option.
160#CONFIG_NO_DUMP_STATE=y
161
162# Select wrapper for operatins system and C library specific functions
163# unix = UNIX/POSIX like systems (default)
164# win32 = Windows systems
165# none = Empty template
166CONFIG_OS=unix
167
168# Enable tracing code for developer debugging
169# This tracks use of memory allocations and other registrations and reports
170# incorrect use with a backtrace of call (or allocation) location.
171#CONFIG_WPA_TRACE=y
172# For BSD, comment out these.
173#LIBS += -lexecinfo
174#LIBS_p += -lexecinfo
175#LIBS_c += -lexecinfo
176
177# Use libbfd to get more details for developer debugging
178# This enables use of libbfd to get more detailed symbols for the backtraces
179# generated by CONFIG_WPA_TRACE=y.
180#CONFIG_WPA_TRACE_BFD=y
181# For BSD, comment out these.
182#LIBS += -lbfd -liberty -lz
183#LIBS_p += -lbfd -liberty -lz
184#LIBS_c += -lbfd -liberty -lz
Dmitry Shmidt497c1d52011-07-21 15:19:46 -0700185
Dmitry Shmidtd80a4012015-11-05 16:35:40 -0800186# Should we use poll instead of select? Select is used by default.
187#CONFIG_ELOOP_POLL=y
188
189# Should we use epoll instead of select? Select is used by default.
190#CONFIG_ELOOP_EPOLL=y
191
Dmitry Shmidt497c1d52011-07-21 15:19:46 -0700192# Enable AP
193CONFIG_AP=y
Dmitry Shmidtd80a4012015-11-05 16:35:40 -0800194
195# Enable Fast Session Transfer (FST)
196#CONFIG_FST=y
Dmitry Shmidt57c2d392016-02-23 13:40:19 -0800197
198# Multiband Operation support
199# These extentions facilitate efficient use of multiple frequency bands
200# available to the AP and the devices that may associate with it.
201#CONFIG_MBO=y
Dmitry Shmidt9839ecd2016-11-07 11:05:47 -0800202
203# Include internal line edit mode in hostapd_cli.
204CONFIG_WPA_CLI_EDIT=y