浏览代码

qcacld-3.0: Increase connection update timeout value

Current connection update timeout value for DBS concurrency case
is 500ms, which is not long enough as there are other WMI messages
need to be processed by master thread. Increase the timeout value
to 1000ms to ensure the set hardware mode WMI message has enough
time to be processed

Change-Id: Idecf2e830a7a37258787eb4f8c5f117cbe2a825b
CRs-fixed: 983174
Peng Xu 9 年之前
父节点
当前提交
242002c759
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      core/cds/inc/cds_concurrency.h

+ 6 - 1
core/cds/inc/cds_concurrency.h

@@ -41,7 +41,12 @@
 #define MAX_NUMBER_OF_CONC_CONNECTIONS 3
 #define MAX_NUM_CHAN    128
 #define DBS_OPPORTUNISTIC_TIME    10
-#define CONNECTION_UPDATE_TIMEOUT 500
+#ifdef QCA_WIFI_3_0_EMU
+#define CONNECTION_UPDATE_TIMEOUT 3000
+#else
+#define CONNECTION_UPDATE_TIMEOUT 1000
+#endif
+
 
 /**
  * enum cds_max_rx_ss - Maximum number of receive spatial streams