Kaynağa Gözat

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
yeshwanth sriram guntuka 8 yıl önce
ebeveyn
işleme
4e2fbd6c14
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      core/hdd/inc/wlan_hdd_cfg.h

+ 2 - 2
core/hdd/inc/wlan_hdd_cfg.h

@@ -4528,7 +4528,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
@@ -4538,7 +4538,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