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:

committed by
Dan Williams

parent
119345d90a
commit
dd9cf657ef
@@ -690,7 +690,7 @@ nm_supplicant_config_add_setting_wireless_security (NMSupplicantConfig *self,
|
|||||||
/* If using WPA Enterprise, enable optimized background scanning
|
/* If using WPA Enterprise, enable optimized background scanning
|
||||||
* to ensure roaming within an ESS works well.
|
* 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");
|
nm_log_warn (LOGD_SUPPLICANT, "Error enabling background scanning for ESS roaming");
|
||||||
|
|
||||||
/* When using WPA-Enterprise, we want to use Proactive Key Caching (also
|
/* When using WPA-Enterprise, we want to use Proactive Key Caching (also
|
||||||
|
Reference in New Issue
Block a user