From 45d6f335557e5fac97e5047b71526ee0e0e59c2f Mon Sep 17 00:00:00 2001 From: Nitesh Shah Date: Fri, 16 Jun 2017 17:25:34 +0530 Subject: [PATCH] qcacld-3.0: Disable DBS Scan duty cycle by default The default value for the ini gdbs_scan_selection is set with 2 DBS and 2 non-DBS Scan for Module id WLAN_MODULE_ ROAM (5) and WLAN_MODULE_HOST (16). Thus, the scan policy for full scan is kept getting change for DBS scan and legacy scan. This change is to make the default value for the ini gdbs_scan_selection as NULL, thus disabling the DBS scan duty cycle feature by default. Change-Id: I8dd304628b729e11a63aaa2b6dea972cff1798d7 CRs-Fixed: 2062420 --- core/hdd/inc/wlan_hdd_cfg.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 993219be7967..c6c7da1e29b2 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -8430,9 +8430,11 @@ enum dot11p_mode { /* * * gdbs_scan_selection - DBS Scan Selection. - * @Default: 5,2,2,16,2,2 + * @Default: "" * * This ini is used to enable DBS scan selection. + * Example + * @Value: "5,2,2,16,2,2" * 1st argument is module_id, 2nd argument is number of DBS scan, * 3rd argument is number of non-DBS scan, * and other arguments follows. @@ -8449,7 +8451,7 @@ enum dot11p_mode { * */ #define CFG_DBS_SCAN_SELECTION_NAME "gdbs_scan_selection" -#define CFG_DBS_SCAN_SELECTION_DEFAULT "5,2,2,16,2,2" +#define CFG_DBS_SCAN_SELECTION_DEFAULT "" /* * gPNOChannelPrediction will allow user to enable/disable the