linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Jaroslav Fojtik <jafojtik@seznam.cz>
Cc: linux-wireless@vger.kernel.org, Bob Copeland <me@bobcopeland.com>
Subject: Re: How to scan APs with ATH5k?
Date: Thu, 20 May 2010 17:53:31 -0400	[thread overview]
Message-ID: <1274392411.7054.6.camel@mj> (raw)
In-Reply-To: <4BF58D72.22852.D1D2D@jafojtik.seznam.cz>

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

  reply	other threads:[~2010-05-20 21:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 19:17 [PATCH v2 7/7] rt2x00: Fix HT40 operation in rt2800 Gertjan van Wingerde
2010-05-19 19:19 ` Ivo Van Doorn
2010-05-20  6:52 ` Helmut Schaa
2010-05-20  6:00   ` How to scan APs with ATH5k? Jaroslav Fojtik
     [not found]     ` <AANLkTim90zZxvcwT9joVAqO1oDzk-jCaRCQAd0Cfu3N0@mail.gmail.com>
2010-05-20 19:28       ` Jaroslav Fojtik
2010-05-20 21:53         ` Pavel Roskin [this message]
2010-05-20 22:46           ` Bob Copeland
2010-05-21 20:00             ` Jaroslav Fojtik
2010-05-23 11:21               ` How to scan APs with ATH5k? - compat-wireless-2010-05-21 Jaroslav Fojtik
2010-05-24 18:44                 ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1274392411.7054.6.camel@mj \
    --to=proski@gnu.org \
    --cc=jafojtik@seznam.cz \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).