From fdf921110ecb1df11ff33d61e7f94f76f65b8b72 Mon Sep 17 00:00:00 2001 From: narayan Date: Thu, 21 Jun 2018 13:16:39 +0530 Subject: [PATCH] qcacmn: Adding wmi param as part of peer_extd_stats Adding two members including tx sgi_count in host peer_extd_stats structure which is received from the fw and populated to upper layer along with adding two members to cdp_rx_stats. Change-Id: Id45b2d0042d01771ac74a906d72c369c3dc31394 CRs-Fixed: 2147922 --- dp/inc/cdp_txrx_stats_struct.h | 4 ++++ wmi/inc/wmi_unified_param.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index 7baa5c03d6..c75c223d82 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -355,6 +355,8 @@ struct cdp_tx_stats { * @rx_wepfail: rx wep processing failed * @rx_aggr: aggregation on rx * @rx_discard: packets discard in rx + * @rx_ratecode: Rx rate code of last frame + * @rx_flags: rx flags */ struct cdp_rx_stats { struct cdp_pkt_info to_stack; @@ -407,6 +409,8 @@ struct cdp_rx_stats { /*add for peer updated for ppdu*/ uint32_t rx_aggr; uint32_t rx_discard; + uint32_t rx_ratecode; + uint32_t rx_flags; }; /* struct cdp_tx_ingress_stats - Tx ingress Stats diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 267c70f636..40752fe271 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -4090,6 +4090,8 @@ typedef struct { * @last_tx_power: Tx power latest * @atf_tokens_allocated: atf tokens allocated * @atf_tokens_utilized: atf tokens utilized + * @num_mu_tx_blacklisted: Blacklisted MU Tx count + * @sgi_count: sgi count of the peer * @reserved: for future use */ typedef struct { @@ -4103,7 +4105,9 @@ typedef struct { uint32_t last_tx_power; uint32_t atf_tokens_allocated; uint32_t atf_tokens_utilized; - uint32_t reserved[4]; + uint32_t num_mu_tx_blacklisted; + uint32_t sgi_count; + uint32_t reserved[2]; } wmi_host_peer_extd_stats; /**