Browse Source

qcacmn: Mark CE10 as unused for qca8074

CE10 is not used in any endpoint service map. Mark this as unused CE so
that buffer are not enqueued in this CE. This gives a savings of 512
buffers or ~2M

Change-Id: I32f0d332becadb3536a0cb40c4ea88e518f448f6
CRs-Fixed: 2451745
Kiran Venkatappa 6 years ago
parent
commit
0df30dd0a0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      hif/src/ce/ce_assignment.h

+ 3 - 3
hif/src/ce/ce_assignment.h

@@ -693,7 +693,7 @@ static struct CE_attr host_ce_config_wlan_qca8074[] = {
 	/* host->target WMI (mac2) */
 	{ /* CE9 */ CE_ATTR_FLAGS, 0, 32,  WMI_MAX_BUF_SIZE, 0, NULL,},
 	/* target->host HTT */
-	{ /* CE10 */ CE_ATTR_FLAGS, 0, 0,  2048, 512, NULL,},
+	{ /* CE10 unused */ 0, 0, 0, 0, 0, NULL,},
 	{ /* CE11 unused */ 0, 0, 0, 0, 0, NULL,},
 };
 
@@ -722,7 +722,7 @@ static struct CE_pipe_config target_ce_config_wlan_qca8074[] = {
 	/* CE9 host->target WMI (mac2) */
 	{ /* CE9 */ 9, PIPEDIR_OUT,  32, WMI_MAX_BUF_SIZE, 8192, 0,},
 	/* CE10 target->host HTT */
-	{ /* CE10 */ 10, PIPEDIR_INOUT_H2H,  0, 0, 0, 0,},
+	{/* CE10 unused */10, PIPEDIR_NONE, 0, 0, 0, 0,},
 	{/* CE11 unused */11, PIPEDIR_NONE, 0, 0, 0, 0,},
 };
 
@@ -749,7 +749,7 @@ static struct CE_attr host_ce_config_wlan_qca8074_pci[] = {
 	/* host->target WMI (mac2) */
 	{ /* CE9 */ EPPING_CE_FLAGS_POLL, 0, 32,  2048, 0, NULL,},
 	/* target->host HTT */
-	{ /* CE10 */ CE_ATTR_FLAGS, 0, 0,  2048, 512, NULL,},
+	{ /* CE10 unused */ 0, 0, 0, 0, 0, NULL,},
 	{ /* CE11 unused */ 0, 0, 0, 0, 0, NULL,},
 };