From 242002c7590f9273fe373beb3ca31f30cdc5aa14 Mon Sep 17 00:00:00 2001 From: Peng Xu Date: Mon, 29 Feb 2016 14:39:18 -0800 Subject: [PATCH] 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 --- core/cds/inc/cds_concurrency.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/cds/inc/cds_concurrency.h b/core/cds/inc/cds_concurrency.h index 14394162ea29..d79d9d236055 100644 --- a/core/cds/inc/cds_concurrency.h +++ b/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