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

WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID

Change-Id: I2389f442f0e664bcd28c8d726dea5b09e27552f2
CRs-Fixed: 1107600
This commit is contained in:
Sandeep Puligilla 2017-04-20 11:00:48 -07:00 • committed by snandini
commit 18ecb71811
3 changed files with 23 additions and 1 deletions

View file

@ -822,6 +822,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_set_init_country_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_fixed_param,
WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_param_tlv,
WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param,
} WMITLV_TAG_ID;
/*
@ -1153,6 +1154,7 @@ typedef enum {
OP(WMI_OFFCHAN_DATA_TX_SEND_CMDID) \
OP(WMI_SET_INIT_COUNTRY_CMDID) \
OP(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID) \
OP(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID) \
/* add new CMD_LIST elements above this line */
@ -2154,6 +2156,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID);
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CONFIG_CMDID);
/* PDEV Get Antenna diversity chains rssi and antenna index Cmd */
#define WMITLV_TABLE_WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param, wmi_pdev_div_get_rssi_antid_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID);
/* VDEV Get Tx power Cmd */
#define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_tx_power_cmd_fixed_param, wmi_vdev_get_tx_power_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)

View file

@ -366,6 +366,8 @@ typedef enum {
WMI_PDEV_CHECK_CAL_VERSION_CMDID,
/** Set Diversity Gain */
WMI_PDEV_SET_DIVERSITY_GAIN_CMDID,
/** Get chain RSSI and antena index command */
WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID,
/* VDEV (virtual device) specific commands */
/** vdev create */
@ -4305,6 +4307,18 @@ typedef struct {
A_UINT32 param;
} wmi_pdev_get_tpc_config_cmd_fixed_param;
typedef struct {
A_UINT32 tlv_header; /* WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param */
/** pdev_id for identifying the MAC */
A_UINT32 pdev_id;
/** RSSI (rssi_chain_x_pri20) on each chain (units: dB above noise floor) */
A_UINT32 chain_rssi[WMI_MAX_CHAINS];
/** index of the last-used antenna for each chain */
A_UINT32 ant_id[WMI_MAX_CHAINS];
/** mac address of diversity peer */
wmi_mac_addr macaddr;
} wmi_pdev_div_get_rssi_antid_fixed_param;
#define WMI_FAST_DIVERSITY_BIT_OFFSET 0
#define WMI_SLOW_DIVERSITY_BIT_OFFSET 1

View file

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