Scanning all 5Ghz channels with AC NIC.

Jouni Malinen j at w1.fi
Tue Mar 25 10:42:55 EDT 2014


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.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list