From 20d7142933e412c748f121993fd6d11b4be5443c Mon Sep 17 00:00:00 2001 From: Chaithanya Garrepalli Date: Tue, 13 Feb 2018 15:27:25 +0530 Subject: [PATCH] qcacmn: Removed WDS rx stats from host peer stats Removed WDS rx stats from host peer stats as this is not supported in HAWKEYE Change-Id: Id12be043b584a659ecbec46b6c2efb161d4248d3 CRs-Fixed: 2186376 --- dp/inc/cdp_txrx_stats_struct.h | 2 -- dp/wifi3.0/dp_internal.h | 1 - dp/wifi3.0/dp_main.c | 4 ---- 3 files changed, 7 deletions(-) diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index e22400455a..bf65e9e274 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -176,8 +176,6 @@ struct cdp_rx_stats { struct cdp_pkt_info multicast; /* Broadcast Packet Count*/ struct cdp_pkt_info bcast; - /* WDS packets received */ - struct cdp_pkt_info wds; /* Raw Pakets received */ struct cdp_pkt_info raw; /* Total multicast packets */ diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h index 92bf8fb729..36f4928176 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -301,7 +301,6 @@ while (0) _srcobj->stats.rx.multicast.bytes; \ DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.unicast); \ DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.multicast); \ - DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.wds); \ DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.raw); \ DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.intra_bss.pkts); \ DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.intra_bss.fail); \ diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index ff3448bd24..f17f93c2c5 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -5168,10 +5168,6 @@ static inline void dp_print_peer_stats(struct dp_peer *peer) peer->stats.rx.bcast.num); DP_PRINT_STATS("Broadcast Bytes Received = %llu", peer->stats.rx.bcast.bytes); - DP_PRINT_STATS("WDS Packets Received = %d", - peer->stats.rx.wds.num); - DP_PRINT_STATS("WDS Bytes Received = %llu", - peer->stats.rx.wds.bytes); DP_PRINT_STATS("Intra BSS Packets Received = %d", peer->stats.rx.intra_bss.pkts.num); DP_PRINT_STATS("Intra BSS Bytes Received = %llu",