qcacmn: Add SAR V2 support
Add changes to support SAR V2 power limits Change-Id: Ife7af8db51a45660bc27d1e5b857e38f4dd40935 CRs-Fixed: 2217069
This commit is contained in:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user