diff options
| author | spuligil <spuligil@codeaurora.org> | 2019-06-27 06:01:02 -0700 |
|---|---|---|
| committer | spuligil <spuligil@codeaurora.org> | 2019-06-27 06:01:03 -0700 |
| commit | 0a99a0990fd509e2c5089e932739b524c5f086ee (patch) | |
| tree | 089c27150f5553867896ee7ea011686793053cab | |
| parent | 2cf83c1761f7620e846baaa012903aa799e98009 (diff) | |
fw-api: CL 7481713 - update fw common interface files
Change-Id: I3d28434bf91b3c87673922ee6870c12d08b24e11
WMI: add more MIB stats
CRs-Fixed: 2262693
| -rwxr-xr-x | fw/wmi_unified.h | 25 | ||||
| -rwxr-xr-x | fw/wmi_version.h | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 4d78fed3e4c6..11e08808bf7b 100755 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -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; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 764f1d2e1870..4004b906fed2 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_ 686 +#define __WMI_REVISION_ 687 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
