nl80211: Failed to set channel

Bart Jooris Bart.Jooris at intec.ugent.be
Mon Feb 24 09:59:54 EST 2014


Hi Sven,

thanks for the quick response!


On 02/24/2014 09:44 AM, Sven Schnelle wrote:
> On 02/23/2014 10:15 PM, Bart Jooris wrote:
>> 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
> You need to update your regulatory database. Your version doesn't
> allow 80MHz wide channels.

I've cloned the git like described on: 
http://wireless.kernel.org/en/developers/Regulatory
and executed make install in that dir.

The debug info indeed changed to 160MHz bandwidth, see my debug output.
sudo iw reg set BE doesn't seem to work anymore... but still works from 
hostapd config.

Does this look ok to you, as I am unable to observe the AP from another 
similar machine.

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=1 hard=0
rfkill: WLAN soft blocked
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 0x1d5d430
nl80211: Register frame type=0xb0 nl_handle=0x1d5d430 match=
nl80211: Register frame type=0x0 nl_handle=0x1d5d430 match=
nl80211: Register frame type=0x20 nl_handle=0x1d5d430 match=
nl80211: Register frame type=0xa0 nl_handle=0x1d5d430 match=
nl80211: Register frame type=0xc0 nl_handle=0x1d5d430 match=
nl80211: Register frame type=0xd0 nl_handle=0x1d5d430 match=
nl80211: Register frame type=0x40 nl_handle=0x1d5d430 match=
Could not set interface wlan0 flags (UP): Operation not possible due to 
RF-kill
nl80211: Could not yet enable interface 'wlan0' due to rfkill
nl80211: Add own interface ifindex 4
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code 00, new country code BE
Continue interface setup after channel list update
ctrl_iface not configured!
wlan0: Event INTERFACE_DISABLED (29) received
Unknown event 29
random: Got 7/20 bytes from /dev/random
Channel list update timeout - try to continue anyway
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 40 MHz 20 mBm
nl80211: 2474-2494 @ 20 MHz 20 mBm
nl80211: 5170-5250 @ 160 MHz 20 mBm
nl80211: 5250-5330 @ 160 MHz 20 mBm
nl80211: 5490-5730 @ 160 MHz 20 mBm
Allowed channel: mode=2 chan=52 freq=5260 MHz max_tx_power=20 dBm (DFS 
state = usable)
Allowed channel: mode=2 chan=56 freq=5280 MHz max_tx_power=20 dBm (DFS 
state = usable)
Allowed channel: mode=2 chan=60 freq=5300 MHz max_tx_power=20 dBm (DFS 
state = usable)
Allowed channel: mode=2 chan=64 freq=5320 MHz max_tx_power=20 dBm (DFS 
state = usable)
hw vht capab: 0x338001b2, conf vht capab: 0x0
wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Scan for neighboring BSSes prior to enabling 40 MHz channel
40 MHz affected channel range: [5290,5330] MHz
wlan0: nl80211: scan request
nl80211: Scan frequency 5300 MHz
nl80211: Scan frequency 5320 MHz
nl80211: Scan trigger failed: ret=-100 (Network is down)
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
nl80211: Unsubscribe mgmt frames handle 0x88888888895d5cb9 (AP teardown)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1d5d470
nl80211: Register frame type=0xd0 nl_handle=0x1d5d470 match=0801
nl80211: Register frame type=0xd0 nl_handle=0x1d5d470 match=06
nl80211: Register frame type=0xd0 nl_handle=0x1d5d470 match=0a07
nl80211: Register frame type=0xd0 nl_handle=0x1d5d470 match=0a11


Best regards,

Bart



More information about the ath10k mailing list