Hostapd with Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter problems

Cor Legemaat cor at cor.za.net
Wed Jul 6 02:53:57 PDT 2016


Hi all:

I am struggling to get hostapd working on this card and don't know
where to start searching:

My system:
 * Linux Gentoo kernel 4.5.7
 * sys-kernel/linux-firmware-20160628
 * net-wireless/hostapd-2.5

Attached is the detail, tnx.
Regards:
Cor
-------------- next part --------------
Wiphy phy0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Device supports AP-side u-APSD.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP (00-0f-ac:4)
		* CMAC (00-0f-ac:6)
	Available Antennas: TX 0x3 RX 0x3
	Configured Antennas: TX 0x3 RX 0x3
	Supported interface modes:
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-15
		VHT Capabilities (0x338001b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: not supported
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: not supported
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		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:
			* 5180 MHz [36] (20.0 dBm)
			* 5200 MHz [40] (20.0 dBm)
			* 5220 MHz [44] (20.0 dBm)
			* 5240 MHz [48] (20.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5500 MHz [100] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5520 MHz [104] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5540 MHz [108] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5560 MHz [112] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5580 MHz [116] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5600 MHz [120] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5620 MHz [124] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5640 MHz [128] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5660 MHz [132] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5680 MHz [136] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5700 MHz [140] (23.0 dBm) (no IR, radar detection)
			  DFS state: usable (for 8205 sec)
			  DFS CAC time: 60000 ms
			* 5720 MHz [144] (disabled)
			* 5745 MHz [149] (disabled)
			* 5765 MHz [153] (disabled)
			* 5785 MHz [157] (disabled)
			* 5805 MHz [161] (disabled)
			* 5825 MHz [165] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * testmode
		 * channel_switch
		 * set_qos_map
		 * connect
		 * disconnect
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ AP } <= 8, #{ managed } <= 1,
		   total <= 8, #channels <= 1, STA/AP BI must match
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports scan flush.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
	Device supports static SMPS
	Device supports configuring vdev MAC-addr on create.
	Device supports VHT-IBSS.

-------------- next part --------------
cat /etc/hostapd/hostapd.conf | egrep "^[^#]"
interface=wlan0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=bhs4-bhs5
country_code=ZA
hw_mode=a
channel=0
beacon_int=240
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
preamble=0
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ieee80211n=1
ht_capab=[HT20][HT40+][SHORT-GI-40][SHORT-GI-20]
ieee80211ac=1
vht_capab=[MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP0][SHORT-GI-80]
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_passphrase=d7E89BB2e326ZVFctct9NEtgugYpGAJFxPFzKUM5TkJMCRXVs4CaqiTjK4du
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP

-------------- next part --------------
hostapd /etc/hostapd/hostapd.conf -dddd
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 8 iftype 3 (AP)
nl80211: Failed to set interface 8 to mode 3: -16 (Device or resource busy)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 8 iftype 3 (AP)
nl80211: Mode change succeeded while interface is down
nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x94cb978
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x94cb978 match=
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x94cb978 match=
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x94cb978 match=
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x94cb978 match=
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x94cb978 match=
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x94cb978 match=
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x94cb978 match=
nl80211: Add own interface ifindex 8
nl80211: if_indices[16]: 8
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code ZA, new country code ZA 
nl80211: Regulatory information - country=ZA (DFS-ETSI)
nl80211: 2402-2482 @ 40 MHz 20 mBm
nl80211: 5170-5250 @ 80 MHz 20 mBm
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS)
nl80211: 5490-5710 @ 160 MHz 30 mBm
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=20 dBm
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlan0: nl80211: scan request
nl80211: Scan frequency 5180 MHz
nl80211: Scan frequency 5200 MHz
nl80211: Scan frequency 5220 MHz
nl80211: Scan frequency 5240 MHz
Scan requested (ret=0) - scan timeout 10 seconds
wlan0: interface state COUNTRY_UPDATE->ACS
wlan0: ACS-STARTED 
Interface initialization will be completed in a callback (ACS)
ctrl_iface not configured!
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: ifi_index=8 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
nl80211: Ignore interface down event since interface wlan0 is up
RTM_NEWLINK: ifi_index=8 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5200 MHz noise=-101 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5220 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5240 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5500 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5520 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5540 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5560 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5580 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5600 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5620 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5640 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5660 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5680 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5700 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
wlan0: Event SURVEY (46) received
ACS: Scanning 2 / 5
wlan0: nl80211: scan request
nl80211: Scan frequency 5180 MHz
nl80211: Scan frequency 5200 MHz
nl80211: Scan frequency 5220 MHz
nl80211: Scan frequency 5240 MHz
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-101 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5200 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5220 MHz noise=-103 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5240 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5500 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5520 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5540 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5560 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5580 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5600 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5620 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5640 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5660 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5680 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5700 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
wlan0: Event SURVEY (46) received
ACS: Scanning 3 / 5
wlan0: nl80211: scan request
nl80211: Scan frequency 5180 MHz
nl80211: Scan frequency 5200 MHz
nl80211: Scan frequency 5220 MHz
nl80211: Scan frequency 5240 MHz
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5200 MHz noise=-103 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5220 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5240 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5500 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5520 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5540 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5560 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5580 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5600 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5620 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5640 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5660 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5680 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5700 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
wlan0: Event SURVEY (46) received
ACS: Scanning 4 / 5
wlan0: nl80211: scan request
nl80211: Scan frequency 5180 MHz
nl80211: Scan frequency 5200 MHz
nl80211: Scan frequency 5220 MHz
nl80211: Scan frequency 5240 MHz
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-101 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5200 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5220 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5240 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5500 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5520 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5540 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5560 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5580 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5600 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5620 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5640 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5660 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5680 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5700 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
wlan0: Event SURVEY (46) received
ACS: Scanning 5 / 5
wlan0: nl80211: scan request
nl80211: Scan frequency 5180 MHz
nl80211: Scan frequency 5200 MHz
nl80211: Scan frequency 5220 MHz
nl80211: Scan frequency 5240 MHz
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-101 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5200 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5220 MHz noise=-102 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5240 MHz noise=-103 channel_time=146 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5500 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5520 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5540 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5560 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5580 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5600 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5620 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5640 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5660 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5680 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5700 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
wlan0: Event SURVEY (46) received
ACS: Trying survey-based ACS
ACS: Survey analysis for channel 36 (5180 MHz)
ACS: 1: min_nf=-102 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 2: min_nf=-102 interference_factor=6.30957e-21 nf=-101 time=146 busy=0 rx=0
ACS: 3: min_nf=-102 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 4: min_nf=-102 interference_factor=6.30957e-21 nf=-101 time=146 busy=0 rx=0
ACS: 5: min_nf=-102 interference_factor=6.30957e-21 nf=-101 time=146 busy=0 rx=0
ACS:  * interference factor average: 5.37817e-21
ACS: Survey analysis for channel 40 (5200 MHz)
ACS: 1: min_nf=-103 interference_factor=6.30957e-21 nf=-101 time=146 busy=0 rx=0
ACS: 2: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 3: min_nf=-103 interference_factor=2.51189e-21 nf=-103 time=146 busy=0 rx=0
ACS: 4: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 5: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS:  * interference factor average: 4.15293e-21
ACS: Survey analysis for channel 44 (5220 MHz)
ACS: 1: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 2: min_nf=-103 interference_factor=2.51189e-21 nf=-103 time=146 busy=0 rx=0
ACS: 3: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 4: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 5: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS:  * interference factor average: 3.68723e-21
ACS: Survey analysis for channel 48 (5240 MHz)
ACS: 1: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 2: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 3: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 4: min_nf=-103 interference_factor=3.98107e-21 nf=-102 time=146 busy=0 rx=0
ACS: 5: min_nf=-103 interference_factor=2.51189e-21 nf=-103 time=146 busy=0 rx=0
ACS:  * interference factor average: 3.68723e-21
ACS: Survey analysis for selected bandwidth 40 MHz
ACS:  * channel 36: total interference = 4.76555e-21
ACS: Channel 40: not allowed as primary channel for HT40
ACS:  * channel 44: total interference = 3.68723e-21
ACS: Channel 48: not allowed as primary channel for HT40
ACS: Ideal channel is 44 (5220 MHz) with total interference factor of 3.68723e-21
ACS: Adjusting VHT center frequency
wlan0: ACS-COMPLETED freq=5220 channel=44
hw vht capab: 0x338001b2, conf vht capab: 0x22
wlan0: interface state ACS->HT_SCAN
Scan for neighboring BSSes prior to enabling 40 MHz channel
40 MHz affected channel range: [5210,5250] MHz
wlan0: nl80211: scan request
nl80211: Scan frequency 5220 MHz
nl80211: Scan frequency 5240 MHz
Scan requested (ret=0) - scan timeout 30 seconds
Interface initialization will be completed in a callback
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5220 5240
wlan0: Event SCAN_RESULTS (3) received
nl80211: Received scan results (0 BSSes)
HT40: control channel: 44  secondary channel: 48
Completing interface initialization
Mode: IEEE 802.11a  Channel: 44  Frequency: 5220 MHz
DFS 0 channels required radar detection
nl80211: Set freq 5220 (ht_enabled=1, vht_enabled=1, bandwidth=40 MHz, cf1=5230 MHz, cf2=0 MHz)
  * freq=5220
  * vht_enabled=1
  * ht_enabled=1
  * bandwidth=40
  * channel_width=2
  * center_freq1=5230
  * center_freq2=0
