qcacmn: Add CDP API to check if UMAC reset is in progress

Add CDP API to check if UMAC reset is in progress.

Change-Id: I9b5891f61278aa6be52ee2e8d5f9de3185d92eef
CRs-Fixed: 3475148
Esse commit está contido em:
Shashikala Prabhu
2023-05-03 15:04:38 +05:30
commit de Madan Koyyalamudi
commit 65e8b2f3d8
5 arquivos alterados com 67 adições e 0 exclusões

Ver arquivo

@@ -2814,6 +2814,22 @@ QDF_STATUS dp_umac_reset_notify_asserted_soc(struct dp_soc *soc)
}
#endif
#ifdef DP_UMAC_HW_RESET_SUPPORT
/**
* dp_umac_reset_is_inprogress() - Check if umac reset is in progress
* @psoc: dp soc handle
*
* Return: true if umac reset is in progress, else false.
*/
bool dp_umac_reset_is_inprogress(struct cdp_soc_t *psoc);
#else
static inline
bool dp_umac_reset_is_inprogress(struct cdp_soc_t *psoc)
{
return false;
}
#endif
#ifndef WLAN_SOFTUMAC_SUPPORT
QDF_STATUS dp_reo_send_cmd(struct dp_soc *soc, enum hal_reo_cmd_type type,
struct hal_reo_cmd_params *params,