mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
fw-api: CL 4441273 - update fw common interface files
WMI_GET_TPC_POWER cmd and event message defs Change-Id: Iee46b181c461daabe42411020feb24caf8358229 CRs-Fixed: 1107600
This commit is contained in:
parent
b4fc9cb64a
commit
07120b5cb4
3 changed files with 57 additions and 1 deletions
|
|
@ -913,6 +913,8 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_roam_scan_stats_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_peer_tid_configurations_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_get_tpc_power_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_get_tpc_power_evt_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
|
||||
/*
|
||||
|
|
@ -1285,6 +1287,7 @@ typedef enum {
|
|||
OP(WMI_REQUEST_ROAM_SCAN_STATS_CMDID) \
|
||||
OP(WMI_PEER_TID_CONFIGURATIONS_CMDID) \
|
||||
OP(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID) \
|
||||
OP(WMI_GET_TPC_POWER_CMDID) \
|
||||
/* add new CMD_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -1491,6 +1494,7 @@ typedef enum {
|
|||
OP(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID) \
|
||||
OP(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID) \
|
||||
OP(WMI_ROAM_SCAN_STATS_EVENTID) \
|
||||
OP(WMI_GET_TPC_POWER_EVENTID) \
|
||||
/* add new EVT_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -3666,6 +3670,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID);
|
|||
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_RUNTIME_DPD_RECAL_CMDID);
|
||||
|
||||
/** Get TX power Cmd */
|
||||
#define WMITLV_TABLE_WMI_GET_TPC_POWER_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_tpc_power_cmd_fixed_param, wmi_get_tpc_power_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_CMDID);
|
||||
|
||||
/* TWT enable cmd */
|
||||
#define WMITLV_TABLE_WMI_TWT_ENABLE_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_enable_cmd_fixed_param, wmi_twt_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
|
@ -3999,6 +4009,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_EVENTID);
|
|||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_event_fixed_param, wmi_vdev_get_keepalive_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_EVENTID);
|
||||
|
||||
/** Get TX power Event */
|
||||
#define WMITLV_TABLE_WMI_GET_TPC_POWER_EVENTID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_tpc_power_evt_fixed_param, wmi_get_tpc_power_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_EVENTID);
|
||||
|
||||
/* GPIO Input Event */
|
||||
#define WMITLV_TABLE_WMI_GPIO_INPUT_EVENTID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_input_event_fixed_param, wmi_gpio_input_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
|
|
|||
|
|
@ -901,6 +901,8 @@ typedef enum {
|
|||
WMI_THERM_THROT_SET_CONF_CMDID,
|
||||
/* set runtime dpd recalibration params */
|
||||
WMI_RUNTIME_DPD_RECAL_CMDID,
|
||||
/* get TX power for input HALPHY parameters */
|
||||
WMI_GET_TPC_POWER_CMDID,
|
||||
|
||||
/* Offload 11k related requests */
|
||||
WMI_11K_OFFLOAD_REPORT_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_11K_OFFLOAD),
|
||||
|
|
@ -1563,6 +1565,9 @@ typedef enum {
|
|||
/** event to report result of host configure SAR2 */
|
||||
WMI_SAR2_RESULT_EVENTID,
|
||||
|
||||
/** event to get TX power per input HALPHY parameters */
|
||||
WMI_GET_TPC_POWER_EVENTID,
|
||||
|
||||
/* GPIO Event */
|
||||
WMI_GPIO_INPUT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_GPIO),
|
||||
/** upload H_CV info WMI event
|
||||
|
|
@ -21597,6 +21602,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|||
WMI_RETURN_STRING(WMI_REQUEST_ROAM_SCAN_STATS_CMDID);
|
||||
WMI_RETURN_STRING(WMI_PEER_TID_CONFIGURATIONS_CMDID);
|
||||
WMI_RETURN_STRING(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID);
|
||||
WMI_RETURN_STRING(WMI_GET_TPC_POWER_CMDID);
|
||||
}
|
||||
|
||||
return "Invalid WMI cmd";
|
||||
|
|
@ -22614,6 +22620,41 @@ typedef struct {
|
|||
*/
|
||||
} wmi_roam_scan_stats_event_fixed_param;
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals wmi_txpower_query_cmd_fixed_param */
|
||||
A_UINT32 request_id; /* unique request ID to distinguish the command / event set */
|
||||
|
||||
/* The mode value has the following meaning :
|
||||
* 0 : 11a
|
||||
* 1 : 11bg
|
||||
* 2 : 11b
|
||||
* 3 : 11g only
|
||||
* 4 : 11a HT20
|
||||
* 5 : 11g HT20
|
||||
* 6 : 11a HT40
|
||||
* 7 : 11g HT40
|
||||
* 8 : 11a VHT20
|
||||
* 9 : 11a VHT40
|
||||
* 10 : 11a VHT80
|
||||
* 11 : 11g VHT20
|
||||
* 12 : 11g VHT40
|
||||
* 13 : 11g VHT80
|
||||
* 14 : unknown
|
||||
*/
|
||||
A_UINT32 mode;
|
||||
A_UINT32 rate; /* rate index */
|
||||
A_UINT32 nss; /* number of spacial stream */
|
||||
A_UINT32 beamforming; /* beamforming parameter 0:disabled, 1:enabled */
|
||||
A_UINT32 chain_mask; /* mask for the antenna set to get power */
|
||||
A_UINT32 chain_index; /* index for the antenna */
|
||||
} wmi_get_tpc_power_cmd_fixed_param;
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_get_tpc_power_evt_fixed_param */
|
||||
A_UINT32 request_id; /* request ID set by the command */
|
||||
A_INT32 tx_power; /* TX power for the specified HALPHY parameters in half dBm unit */
|
||||
} wmi_get_tpc_power_evt_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_ 526
|
||||
#define __WMI_REVISION_ 527
|
||||
|
||||
/** 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