[PATCH] supplicant: Allow disabling reassoc based on scan results.

Jouni Malinen j at w1.fi
Fri Mar 25 03:03:32 PDT 2016

On Tue, Mar 22, 2016 at 07:12:34PM -0400, greearb at candelatech.com wrote:
> This gives configurable control over whether to consider
> roaming based on scan results.  I find this useful when
> doing explicit roaming tests, where I do not want scan
> requests to cause the roam automatically.

Please check if the "SCAN TYPE=ONLY" command that Dan mentions works for
your use case. That's already used on Android to do exactly what you
describe here as far as I can tell.

If there is other use cases that needs this separate configuration
parameter, I might accept it. That said, this would need to be rebased
on top of the hostap.git master branch since almost none of this applies
as-is. I would also drop the #ifndef CONFIG_NO_ROAMING/#endif lines to
keep the source code cleaner. Saving couple of bytes in binary if
CONFIG_NO_ROAMING is defined (which is something I would not recommend
defining) is not sufficient justification for making the implementation
more complex.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list