Переглянути джерело

qcacmn: do not allocate TCL credit ring for BE

As BE chipsets already have 4 TCL_DATA rings
do not allocate TCL credit ring to re-purpose as
TCL_DATA ring

Change-Id: Idf3adbd6394c1a07e48418484083a6aa8946f318
CRs-Fixed: 3636230
Chaithanya Garrepalli 1 рік тому
батько
коміт
06d48f99c7
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      dp/wifi3.0/be/dp_be.c

+ 5 - 0
dp/wifi3.0/be/dp_be.c

@@ -190,6 +190,11 @@ static void dp_soc_cfg_attach_be(struct dp_soc *soc)
 	/* this is used only when dmac mode is enabled */
 	soc->num_rx_refill_buf_rings = 1;
 
+	/*
+	 * do not allocate TCL credit ring for BE as we already have
+	 * 4 TCL_DATA rings
+	 */
+	soc->init_tcl_cmd_cred_ring = false;
 	soc->wlan_cfg_ctx->notify_frame_support =
 				DP_MARK_NOTIFY_FRAME_SUPPORT;
 }