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

Change-Id: Iaf8f302a55118773680841623bad1e80271ddd68
WMI: add VDEV_BCN_LATENCY_EVENT msg def
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2020-06-04 12:01:19 -07:00 • committed by nshrivas
commit 6a212c4df5
3 changed files with 32 additions and 1 deletions

View file

@ -1088,6 +1088,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_max_reg_power_allowed,
WMITLV_TAG_STRUC_wmi_tpc_rates_array,
WMITLV_TAG_STRUC_wmi_tpc_ctl_pwr_table,
WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param,
} WMITLV_TAG_ID;
/*
@ -1786,6 +1787,7 @@ typedef enum {
OP(WMI_ROAM_CAPABILITY_REPORT_EVENTID) \
OP(WMI_CTRL_PATH_STATS_EVENTID) \
OP(WMI_PDEV_GET_TPC_STATS_EVENTID) \
OP(WMI_VDEV_BCN_LATENCY_EVENTID) \
/* add new EVT_LIST elements above this line */
@ -5989,6 +5991,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CAPABILITY_REPORT_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ctl_buf, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_STATS_EVENTID);
/* Send Bcn Latency ie related params to host */
#define WMITLV_TABLE_WMI_VDEV_BCN_LATENCY_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param, wmi_vdev_bcn_latency_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_LATENCY_EVENTID);
#ifdef __cplusplus
}

View file

@ -1516,6 +1516,8 @@ typedef enum {
WMI_VDEV_SEND_BIG_DATA_EVENTID,
/** send BIG DATA stats to host phase 2 */
WMI_VDEV_SEND_BIG_DATA_P2_EVENTID,
/** Latency related information received from beacon IE */
WMI_VDEV_BCN_LATENCY_EVENTID,
/* peer specific events */
@ -21612,6 +21614,29 @@ typedef struct {
A_UINT32 bss_color_bitmap_bit32to63; /* Bit set indicating BSS color present */
} wmi_obss_color_collision_evt_fixed_param;
/*
* WMI event to notify host if latency_flags/latency_level got changed
* or if latency got enabled/disabled.
* When latency disable is received in the beacon vendor IE and wlm
* parameters are restored, latency_enable will be zero.
* latency level and latency flags will be those of wlm params.
* Lay out of latency flags is as follows. The field is same as flags
* in wmi_wlm_config_cmd_fixed_param.
*
* |31 19| 18 | 17|16 14| 13 | 12| 11 | 10 | 9 | 8 |7 6|5 4|3 2| 1 | 0 |
* +-----+-----+---+-----+----+---+----+----+-----+----+----+----+----+---+---+
* | RSVD|SRATE|RTS| NSS |EDCA|TRY|SSLP|CSLP|DBMPS|RSVD|Roam|RSVD|DWLT|DFS|SUP|
* +------------------------------+---------------+---------+-----------------+
* | WAL | PS | Roam | Scan |
*/
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param */
A_UINT32 vdev_id;
A_UINT32 latency_enable;
A_UINT32 latency_level;
A_UINT32 latency_flags;
} wmi_vdev_bcn_latency_fixed_param;
/**
* OCB DCC types and structures.
*/

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