mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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
This commit is contained in:
parent
b2b5e695a9
commit
b8ccd6ea7f
1 changed files with 10 additions and 10 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue