qcacmn: Add API to check if WMI is blocked or not

Add API to check if WMI commands have been blocked

Change-Id: I675b102b74d607332acf8a417c0c94955cbd5ecd
CRs-Fixed: 2662158
This commit is contained in:
Adil Saeed Musthafa
2020-04-13 23:51:03 -07:00
committed by nshrivas
parent a23f9384c4
commit 60d18029b6
2 changed files with 21 additions and 0 deletions

View File

@@ -469,6 +469,15 @@ wmi_stop(wmi_unified_t wmi_handle);
int
wmi_start(wmi_unified_t wmi_handle);
/**
* wmi_is_blocked() - generic function to check if WMI is blocked
* @wmi_handle: handle to WMI.
*
* @Return: true, if blocked, false if not blocked
*/
bool
wmi_is_blocked(wmi_unified_t wmi_handle);
/**
* API to flush all the previous packets associated with the wmi endpoint
*