Ver Fonte

qcacmn: Change WMI command limit to 256 from 1024

qcacld-2.0 to qcacmn propagation

To debug the fwr stuck issue as early as possibile,
reduce the wmi max pending command threshold to 256
from 1024.

Change-Id: Ic3cbe26cca979dcaa68fca03e6fe1af397cf0c4f
CRs-FIXED: 1080761
Mukul Sharma há 8 anos atrás
pai
commit
b4ddf9c925
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      wmi_unified_priv.h

+ 5 - 1
wmi_unified_priv.h

@@ -37,7 +37,11 @@
 #include "qdf_atomic.h"
 
 #define WMI_UNIFIED_MAX_EVENT 0x100
-#define WMI_MAX_CMDS  1024
+#ifdef CONFIG_MCL
+#define WMI_MAX_CMDS  256
+#else
+#define WMI_MAX_CMDS 1024
+#endif
 
 typedef qdf_nbuf_t wmi_buf_t;