RATE[0] rate=60 flags=0x1
RATE[1] rate=90 flags=0x0
RATE[2] rate=120 flags=0x1
RATE[3] rate=180 flags=0x0
RATE[4] rate=240 flags=0x1
RATE[5] rate=360 flags=0x0
RATE[6] rate=480 flags=0x0
RATE[7] rate=540 flags=0x0
nl80211: Failed to set fragmentation threshold 2346: -95 (Operation not supported)
Could not set fragmentation threshold for kernel driver
Interface initialization failed
wlan0: interface state HT_SCAN->DISABLED
wlan0: AP-DISABLED 
hostapd_interface_deinit_free(0x94c88e0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x94c88e0)
wlan0: interface state DISABLED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: Deauthenticate all stations
nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5220
nl80211: send_frame -> send_frame_cmd
nl80211: CMD_FRAME freq=5220 wait=0 no_cck=0 no_ack=0 offchanok=0
CMD_FRAME - hexdump(len=26): c0 00 00 00 ff ff ff ff ff ff 4c 5e 0c 12 81 86 4c 5e 0c 12 81 86 00 00 03 00
nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=5220 wait=0)
wlan0: AP-DISABLED 
hostapd_cleanup(hapd=0x94caee0 (wlan0))
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=0x8149400 drv_priv=0x94cb850 -> hapd_deinit
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=8)
netlink: Operstate: ifindex=8 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 8 iftype 2 (STATION)
nl80211: Failed to set interface 8 to mode 2: -16 (Device or resource busy)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 8 iftype 2 (STATION)
nl80211: Mode change succeeded while interface is down
nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
nl80211: Unsubscribe mgmt frames handle 0x81c431f1 (AP teardown)
hostapd_interface_free(0x94c88e0)
hostapd_interface_free: free hapd 0x94caee0
hostapd_cleanup_iface(0x94c88e0)
hostapd_cleanup_iface_partial(0x94c88e0)
hostapd_cleanup_iface: free iface=0x94c88e0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20160706/07644dab/attachment-0001.sig>


More information about the Hostap mailing list