From: Dan Williams <dcbw@redhat.com>
To: linux-wireless@vger.kernel.org
Cc: Jouni Malinen <j@w1.fi>
Subject: Re: SIOCSIWAP behavior question
Date: Mon, 02 Apr 2007 09:55:28 -0400 [thread overview]
Message-ID: <1175522128.9859.17.camel@localhost.localdomain> (raw)
In-Reply-To: <1175521655.9859.15.camel@localhost.localdomain>
On Mon, 2007-04-02 at 09:47 -0400, Dan Williams wrote:
> Should setting a BSSID trigger a disconnection event from the driver?
Hmm; badly phrased question. I really meant:
Should setting a BSSID _always_ trigger a disconnection event from the
driver?
> Obviously a disconnect event shouldn't be triggered if the BSSID being
> set is the same BSSID the card is already associated with. Or does that
> mean "reassociate unconditionally" ?
>
> But suppose we have two APs in the same ESS with obviously different
> BSSIDs. The card automatically associates with one BSSID, but
> wpa_supplicant decides it likes the other BSSID and calls SIOCSIWAP to
> lock to that one during the association process. Should the driver
> issue an IWAP event of 00:00:00:00:00:00 before attempting
> re-association with the BSSID that wpa_supplicant wants?
>
> The libertas driver currently does this; it sometimes confuses
> wpa_supplicant and is arguably wrong behavior because drivers don't
> issue disconnection events when auto-roaming from BSSID to BSSID in the
> same ESS.
>
> Conversely, if you have two access points 'linksys' with different
> BSSIDs that really _are_ two different ESSs, this would screw up
> userspace tools if a disconnect _wasn't_ sent. But in this case
> automatic tools have more problems than driver events.
>
> Thoughts? I guess I vote for not sending disconnect events if that
> BSSID has the same capabilities and the same SSID as the current
> association BSS.
>
> Dan
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2007-04-02 13:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-02 13:47 SIOCSIWAP behavior question Dan Williams
2007-04-02 13:55 ` Dan Williams [this message]
2007-04-02 15:54 ` Jouni Malinen
2007-04-02 16:56 ` Joerg Mayer
2007-04-02 17:01 ` Jouni Malinen
2007-04-02 16:58 ` Johannes Berg
2007-04-02 19:19 ` Dan Williams
2007-04-03 11:47 ` Johannes Berg
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=1175522128.9859.17.camel@localhost.localdomain \
--to=dcbw@redhat.com \
--cc=j@w1.fi \
--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