qcacmn: Hif changes for umac reset in QCA5332

Add hif changes for umac reset in QCA5332. Changes are done to read the
umac reset IPC number from dst and request irq for the same.

Change-Id: I0feafb06ef63f37c3ae6db0270bd5ed50debd91d
CRs-Fixed: 3401146
Esse commit está contido em:
Nandha Kishore Easwaran
2023-02-09 11:14:42 +05:30
commit de Madan Koyyalamudi
commit f2ffa7ab59
3 arquivos alterados com 32 adições e 2 exclusões

Ver arquivo

@@ -136,7 +136,6 @@ enum hif_ic_irq {
txmon2host_monitor_destination_mac2,
txmon2host_monitor_destination_mac1,
host2tx_monitor_ring1,
umac_reset,
};
#ifdef QCA_SUPPORT_LEGACY_INTERRUPTS
@@ -2566,6 +2565,8 @@ QDF_STATUS hif_register_umac_reset_handler(struct hif_opaque_softc *hif_scn,
* Return: QDF_STATUS of operation
*/
QDF_STATUS hif_unregister_umac_reset_handler(struct hif_opaque_softc *hif_scn);
QDF_STATUS hif_get_umac_reset_irq(struct hif_opaque_softc *hif_scn,
int *umac_reset_irq);
#else
static inline
QDF_STATUS hif_register_umac_reset_handler(struct hif_opaque_softc *hif_scn,
@@ -2581,6 +2582,13 @@ QDF_STATUS hif_unregister_umac_reset_handler(struct hif_opaque_softc *hif_scn)
return QDF_STATUS_SUCCESS;
}
static inline
QDF_STATUS hif_get_umac_reset_irq(struct hif_opaque_softc *hif_scn,
int *umac_reset_irq)
{
return QDF_STATUS_SUCCESS;
}
#endif /* DP_UMAC_HW_RESET_SUPPORT */
#ifdef FEATURE_DIRECT_LINK