mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
fw-api: CL 4062586 - update fw common interface files
Define WMI_RUNTIME_DPD_RECAL_CMDID Change-Id: Ia62d25ff06a52da2069d4e92b617c8c816b53c6e CRs-Fixed: 1107600
This commit is contained in:
parent
36082eb56d
commit
4db33a558a
4 changed files with 37 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -244,6 +244,7 @@ typedef enum {
|
|||
WMI_SERVICE_11K_NEIGHBOUR_REPORT_SUPPORT=148, /* Support for 11k neighbor report */
|
||||
WMI_SERVICE_LISTEN_INTERVAL_OFFLOAD_SUPPORT=149, /* Support listen interval offload */
|
||||
WMI_SERVICE_BSS_COLOR_OFFLOAD=150, /* Support BSS color change for STA, OBSS color collision detection in FW for AP and STA */
|
||||
WMI_SERVICE_RUNTIME_DPD_RECAL=151, /* Runtime DPD recalibration support */
|
||||
|
||||
|
||||
/******* ADD NEW SERVICES HERE *******/
|
||||
|
|
|
|||
|
|
@ -896,6 +896,7 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_bss_color_change_enable_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_obss_color_collision_det_config_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_obss_color_collision_evt_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
|
||||
/*
|
||||
|
|
@ -1258,6 +1259,7 @@ typedef enum {
|
|||
OP(WMI_PDEV_GET_NFCAL_POWER_CMDID) \
|
||||
OP(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID) \
|
||||
OP(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID) \
|
||||
OP(WMI_RUNTIME_DPD_RECAL_CMDID) \
|
||||
/* add new CMD_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -3614,6 +3616,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID);
|
|||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param, wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID);
|
||||
|
||||
/* Runtime DPD Recalibration Params */
|
||||
#define WMITLV_TABLE_WMI_RUNTIME_DPD_RECAL_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param, wmi_runtime_dpd_recal_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_RUNTIME_DPD_RECAL_CMDID);
|
||||
|
||||
|
||||
/************************** TLV definitions of WMI events *******************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -879,6 +879,8 @@ typedef enum {
|
|||
WMI_READ_DATA_FROM_FLASH_CMDID,
|
||||
/* Thermal Throttling SET CONF commands */
|
||||
WMI_THERM_THROT_SET_CONF_CMDID,
|
||||
/* set runtime dpd recalibration params */
|
||||
WMI_RUNTIME_DPD_RECAL_CMDID,
|
||||
|
||||
/* Offload 11k related requests */
|
||||
WMI_11K_OFFLOAD_REPORT_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_11K_OFFLOAD),
|
||||
|
|
@ -21228,6 +21230,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|||
WMI_RETURN_STRING(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID);
|
||||
WMI_RETURN_STRING(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID);
|
||||
WMI_RETURN_STRING(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID);
|
||||
WMI_RETURN_STRING(WMI_RUNTIME_DPD_RECAL_CMDID);
|
||||
}
|
||||
|
||||
return "Invalid WMI cmd";
|
||||
|
|
@ -21890,6 +21893,29 @@ typedef struct {
|
|||
A_UINT32 paddr_hi;
|
||||
} wmi_dma_buf_release_entry;
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param */
|
||||
A_UINT32 enable; /* Enable/disable */
|
||||
|
||||
/* Thermal Thresholds,
|
||||
* DPD recalibration will be triggered, when current temperature is
|
||||
* either greater than (tmpt_base_c + dlt_tmpt_c_h),
|
||||
* or less than (tmpt_base_c + dlt_tmpt_c_l).
|
||||
* Here tmpt_base_c is the temperature in centigrade when first run dpd calibration.
|
||||
*/
|
||||
A_UINT32 dlt_tmpt_c_h;
|
||||
A_UINT32 dlt_tmpt_c_l;
|
||||
|
||||
/* cooling_time_ms
|
||||
* The time (in milliseconds) expected to be needed for the unit
|
||||
* to cool from dlt_tmpt_c_h to dlt_tmpt_c_l.
|
||||
*/
|
||||
A_UINT32 cooling_time_ms;
|
||||
|
||||
/* Max duration for dpd re-cal. Unit: ms */
|
||||
A_UINT32 dpd_dur_max_ms;
|
||||
} wmi_runtime_dpd_recal_cmd_fixed_param;
|
||||
|
||||
|
||||
/* ADD NEW DEFS HERE */
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#define __WMI_VER_MINOR_ 0
|
||||
/** WMI revision number has to be incremented when there is a
|
||||
* change that may or may not break compatibility. */
|
||||
#define __WMI_REVISION_ 495
|
||||
#define __WMI_REVISION_ 496
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue