From c5de90ee5d735cecde3898bf9199601e2a09ad16 Mon Sep 17 00:00:00 2001 From: Kiran Venkatappa Date: Tue, 19 Feb 2019 12:41:29 +0530 Subject: [PATCH] qcacmn: Reduce CE1 buffers to 128 for qca8074 CE1 is used only during initial endpoint exchange and some control exchange like cookies. On HK, there is no need to enqueue 512 buffers. Hence reduce it to 128. This provides a savings of 384 buffers or ~1.5M. Change-Id: I2b3a58c1d7a914194d842824945d12ae7c9ebb05 CRs-Fixed: 2401025 --- hif/src/ce/ce_assignment.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hif/src/ce/ce_assignment.h b/hif/src/ce/ce_assignment.h index 4d602ba9f77b..bb75091eea4b 100644 --- a/hif/src/ce/ce_assignment.h +++ b/hif/src/ce/ce_assignment.h @@ -634,7 +634,7 @@ static struct CE_attr host_ce_config_wlan_qca8074[] = { /* 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, 128, NULL,}, /* target->host WMI */ { /* CE2 */ CE_ATTR_FLAGS, 0, 0, WMI_MAX_BUF_SIZE, 512, NULL,}, /* host->target WMI (mac0) */ @@ -691,7 +691,7 @@ static struct CE_attr host_ce_config_wlan_qca8074_pci[] = { /* host->target HTC control and raw streams */ { /* CE0 */ EPPING_CE_FLAGS_POLL, 0, 16, 2048, 0, NULL,}, /* target->host HTT + HTC control */ - { /* CE1 */ EPPING_CE_FLAGS_POLL, 0, 0, 2048, 512, NULL,}, + { /* CE1 */ EPPING_CE_FLAGS_POLL, 0, 0, 2048, 128, NULL,}, /* target->host WMI */ { /* CE2 */ EPPING_CE_FLAGS_POLL, 0, 0, 2048, 256, NULL,}, /* host->target WMI (mac0) */