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