diff options
| -rw-r--r-- | target/inc/wmi_tlv_defs.h | 9 | ||||
| -rw-r--r-- | target/inc/wmi_unified.h | 22 | ||||
| -rw-r--r-- | target/inc/wmi_version.h | 2 |
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 |
