[CONF] enable 802.11AC in hostapd

Alexandre Epert alex.epert at hotmail.fr
Thu Dec 17 08:45:45 PST 2015


Hi,

I need to have a RTL8812AU based wifi usb dongle ( an Edimax AC600) to work in 802.11AC mode.

I can make it work on 2,4GHz band without problem (b, g or n) and on 5GHz only in "a" mode.

I was using hostpad form debian repository and I thought it may be old or uncompatible. I know some usb dongle require a particular hostapd from Realtek. I've compiled latest version from git with "CONFIG_IEEE80211AC=y" in .config file.

Problem is the same, it keeps telling me I'm in 802.11b mode and channel is not avaiiable:

-> /usr/local/bin//hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd1.conf
wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
wlan1: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (0) IEEE 802.11b
wlan1: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
wlan1: interface state COUNTRY_UPDATE->DISABLED
wlan1: AP-DISABLED
wlan1: Unable to setup interface.
wlan1: interface state DISABLED->DISABLED
wlan1: AP-DISABLED
hostapd_free_hapd_data: Interface wlan1 wasn't started
nl80211: deinit ifname=wlan1 disabled_11b_rates=0

-> hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd1.conf
wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
wlan1: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (0) IEEE 802.11b
wlan1: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
wlan1: interface state COUNTRY_UPDATE->DISABLED
wlan1: AP-DISABLED
wlan1: Unable to setup interface.
wlan1: interface state DISABLED->DISABLED
wlan1: AP-DISABLED
hostapd_free_hapd_data: Interface wlan1 wasn't started
nl80211: deinit ifname=wlan1 disabled_11b_rates=0


I'm sure I miss something but I can't tell what it is and I really have to make it work.

I hope someone here can help me.


Here is my hostapd.conf file :

interface=wlan1
bridge=br0
#hw_mode=a
channel=36
ieee80211d=1
country_code=FR
#ieee80211n=1
ieee80211ac=1
wmm_enabled=1
ignore_broadcast_ssid=0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=IciWifi Embarque


Here are infos from iw list :

Wiphy phy1
Supported interface modes:
	IBSS
	managed
	AP
	monitor
	P2P-client
	P2P-GO

Band 2:
Capabilities: 0x1862
	HT20/HT40
Bitrates (non-HT):
	6.0 Mbps
	9.0 Mbps
	12.0 Mbps
	18.0 Mbps
	24.0 Mbps
	36.0 Mbps
	48.0 Mbps
	54.0 Mbps
Frequencies:
	5170 MHz [34] (disabled)
	5180 MHz [36] (20.0 dBm)
	5190 MHz [38] (20.0 dBm)
	5200 MHz [40] (20.0 dBm)
	5210 MHz [42] (20.0 dBm)
	5220 MHz [44] (20.0 dBm)
	5230 MHz [46] (20.0 dBm)
	5240 MHz [48] (20.0 dBm)


Regards, 		 	   		  


More information about the Hostap mailing list