From e20ffc05d0f0916ff2a2d1853e79b03b8b424f1c Mon Sep 17 00:00:00 2001 From: Varun Reddy Yeturu Date: Thu, 30 Jun 2016 10:14:13 -0700 Subject: [PATCH] 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 --- core/hdd/inc/wlan_hdd_cfg.h | 6 +++--- 1 file 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