qcacmn: Add ctl failsafe event

CTL failsafe event handler adds the capability to inform host
when failsafe algorithm invoked.

CRs-Fixed: 2333137
Change-Id: I91298c9be1f0f8291c927dbd3ac4a2a9f1b9f31b
This commit is contained in:
Alok Singh
2018-09-20 16:07:28 +05:30
committed by nshrivas
parent 2512ede55e
commit 1ae17d8c6f
6 changed files with 113 additions and 0 deletions

View File

@@ -1548,6 +1548,21 @@ QDF_STATUS wmi_extract_smartlog_ev
void wmi_process_fw_event_worker_thread_ctx(struct wmi_unified *wmi_handle,
HTC_PACKET * htc_packet);
/**
* wmi_extract_ctl_failsafe_check_ev_param() - extract ctl failsafe
* status from event
* @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer
* @param ev: Pointer to hold ctl status
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_extract_ctl_failsafe_check_ev_param(void *wmi_hdl,
void *evt_buf,
struct wmi_host_pdev_ctl_failsafe_event
*param);
#ifdef OBSS_PD
/**
* wmi_extract_smartlog_ev() - extract smartlog event info from event