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 |
| 13 | CONFIG_DRIVER_HOSTAP=y |
| 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 |
Jouni Malinen | 87fd279 | 2011-05-16 18:35:42 +0300 | [diff] [blame] | 19 | CONFIG_DRIVER_NL80211=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 20 | |
Dmitry Shmidt | d80a401 | 2015-11-05 16:35:40 -0800 | [diff] [blame] | 21 | # QCA vendor extensions to nl80211 |
| 22 | #CONFIG_DRIVER_NL80211_QCA=y |
| 23 | |
Dmitry Shmidt | 344abd3 | 2014-01-14 13:17:00 -0800 | [diff] [blame] | 24 | # driver_nl80211.c requires libnl. If you are compiling it yourself |
| 25 | # you may need to point hostapd to your version of libnl. |
| 26 | # |
| 27 | #CFLAGS += -I$<path to libnl include files> |
| 28 | #LIBS += -L$<path to libnl library files> |
| 29 | |
| 30 | # Use libnl v2.0 (or 3.0) libraries. |
| 31 | #CONFIG_LIBNL20=y |
| 32 | |
| 33 | # Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored) |
Hai Shalom | 74f70d4 | 2019-02-11 14:42:39 -0800 | [diff] [blame] | 34 | CONFIG_LIBNL32=y |
Dmitry Shmidt | 344abd3 | 2014-01-14 13:17:00 -0800 | [diff] [blame] | 35 | |
| 36 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 37 | # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) |
| 38 | #CONFIG_DRIVER_BSD=y |
| 39 | #CFLAGS += -I/usr/local/include |
| 40 | #LIBS += -L/usr/local/lib |
| 41 | #LIBS_p += -L/usr/local/lib |
| 42 | #LIBS_c += -L/usr/local/lib |
| 43 | |
| 44 | # Driver interface for no driver (e.g., RADIUS server only) |
| 45 | #CONFIG_DRIVER_NONE=y |
| 46 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 47 | # WPA2/IEEE 802.11i RSN pre-authentication |
| 48 | CONFIG_RSN_PREAUTH=y |
| 49 | |
Hai Shalom | 74f70d4 | 2019-02-11 14:42:39 -0800 | [diff] [blame] | 50 | # Support Operating Channel Validation |
| 51 | #CONFIG_OCV=y |
| 52 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 53 | # Integrated EAP server |
| 54 | CONFIG_EAP=y |
| 55 | |
Dmitry Shmidt | fb45fd5 | 2015-01-05 13:08:17 -0800 | [diff] [blame] | 56 | # EAP Re-authentication Protocol (ERP) in integrated EAP server |
| 57 | CONFIG_ERP=y |
| 58 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 59 | # EAP-MD5 for the integrated EAP server |
| 60 | CONFIG_EAP_MD5=y |
| 61 | |
| 62 | # EAP-TLS for the integrated EAP server |
| 63 | CONFIG_EAP_TLS=y |
| 64 | |
| 65 | # EAP-MSCHAPv2 for the integrated EAP server |
| 66 | CONFIG_EAP_MSCHAPV2=y |
| 67 | |
| 68 | # EAP-PEAP for the integrated EAP server |
| 69 | CONFIG_EAP_PEAP=y |
| 70 | |
| 71 | # EAP-GTC for the integrated EAP server |
| 72 | CONFIG_EAP_GTC=y |
| 73 | |
| 74 | # EAP-TTLS for the integrated EAP server |
| 75 | CONFIG_EAP_TTLS=y |
| 76 | |
| 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 | |
Dmitry Shmidt | c5ec7f5 | 2012-03-06 16:33:24 -0800 | [diff] [blame] | 93 | # EAP-pwd for the integrated EAP server (secure authentication with a password) |
| 94 | #CONFIG_EAP_PWD=y |
| 95 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 96 | # EAP-SAKE for the integrated EAP server |
| 97 | #CONFIG_EAP_SAKE=y |
| 98 | |
| 99 | # EAP-GPSK for the integrated EAP server |
| 100 | #CONFIG_EAP_GPSK=y |
| 101 | # Include support for optional SHA256 cipher suite in EAP-GPSK |
| 102 | #CONFIG_EAP_GPSK_SHA256=y |
| 103 | |
| 104 | # EAP-FAST for the integrated EAP server |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 105 | #CONFIG_EAP_FAST=y |
| 106 | |
Hai Shalom | 81f62d8 | 2019-07-22 12:10:00 -0700 | [diff] [blame] | 107 | # EAP-TEAP for the integrated EAP server |
| 108 | # Note: The current EAP-TEAP implementation is experimental and should not be |
| 109 | # enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number |
| 110 | # of conflicting statements and missing details and the implementation has |
| 111 | # vendor specific workarounds for those and as such, may not interoperate with |
| 112 | # any other implementation. This should not be used for anything else than |
| 113 | # experimentation and interoperability testing until those issues has been |
| 114 | # resolved. |
| 115 | #CONFIG_EAP_TEAP=y |
| 116 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 117 | # Wi-Fi Protected Setup (WPS) |
| 118 | #CONFIG_WPS=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 119 | # Enable UPnP support for external WPS Registrars |
| 120 | #CONFIG_WPS_UPNP=y |
Dmitry Shmidt | 0494959 | 2012-07-19 12:16:46 -0700 | [diff] [blame] | 121 | # Enable WPS support with NFC config method |
| 122 | #CONFIG_WPS_NFC=y |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 123 | |
| 124 | # EAP-IKEv2 |
| 125 | #CONFIG_EAP_IKEV2=y |
| 126 | |
| 127 | # Trusted Network Connect (EAP-TNC) |
| 128 | #CONFIG_EAP_TNC=y |
| 129 | |
Dmitry Shmidt | 34af306 | 2013-07-11 10:46:32 -0700 | [diff] [blame] | 130 | # EAP-EKE for the integrated EAP server |
| 131 | #CONFIG_EAP_EKE=y |
| 132 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 133 | # PKCS#12 (PFX) support (used to read private key and certificate file from |
| 134 | # a file that usually has extension .p12 or .pfx) |
| 135 | CONFIG_PKCS12=y |
| 136 | |
| 137 | # RADIUS authentication server. This provides access to the integrated EAP |
| 138 | # server from external hosts using RADIUS. |
| 139 | #CONFIG_RADIUS_SERVER=y |
| 140 | |
| 141 | # Build IPv6 support for RADIUS operations |
| 142 | CONFIG_IPV6=y |
| 143 | |
Sunil Ravi | 99c035e | 2024-07-12 01:42:03 +0000 | [diff] [blame] | 144 | # Include support fo RADIUS/TLS into the RADIUS client |
| 145 | #CONFIG_RADIUS_TLS=y |
| 146 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 147 | # IEEE Std 802.11r-2008 (Fast BSS Transition) |
| 148 | #CONFIG_IEEE80211R=y |
| 149 | |
| 150 | # Use the hostapd's IEEE 802.11 authentication (ACL), but without |
Dmitry Shmidt | fb45fd5 | 2015-01-05 13:08:17 -0800 | [diff] [blame] | 151 | # the IEEE 802.11 Management capability (e.g., FreeBSD/net80211) |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 152 | #CONFIG_DRIVER_RADIUS_ACL=y |
| 153 | |
Dmitry Shmidt | 0494959 | 2012-07-19 12:16:46 -0700 | [diff] [blame] | 154 | # Wireless Network Management (IEEE Std 802.11v-2011) |
| 155 | # Note: This is experimental and not complete implementation. |
| 156 | #CONFIG_WNM=y |
| 157 | |
| 158 | # IEEE 802.11ac (Very High Throughput) support |
| 159 | #CONFIG_IEEE80211AC=y |
| 160 | |
Dmitry Shmidt | ebd93af | 2017-02-21 13:40:44 -0800 | [diff] [blame] | 161 | # IEEE 802.11ax HE support |
Sunil Ravi | a04bd25 | 2022-05-02 22:54:18 -0700 | [diff] [blame] | 162 | #CONFIG_IEEE80211AX=y |
| 163 | |
| 164 | # IEEE 802.11be EHT support |
| 165 | # CONFIG_IEEE80211AX is mandatory for setting CONFIG_IEEE80211BE. |
Dmitry Shmidt | ebd93af | 2017-02-21 13:40:44 -0800 | [diff] [blame] | 166 | # Note: This is experimental and work in progress. The definitions are still |
| 167 | # subject to change and this should not be expected to interoperate with the |
Sunil Ravi | a04bd25 | 2022-05-02 22:54:18 -0700 | [diff] [blame] | 168 | # final IEEE 802.11be version. |
| 169 | #CONFIG_IEEE80211BE=y |
| 170 | |
| 171 | # Simultaneous Authentication of Equals (SAE), WPA3-Personal |
| 172 | #CONFIG_SAE=y |
| 173 | |
| 174 | # SAE Public Key, WPA3-Personal |
| 175 | #CONFIG_SAE_PK=y |
Dmitry Shmidt | ebd93af | 2017-02-21 13:40:44 -0800 | [diff] [blame] | 176 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 177 | # Remove debugging code that is printing out debug messages to stdout. |
| 178 | # This can be used to reduce the size of the hostapd considerably if debugging |
| 179 | # code is not needed. |
| 180 | #CONFIG_NO_STDOUT_DEBUG=y |
| 181 | |
| 182 | # Add support for writing debug log to a file: -f /tmp/hostapd.log |
| 183 | # Disabled by default. |
| 184 | #CONFIG_DEBUG_FILE=y |
| 185 | |
Paul Stewart | 092955c | 2017-02-06 09:13:09 -0800 | [diff] [blame] | 186 | # Send debug messages to syslog instead of stdout |
| 187 | #CONFIG_DEBUG_SYSLOG=y |
| 188 | |
Dmitry Shmidt | cce0666 | 2013-11-04 18:44:24 -0800 | [diff] [blame] | 189 | # Add support for sending all debug messages (regardless of debug verbosity) |
| 190 | # to the Linux kernel tracing facility. This helps debug the entire stack by |
| 191 | # making it easy to record everything happening from the driver up into the |
| 192 | # same file, e.g., using trace-cmd. |
| 193 | #CONFIG_DEBUG_LINUX_TRACING=y |
| 194 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 195 | # Remove support for RADIUS accounting |
| 196 | #CONFIG_NO_ACCOUNTING=y |
| 197 | |
| 198 | # Remove support for RADIUS |
| 199 | #CONFIG_NO_RADIUS=y |
| 200 | |
| 201 | # Remove support for VLANs |
| 202 | #CONFIG_NO_VLAN=y |
| 203 | |
| 204 | # Enable support for fully dynamic VLANs. This enables hostapd to |
| 205 | # automatically create bridge and VLAN interfaces if necessary. |
| 206 | #CONFIG_FULL_DYNAMIC_VLAN=y |
| 207 | |
Dmitry Shmidt | 61d9df3 | 2012-08-29 16:22:06 -0700 | [diff] [blame] | 208 | # Use netlink-based kernel API for VLAN operations instead of ioctl() |
| 209 | # Note: This requires libnl 3.1 or newer. |
| 210 | #CONFIG_VLAN_NETLINK=y |
| 211 | |
Dmitry Shmidt | fb79edc | 2014-01-10 10:45:54 -0800 | [diff] [blame] | 212 | # Remove support for dumping internal state through control interface commands |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 213 | # This can be used to reduce binary size at the cost of disabling a debugging |
| 214 | # option. |
| 215 | #CONFIG_NO_DUMP_STATE=y |
| 216 | |
| 217 | # Enable tracing code for developer debugging |
| 218 | # This tracks use of memory allocations and other registrations and reports |
| 219 | # incorrect use with a backtrace of call (or allocation) location. |
| 220 | #CONFIG_WPA_TRACE=y |
| 221 | # For BSD, comment out these. |
| 222 | #LIBS += -lexecinfo |
| 223 | #LIBS_p += -lexecinfo |
| 224 | #LIBS_c += -lexecinfo |
| 225 | |
| 226 | # Use libbfd to get more details for developer debugging |
| 227 | # This enables use of libbfd to get more detailed symbols for the backtraces |
| 228 | # generated by CONFIG_WPA_TRACE=y. |
| 229 | #CONFIG_WPA_TRACE_BFD=y |
| 230 | # For BSD, comment out these. |
| 231 | #LIBS += -lbfd -liberty -lz |
| 232 | #LIBS_p += -lbfd -liberty -lz |
| 233 | #LIBS_c += -lbfd -liberty -lz |
| 234 | |
| 235 | # hostapd depends on strong random number generation being available from the |
| 236 | # operating system. os_get_random() function is used to fetch random data when |
| 237 | # needed, e.g., for key generation. On Linux and BSD systems, this works by |
| 238 | # reading /dev/urandom. It should be noted that the OS entropy pool needs to be |
| 239 | # properly initialized before hostapd is started. This is important especially |
| 240 | # on embedded devices that do not have a hardware random number generator and |
| 241 | # may by default start up with minimal entropy available for random number |
| 242 | # generation. |
| 243 | # |
| 244 | # As a safety net, hostapd is by default trying to internally collect |
| 245 | # additional entropy for generating random data to mix in with the data |
| 246 | # fetched from the OS. This by itself is not considered to be very strong, but |
| 247 | # it may help in cases where the system pool is not initialized properly. |
| 248 | # However, it is very strongly recommended that the system pool is initialized |
| 249 | # with enough entropy either by using hardware assisted random number |
Jouni Malinen | 75ecf52 | 2011-06-27 15:19:46 -0700 | [diff] [blame] | 250 | # generator or by storing state over device reboots. |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 251 | # |
Jouni Malinen | 75ecf52 | 2011-06-27 15:19:46 -0700 | [diff] [blame] | 252 | # hostapd can be configured to maintain its own entropy store over restarts to |
| 253 | # enhance random number generation. This is not perfect, but it is much more |
| 254 | # secure than using the same sequence of random numbers after every reboot. |
| 255 | # This can be enabled with -e<entropy file> command line option. The specified |
| 256 | # file needs to be readable and writable by hostapd. |
| 257 | # |
| 258 | # If the os_get_random() is known to provide strong random data (e.g., on |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 259 | # Linux/BSD, the board in question is known to have reliable source of random |
| 260 | # data from /dev/urandom), the internal hostapd random pool can be disabled. |
| 261 | # This will save some in binary size and CPU use. However, this should only be |
| 262 | # considered for builds that are known to be used on devices that meet the |
| 263 | # requirements described above. |
| 264 | #CONFIG_NO_RANDOM_POOL=y |
Dmitry Shmidt | 1f69aa5 | 2012-01-24 16:10:04 -0800 | [diff] [blame] | 265 | |
Hai Shalom | 74f70d4 | 2019-02-11 14:42:39 -0800 | [diff] [blame] | 266 | # Should we attempt to use the getrandom(2) call that provides more reliable |
| 267 | # yet secure randomness source than /dev/random on Linux 3.17 and newer. |
| 268 | # Requires glibc 2.25 to build, falls back to /dev/random if unavailable. |
| 269 | #CONFIG_GETRANDOM=y |
| 270 | |
Dmitry Shmidt | d80a401 | 2015-11-05 16:35:40 -0800 | [diff] [blame] | 271 | # Should we use poll instead of select? Select is used by default. |
| 272 | #CONFIG_ELOOP_POLL=y |
| 273 | |
| 274 | # Should we use epoll instead of select? Select is used by default. |
| 275 | #CONFIG_ELOOP_EPOLL=y |
| 276 | |
Dmitry Shmidt | 57c2d39 | 2016-02-23 13:40:19 -0800 | [diff] [blame] | 277 | # Should we use kqueue instead of select? Select is used by default. |
| 278 | #CONFIG_ELOOP_KQUEUE=y |
| 279 | |
Dmitry Shmidt | 1f69aa5 | 2012-01-24 16:10:04 -0800 | [diff] [blame] | 280 | # Select TLS implementation |
| 281 | # openssl = OpenSSL (default) |
| 282 | # gnutls = GnuTLS |
| 283 | # internal = Internal TLSv1 implementation (experimental) |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 284 | # linux = Linux kernel AF_ALG and internal TLSv1 implementation (experimental) |
Dmitry Shmidt | 1f69aa5 | 2012-01-24 16:10:04 -0800 | [diff] [blame] | 285 | # none = Empty template |
| 286 | #CONFIG_TLS=openssl |
| 287 | |
| 288 | # TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1) |
| 289 | # can be enabled to get a stronger construction of messages when block ciphers |
| 290 | # are used. |
| 291 | #CONFIG_TLSV11=y |
| 292 | |
| 293 | # TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2) |
| 294 | # can be enabled to enable use of stronger crypto algorithms. |
| 295 | #CONFIG_TLSV12=y |
| 296 | |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 297 | # Select which ciphers to use by default with OpenSSL if the user does not |
| 298 | # specify them. |
| 299 | #CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW" |
| 300 | |
Dmitry Shmidt | 1f69aa5 | 2012-01-24 16:10:04 -0800 | [diff] [blame] | 301 | # If CONFIG_TLS=internal is used, additional library and include paths are |
| 302 | # needed for LibTomMath. Alternatively, an integrated, minimal version of |
| 303 | # LibTomMath can be used. See beginning of libtommath.c for details on benefits |
| 304 | # and drawbacks of this option. |
| 305 | #CONFIG_INTERNAL_LIBTOMMATH=y |
| 306 | #ifndef CONFIG_INTERNAL_LIBTOMMATH |
| 307 | #LTM_PATH=/usr/src/libtommath-0.39 |
| 308 | #CFLAGS += -I$(LTM_PATH) |
| 309 | #LIBS += -L$(LTM_PATH) |
| 310 | #LIBS_p += -L$(LTM_PATH) |
| 311 | #endif |
| 312 | # At the cost of about 4 kB of additional binary size, the internal LibTomMath |
| 313 | # can be configured to include faster routines for exptmod, sqr, and div to |
| 314 | # speed up DH and RSA calculation considerably |
| 315 | #CONFIG_INTERNAL_LIBTOMMATH_FAST=y |
| 316 | |
| 317 | # Interworking (IEEE 802.11u) |
| 318 | # This can be used to enable functionality to improve interworking with |
| 319 | # external networks. |
| 320 | #CONFIG_INTERWORKING=y |
Dmitry Shmidt | 61d9df3 | 2012-08-29 16:22:06 -0700 | [diff] [blame] | 321 | |
| 322 | # Hotspot 2.0 |
| 323 | #CONFIG_HS20=y |
| 324 | |
Dmitry Shmidt | d5e4923 | 2012-12-03 15:08:10 -0800 | [diff] [blame] | 325 | # Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file |
Dmitry Shmidt | 61d9df3 | 2012-08-29 16:22:06 -0700 | [diff] [blame] | 326 | #CONFIG_SQLITE=y |
Dmitry Shmidt | 8da800a | 2013-04-24 12:57:01 -0700 | [diff] [blame] | 327 | |
Dmitry Shmidt | d80a401 | 2015-11-05 16:35:40 -0800 | [diff] [blame] | 328 | # Enable Fast Session Transfer (FST) |
| 329 | #CONFIG_FST=y |
| 330 | |
| 331 | # Enable CLI commands for FST testing |
| 332 | #CONFIG_FST_TEST=y |
| 333 | |
Dmitry Shmidt | 8da800a | 2013-04-24 12:57:01 -0700 | [diff] [blame] | 334 | # Testing options |
| 335 | # This can be used to enable some testing options (see also the example |
| 336 | # configuration file) that are really useful only for testing clients that |
| 337 | # connect to this hostapd. These options allow, for example, to drop a |
| 338 | # certain percentage of probe requests or auth/(re)assoc frames. |
| 339 | # |
| 340 | #CONFIG_TESTING_OPTIONS=y |
Dmitry Shmidt | 391c59f | 2013-09-03 12:16:28 -0700 | [diff] [blame] | 341 | |
| 342 | # Automatic Channel Selection |
| 343 | # This will allow hostapd to pick the channel automatically when channel is set |
| 344 | # to "acs_survey" or "0". Eventually, other ACS algorithms can be added in |
| 345 | # similar way. |
| 346 | # |
| 347 | # Automatic selection is currently only done through initialization, later on |
| 348 | # we hope to do background checks to keep us moving to more ideal channels as |
| 349 | # time goes by. ACS is currently only supported through the nl80211 driver and |
| 350 | # your driver must have survey dump capability that is filled by the driver |
| 351 | # during scanning. |
| 352 | # |
| 353 | # You can customize the ACS survey algorithm with the hostapd.conf variable |
| 354 | # acs_num_scans. |
| 355 | # |
| 356 | # Supported ACS drivers: |
| 357 | # * ath9k |
| 358 | # * ath5k |
| 359 | # * ath10k |
| 360 | # |
| 361 | # For more details refer to: |
Hai Shalom | a20dcd7 | 2022-02-04 13:43:00 -0800 | [diff] [blame] | 362 | # https://wireless.wiki.kernel.org/en/users/documentation/acs |
Dmitry Shmidt | 391c59f | 2013-09-03 12:16:28 -0700 | [diff] [blame] | 363 | # |
| 364 | #CONFIG_ACS=y |
Dmitry Shmidt | 57c2d39 | 2016-02-23 13:40:19 -0800 | [diff] [blame] | 365 | |
| 366 | # Multiband Operation support |
Hai Shalom | 899fcc7 | 2020-10-19 14:38:18 -0700 | [diff] [blame] | 367 | # These extensions facilitate efficient use of multiple frequency bands |
Dmitry Shmidt | 57c2d39 | 2016-02-23 13:40:19 -0800 | [diff] [blame] | 368 | # available to the AP and the devices that may associate with it. |
| 369 | #CONFIG_MBO=y |
Dmitry Shmidt | aca489e | 2016-09-28 15:44:14 -0700 | [diff] [blame] | 370 | |
| 371 | # Client Taxonomy |
| 372 | # Has the AP retain the Probe Request and (Re)Association Request frames from |
| 373 | # a client, from which a signature can be produced which can identify the model |
| 374 | # of client device like "Nexus 6P" or "iPhone 5s". |
| 375 | #CONFIG_TAXONOMY=y |
Dmitry Shmidt | 9839ecd | 2016-11-07 11:05:47 -0800 | [diff] [blame] | 376 | |
| 377 | # Fast Initial Link Setup (FILS) (IEEE 802.11ai) |
Dmitry Shmidt | 9839ecd | 2016-11-07 11:05:47 -0800 | [diff] [blame] | 378 | #CONFIG_FILS=y |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 379 | # FILS shared key authentication with PFS |
| 380 | #CONFIG_FILS_SK_PFS=y |
Dmitry Shmidt | 9839ecd | 2016-11-07 11:05:47 -0800 | [diff] [blame] | 381 | |
| 382 | # Include internal line edit mode in hostapd_cli. This can be used to provide |
| 383 | # limited command line editing and history support. |
| 384 | #CONFIG_WPA_CLI_EDIT=y |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 385 | |
| 386 | # Opportunistic Wireless Encryption (OWE) |
| 387 | # Experimental implementation of draft-harkins-owe-07.txt |
| 388 | #CONFIG_OWE=y |
| 389 | |
Jimmy Chen | caaac07 | 2019-09-16 16:36:06 +0800 | [diff] [blame] | 390 | # WLAN Authentication and Privacy Infrastructure (WAPI): interface only. |
| 391 | # Configure the building of the interface which allows WAPI configuration. |
| 392 | # Note: does not configure WAPI implementation itself. |
| 393 | #CONFIG_WAPI_INTERFACE=y |
| 394 | |
Hai Shalom | 81f62d8 | 2019-07-22 12:10:00 -0700 | [diff] [blame] | 395 | # Airtime policy support |
| 396 | #CONFIG_AIRTIME_POLICY=y |
| 397 | |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 398 | # Override default value for the wpa_disable_eapol_key_retries configuration |
| 399 | # parameter. See that parameter in hostapd.conf for more details. |
| 400 | #CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1 |
Hai Shalom | fdcde76 | 2020-04-02 11:19:20 -0700 | [diff] [blame] | 401 | |
| 402 | # Wired equivalent privacy (WEP) |
| 403 | # WEP is an obsolete cryptographic data confidentiality algorithm that is not |
| 404 | # considered secure. It should not be used for anything anymore. The |
| 405 | # functionality needed to use WEP is available in the current hostapd |
| 406 | # release under this optional build parameter. This functionality is subject to |
| 407 | # be completely removed in a future release. |
| 408 | #CONFIG_WEP=y |
Hai Shalom | b755a2a | 2020-04-23 21:49:02 -0700 | [diff] [blame] | 409 | |
| 410 | # Remove all TKIP functionality |
| 411 | # TKIP is an old cryptographic data confidentiality algorithm that is not |
| 412 | # considered secure. It should not be used anymore. For now, the default hostapd |
| 413 | # build includes this to allow mixed mode WPA+WPA2 networks to be enabled, but |
| 414 | # that functionality is subject to be removed in the future. |
| 415 | #CONFIG_NO_TKIP=y |
Hai Shalom | 6084025 | 2021-02-19 19:02:11 -0800 | [diff] [blame] | 416 | |
| 417 | # Pre-Association Security Negotiation (PASN) |
| 418 | # Experimental implementation based on IEEE P802.11z/D2.6 and the protocol |
| 419 | # design is still subject to change. As such, this should not yet be enabled in |
| 420 | # production use. |
Hai Shalom | 6084025 | 2021-02-19 19:02:11 -0800 | [diff] [blame] | 421 | #CONFIG_PASN=y |
Hai Shalom | a20dcd7 | 2022-02-04 13:43:00 -0800 | [diff] [blame] | 422 | |
| 423 | # Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect) |
| 424 | CONFIG_DPP=y |
| 425 | # DPP version 2 support |
| 426 | CONFIG_DPP2=y |
| 427 | # DPP version 3 support (experimental and still changing; do not enable for |
| 428 | # production use) |
| 429 | #CONFIG_DPP3=y |
Sunil Ravi | b0ac25f | 2024-07-12 01:42:03 +0000 | [diff] [blame] | 430 | |
| 431 | # Wi-Fi Aware unsynchronized service discovery (NAN USD) |
| 432 | #CONFIG_NAN_USD=y |