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