qcacmn: Add the hang event infrastructure

As part of the new requirement to understand the reason for the
wifi hang the data need to be collected from the required modules
which will help in root-causing the reason for the hang.

Add the infrastructure so that the required modules can register for
this hang event notifier chain.

Change-Id: I32f1365eec1ad7d6e19be95e8faf9a980d054b76
CRs-Fixed: 2648304
This commit is contained in:
Arun Kumar Khandavalli
2020-03-24 12:51:21 +05:30
committed by nshrivas
parent cf6efc2a39
commit 2bfa222e36
3 changed files with 139 additions and 2 deletions

View File

@@ -39,11 +39,11 @@ QDF_STATUS qdf_unregister_blocking_notifier_chain(qdf_blocking_notif_head *head,
}
QDF_STATUS qdf_blocking_notfier_call(qdf_blocking_notif_head *head,
unsigned long v, void *data)
unsigned long state, void *data)
{
int ret;
ret = __qdf_blocking_notfier_call(head, v, data);
ret = __qdf_blocking_notfier_call(head, state, data);
return qdf_status_from_os_return(ret);
}