diff --git a/wmi_unified_api.h b/wmi_unified_api.h index 3faa451b42..e8d2dd827e 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -1786,6 +1786,31 @@ QDF_STATUS wmi_unified_extract_sar_limit_event(void *wmi_hdl, 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); diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 67f7dc2fe7..a8a85a42b2 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -5534,6 +5534,7 @@ typedef enum { #ifdef OL_ATH_SMART_LOGGING wmi_debug_fatal_condition_eventid, #endif /* OL_ATH_SMART_LOGGING */ + wmi_wlan_sar2_result_event_id, wmi_events_max, } wmi_conv_event_id; diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 78f9e057c0..cd0b00a642 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -1410,6 +1410,10 @@ QDF_STATUS (*extract_sar_limit_event)(wmi_unified_t wmi_handle, uint8_t *evt_buf, struct sar_limit_event *event); +QDF_STATUS (*extract_sar2_result_event)(void *handle, + uint8_t *event, + uint32_t len); + QDF_STATUS (*send_peer_rx_reorder_queue_setup_cmd)(wmi_unified_t wmi_handle, struct rx_reorder_queue_setup_params *param); @@ -1442,6 +1446,11 @@ QDF_STATUS (*extract_dbr_ring_cap_service_ready_ext)( uint8_t *evt_buf, uint8_t idx, struct wlan_psoc_host_dbr_ring_caps *param); +QDF_STATUS (*extract_sar_cap_service_ready_ext)( + wmi_unified_t wmi_handle, + uint8_t *evt_buf, + struct wlan_psoc_host_service_ext_param *ext_param); + QDF_STATUS (*extract_dbr_buf_release_fixed)( wmi_unified_t wmi_handle, uint8_t *evt_buf,