nl80211: Failed to set channel
Bart Jooris
bart.jooris at gmail.com
Sun Feb 23 16:15:17 EST 2014
Dear,
I'm currently experimenting with the WPEA-351AC Sparklan cards but I'm
unable to set up an 802.11 ac link.
I followed the instructions on:
http://wireless.kernel.org/en/users/Drivers/ath10k/configuration
and ended up with an "*Could not set channel for kernel driver*" when
running hostapd.
I Googled _ath10k "nl80211: Failed to set channel"_ and found this link
<http://www.google.be/url?q=http://blog.gmane.org/gmane.linux.kernel.wireless.general/page%3D73&sa=U&ei=hl4KU8meJuaBywP-hIGACA&ved=0CCAQFjAA&usg=AFQjCNF7b2XIZ8mhtPS2TY73OzgcFxlsLw>.
So it seems that at least some one else has the same problem, but
unfortunately the server above gave up :-(
I'm not sure that I am on the right list, but maybe someone can give the
right direction?
In the mean time I'm building linux-3.13.5
Thanks in advance,
Best regards,
Bart
This is my config:
hardware:
DSS-1300 <http://www.cartft.com/catalog/il/1566> - Intel(R) Core(TM)
i5-2540M CPU @ 2.60GHz - 8GB RAM - SSD 64GB
OS:
Ubuntu 13.10 with networkmanager in off state.
some commands:
bjooris at DSS-1300-1:~/hostap/hostapd$ sudo lspci -k | grep -A 3 -i
"*Wireless*"
03:00.0 Network controller: Qualcomm Atheros QCA988x 802.11ac
Wireless Network Adapter
Kernel driver in use: ath10k_pci
bjooris at DSS-1300-1:~/hostap/hostapd$ modinfo *ath10k_pci*
filename:
/lib/modules/3.11.0-12-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/otp.bin
firmware: ath10k/QCA988X/hw2.0/firmware.bin
firmware: ath10k/QCA988X/hw1.0/board.bin
firmware: ath10k/QCA988X/hw1.0/otp.bin
firmware: ath10k/QCA988X/hw1.0/firmware.bin
license: Dual BSD/GPL
description: Driver support for Atheros QCA988X PCIe devices
author: Qualcomm Atheros
srcversion: 851066A82059149AA86F04E
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000ABCDsv*sd*bc*sc*i*
depends: ath10k_core
intree: Y
vermagic: 3.11.0-12-generic SMP mod_unload modversions
parm: ath10k_target_ps:Enable ath10k Target (SoC) PS option (uint)
bjooris at DSS-1300-1:~/hostap/hostapd$ modinfo *ath10k_core*
filename:
/lib/modules/3.11.0-12-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
license: Dual BSD/GPL
description: Core module for QCA988X PCIe devices.
author: Qualcomm Atheros
srcversion: 2018AB1EB57597874B1D026
depends: cfg80211,mac80211,ath
intree: Y
vermagic: 3.11.0-12-generic SMP mod_unload modversions
parm: debug_mask:Debugging mask (uint)
parm: uart_print:Uart target debugging (bool)
parm: p2p:Enable ath10k P2P support (uint)
bjooris at DSS-1300-1:~/hostap/hostapd$ .*/hostapd -v*
hostapd v2.2-devel
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2014, Jouni Malinen <j at w1.fi> and contributors
bjooris at DSS-1300-1:~/hostap/hostapd$*cat 80211ac_test.conf *
interface=wlan0
driver=nl80211
ssid=atk10k_80211AC
hw_mode=a
channel=44
#country_code=FI
#ieee80211d=1
#ieee80211h=1
ht_capab=[HT40+]
ieee80211n=1
*ieee80211ac=1*
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
bjooris at DSS-1300-1:~/hostap/hostapd$ *sudo ./hostapd
./80211ac_test.conf -dddd*
random: Trying to read entropy from /dev/random
Configuration file: ./80211ac_test.conf
nl80211: Could not add multicast membership for vendor events: -2
(No such file or directory)
rfkill: initial event: idx=0 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: Use separate P2P group interface (driver advertised support)
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x21d8430
nl80211: Register frame type=0xb0 nl_handle=0x21d8430 match=
nl80211: Register frame type=0x0 nl_handle=0x21d8430 match=
nl80211: Register frame type=0x20 nl_handle=0x21d8430 match=
nl80211: Register frame type=0xa0 nl_handle=0x21d8430 match=
nl80211: Register frame type=0xc0 nl_handle=0x21d8430 match=
nl80211: Register frame type=0xd0 nl_handle=0x21d8430 match=
nl80211: Register frame type=0x40 nl_handle=0x21d8430 match=
nl80211: Add own interface ifindex 4
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=FI
nl80211: 2402-2482 @ 40 MHz 20 mBm
nl80211: 5170-5250 @ 40 MHz 20 mBm
nl80211: 5250-5330 @ 40 MHz 20 mBm
nl80211: 5490-5710 @ 40 MHz 27 mBm
nl80211: 57240-65880 @ 2160 MHz 40 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
hw vht capab: 0x338001b2, conf vht capab: 0x0
wlan0: interface state UNINITIALIZED->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 10 seconds
Interface initialization will be completed in a callback
ctrl_iface not configured!
RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=2 linkmode=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 (49) received
Unknown event 49
nl80211: Beacon event message available
wlan0: Event RX_MGMT (20) received
Unknown Broadcom information element ignored (type=52 len=26)
unknown vendor specific information element ignored (vendor OUI
00:13:92 len=8)
Add randomness: count=1 entropy=0
random pool - hexdump(len=128): [REMOVED]
random_mix_pool - hexdump(len=16): [REMOVED]
random_mix_pool - hexdump(len=12): [REMOVED]
random pool - hexdump(len=128): [REMOVED]
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 (1 BSSes)
Unknown Broadcom information element ignored (type=52 len=26)
unknown vendor specific information element ignored (vendor OUI
00:13:92 len=8)
Unknown Broadcom information element ignored (type=52 len=26)
unknown vendor specific information element ignored (vendor OUI
00:13:92 len=8)
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=80
MHz, cf1=5210 MHz, cf2=0 MHz)
nl80211: Failed to set channel (freq=5220): -22 (Invalid argument)
*Could not set channel for kernel driver*
RTM_NEWLINK: ifi_index=4 ifname=wlan0 wext ifi_flags=0x1003 ([UP])
random: Got 9/20 bytes from /dev/random
More information about the ath10k
mailing list