Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 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 |
Dmitry Shmidt | e61a2d6 | 2011-06-27 10:59:51 -0700 | [diff] [blame] | 13 | #CONFIG_DRIVER_HOSTAP=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 14 | |
| 15 | # Driver interface for wired authenticator |
| 16 | #CONFIG_DRIVER_WIRED=y |
| 17 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 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 | |
| 28 | # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) |
| 29 | #CONFIG_DRIVER_BSD=y |
| 30 | #CFLAGS += -I/usr/local/include |
| 31 | #LIBS += -L/usr/local/lib |
| 32 | #LIBS_p += -L/usr/local/lib |
| 33 | #LIBS_c += -L/usr/local/lib |
| 34 | |
| 35 | # Driver interface for no driver (e.g., RADIUS server only) |
| 36 | #CONFIG_DRIVER_NONE=y |
| 37 | |
| 38 | # IEEE 802.11F/IAPP |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 39 | #CONFIG_IAPP=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 40 | |
| 41 | # WPA2/IEEE 802.11i RSN pre-authentication |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 42 | #CONFIG_RSN_PREAUTH=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 43 | |
| 44 | # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 45 | #CONFIG_PEERKEY=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 46 | |
| 47 | # IEEE 802.11w (management frame protection) |
| 48 | # This version is an experimental implementation based on IEEE 802.11w/D1.0 |
| 49 | # draft and is subject to change since the standard has not yet been finalized. |
| 50 | # Driver support is also needed for IEEE 802.11w. |
Dmitry Shmidt | 1b7cc21 | 2014-01-14 14:52:36 -0800 | [diff] [blame] | 51 | CONFIG_IEEE80211W=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 52 | |
| 53 | # Integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 54 | #CONFIG_EAP=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 55 | |
| 56 | # EAP-MD5 for the integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 57 | #CONFIG_EAP_MD5=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 58 | |
| 59 | # EAP-TLS for the integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 60 | #CONFIG_EAP_TLS=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 61 | |
| 62 | # EAP-MSCHAPv2 for the integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 63 | #CONFIG_EAP_MSCHAPV2=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 64 | |
| 65 | # EAP-PEAP for the integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 66 | #CONFIG_EAP_PEAP=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 67 | |
| 68 | # EAP-GTC for the integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 69 | #CONFIG_EAP_GTC=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 70 | |
| 71 | # EAP-TTLS for the integrated EAP server |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 72 | #CONFIG_EAP_TTLS=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 73 | |
| 74 | # EAP-SIM for the integrated EAP server |
| 75 | #CONFIG_EAP_SIM=y |
| 76 | |
| 77 | # EAP-AKA for the integrated EAP server |
| 78 | #CONFIG_EAP_AKA=y |
| 79 | |
| 80 | # EAP-AKA' for the integrated EAP server |
| 81 | # This requires CONFIG_EAP_AKA to be enabled, too. |
| 82 | #CONFIG_EAP_AKA_PRIME=y |
| 83 | |
| 84 | # EAP-PAX for the integrated EAP server |
| 85 | #CONFIG_EAP_PAX=y |
| 86 | |
| 87 | # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK) |
| 88 | #CONFIG_EAP_PSK=y |
| 89 | |
| 90 | # EAP-SAKE for the integrated EAP server |
| 91 | #CONFIG_EAP_SAKE=y |
| 92 | |
| 93 | # EAP-GPSK for the integrated EAP server |
| 94 | #CONFIG_EAP_GPSK=y |
| 95 | # Include support for optional SHA256 cipher suite in EAP-GPSK |
| 96 | #CONFIG_EAP_GPSK_SHA256=y |
| 97 | |
| 98 | # EAP-FAST for the integrated EAP server |
| 99 | # Note: Default OpenSSL package does not include support for all the |
| 100 | # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL, |
| 101 | # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch) |
| 102 | # to add the needed functions. |
| 103 | #CONFIG_EAP_FAST=y |
| 104 | |
| 105 | # Wi-Fi Protected Setup (WPS) |
| 106 | CONFIG_WPS=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 107 | # Enable UPnP support for external WPS Registrars |
| 108 | #CONFIG_WPS_UPNP=y |
| 109 | |
| 110 | # EAP-IKEv2 |
| 111 | #CONFIG_EAP_IKEV2=y |
| 112 | |
| 113 | # Trusted Network Connect (EAP-TNC) |
| 114 | #CONFIG_EAP_TNC=y |
| 115 | |
| 116 | # PKCS#12 (PFX) support (used to read private key and certificate file from |
| 117 | # a file that usually has extension .p12 or .pfx) |
| 118 | CONFIG_PKCS12=y |
| 119 | |
| 120 | # RADIUS authentication server. This provides access to the integrated EAP |
| 121 | # server from external hosts using RADIUS. |
| 122 | #CONFIG_RADIUS_SERVER=y |
| 123 | |
| 124 | # Build IPv6 support for RADIUS operations |
| 125 | CONFIG_IPV6=y |
| 126 | |
| 127 | # IEEE Std 802.11r-2008 (Fast BSS Transition) |
| 128 | #CONFIG_IEEE80211R=y |
| 129 | |
| 130 | # Use the hostapd's IEEE 802.11 authentication (ACL), but without |
Dmitry Shmidt | fb45fd5 | 2015-01-05 13:08:17 -0800 | [diff] [blame^] | 131 | # the IEEE 802.11 Management capability (e.g., FreeBSD/net80211) |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 132 | #CONFIG_DRIVER_RADIUS_ACL=y |
| 133 | |
| 134 | # IEEE 802.11n (High Throughput) support |
Dmitry Shmidt | 707d629 | 2012-02-28 11:21:32 -0800 | [diff] [blame] | 135 | CONFIG_IEEE80211N=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 136 | |
| 137 | # Remove debugging code that is printing out debug messages to stdout. |
| 138 | # This can be used to reduce the size of the hostapd considerably if debugging |
| 139 | # code is not needed. |
| 140 | #CONFIG_NO_STDOUT_DEBUG=y |
| 141 | |
| 142 | # Add support for writing debug log to Android logcat instead of standard output |
| 143 | CONFIG_ANDROID_LOG=y |
| 144 | |
| 145 | # Remove support for RADIUS accounting |
| 146 | #CONFIG_NO_ACCOUNTING=y |
| 147 | |
| 148 | # Remove support for RADIUS |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 149 | CONFIG_NO_RADIUS=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 150 | |
| 151 | # Remove support for VLANs |
| 152 | #CONFIG_NO_VLAN=y |
| 153 | |
Dmitry Shmidt | fb79edc | 2014-01-10 10:45:54 -0800 | [diff] [blame] | 154 | # Remove support for dumping internal state through control interface commands |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 155 | # This can be used to reduce binary size at the cost of disabling a debugging |
| 156 | # option. |
| 157 | #CONFIG_NO_DUMP_STATE=y |
| 158 | |
| 159 | # Select wrapper for operatins system and C library specific functions |
| 160 | # unix = UNIX/POSIX like systems (default) |
| 161 | # win32 = Windows systems |
| 162 | # none = Empty template |
| 163 | CONFIG_OS=unix |
| 164 | |
| 165 | # Enable tracing code for developer debugging |
| 166 | # This tracks use of memory allocations and other registrations and reports |
| 167 | # incorrect use with a backtrace of call (or allocation) location. |
| 168 | #CONFIG_WPA_TRACE=y |
| 169 | # For BSD, comment out these. |
| 170 | #LIBS += -lexecinfo |
| 171 | #LIBS_p += -lexecinfo |
| 172 | #LIBS_c += -lexecinfo |
| 173 | |
| 174 | # Use libbfd to get more details for developer debugging |
| 175 | # This enables use of libbfd to get more detailed symbols for the backtraces |
| 176 | # generated by CONFIG_WPA_TRACE=y. |
| 177 | #CONFIG_WPA_TRACE_BFD=y |
| 178 | # For BSD, comment out these. |
| 179 | #LIBS += -lbfd -liberty -lz |
| 180 | #LIBS_p += -lbfd -liberty -lz |
| 181 | #LIBS_c += -lbfd -liberty -lz |
Dmitry Shmidt | 497c1d5 | 2011-07-21 15:19:46 -0700 | [diff] [blame] | 182 | |
| 183 | # Enable AP |
| 184 | CONFIG_AP=y |