netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Drake <dsd@gentoo.org>
To: jt@hpl.hp.com
Cc: softmac-dev@sipsolutions.net, netdev@vger.kernel.org
Subject: SIOCGIWSCAN wireless event behaviour
Date: Thu, 20 Apr 2006 15:15:59 +0100	[thread overview]
Message-ID: <4447979F.4050603@gentoo.org> (raw)

Hi Jean,

A query regarding wireless events: under which circumstances should a 
driver/stack send a SIOCGIWSCAN event to userspace?

Should it be sent whenever a driver has new scan results available, or 
only when the user requested a scan a short time beforehand (via 
SIOCSIWSCAN)?

I ask this because softmac is sending the SIOCGIWSCAN event even when 
the user did not explicitly ask for it.

For example, the user sets an essid. softmac starts a scan in order to 
find the requested network. The network is found, the scan completes, 
and softmac sends SIOCGIWSCAN. softmac then authenticates to that 
network, associates, and then sends SIOCGIWAP.

I think the 'extra' SIOCGIWSCAN event may be confusing wpa_supplicant 
(but have not confirmed that yet).

Thanks,
Daniel

             reply	other threads:[~2006-04-20 14:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 14:15 Daniel Drake [this message]
2006-04-20 14:37 ` SIOCGIWSCAN wireless event behaviour Dan Williams
2006-04-20 16:43   ` Jean Tourrilhes
2006-04-20 17:26     ` Jouni Malinen
2006-04-21  1:42     ` Daniel Drake
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=4447979F.4050603@gentoo.org \
    --to=dsd@gentoo.org \
    --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).