fw-api: CL 27667035 - update fw common interface files

Change-Id: I76d394721cd12cbc8648940129054b6ad0ce97ee
CRs-Fixed: 3830439
This commit is contained in:
spuligil 2024-09-19 18:01:24 -07:00 • committed by Ravindra Konda
commit 7493b62ab0
3 changed files with 92 additions and 3 deletions

View file

@ -1451,6 +1451,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_usd_service_event_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_create_wfdr2_mode_params,
WMITLV_TAG_STRUC_wmi_pdev_power_boost_event_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_power_boost_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_power_boost_mem_addr_cmd_fixed_param,
} WMITLV_TAG_ID;
/*
* IMPORTANT: Please add _ALL_ WMI Commands Here.
@ -2005,6 +2007,8 @@ typedef enum {
OP(WMI_P2P_GO_DFS_AP_CONFIG_CMDID) \
OP(WMI_VDEV_REPORT_AP_OPER_BW_CMDID) \
OP(WMI_USD_SERVICE_CMDID) \
OP(WMI_PDEV_POWER_BOOST_CMDID) \
OP(WMI_PDEV_POWER_BOOST_MEM_ADDR_CMDID) \
/* add new CMD_LIST elements above this line */
@ -5668,6 +5672,16 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_REPORT_AP_OPER_BW_CMDID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, service_specific_info, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_USD_SERVICE_CMDID);
/* WMI cmd used to send Power Boost status update from Host to Target */
#define WMITLV_TABLE_WMI_PDEV_POWER_BOOST_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_power_boost_cmd_fixed_param, wmi_pdev_power_boost_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_POWER_BOOST_CMDID);
/* WMI cmd used to exchange the DDR address to the target for Power Boost feature */
#define WMITLV_TABLE_WMI_PDEV_POWER_BOOST_MEM_ADDR_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_power_boost_mem_addr_cmd_fixed_param, wmi_pdev_power_boost_mem_addr_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_POWER_BOOST_MEM_ADDR_CMDID);
/************************** TLV definitions of WMI events *******************************/

View file

@ -588,6 +588,13 @@ typedef enum {
* WMI cmd to set custom TX power backoff value per band/chain/MCS to PHY.
*/
WMI_PDEV_SET_CUSTOM_TX_POWER_PER_MCS_CMDID,
/* WMI cmd to send Power Boost status update from Host */
WMI_PDEV_POWER_BOOST_CMDID,
/**
* WMI cmd to exchange the address of the DDR buffer allocated by the Host
* for Power Boost feature
*/
WMI_PDEV_POWER_BOOST_MEM_ADDR_CMDID,
/* VDEV (virtual device) specific commands */
@ -38155,6 +38162,8 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_SET_AP_SUSPEND_RESUME_CMDID);
WMI_RETURN_STRING(WMI_P2P_GO_DFS_AP_CONFIG_CMDID);
WMI_RETURN_STRING(WMI_USD_SERVICE_CMDID);
WMI_RETURN_STRING(WMI_PDEV_POWER_BOOST_CMDID);
WMI_RETURN_STRING(WMI_PDEV_POWER_BOOST_MEM_ADDR_CMDID);
}
return (A_UINT8 *) "Invalid WMI cmd";
@ -48999,6 +49008,13 @@ typedef enum {
WMI_EVENT_POWER_BOOST_MAX
} wmi_pdev_power_boost_event_type;
typedef enum {
WMI_PDEV_POWER_BOOST_TS_FIRST_PASS = 0,
WMI_PDEV_POWER_BOOST_TS_SECOND_PASS,
WMI_PDEV_POWER_BOOST_TS_MAX
} wmi_pdev_power_boost_training_stage;
typedef struct {
/* WMITLV_TAG_STRUC_wmi_pdev_power_boost_event_fixed_param */
A_UINT32 tlv_header;
@ -49007,8 +49023,8 @@ typedef struct {
/* enum wmi_pdev_power_boost_event_type to update the power boost status */
A_UINT32 status;
/* training_stage:
* The training stage such as 1st, 2nd for which the I/Q samples are
* updated in DDR.
* The training stage for which the I/Q samples are updated in DDR.
* This field holds a wmi_pdev_power_boost_training_stage value.
*/
A_UINT32 training_stage;
/* MCS value for which the current DPD training has been done */
@ -49032,6 +49048,65 @@ typedef struct {
A_UINT32 phy_mode;
} wmi_pdev_power_boost_event_fixed_param;
typedef enum {
WMI_CMD_POWER_BOOST_READY = 0,
WMI_CMD_POWER_BOOST_ESTIMATED_DATA,
WMI_CMD_POWER_BOOST_ABORT,
WMI_CMD_POWER_BOOST_MAX
} wmi_pdev_power_boost_cmd_type;
typedef struct {
/* WMITLV_TAG_STRUC_wmi_pdev_power_boost_cmd_fixed_param */
A_UINT32 tlv_header;
/* to identify for which pdev the cmd is sent */
A_UINT32 pdev_id;
/* enum wmi_pdev_power_boost_cmd_type to update the power boost status */
A_UINT32 status;
/* wmi_pdev_power_boost_training_stage value to indicate training stage */
A_UINT32 training_stage;
/* MCS value for which the Power Boost training has been done */
A_UINT32 mcs;
/* Bandwidth in Mhz for which the Power Boost training has been done */
A_UINT32 bandwidth;
/* current target temperature while training the DPD packet in degree C */
A_INT32 temperature_degreeC;
/* primary 20 MHz channel frequency in MHz */
A_UINT32 primary_chan_mhz;
/* Center frequency 1 in MHz*/
A_UINT32 band_center_freq1;
/* Center frequency 2 in MHz - valid only for 11acvht 80plus80 mode*/
A_UINT32 band_center_freq2;
/* phy_mode:
* phy mode as listed by enum WLAN_PHY_MODE, for which the current
* Power Boost training has been done.
*/
A_UINT32 phy_mode;
/* tx_evm:
* Tx_evm value as calculated after the Power Boost training,
* in units of 1/4 (0.25dBm) steps.
*/
A_INT32 tx_evm;
/* tx_mask_margin:
* Tx spectral mask margin value as calculated after the Power Boost
* training, in units of 1/4 (0.25dBm) steps.
*/
A_INT32 tx_mask_margin;
} wmi_pdev_power_boost_cmd_fixed_param;
typedef struct {
/* WMITLV_TAG_STRUC_wmi_pdev_power_boost_mem_addr_cmd_fixed_param */
A_UINT32 tlv_header;
/* to identify for which pdev the cmd is sent */
A_UINT32 pdev_id;
/* Lower 32 bit DDR address as allocated by the host */
A_UINT32 paddr_aligned_lo;
/* Higher 32 bit DDR address as allocated by the host */
A_UINT32 paddr_aligned_hi;
/* Size of the buffer been allocated by the Host in units of KB */
A_UINT32 size;
} wmi_pdev_power_boost_mem_addr_cmd_fixed_param;
/* ADD NEW DEFS HERE */

View file

@ -37,7 +37,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_ 1524
#define __WMI_REVISION_ 1525
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work