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
This commit is contained in:
narayan
2018-06-21 13:16:39 +05:30
committato da nshrivas
parent d8ee7699e6
commit fdf921110e
2 ha cambiato i file con 9 aggiunte e 1 eliminazioni

Vedi File

@@ -355,6 +355,8 @@ struct cdp_tx_stats {
* @rx_wepfail: rx wep processing failed * @rx_wepfail: rx wep processing failed
* @rx_aggr: aggregation on rx * @rx_aggr: aggregation on rx
* @rx_discard: packets discard in 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_rx_stats {
struct cdp_pkt_info to_stack; struct cdp_pkt_info to_stack;
@@ -407,6 +409,8 @@ struct cdp_rx_stats {
/*add for peer updated for ppdu*/ /*add for peer updated for ppdu*/
uint32_t rx_aggr; uint32_t rx_aggr;
uint32_t rx_discard; uint32_t rx_discard;
uint32_t rx_ratecode;
uint32_t rx_flags;
}; };
/* struct cdp_tx_ingress_stats - Tx ingress Stats /* struct cdp_tx_ingress_stats - Tx ingress Stats

Vedi File

@@ -4090,6 +4090,8 @@ typedef struct {
* @last_tx_power: Tx power latest * @last_tx_power: Tx power latest
* @atf_tokens_allocated: atf tokens allocated * @atf_tokens_allocated: atf tokens allocated
* @atf_tokens_utilized: atf tokens utilized * @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 * @reserved: for future use
*/ */
typedef struct { typedef struct {
@@ -4103,7 +4105,9 @@ typedef struct {
uint32_t last_tx_power; uint32_t last_tx_power;
uint32_t atf_tokens_allocated; uint32_t atf_tokens_allocated;
uint32_t atf_tokens_utilized; 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; } wmi_host_peer_extd_stats;
/** /**