qcacmn: Add RX stats support for Direct switch
Add support to send RX stats when Direct switch is enabled. For WDS extended mode get the stats from peer object, else take it from vdev object. These will be accumulated by PPEDS module Change-Id: I1f73c50679c416536cfc1ebaaeaec9b307e8bf56 CRs-Fixed: 3421251
This commit is contained in:

committed by
Madan Koyyalamudi

parent
543c9847e4
commit
1598a12f5c
@@ -1687,6 +1687,7 @@ struct cdp_tx_stats {
|
||||
* @raw: Raw Pakets received
|
||||
* @nawds_mcast_drop: Total multicast packets
|
||||
* @mec_drop: Total MEC packets dropped
|
||||
* @ppeds_drop: Total DS packets dropped
|
||||
* @last_rx_ts: last timestamp in jiffies when RX happened
|
||||
* @intra_bss: Intra-bss statistics
|
||||
* @intra_bss.pkts: Intra BSS packets received
|
||||
@@ -1777,6 +1778,7 @@ struct cdp_rx_stats {
|
||||
struct cdp_pkt_info raw;
|
||||
uint32_t nawds_mcast_drop;
|
||||
struct cdp_pkt_info mec_drop;
|
||||
struct cdp_pkt_info ppeds_drop;
|
||||
unsigned long last_rx_ts;
|
||||
struct {
|
||||
struct cdp_pkt_info pkts;
|
||||
|
Reference in New Issue
Block a user