netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Drake <dsd@gentoo.org>
To: jt@hpl.hp.com
Cc: Dan Williams <dcbw@redhat.com>,
	Jouni Malinen <jkmaline@cc.hut.fi>,
	softmac-dev@sipsolutions.net, netdev@vger.kernel.org,
	hostap@shmoo.com
Subject: Re: SIOCGIWSCAN wireless event behaviour
Date: Fri, 21 Apr 2006 02:42:06 +0100	[thread overview]
Message-ID: <4448386E.6000105@gentoo.org> (raw)
In-Reply-To: <20060420164354.GA32409@bougret.hpl.hp.com>

Jean Tourrilhes wrote:
> 	The original behaviour was that the event was sent only when a
> user did request a scan. At that time, cards did not do background
> scanning, so new scan results would be produced only as a result of a
> user scan.
> 	After a short discussion we Dan, we agree that to change that,
> the driver should send a scan whenever a new scan result is available,
> regardless of how it happens (background scan or user scan). This
> allow smart application to synchronise on background scans and avoid
> them generating useless user scans. Minimising the number of user scan
> is actually good.

Thanks for all the responses.

I am not sure if the 'extra' SIOCGIWSCAN event is what is causing 
wpa_supplicant's confusion, but the kind of behaviour I am seeing is 
wpa_supplicant associating to the network, immediately disassociating, 
and then associating again before the connection stabilises. This is 
with wpa_supplicant 0.5.2 connecting to an unencrypted network.

I am also seeing that softmac reassociates with a network after 
wpa_supplicant exits.

Johannes posted a softmac patch earlier which may help (related to 
softmac's handling of SIOCGIWAP). I will do some further investigation 
and provide a more complete report if that doesn't fix it.

Thanks,
Daniel

  parent reply	other threads:[~2006-04-21  1:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 14:15 SIOCGIWSCAN wireless event behaviour Daniel Drake
2006-04-20 14:37 ` Dan Williams
2006-04-20 16:43   ` Jean Tourrilhes
2006-04-20 17:26     ` Jouni Malinen
2006-04-21  1:42     ` Daniel Drake [this message]
2006-04-20 16:39 ` Jouni Malinen

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=4448386E.6000105@gentoo.org \
    --to=dsd@gentoo.org \
    --cc=dcbw@redhat.com \
    --cc=hostap@shmoo.com \
    --cc=jkmaline@cc.hut.fi \
    --cc=jt@hpl.hp.com \
    --cc=netdev@vger.kernel.org \
    --cc=softmac-dev@sipsolutions.net \
    /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).