linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@nokia.com>
To: ext Johannes Berg <johannes@sipsolutions.net>
Cc: ext Chuck Crisler <ccrisler@vgocom.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: active vs. passive scans
Date: Mon, 27 Sep 2010 19:32:58 +0300	[thread overview]
Message-ID: <1285605178.30315.3.camel@powerslave> (raw)
In-Reply-To: <1285600151.4043.23.camel@jlt3.sipsolutions.net>

On Mon, 2010-09-27 at 17:09 +0200, ext Johannes Berg wrote:
> On Mon, 2010-09-27 at 18:06 +0300, Luciano Coelho wrote:
> 
> > Usually the drivers stay for a certain period of time in each channel,
> > and that normally doesn't change if you have active or passive scan.  So
> > there will be no improvement in the overall scan speed.  Of course you
> > could do some tweaks that might improve scanning performance in specific
> > cases.
> 
> It's certainly different with mac80211:
> 
> #define IEEE80211_CHANNEL_TIME (HZ / 33)
> #define IEEE80211_PASSIVE_CHANNEL_TIME (HZ / 8)

Right... Even in the wl1271 driver's hw scan we stay longer on each
channel for passive scans.  Obviously just listening to beacons we need
to wait more, because probe_reqs should be responded quickly.

-- 
Cheers,
Luca.


      reply	other threads:[~2010-09-27 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-27 14:03 active vs. passive scans Chuck Crisler
2010-09-27 15:06 ` Luciano Coelho
2010-09-27 15:09   ` Johannes Berg
2010-09-27 16:32     ` Luciano Coelho [this message]

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=1285605178.30315.3.camel@powerslave \
    --to=luciano.coelho@nokia.com \
    --cc=ccrisler@vgocom.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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).