summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryeshwanth sriram guntuka <ysriramg@codeaurora.org>2016-12-12 16:00:13 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-12-13 06:41:02 -0800
commitc3cfb733d52d59fb5a0d7b7d5a1a1d45c0e52c0f (patch)
tree121d73bceb90d02376eeabee3e608fd24b801bd5
parent0f7bff91377ab2163cc5249a3944e6bda8072bdd (diff)
qcacld-3.0: Enable adaptive dwell scan by default
Set the default value of adaptive_dwell_mode_enabled and global_adapt_dwelltime_mode config parameters to enable adaptive dwell scan by default. Change-Id: I4353f9a9c2bdebb48649cee4a7b7a8d124039e1b CRs-Fixed: 1100193
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h
index 0188a1ea3836..07d21c6c9e8a 100644
--- a/core/hdd/inc/wlan_hdd_cfg.h
+++ b/core/hdd/inc/wlan_hdd_cfg.h
@@ -3388,7 +3388,7 @@ enum dot11p_mode {
#define CFG_ADAPTIVE_DWELL_MODE_ENABLED_NAME "adaptive_dwell_mode_enabled"
#define CFG_ADAPTIVE_DWELL_MODE_ENABLED_MIN (0)
#define CFG_ADAPTIVE_DWELL_MODE_ENABLED_MAX (1)
-#define CFG_ADAPTIVE_DWELL_MODE_ENABLED_DEFAULT (0)
+#define CFG_ADAPTIVE_DWELL_MODE_ENABLED_DEFAULT (1)
/*
* This parameter will set default adaptive mode, will be used if any of the
@@ -3398,7 +3398,7 @@ enum dot11p_mode {
#define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_NAME "global_adapt_dwelltime_mode"
#define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_MIN (0)
#define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_MAX (4)
-#define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_DEFAULT (0)
+#define CFG_GLOBAL_ADAPTIVE_DWELL_MODE_DEFAULT (1)
/*
* This parameter will set the weight to calculate the average low pass