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
This commit is contained in:
Chaithanya Garrepalli
2023-10-10 16:00:44 +05:30
committed by Ravindra Konda
parent 1bc353ef08
commit 06d48f99c7

View File

@@ -190,6 +190,11 @@ static void dp_soc_cfg_attach_be(struct dp_soc *soc)
/* this is used only when dmac mode is enabled */ /* this is used only when dmac mode is enabled */
soc->num_rx_refill_buf_rings = 1; 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 = soc->wlan_cfg_ctx->notify_frame_support =
DP_MARK_NOTIFY_FRAME_SUPPORT; DP_MARK_NOTIFY_FRAME_SUPPORT;
} }