wifi: change bgscan threshold parameter

We do not need to increase periodical scanning frequency when AP signal
strength is good enough. Signal level of -45dBm is considered as good,
change the threshold to -65dBm.
This commit is contained in:
Stanislaw Gruszka
2013-08-08 13:20:01 +02:00
committed by Dan Williams
parent 119345d90a
commit dd9cf657ef

View File

@@ -690,7 +690,7 @@ nm_supplicant_config_add_setting_wireless_security (NMSupplicantConfig *self,
/* If using WPA Enterprise, enable optimized background scanning
* to ensure roaming within an ESS works well.
*/
if (!nm_supplicant_config_add_option (self, "bgscan", "simple:30:-45:300", -1, FALSE))
if (!nm_supplicant_config_add_option (self, "bgscan", "simple:30:-65:300", -1, FALSE))
nm_log_warn (LOGD_SUPPLICANT, "Error enabling background scanning for ESS roaming");
/* When using WPA-Enterprise, we want to use Proactive Key Caching (also