Disabling a SSID for at least 'x' seconds.

Jouni Malinen j at w1.fi
Fri Jul 1 11:30:11 PDT 2016

On Wed, Jun 29, 2016 at 08:17:07PM +0300, Raghavendra M S wrote:
> Inside WPA_Supplicant, the variable ssid->disabled_sec value makes a
> ssid to be disabled for time equivalent to disabled_sec.  However,
> though a value 'x' has been set to variable 'disabled_sec', because of
> a scan request, WPA_supplicant tries to associate with the disabled
> SSID even before 'x' seconds.
> Is there any way to make a SSID to be disabled for at least 'x'
> seconds and not be tried (in spite of scan requests) before the time.

I'm not sure what you are referring to with "disabled_sec". There is no
such variable in struct wpa_ssid. Are you talking of disabled_until?
That is indeed used (internally by wpa_supplicant) to disable a network
profile until a specific amount of time has passed.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list