qcacmn: Add API to print UMAC reset stats

Add API to print UMAC reset and MLO UMAC reset related  stats.

Change-Id: I0925cb8df74a9d33633d180a4cbecd11856d67a5
CRs-Fixed: 3425706
This commit is contained in:
Shashikala Prabhu
2023-03-15 12:07:17 +05:30
committed by Madan Koyyalamudi
parent d458f39acf
commit 56160b1881
6 changed files with 159 additions and 0 deletions

View File

@@ -2735,6 +2735,20 @@ bool dp_umac_reset_target_recovery_check(struct dp_soc *soc);
* Return: true if the soc is ignored or false otherwise
*/
bool dp_umac_reset_is_soc_ignored(struct dp_soc *soc);
/**
* dp_mlo_umac_reset_stats_print() - API to print MLO umac reset stats
* @soc: dp soc handle
*
* Return: QDF_STATUS
*/
QDF_STATUS dp_mlo_umac_reset_stats_print(struct dp_soc *soc);
#else
static inline
QDF_STATUS dp_mlo_umac_reset_stats_print(struct dp_soc *soc)
{
return QDF_STATUS_SUCCESS;
}
#endif
#endif