Fix WLAN connection issues with BTC
Increase the channel scan dwell time min/max values whenever BTC
events indicates to compromise on scan time while BT and WLAN does
the time sharing. This improves the WLAN scan results and connection
time.
Change-Id: I20db6a011c6ce6e0fd6b4171ddfa16c1b74d4613
CRs-Fixed: 360804
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index e2b90ae..9088b7f 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -559,6 +559,16 @@
#define CFG_ACTIVE_MIN_CHANNEL_TIME_MAX ( 10000 )
#define CFG_ACTIVE_MIN_CHANNEL_TIME_DEFAULT ( 20 )
+#define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_NAME "gActiveMaxChannelTimeBtc"
+#define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_MIN ( 0 )
+#define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_MAX ( 10000 )
+#define CFG_ACTIVE_MAX_CHANNEL_TIME_BTC_DEFAULT ( 120 )
+
+#define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_NAME "gActiveMinChannelTimeBtc"
+#define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_MIN ( 0 )
+#define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_MAX ( 10000 )
+#define CFG_ACTIVE_MIN_CHANNEL_TIME_BTC_DEFAULT ( 60 )
+
#ifdef WLAN_AP_STA_CONCURRENCY
#define CFG_PASSIVE_MAX_CHANNEL_TIME_CONC_NAME "gPassiveMaxChannelTimeConc"
@@ -1790,6 +1800,8 @@
v_U32_t nActiveMinChnTime; //in units of milliseconds
v_U32_t nActiveMaxChnTime; //in units of milliseconds
+ v_U32_t nActiveMinChnTimeBtc; //in units of milliseconds
+ v_U32_t nActiveMaxChnTimeBtc; //in units of milliseconds
#ifdef WLAN_AP_STA_CONCURRENCY
v_U32_t nPassiveMinChnTimeConc; //in units of milliseconds
v_U32_t nPassiveMaxChnTimeConc; //in units of milliseconds