浏览代码

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
Kiran Venkatappa 6 年之前
父节点
当前提交
c5de90ee5d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      hif/src/ce/ce_assignment.h

+ 2 - 2
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) */