Browse Source

qcacmn: Remove target CE entries for CE5 in HMT

In HMT, pktlog, which uses CE5 traditionally is disabled. Hence donot
configure any entries in target_ce_config.

Change-Id: I31a075fb9c6557599688408ba9452704c7522ec0
CRs-Fixed: 2984362
Mohit Khanna 4 years ago
parent
commit
3e89b4435a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      hif/src/ce/ce_assignment.h

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

@@ -1486,8 +1486,13 @@ static struct CE_pipe_config target_ce_config_wlan_wcn7850[] = {
 	/* host->target HTT */
 	{ /* CE4 */ 4, PIPEDIR_OUT, 256, 256,
 		(CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0,},
+#ifdef FEATURE_PKTLOG
 	/* Target -> host PKTLOG */
 	{ /* CE5 */ 5, PIPEDIR_IN,  32, 2048, CE_ATTR_FLAGS, 0,},
+#else
+	{ /* CE5 */ 5, PIPEDIR_IN,  0, 2048, CE_ATTR_FLAGS, 0,},
+#endif
+
 	/* Reserved for target autonomous HIF_memcpy */
 	{ /* CE6 */ 6, PIPEDIR_INOUT, 32, 16384, CE_ATTR_FLAGS, 0,},
 	/* CE7 used only by Host */