qcacmn: Add support to log ce hang event info

Add hif APIs to support logging of ce hang event
data.

Change-Id: I9b930d5f983d57a7359ba9f97ea65050c4f54a8a
CRs-Fixed: 2649148
このコミットが含まれているのは:
Yeshwanth Sriram Guntuka
2020-03-25 23:15:13 +05:30
committed by nshrivas
コミット d3db10ec5b
6個のファイルの変更198行の追加2行の削除

ファイルの表示

@@ -1351,4 +1351,23 @@ void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx,
{
}
#endif /* FORCE_WAKE */
#ifdef HIF_CE_LOG_INFO
/**
* hif_log_ce_info() - API to log ce info
* @hif_ctx: hif opaque handle
* @data: hang event data buffer
* @offset: offset at which data needs to be written
*
* Return: None
*/
void hif_log_ce_info(struct hif_opaque_softc *hif_ctx, uint8_t *data,
unsigned int *offset);
#else
static inline
void hif_log_ce_info(struct hif_opaque_softc *hif_ctx, uint8_t *data,
unsigned int *offset)
{
}
#endif
#endif /* _HIF_H_ */