Re: Scan fails to find wireless networks

Mike Pinna <[email protected]> Thu, 21 Oct 2004 18:25:24 +0100
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
On Wed, Oct 20, 2004 at 02:28:31AM +0200, Joerg Albert wrote:
> > > There was a bug in the i/f to "iwlist wlanX scanning" (I guess you use
> > > this for scanning) which let it report only a random subset of the whole
> > > table. It's fixed in the cvs 0.12beta21.
> > Yes, that's how I do the scan.  I've tried updating to this version but
> > the behaviour doesn't seem to have improved at all.
> Strange, it helped here with the same chipset/radio.

Ah, now I've updated to 0.12beta22 and the behaviour seems to have
improved - sort of.  I must have messed up the upgrade last time.

Now the scan works perfectly every time, but only if I have already
associated to an access point (I know I claimed this was the case last
time, and what I needed to do instead was merely bring the interface up
- I've remembered to do that this time round :) ).

For example:

(immediately after installing the driver modules)
# ifconfig wlan0 up
# time iwlist wlan0 scan
wlan0     Failed to read scan data : Resource temporarily unavailable

real    0m 5.00s
user    0m 0.00s
sys     0m 0.04s
# iwconfig wlan0 essid FD57
# iwlist wlan0 scan

[ all the APs ]

real    0m 2.25s
user    0m 0.03s
sys     0m 0.03s
#

Can you think of an explanation for this?  Strange that things should
have got better and worse like this with such a small change to the code.

> we added international roaming as an option in beta18. Do you use it
> (module param international_roaming=1)?

I've certainly not switched that on, so if it's off by default the
answer is no.

Thanks,
Mike