Ver Fonte

qcacmn: Increase the CE1 ring size to 1280 for Waikiki

Increase the CE1 ring size, which is used for htt
events to 1280 entries from current 512 entries
for Waikiki

Change-Id: I794522751deb9a60e6487e42df48f582a5e01d2e
CRs-Fixed: 3511251
Pavankumar Nandeshwar há 2 anos atrás
pai
commit
9afe71a99a
1 ficheiros alterados com 8 adições e 2 exclusões
  1. 8 2
      hif/src/ce/ce_assignment.h

+ 8 - 2
hif/src/ce/ce_assignment.h

@@ -1780,12 +1780,18 @@ static struct CE_pipe_config target_ce_config_wlan_kiwi[] = {
 
 #ifdef QCA_WIFI_QCN9224
 #define QCN_9224_CE_COUNT 16
+
+#ifdef QCN9224_CE1_INCREASED_SIZE
+#define T2H_CE1_RING_SIZE 1280
+#else
+#define T2H_CE1_RING_SIZE 512
+#endif
+
 static struct CE_attr host_ce_config_wlan_qcn9224[] = {
 	/* host->target HTC control and raw streams */
 	{/*CE0*/ (CE_ATTR_FLAGS), 0, 16, 2048, 0, NULL,},
 	/* target->host HTT + HTC control */
-	{/*CE1*/ (CE_ATTR_FLAGS), 0, 0,  2048,
-		512, NULL,},
+	{/*CE1*/ (CE_ATTR_FLAGS), 0, 0,  2048, T2H_CE1_RING_SIZE, NULL,},
 	/* target->host WMI */
 	{/*CE2*/ (CE_ATTR_FLAGS), 0, 0,  2048,
 		128, NULL,},