summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2020-06-04 12:01:19 -0700
committernshrivas <nshrivas@codeaurora.org>2020-06-08 07:57:52 -0700
commit6a212c4df5f3bdf2fc2b58d6197e0ec84d7559b0 (patch)
tree7d1c288ee3617f18b5587983faa82118d7511b84
parent12d55ea492d2efbba86e8f366c2d5ed94d835ae5 (diff)
downloadwlan-fw-api-6a212c4df5f3bdf2fc2b58d6197e0ec84d7559b0.tar.gz
fw-api: CL 10599980 - update fw common interface files
Change-Id: Iaf8f302a55118773680841623bad1e80271ddd68 WMI: add VDEV_BCN_LATENCY_EVENT msg def CRs-Fixed: 2262693
-rw-r--r--fw/wmi_tlv_defs.h6
-rw-r--r--fw/wmi_unified.h25
-rw-r--r--fw/wmi_version.h2
3 files changed, 32 insertions, 1 deletions
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h
index 33ce585..f7de494 100644
--- a/fw/wmi_tlv_defs.h
+++ b/fw/wmi_tlv_defs.h
@@ -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
}
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index a9c2f46..1f40713 100644
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -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.
*/
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 5f1f476..6afc92b 100644
--- a/fw/wmi_version.h
+++ b/fw/wmi_version.h
@@ -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