Scanning all 5Ghz channels with AC NIC.

Ben Greear greearb at candelatech.com
Tue Mar 25 11:50:42 EDT 2014


On 03/25/2014 07:42 AM, Jouni Malinen wrote:
> On Mon, Mar 24, 2014 at 11:10:44AM -0700, Ben Greear wrote:
>> I notice this issue while trying to scan specific channels with
>> an ath10k NIC.
>>
>> If I configure supplicant to use a specific freq list, it will fail:
>>
>> 1395683887.458813: nl80211: Scan frequency 5170 MHz
>> 1395683887.458823: nl80211: Scan frequency 5180 MHz
> ...
> 
> You need to be quite careful when using freq_list. wpa_supplicant will
> use exactly what is provided there and if cfg80211 does not like what it
> sees, it will reject this. Apparently duplicate entries would hit that
> and so would channels that the driver does not support.
> 
> In general, it is much easier to just do "wpa_cli scan freq=4900-6000"
> if you just want to scan all the enabled 5 GHz channels.


I use the freq_list to effectively disable 2.4Ghz, for instance when trying
to force a station to act like /a only instead of /a/b/g.

Maybe there is a better way?  (I don't often use wpa_cli directly,
so that won't help my case...)

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the ath10k mailing list