Procházet zdrojové kódy

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 před 9 roky
rodič
revize
242002c759
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  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