From 368fb3aff9b65da7950f261edde0921f90a41495 Mon Sep 17 00:00:00 2001 From: Venkata Sharath Chandra Manchala Date: Tue, 22 Jan 2019 10:02:31 -0800 Subject: [PATCH] qcacmn: Reduce the log level for fragmented packets Reduce log level from info to debug level for received fragmented packets in dp_rx_defrag path. Change-Id: I0d1c7bf91e0337a56ea9e52565e0cbdf47a1772d CRs-Fixed: 2385483 --- dp/wifi3.0/dp_rx_defrag.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dp/wifi3.0/dp_rx_defrag.c b/dp/wifi3.0/dp_rx_defrag.c index add2db2be5..aebaf49808 100644 --- a/dp/wifi3.0/dp_rx_defrag.c +++ b/dp/wifi3.0/dp_rx_defrag.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -743,9 +743,8 @@ static QDF_STATUS dp_rx_defrag_tkip_demic(const uint8_t *key, while (next) { pktlen += (qdf_nbuf_len(next) - hdrlen); prev = next; - QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO, - "%s pktlen %u", __func__, - (uint32_t)(qdf_nbuf_len(next) - hdrlen)); + dp_debug("%s pktlen %u", __func__, + (uint32_t)(qdf_nbuf_len(next) - hdrlen)); next = qdf_nbuf_next(next); } @@ -900,8 +899,7 @@ dp_rx_defrag_nwifi_to_8023(qdf_nbuf_t nbuf, uint16_t hdrsize) if (hal_rx_get_mpdu_frame_control_valid(rx_desc_info)) fc = hal_rx_get_frame_ctrl_field(rx_desc_info); - QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO, - "%s: frame control type: 0x%x", __func__, fc); + dp_debug("%s: frame control type: 0x%x", __func__, fc); switch (((fc & 0xff00) >> 8) & IEEE80211_FC1_DIR_MASK) { case IEEE80211_FC1_DIR_NODS: