qcacmn: Add TX completion logic for WCN6450

In the case of WCN6450, WBM HW block is removed in the UMAC.
TX completions come via HTT messages. Add logic to handle
HTT TX completion messages from the firmware.

Changes are specific to WCN6450 and hence implement the logic
in the arch specific code.

Change-Id: I447020354ce26e8948e4b49648c434fb2ed302cd
CRs-Fixed: 3381814
This commit is contained in:
Manikanta Pubbisetty
2022-10-10 15:58:20 +05:30
committed by Madan Koyyalamudi
parent 21ec2f5d16
commit b5f74912c1
6 changed files with 175 additions and 1 deletions

View File

@@ -1865,6 +1865,14 @@ static uint8_t dp_htt_tx_comp_get_status(struct dp_soc *soc, char *htt_desc)
tx_status = HTT_TX_WBM_COMPLETION_V3_TX_STATUS_GET(htt_desc[0]);
break;
case CDP_ARCH_TYPE_RH:
{
uint32_t *msg_word = (uint32_t *)htt_desc;
tx_status = HTT_TX_MSDU_INFO_RELEASE_REASON_GET(
*(msg_word + 3));
}
break;
default:
dp_err("Incorrect CDP_ARCH %d", soc->arch_id);
QDF_BUG(0);