# Give wifi interface and bridge interface interface=wlan1 # Most common driver, should work with most devices driver=nl80211 # Enable 802.11g hw_mode=g # Enable 802.11n capabilities ieee80211n=1 wmm_enabled=1 # Channel to broadcast on channel=6 # Enables the legal wifi channels for your country country_code=US # http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm # Enable regulatory limitations ieee80211d=1 # Network name ssid=Free TOR Wifi # Run iw list and match capabilities with flags # ht_capab: HT capabilities (list of flags) # LDPC coding capability: [LDPC] = supported # Supported channel width set: [HT40-] = both 20 MHz and 40 MHz with secondary # channel below the primary channel; [HT40+] = both 20 MHz and 40 MHz # with secondary channel above the primary channel # (20 MHz only if neither is set) # Note: There are limits on which channels can be used with HT40- and # HT40+. Following table shows the channels that may be available for # HT40- and HT40+ use per IEEE 802.11n Annex J: # freq HT40- HT40+ # 2.4 GHz 5-13 1-7 (1-9 in Europe/Japan) # 5 GHz 40,48,56,64 36,44,52,60 # (depending on the location, not all of these channels may be available # for use) # Please note that 40 MHz channels may switch their primary and secondary # channels if needed or creation of 40 MHz channel maybe rejected based # on overlapping BSSes. These changes are done automatically when hostapd # is setting up the 40 MHz channel. # Spatial Multiplexing (SM) Power Save: [SMPS-STATIC] or [SMPS-DYNAMIC] # (SMPS disabled if neither is set) # HT-greenfield: [GF] (disabled if not set) # Short GI for 20 MHz: [SHORT-GI-20] (disabled if not set) # Short GI for 40 MHz: [SHORT-GI-40] (disabled if not set) # Tx STBC: [TX-STBC] (disabled if not set) # Rx STBC: [RX-STBC1] (one spatial stream), [RX-STBC12] (one or two spatial # streams), or [RX-STBC123] (one, two, or three spatial streams); Rx STBC # disabled if none of these set # HT-delayed Block Ack: [DELAYED-BA] (disabled if not set) # Maximum A-MSDU length: [MAX-AMSDU-7935] for 7935 octets (3839 octets if not # set) # DSSS/CCK Mode in 40 MHz: [DSSS_CCK-40] = allowed (not allowed if not set) # 40 MHz intolerant [40-INTOLERANT] (not advertised if not set) # L-SIG TXOP protection support: [LSIG-TXOP-PROT] (disabled if not set) ht_capab=[HT40-][SHORT-GI-40][TX-STBC][RX-STBC12] # Length of time in seconds until client has to reauthenticate with AP. 3600=1hr eap_reauth_period=3600 # makes the SSID visible and broadcasted ignore_broadcast_ssid=0 # debugging output - uncomment them to activate; issue hostapd -d /etc/hostapd/hostapd.conf # to get debugging info in visible/real-time form #logger_syslog=-1 #logger_syslog_level=2 #logger_stdout=-1 #logger_stdout_level=2