|
@@ -1,5 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -1361,8 +1362,12 @@ static struct CE_attr host_ce_config_wlan_qca6490[] = {
|
|
|
{ /* CE4 */ CE4_COMP_HTT_HTC, 0,
|
|
|
CE_HTT_H2T_MSG_SRC_NENTRIES_QCA6490, 256, 0, NULL,},
|
|
|
/* target -> host PKTLOG */
|
|
|
+#ifdef REMOVE_PKT_LOG
|
|
|
+ { /* CE5 */ 0, 0, 0, 0, 0, NULL,},
|
|
|
+#else
|
|
|
{ /* CE5 */ (CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0, 0, 2048, 512,
|
|
|
NULL,},
|
|
|
+#endif
|
|
|
/* Target autonomous HIF_memcpy */
|
|
|
{ /* CE6 */ CE_ATTR_FLAGS, 0, 0, 0, 0, NULL,},
|
|
|
/* ce_diag, the Diagnostic Window */
|
|
@@ -1386,7 +1391,11 @@ static struct CE_pipe_config target_ce_config_wlan_qca6490[] = {
|
|
|
{ /* CE4 */ 4, PIPEDIR_OUT, 256, 256,
|
|
|
(CE_ATTR_FLAGS | CE_ATTR_DISABLE_INTR), 0,},
|
|
|
/* Target -> host PKTLOG */
|
|
|
+#ifdef REMOVE_PKT_LOG
|
|
|
+ { /* CE5 */ 5, PIPEDIR_IN, 2, 2048, CE_ATTR_FLAGS, 0,},
|
|
|
+#else
|
|
|
{ /* CE5 */ 5, PIPEDIR_IN, 32, 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 */
|