netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SIOCSIWESSID + SIOCSIWAP behaviour
@ 2006-05-14 23:29 Daniel Drake
  2006-05-15  3:29 ` Dan Williams
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Drake @ 2006-05-14 23:29 UTC (permalink / raw)
  To: Jean Tourrilhes; +Cc: netdev, softmac-dev

Hi Jean,

I'd just like to check my understanding (and softmacs implementation) 
of SIWESSID and SIWAP behaviour, for managed mode.

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.

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.

Is it correct that both of these immediately trigger 
deauthenication+deassocation then authentication+assocation?

Is it correct that SIWAP can legally select *any* AP? (As opposed to 
only being for selecting a specific AP *on the ESS* indicated by a past 
or future SIWESSID call)


Right now, wpa_supplicant does SIWESSID and SIWAP in quick succession, 
which causes softmac to associate twice, and that quickly confuses things.

No matter how I think of it, this strikes me as a hard interface to 
implement. Because association isn't an atomic operation, it is tricky 
to get the sequencing right, e.g. if the user does SIWESSID to start 
association, and then SIWAP to select a different AP before the original 
association has completed.

Any clarification appreciated.

Thanks,
Daniel

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

end of thread, other threads:[~2006-05-15 21:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-14 23:29 SIOCSIWESSID + SIOCSIWAP behaviour Daniel Drake
2006-05-15  3:29 ` Dan Williams
2006-05-15 13:16   ` Jouni Malinen
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

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).