Переглянути джерело

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
Himanshu Agarwal 8 роки тому
батько
коміт
4eefcde5b1
3 змінених файлів з 32 додано та 1 видалено
  1. 9 0
      target/inc/wmi_tlv_defs.h
  2. 22 0
      target/inc/wmi_unified.h
  3. 1 1
      target/inc/wmi_version.h

+ 9 - 0
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)

+ 22 - 0
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
@@ -4985,6 +4988,25 @@ typedef struct {
 	A_UINT32 rx_preamble;           /* Bits 26-25 from rx_rate_kbps */
 } 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;

+ 1 - 1
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