summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Reddy Yeturu <varunreddy.yeturu@codeaurora.org>2016-06-30 10:14:13 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-06 13:35:43 -0700
commite20ffc05d0f0916ff2a2d1853e79b03b8b424f1c (patch)
treee75345248dd68fa69d0a7cab4dcaf2afcb5a7aee
parent83ccb9b38bb70e675dd1ef37fcd089004e492314 (diff)
qcacld-3.0: Enable early stop scan by default
Enable the early stop scan feature by default and also modify the default values as per the request from the firmware CRs-Fixed: 1036474 Change-Id: I0f2596633084ea97e64fb2c7d9975052d1ac98fb
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h
index ca9103477a65..85fb179b76eb 100644
--- a/core/hdd/inc/wlan_hdd_cfg.h
+++ b/core/hdd/inc/wlan_hdd_cfg.h
@@ -3020,7 +3020,7 @@ enum dot11p_mode {
#define CFG_EARLY_STOP_SCAN_ENABLE "gEnableEarlyStopScan"
#define CFG_EARLY_STOP_SCAN_ENABLE_MIN (0)
#define CFG_EARLY_STOP_SCAN_ENABLE_MAX (1)
-#define CFG_EARLY_STOP_SCAN_ENABLE_DEFAULT (0)
+#define CFG_EARLY_STOP_SCAN_ENABLE_DEFAULT (1)
/*
* Early stop scan minimum threshold is the minimum threshold
* to be considered for stopping the scan. The algorithm starts
@@ -3032,7 +3032,7 @@ enum dot11p_mode {
#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD "gEarlyStopScanMinThreshold"
#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MIN (-80)
#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MAX (-70)
-#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_DEFAULT (-78)
+#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_DEFAULT (-73)
/*
* Early stop scan maximum threshold is the maximum threshold
* at which the candidate AP should be to be qualified as a
@@ -3041,7 +3041,7 @@ enum dot11p_mode {
#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD "gEarlyStopScanMaxThreshold"
#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MIN (-60)
#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MAX (-40)
-#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_DEFAULT (-45)
+#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_DEFAULT (-43)
/*
* This parameter will configure the first scan bucket