Jelajahi Sumber

qcacmn: Reduce CE0 src and dest ring size for XPAN usecase

Reduce CE0 source and destination ring sizes for XPAN
usecases to reduce memory footprint based on the
frequency of transactions between LPASS and FW.

Change-Id: I65076a2720fa72d10327981994763dc4ac295ab3
CRs-Fixed: 3319659
Yeshwanth Sriram Guntuka 2 tahun lalu
induk
melakukan
2ac8820056
1 mengubah file dengan 8 tambahan dan 0 penghapusan
  1. 8 0
      hif/src/ce/ce_assignment.h

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

@@ -1573,7 +1573,11 @@ static struct CE_pipe_config target_ce_config_wlan_qca6750[] = {
 #define KIWI_CE_COUNT 9
 static struct CE_attr host_ce_config_wlan_kiwi[] = {
 	/* host->target HTC control and raw streams */
+#ifdef FEATURE_XPAN
+	{ /* CE0 */ CE_ATTR_FLAGS, 0, 8, 2048, 0, NULL,},
+#else
 	{ /* CE0 */ CE_ATTR_FLAGS, 0, 16, 2048, 0, NULL,},
+#endif
 	/* target->host HTT + HTC control */
 	{ /* CE1 */ CE_ATTR_FLAGS, 0, 0,  2048, 512, NULL,},
 	/* target->host WMI */
@@ -1610,7 +1614,11 @@ static struct CE_attr host_ce_config_wlan_kiwi[] = {
 
 static struct CE_pipe_config target_ce_config_wlan_kiwi[] = {
 	/* host->target HTC control and raw streams */
+#ifdef FEATURE_XPAN
+	{ /* CE0 */ 0, PIPEDIR_OUT, 8, 2048, CE_ATTR_FLAGS, 0,},
+#else
 	{ /* CE0 */ 0, PIPEDIR_OUT, 32, 2048, CE_ATTR_FLAGS, 0,},
+#endif
 	/* target->host HTT */
 	{ /* CE1 */ 1, PIPEDIR_IN,  32, 2048, CE_ATTR_FLAGS, 0,},
 	/* target->host WMI  + HTC control */