qcacmn: Rx and Tx peer statistics update

* Update the pkt_type counters correctly within the array bound
 * Add support for NSS counters on Tx side
 * Update ampdu flag in PPDU struct
 * Add support for ampdu flag in hal_ppdu struct

Change-Id: I79ea52727124ea4be4d82912cb2513ea58e2af10
This commit is contained in:
Pranita Solanke
2018-01-12 19:14:31 +05:30
committed by snandini
parent 5819e29cbb
commit ed0aba69a9
7 changed files with 68 additions and 27 deletions

View File

@@ -836,6 +836,9 @@ struct cdp_tx_stats {
/* SGI count */
uint32_t sgi_count[MAX_GI];
/* Packet count for different num_spatial_stream values */
uint32_t nss[SS_COUNT];
/* Packet Count for different bandwidths */
uint32_t bw[MAX_BW];
@@ -935,6 +938,8 @@ struct cdp_tx_ingress_stats {
struct cdp_pkt_info inspect_pkts;
/*NAWDS Multicast Packet Count */
struct cdp_pkt_info nawds_mcast;
/* Number of broadcast packets */
struct cdp_pkt_info bcast;
struct {
/* Total Raw packets */