From b8ccd6ea7f122f730bd590e4fa08e98ed38836c1 Mon Sep 17 00:00:00 2001 From: Mohit Khanna Date: Fri, 31 Aug 2018 18:03:39 -0700 Subject: [PATCH] qcacld-3.0: Reduce hdd txrx stats log level Reduce the current stats log level for HDD TXRX stats from info to debug. Change-Id: Id50e45a57eb667af4e42f58d5df7b9bef9535517 CRs-Fixed: 2307482 --- core/hdd/src/wlan_hdd_stats.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index bc04117c8159..728efb976fad 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -6028,7 +6028,7 @@ void wlan_hdd_display_txrx_stats(struct hdd_context *hdd_ctx) total_rx_delv = 0; total_rx_refused = 0; stats = &adapter->hdd_stats.tx_rx_stats; - hdd_info("adapter: %u", adapter->session_id); + hdd_debug("adapter: %u", adapter->session_id); for (; i < NUM_CPUS; i++) { total_rx_pkt += stats->rx_packets[i]; total_rx_dropped += stats->rx_dropped[i]; @@ -6036,19 +6036,19 @@ void wlan_hdd_display_txrx_stats(struct hdd_context *hdd_ctx) total_rx_refused += stats->rx_refused[i]; } - hdd_info("Total Transmit - called %u, dropped %u orphan %u", - stats->tx_called, stats->tx_dropped, - stats->tx_orphaned); + hdd_debug("Total Transmit - called %u, dropped %u orphan %u", + stats->tx_called, stats->tx_dropped, + stats->tx_orphaned); for (i = 0; i < NUM_CPUS; i++) { if (stats->rx_packets[i] == 0) continue; - hdd_info("Rx CPU[%d]: packets %u, dropped %u, delivered %u, refused %u", - i, stats->rx_packets[i], stats->rx_dropped[i], - stats->rx_delivered[i], stats->rx_refused[i]); + hdd_debug("Rx CPU[%d]: packets %u, dropped %u, delivered %u, refused %u", + i, stats->rx_packets[i], stats->rx_dropped[i], + stats->rx_delivered[i], stats->rx_refused[i]); } - hdd_info("Total Receive - packets %u, dropped %u, delivered %u, refused %u", - total_rx_pkt, total_rx_dropped, total_rx_delv, - total_rx_refused); + hdd_debug("Total Receive - packets %u, dropped %u, delivered %u, refused %u", + total_rx_pkt, total_rx_dropped, total_rx_delv, + total_rx_refused); } }