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
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index 6ee763c..7a4c1fe 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -1548,6 +1548,21 @@
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