qcacmn: Add CDP api support to notify asserted soc info

Add CDP api support to notify asserted soc info to DP
umac reset module, to disengage a asserted soc from
umac reset process.

Change-Id: I92ee07ed90243567dab83d0686022c8327efe1b6
CRs-Fixed: 3428265
This commit is contained in:
Surya Prakash Raajen
2023-03-08 23:02:41 +05:30
committed by Madan Koyyalamudi
parent 3e280f1e48
commit 7265d860b2
3 changed files with 51 additions and 0 deletions

View File

@@ -12142,6 +12142,26 @@ fail0:
return status;
}
/**
* dp_soc_notify_asserted_soc() - API to notify asserted soc info
* @psoc: CDP soc handle
*
* Return: QDF_STATUS
*/
static QDF_STATUS dp_soc_notify_asserted_soc(struct cdp_soc_t *psoc)
{
struct dp_soc *soc =
(struct dp_soc *)psoc;
QDF_STATUS status = QDF_STATUS_SUCCESS;
if (!soc) {
dp_cdp_err("%pK: soc is NULL", soc);
return QDF_STATUS_E_INVAL;
}
return status;
}
/**
* dp_txrx_dump_stats() - Dump statistics
* @psoc: CDP soc handle
@@ -14215,6 +14235,7 @@ static struct cdp_cmn_ops dp_ops_cmn = {
.txrx_stats_request = dp_txrx_stats_request,
.txrx_get_peer_mac_from_peer_id = dp_get_peer_mac_from_peer_id,
.display_stats = dp_txrx_dump_stats,
.notify_asserted_soc = dp_soc_notify_asserted_soc,
.txrx_intr_attach = dp_soc_interrupt_attach_wrapper,
.txrx_intr_detach = dp_soc_interrupt_detach,
.txrx_ppeds_stop = dp_soc_ppeds_stop,