wpa_cli select nework x -> causes what?

Dan Williams dcbw at redhat.com
Wed Feb 4 10:56:00 EST 2009


On Wed, 2009-02-04 at 15:53 +0100, ArneKeller at gmx.de wrote:
> Hello list,
> 
> can someone tell me which functions are called when doing a "wpa_cli 
> select nework x".
> 
> This causes a card down time of 300ms where no packets where forwarded 
> to the kernel.
> I need this functionality to simualte a handover from one to another 
> access-point in my diploma thesis.

This causes the supplicant to attempt to associate with that network
which you've just selected.  That will include disassociating from the
previous network, possibly scanning for the new network, and attempting
to associate and authenticate with the new network.  So I'm surprised
that it's only 300ms, because this process can take a lot longer
especially when WPA is involved.

What you want to do can't be accomplished easily on the client side.
What you really want to do is get two access points backed by the same
network, using the same SSID and security settings.  To simulate the
handoff, unplug one of the access points.  The card/driver should then
seamlessly hand off to the other access point.

Dan



More information about the HostAP mailing list