Search Linux Wireless

Re: How to scan APs with ATH5k?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-05-20 at 21:28 +0200, Jaroslav Fojtik wrote:
> Dear Bob,
> 
> > $ sudo ifconfig wlan0 up
> > $ sudo iw dev wlan0 scan
> 
> I have typed:
> 
> ifconfig wlan0 down
> ifconfig wlan0 up
> iwlist wlan0 scanning 
>   (I do not have installed iw)

I think you should install iw and use it instead.  Ideally, iwlist
should work as well, but iw would provide a useful datapoint.

> But when an interface wlan0 become associated, it refuses scanning.
> 
> root@dvouramenna:~# iwlist wlan0 scanning
> wlan0     Interface doesn't support scanning : Operation not supported
> 
> 
> Is this bug or feature?

It looks like a bug.  Even if something is preventing scanning, the
error code should be -EBUSY (device busy).

> MadWifi can scan even when interface is associated.
> ipw2200bg can also scan when it is associated.

The same is true for ath9k, but I cannot test ath5k at the moment.
mac80211 does a considerable effort to allow scanning while associated.

-- 
Regards,
Pavel Roskin
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux