ath10k: set channel by command "iw" not from hostapd and DFS support of firmware-2.bin_10.1.467.2-1

Vu Hai NGUYEN vh.nguyen at actiasodielec.fr
Wed May 14 04:56:29 PDT 2014


>>Did you build ath10k with ATH10K_DFS_CERTIFIED enabled?

Yes I did it, here is my configuration:

<M>   Atheros 802.11ac wireless cards support                                                           
  │ │                                 <M>     Atheros ath10k PCI support                                                                     
  │ │                                   [*]     Atheros ath10k debugging                                                                        
  │ │                                   [*]     Atheros ath10k debugfs support                                                                  
  │ │                                   [*]     Atheros ath10k tracing support                                                                  
  │ │                                   [*]     Atheros DFS support for certified platforms 


NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE

________________________________________
De : ath10k [ath10k-bounces at lists.infradead.org] de la part de Matti Laakso [malaakso at elisanet.fi]
Date d'envoi : mercredi 14 mai 2014 11:32
À : ath10k at lists.infradead.org
Objet : Re: ath10k: set channel by command "iw" not from hostapd and DFS support of firmware-2.bin_10.1.467.2-1

> I am able to run mode access point by using ath10k and hostapd, but I have to set the channel in the configuration file for hostapd (I desactivated ACS when building hostapd)
> If I set channel by the command "iw wlan0 set channel 10 HT20"  and remove the line "channel=10" from the configuration file of hostapd, this error appears when I run hostapd:
>
> ACS was disabled on your build, rebuild hostapd with CONFIG_ACS=y or set channel
> wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
> wlan0: IEEE 802.11 Hardware does not support configured channel
> Could not select hw_mode and channel. (-3)
> wlan0: Unable to setup interface.
> hostapd_free_hapd_data: Interface wlan0 wasn't started
>
> Does it mean that ath10k does not support configured channel ???? The reason I want to do it by command "iw" because it has more options than hostapd (iw wlan0 set freq <control freq> [20|40|80|80+80|160] [<center freq 1>] [<center freq 2>] )

Removing the channel from hostapd.conf implies channel=0. And it
obviously is not a valid channel when ACS is disabled. All the options
that iw has can be set in hostapd.conf as well.

> I had another problem with setting a cannal that employs DFS (for example 52):
>
> wlan0: interface state COUNTRY_UPDATE->DFS
> wlan0: DFS-CAC-START freq=5260 chan=52 sec_chan=0
> wlan0: Unable to setup interface.
> ADDRCONF(NETDEV_UP): wlan0: link is not ready
>
> I'm using the firmware-2.bin_10.1.467.2-1 which indicates that supports DFS on the website of ath10k. Is there anyone got the same issue like me?
>

Did you build ath10k with ATH10K_DFS_CERTIFIED enabled?

Matti

_______________________________________________
ath10k mailing list
ath10k at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


More information about the ath10k mailing list