summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-06-27 12:01:12 -0700
committerspuligil <spuligil@codeaurora.org>2019-06-27 12:01:12 -0700
commitf5242a6e3b9364012c34f712168b0b7dea54ffa2 (patch)
tree69ce7999763fca95f0f665e4bf49397363e15fdb
parentaf60844c1194d9b6f57519554ac26f09a2ea55e9 (diff)
fw-api: CL 7493406 - update fw common interface files
Add WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID msg def Change-Id: I4f6eb3c975d000940487e1a3b4243906bf7dd752 CRs-Fixed: 2262693
-rwxr-xr-xfw/wmi_services.h1
-rwxr-xr-xfw/wmi_tlv_defs.h7
-rwxr-xr-xfw/wmi_unified.h11
-rwxr-xr-xfw/wmi_version.h2
4 files changed, 20 insertions, 1 deletions
diff --git a/fw/wmi_services.h b/fw/wmi_services.h
index 74ba7ba35e3a..75164b688ef5 100755
--- a/fw/wmi_services.h
+++ b/fw/wmi_services.h
@@ -399,6 +399,7 @@ typedef enum {
WMI_SERVICE_DELETE_ALL_PEER_SUPPORT = 214, /* target supports cmd to delete all peers within a vdev */
WMI_SERVICE_DYNAMIC_HW_MODE_SWITCH_SUPPORT = 215, /* target supports Dynamic HW mode switch */
WMI_SERVICE_MSDU_FLOW_OVERRIDE_BY_HOST = 216, /* target supports flow override feature */
+ WMI_SERVICE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENT= 217, /* target will send WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENT */
/******* ADD NEW SERVICES HERE *******/
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h
index e315c7b47911..a027fb9e59a8 100755
--- a/fw/wmi_tlv_defs.h
+++ b/fw/wmi_tlv_defs.h
@@ -991,6 +991,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_complete_event_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_resp_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -1624,6 +1625,7 @@ typedef enum {
OP(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID) \
OP(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID) \
OP(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID) \
+ OP(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID) \
/* add new EVT_LIST elements above this line */
@@ -4042,6 +4044,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_AVAILABLE_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID);
+#define WMITLV_TABLE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID(id,op,buf,len) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param, wmi_chan_rf_characterization_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
+WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID);
+
/* iface combination indication event */
#define WMITLV_TABLE_WMI_IFACE_COMBINATION_IND_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlanfw_iface_cmb_ind_event_fixed_param, wmi_wlanfw_iface_cmb_ind_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 11e08808bf7b..f176b72a466f 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -1336,6 +1336,7 @@ typedef enum {
/* Event to report a rogue ap info that is detected in fw */
WMI_PDEV_RAP_INFO_EVENTID,
+ WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID,
/* VDEV specific events */
/** VDEV started event in response to VDEV_START request */
@@ -2534,6 +2535,16 @@ typedef struct {
*/
} wmi_service_ready_ext_event_fixed_param;
+typedef struct {
+ A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param */
+ /*
+ * A variable-length TLV array of wmi_chan_rf_characterization_info will
+ * follow this fixed_param TLV, containing rx characterization info for
+ * primary channels.
+ * WMI_CHAN_RF_CHARACTERIZATION_INFO wmi_chan_rf_characterization_info[];
+ */
+} wmi_chan_rf_characterization_info_event_fixed_param;
+
typedef enum {
WMI_FW_STA_RTT_INITR = 0x00000001,
WMI_FW_STA_RTT_RESPR = 0x00000002,
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 4004b906fed2..f856f1d7a77b 100755
--- 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_ 687
+#define __WMI_REVISION_ 688
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work