fw-api: CL 7481713 - update fw common interface files

Change-Id: I3d28434bf91b3c87673922ee6870c12d08b24e11
WMI: add more MIB stats
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2019-06-27 06:01:02 -07:00
commit 4dbcfb35d8
2 changed files with 26 additions and 1 deletions

View file

@ -6749,6 +6749,7 @@ typedef enum {
WMI_REQUEST_BCN_STAT = 0x0800,
WMI_REQUEST_BCN_STAT_RESET = 0x1000,
WMI_REQUEST_PEER_EXTD2_STAT = 0x2000,
WMI_REQUEST_MIB_EXTD_STAT = 0x4000,
} wmi_stats_id;
/*
@ -7442,6 +7443,8 @@ typedef struct {
* indicate this is the final WMI_STATS_EVENT in a series.
*/
A_UINT32 last_event;
/** number of extended MIB stats event structures (wmi_mib_extd_stats) */
A_UINT32 num_mib_extd_stats;
/* This TLV is followed by another TLV of array of bytes
* A_UINT8 data[];
@ -7458,6 +7461,11 @@ typedef struct {
* the data[] array also contains num_peer_stats * size of wmi_peer_extd_stats
* following the information elements listed above.
*/
/* If WMI_REQUEST_MIB_EXTD_STAT is set in stats_id,
* the data[] array also contains
* num_mib_extd_stats * size of(struct wmi_mib_extd_stats)
* following the information elements listed above.
*/
} wmi_stats_event_fixed_param;
/* WLAN channel CCA stats bitmap */
@ -8235,6 +8243,9 @@ typedef struct {
A_UINT32 rx_duration_us;
} wmi_chan_stats;
/**
* MIB statistics. See 802.11 spec for the meaning of each field.
*/
typedef struct {
A_UINT32 tx_mpdu_grp_frag_cnt; /*dot11TransmittedFragmentCount */
A_UINT32 tx_msdu_grp_frm_cnt; /*dot11GroupTransmittedFrameCount */
@ -8287,6 +8298,20 @@ typedef struct {
A_UINT32 reserved_4;
} wmi_mib_stats;
/**
* MIB extension statistics.
*/
typedef struct {
A_UINT32 tx_msdu_multi_retry_cnt; /*dot11MultipleRetryCount*/
A_UINT32 tx_ack_fail_cnt; /*dot11ACKFailureCount*/
A_UINT32 tx_qos_msdu_multi_retry_up; /*dot11QosMultipleRetryCount*/
A_UINT32 tx_qos_ack_fail_cnt_up; /*dot11QosACKFailureCount*/
A_UINT32 rsna_cmac_icv_err_cnt; /*dot11RSNAStatsCMACICVErrors*/
A_UINT32 rsna_cmac_replay_err_cnt; /*dot11RSNAStatsCMACReplays*/
A_UINT32 rx_ampdu_deli_crc_err_cnt; /*dot11AMPDUDelimiterCRCErrorCount*/
A_UINT32 reserved[8]; /* Reserve more fields for future extension */
} wmi_mib_extd_stats;
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_rssi_stats */
A_UINT32 vdev_id;

View file

@ -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_ 686
#define __WMI_REVISION_ 687
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work