From: Jouni Malinen <jkm@devicescape.com>
To: Dan Williams <dcbw@redhat.com>
Cc: Daniel Drake <dsd@gentoo.org>, Jean Tourrilhes <jt@hpl.hp.com>,
netdev@vger.kernel.org, softmac-dev@sipsolutions.net
Subject: Re: SIOCSIWESSID + SIOCSIWAP behaviour
Date: Mon, 15 May 2006 06:16:56 -0700 [thread overview]
Message-ID: <20060515131656.GC9673@instant802.com> (raw)
In-Reply-To: <1147663779.2204.27.camel@localhost.localdomain>
On Sun, May 14, 2006 at 11:29:38PM -0400, Dan Williams wrote:
> On Mon, 2006-05-15 at 00:29 +0100, Daniel Drake wrote:
> > When SIWESSID happens, softmac drops association/authentication with the
> > current network and then starts a scan for the requested SSID. When
> > found, softmac authenticates and associates to that network.
I don't think there is requirement for doing a new scan here if recent
scan results are available.
> > When SIWAP happens, softmac drops association/authentication with the
> > current network and then starts a scan for the requested BSSID. When
> > found, softmac authenticates and associates to that network.
Same here. Neither of these commands should drop IEEE 802.11
authentication. I would say that neither should drop association either
until a new association is available or it is clear that current
configuration does not allow association to be created. First case would
just report a new association (no disassociation reported) and second
case would report disassociation to user space.
> > Right now, wpa_supplicant does SIWESSID and SIWAP in quick succession,
> > which causes softmac to associate twice, and that quickly confuses things.
>
> (I don't really understand why wpa_supplicant uses SIWAP when a BSSID
> isn't specified in the config file, but...)
There are two different modes and what is being described here is
ap_scan=1, i.e., wpa_supplicant being responsible for requesting
scanning and selecting an AP. In this mode, it is actually assumed that
the driver does not do extra scans with SIWAP or SIWESSID.
wpa_supplicant is telling the driver which channel (SIOCSIWFREQ), SSID,
and BSSID to use.
In the other mode, ap_scan=2, wpa_supplicant is only configuring the
SSID and requesting the driver (or well, kernel side 802.11 management
code) to figure out which AP to use.
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2006-05-15 13:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-14 23:29 SIOCSIWESSID + SIOCSIWAP behaviour Daniel Drake
2006-05-15 3:29 ` Dan Williams
2006-05-15 13:16 ` Jouni Malinen [this message]
2006-05-15 14:19 ` Dan Williams
2006-05-15 20:28 ` Jean Tourrilhes
2006-05-15 21:40 ` Jouni Malinen
2006-05-15 21:55 ` Jean Tourrilhes
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=20060515131656.GC9673@instant802.com \
--to=jkm@devicescape.com \
--cc=dcbw@redhat.com \
--cc=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).