Linux wireless drivers development
 help / color / mirror / Atom feed
* SIOCSIWAP behavior question
@ 2007-04-02 13:47 Dan Williams
  2007-04-02 13:55 ` Dan Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dan Williams @ 2007-04-02 13:47 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jouni Malinen

Should setting a BSSID 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-03 11:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 13:47 SIOCSIWAP behavior question Dan Williams
2007-04-02 13:55 ` Dan Williams
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox