[PATCH 1/2] 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.
---
 src/supplicant-manager/nm-supplicant-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/supplicant-manager/nm-supplicant-config.c b/src/supplicant-manager/nm-supplicant-config.c
index fb4d87c..446dc21 100644
--- a/src/supplicant-manager/nm-supplicant-config.c
+++ b/src/supplicant-manager/nm-supplicant-config.c
@@ -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
-- 
1.8.1.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]