Home | History | Annotate | Line # | Download | only in hostapd
android.config revision 1.1.1.4
      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  christos # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
     32      1.1  christos #CONFIG_DRIVER_BSD=y
     33      1.1  christos #CFLAGS += -I/usr/local/include
     34      1.1  christos #LIBS += -L/usr/local/lib
     35      1.1  christos #LIBS_p += -L/usr/local/lib
     36      1.1  christos #LIBS_c += -L/usr/local/lib
     37      1.1  christos 
     38      1.1  christos # Driver interface for no driver (e.g., RADIUS server only)
     39      1.1  christos #CONFIG_DRIVER_NONE=y
     40      1.1  christos 
     41      1.1  christos # IEEE 802.11F/IAPP
     42      1.1  christos #CONFIG_IAPP=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  christos # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
     48      1.1  christos #CONFIG_PEERKEY=y
     49      1.1  christos 
     50      1.1  christos # IEEE 802.11w (management frame protection)
     51      1.1  christos # This version is an experimental implementation based on IEEE 802.11w/D1.0
     52      1.1  christos # draft and is subject to change since the standard has not yet been finalized.
     53      1.1  christos # Driver support is also needed for IEEE 802.11w.
     54  1.1.1.2  christos CONFIG_IEEE80211W=y
     55      1.1  christos 
     56      1.1  christos # Integrated EAP server
     57      1.1  christos #CONFIG_EAP=y
     58      1.1  christos 
     59      1.1  christos # EAP-MD5 for the integrated EAP server
     60      1.1  christos #CONFIG_EAP_MD5=y
     61      1.1  christos 
     62      1.1  christos # EAP-TLS for the integrated EAP server
     63      1.1  christos #CONFIG_EAP_TLS=y
     64      1.1  christos 
     65      1.1  christos # EAP-MSCHAPv2 for the integrated EAP server
     66      1.1  christos #CONFIG_EAP_MSCHAPV2=y
     67      1.1  christos 
     68      1.1  christos # EAP-PEAP for the integrated EAP server
     69      1.1  christos #CONFIG_EAP_PEAP=y
     70      1.1  christos 
     71      1.1  christos # EAP-GTC for the integrated EAP server
     72      1.1  christos #CONFIG_EAP_GTC=y
     73      1.1  christos 
     74      1.1  christos # EAP-TTLS for the integrated EAP server
     75      1.1  christos #CONFIG_EAP_TTLS=y
     76      1.1  christos 
     77      1.1  christos # EAP-SIM for the integrated EAP server
     78      1.1  christos #CONFIG_EAP_SIM=y
     79      1.1  christos 
     80      1.1  christos # EAP-AKA for the integrated EAP server
     81      1.1  christos #CONFIG_EAP_AKA=y
     82      1.1  christos 
     83      1.1  christos # EAP-AKA' for the integrated EAP server
     84      1.1  christos # This requires CONFIG_EAP_AKA to be enabled, too.
     85      1.1  christos #CONFIG_EAP_AKA_PRIME=y
     86      1.1  christos 
     87      1.1  christos # EAP-PAX for the integrated EAP server
     88      1.1  christos #CONFIG_EAP_PAX=y
     89      1.1  christos 
     90      1.1  christos # EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
     91      1.1  christos #CONFIG_EAP_PSK=y
     92      1.1  christos 
     93      1.1  christos # EAP-SAKE for the integrated EAP server
     94      1.1  christos #CONFIG_EAP_SAKE=y
     95      1.1  christos 
     96      1.1  christos # EAP-GPSK for the integrated EAP server
     97      1.1  christos #CONFIG_EAP_GPSK=y
     98      1.1  christos # Include support for optional SHA256 cipher suite in EAP-GPSK
     99      1.1  christos #CONFIG_EAP_GPSK_SHA256=y
    100      1.1  christos 
    101      1.1  christos # EAP-FAST for the integrated EAP server
    102      1.1  christos # Note: Default OpenSSL package does not include support for all the
    103      1.1  christos # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
    104      1.1  christos # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
    105      1.1  christos # to add the needed functions.
    106      1.1  christos #CONFIG_EAP_FAST=y
    107      1.1  christos 
    108      1.1  christos # Wi-Fi Protected Setup (WPS)
    109      1.1  christos CONFIG_WPS=y
    110      1.1  christos # Enable UPnP support for external WPS Registrars
    111      1.1  christos #CONFIG_WPS_UPNP=y
    112      1.1  christos 
    113      1.1  christos # EAP-IKEv2
    114      1.1  christos #CONFIG_EAP_IKEV2=y
    115      1.1  christos 
    116      1.1  christos # Trusted Network Connect (EAP-TNC)
    117      1.1  christos #CONFIG_EAP_TNC=y
    118      1.1  christos 
    119      1.1  christos # PKCS#12 (PFX) support (used to read private key and certificate file from
    120      1.1  christos # a file that usually has extension .p12 or .pfx)
    121      1.1  christos CONFIG_PKCS12=y
    122      1.1  christos 
    123      1.1  christos # RADIUS authentication server. This provides access to the integrated EAP
    124      1.1  christos # server from external hosts using RADIUS.
    125      1.1  christos #CONFIG_RADIUS_SERVER=y
    126      1.1  christos 
    127      1.1  christos # Build IPv6 support for RADIUS operations
    128      1.1  christos CONFIG_IPV6=y
    129      1.1  christos 
    130      1.1  christos # IEEE Std 802.11r-2008 (Fast BSS Transition)
    131      1.1  christos #CONFIG_IEEE80211R=y
    132      1.1  christos 
    133      1.1  christos # Use the hostapd's IEEE 802.11 authentication (ACL), but without
    134  1.1.1.3  christos # the IEEE 802.11 Management capability (e.g., FreeBSD/net80211)
    135      1.1  christos #CONFIG_DRIVER_RADIUS_ACL=y
    136      1.1  christos 
    137      1.1  christos # IEEE 802.11n (High Throughput) support
    138      1.1  christos CONFIG_IEEE80211N=y
    139      1.1  christos 
    140      1.1  christos # Remove debugging code that is printing out debug messages to stdout.
    141      1.1  christos # This can be used to reduce the size of the hostapd considerably if debugging
    142      1.1  christos # code is not needed.
    143      1.1  christos #CONFIG_NO_STDOUT_DEBUG=y
    144      1.1  christos 
    145      1.1  christos # Add support for writing debug log to Android logcat instead of standard output
    146      1.1  christos CONFIG_ANDROID_LOG=y
    147      1.1  christos 
    148      1.1  christos # Remove support for RADIUS accounting
    149      1.1  christos #CONFIG_NO_ACCOUNTING=y
    150      1.1  christos 
    151      1.1  christos # Remove support for RADIUS
    152      1.1  christos CONFIG_NO_RADIUS=y
    153      1.1  christos 
    154      1.1  christos # Remove support for VLANs
    155      1.1  christos #CONFIG_NO_VLAN=y
    156      1.1  christos 
    157  1.1.1.2  christos # Remove support for dumping internal state through control interface commands
    158      1.1  christos # This can be used to reduce binary size at the cost of disabling a debugging
    159      1.1  christos # option.
    160      1.1  christos #CONFIG_NO_DUMP_STATE=y
    161      1.1  christos 
    162      1.1  christos # Select wrapper for operatins system and C library specific functions
    163      1.1  christos # unix = UNIX/POSIX like systems (default)
    164      1.1  christos # win32 = Windows systems
    165      1.1  christos # none = Empty template
    166      1.1  christos CONFIG_OS=unix
    167      1.1  christos 
    168      1.1  christos # Enable tracing code for developer debugging
    169      1.1  christos # This tracks use of memory allocations and other registrations and reports
    170      1.1  christos # incorrect use with a backtrace of call (or allocation) location.
    171      1.1  christos #CONFIG_WPA_TRACE=y
    172      1.1  christos # For BSD, comment out these.
    173      1.1  christos #LIBS += -lexecinfo
    174      1.1  christos #LIBS_p += -lexecinfo
    175      1.1  christos #LIBS_c += -lexecinfo
    176      1.1  christos 
    177      1.1  christos # Use libbfd to get more details for developer debugging
    178      1.1  christos # This enables use of libbfd to get more detailed symbols for the backtraces
    179      1.1  christos # generated by CONFIG_WPA_TRACE=y.
    180      1.1  christos #CONFIG_WPA_TRACE_BFD=y
    181      1.1  christos # For BSD, comment out these.
    182      1.1  christos #LIBS += -lbfd -liberty -lz
    183      1.1  christos #LIBS_p += -lbfd -liberty -lz
    184      1.1  christos #LIBS_c += -lbfd -liberty -lz
    185      1.1  christos 
    186  1.1.1.4  christos # Should we use poll instead of select? Select is used by default.
    187  1.1.1.4  christos #CONFIG_ELOOP_POLL=y
    188  1.1.1.4  christos 
    189  1.1.1.4  christos # Should we use epoll instead of select? Select is used by default.
    190  1.1.1.4  christos #CONFIG_ELOOP_EPOLL=y
    191  1.1.1.4  christos 
    192      1.1  christos # Enable AP
    193      1.1  christos CONFIG_AP=y
    194  1.1.1.4  christos 
    195  1.1.1.4  christos # Enable Fast Session Transfer (FST)
    196  1.1.1.4  christos #CONFIG_FST=y
    197  1.1.1.4  christos 
    198  1.1.1.4  christos # Multiband Operation support
    199  1.1.1.4  christos # These extentions facilitate efficient use of multiple frequency bands
    200  1.1.1.4  christos # available to the AP and the devices that may associate with it.
    201  1.1.1.4  christos #CONFIG_MBO=y
    202