qcacmn: Initialize command/credit ring for qca8074 & qcn9000
Initialize command/credit ring for qca8074 & qcn9000. Change-Id: I28087dd4d8f4afddd954c764c2e85da43eaf78f1 CRs-fixed: 2562649
This commit is contained in:
@@ -2948,12 +2948,6 @@ static int dp_soc_cmn_setup(struct dp_soc *soc)
|
||||
soc->num_tcl_data_rings = 0;
|
||||
}
|
||||
|
||||
if (dp_tx_soc_attach(soc)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("dp_tx_soc_attach failed"));
|
||||
goto fail1;
|
||||
}
|
||||
|
||||
entries = wlan_cfg_get_dp_soc_tcl_cmd_credit_ring_size(soc_cfg_ctx);
|
||||
if (dp_srng_setup(soc, &soc->tcl_cmd_credit_ring, TCL_CMD_CREDIT, 0, 0,
|
||||
entries, 0)) {
|
||||
@@ -2967,6 +2961,12 @@ static int dp_soc_cmn_setup(struct dp_soc *soc)
|
||||
WLAN_MD_DP_SRNG_TCL_CMD,
|
||||
"tcl_cmd_credit_ring");
|
||||
|
||||
if (dp_tx_soc_attach(soc)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("dp_tx_soc_attach failed"));
|
||||
goto fail1;
|
||||
}
|
||||
|
||||
entries = wlan_cfg_get_dp_soc_tcl_status_ring_size(soc_cfg_ctx);
|
||||
if (dp_srng_setup(soc, &soc->tcl_status_ring, TCL_STATUS, 0, 0,
|
||||
entries, 0)) {
|
||||
|
Reference in New Issue
Block a user