summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Agarwal <himanaga@codeaurora.org>2016-09-09 12:59:17 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-16 02:54:25 -0700
commit4eefcde5b1c1e2b608976710c13d8382473befb7 (patch)
tree7f2e422bca615ea6ed468913d0183256163137dc
parent97005de93e9ddd3ab2fc7df79289c25e3fc2b0e1 (diff)
qcacld-3.0: CL 1635229 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0. Report aggregation failure LL implementation. Change-Id: Ibeaeb6f744480faa116c607eee7c19bdd73ea0d0 CRs-fixed: 865207
-rw-r--r--target/inc/wmi_tlv_defs.h9
-rw-r--r--target/inc/wmi_unified.h22
-rw-r--r--target/inc/wmi_version.h2
3 files changed, 32 insertions, 1 deletions
diff --git a/target/inc/wmi_tlv_defs.h b/target/inc/wmi_tlv_defs.h
index 67aca0095f2f..6fed7f977cde 100644
--- a/target/inc/wmi_tlv_defs.h
+++ b/target/inc/wmi_tlv_defs.h
@@ -748,6 +748,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_rx_stats_thresh,
WMITLV_TAG_STRUC_wmi_pdev_set_stats_threshold_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_request_wlan_stats_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_rx_aggr_failure_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_rx_aggr_failure_info,
} WMITLV_TAG_ID;
/*
@@ -1210,6 +1212,7 @@ typedef enum {
OP(WMI_PDEV_CHIP_POWER_STATS_EVENTID) \
OP(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID) \
OP(WMI_REPORT_STATS_EVENTID) \
+ OP(WMI_REPORT_RX_AGGR_FAILURE_EVENTID) \
/* add new EVT_LIST elements above this line */
/* TLV definitions of WMI commands */
@@ -3379,6 +3382,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_rate_ht_info, ht_info, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_VDEV_RATE_STATS_EVENTID);
+/* report rx aggregation failure information */
+#define WMITLV_TABLE_WMI_REPORT_RX_AGGR_FAILURE_EVENTID(id, op, buf, len)\
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_rx_aggr_failure_event_fixed_param, wmi_rx_aggr_failure_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_aggr_failure_info, failure_info, WMITLV_SIZE_VAR)
+WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_RX_AGGR_FAILURE_EVENTID);
+
/* Update memory dump complete Event */
#define WMITLV_TABLE_WMI_UPDATE_FW_MEM_DUMP_EVENTID(id,op,buf,len)\
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_update_fw_mem_dump_fixed_param, wmi_update_fw_mem_dump_fixed_param, fixed_param, WMITLV_SIZE_FIX)
diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h
index 7bd3cc3cc00a..e58a821f3a13 100644
--- a/target/inc/wmi_unified.h
+++ b/target/inc/wmi_unified.h
@@ -1349,6 +1349,9 @@ typedef enum {
/** event to provide requested data from the target's flash memory */
WMI_READ_DATA_FROM_FLASH_EVENTID,
+ /** event to report rx aggregation failure frame information */
+ WMI_REPORT_RX_AGGR_FAILURE_EVENTID,
+
/* GPIO Event */
WMI_GPIO_INPUT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_GPIO),
/** upload H_CV info WMI event
@@ -4986,6 +4989,25 @@ typedef struct {
} wmi_vdev_rate_ht_info;
typedef struct {
+ /**
+ * TLV tag and len, tag equals
+ * WMITLV_TAG_STRUC_wmi_rx_aggr_failure_event_fixed_param
+ */
+ A_UINT32 tlv_header;
+ A_UINT32 num_failure_info; /* How many holes on rx aggregation */
+} wmi_rx_aggr_failure_event_fixed_param;
+
+typedef struct {
+ /**
+ * TLV tag and len, tag equals
+ * WMITLV_wmi_rx_aggr_failure_info
+ */
+ A_UINT32 tlv_header;
+ A_UINT32 start_seq; /* start sequence number of the hole */
+ A_UINT32 end_seq; /* end sequence number of the hole */
+} wmi_rx_aggr_failure_info;
+
+typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_stats_event_fixed_param */
wmi_stats_id stats_id;
/** number of pdev stats event structures (wmi_pdev_stats) 0 or 1 */
diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h
index 40c3e08a47b0..1ded542df000 100644
--- a/target/inc/wmi_version.h
+++ b/target/inc/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_ 291
+#define __WMI_REVISION_ 292
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work