qcacmn: Add SAR V2 support
Add changes to support SAR V2 power limits
Change-Id: Ife7af8db51a45660bc27d1e5b857e38f4dd40935
CRs-Fixed: 2217069
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index 3faa451..e8d2dd8 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -1786,6 +1786,31 @@
uint8_t *evt_buf,
struct sar_limit_event *event);
+/**
+ * wmi_unified_extract_sar2_result_event() - extract SAR limits from FW event
+ * @handle: wmi handle
+ * @event: event buffer received from firmware
+ * @len: length of the event buffer
+ *
+ * Return: QDF_STATUS_SUCCESS for success or error code
+ */
+QDF_STATUS wmi_unified_extract_sar2_result_event(void *handle,
+ uint8_t *event, uint32_t len);
+
+/**
+ * wmi_extract_sar_cap_service_ready_ext() - extract SAR cap from
+ * FW service ready event
+ * @wmi_hdl: wmi handle
+ * @evt_buf: event buffer received from firmware
+ * @ext_param: extended target info
+ *
+ * Return: QDF_STATUS_SUCCESS for success or error code
+ */
+QDF_STATUS wmi_extract_sar_cap_service_ready_ext(
+ void *wmi_hdl,
+ uint8_t *evt_buf,
+ struct wlan_psoc_host_service_ext_param *ext_param);
+
QDF_STATUS wmi_unified_send_adapt_dwelltime_params_cmd(void *wmi_hdl,
struct wmi_adaptive_dwelltime_params *
wmi_param);