[PATCH] wpa_supplicant: Implement fast-associate on SelectNetwork

Jouni Malinen j
Wed Jan 16 08:56:46 PST 2013


On Wed, Jan 16, 2013 at 06:59:14AM -0800, Paul Stewart wrote:
> I considered wpas_select_network_from_last_scan(), but I wondered whether
> the calls to wpa_supplicant_rsn_preauth_scan_results on old scan results or
> everything in the "else" clause for "if (selected)" was valid in this case.
>  If you're okay with a hard-coded time limit like interworking_reconnect, I
> can do that.  Also let me know if you're unconcerned by any side effects
> the rest of wpas_select_network_from_last_scan().

If there are undesired side effects from
wpas_select_network_from_last_scan(), those need to be fixed for
Interworking case anyway, so yes, I'd like to see a single mechanism to
be used and any possible issues with it getting resolved. These two
cases are pretty much identical in the sense that both of them may have
run through a scan recently and could re-use information from it. The
Interworking one is guaranteed to have run through a scan, but these can
be handled with the same implementation with the use of that time limit.
The actual time limit value could end up becoming a configurable
parameter in the future, but a hard-coded limit would be fine as an
initial step.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list