From a6cb1901a5c905402d8b0c73ca5306352e4baa74 Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Mon, 17 Feb 2020 12:22:16 +0530 Subject: [PATCH] qcacmn: Log optimization for NCHO Currently information is printed in multiple lines that can be represented in single line. Change-Id: I7f53acaa4cabd1c970b06cdd82e0c462ffcdffe1 CRs-Fixed: 2617812 --- wmi/src/wmi_unified_tlv.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 125971ad81e5..73d3f76a289d 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -5092,9 +5092,9 @@ static QDF_STATUS send_process_ll_stats_set_cmd_tlv(wmi_unified_t wmi_handle, cmd->aggressive_statistics_gathering = set_req->aggressive_statistics_gathering; - WMI_LOGD("LINK_LAYER_STATS - Start/Set Request Params"); - WMI_LOGD("MPDU Size Thresh : %d", cmd->mpdu_size_threshold); - WMI_LOGD("Aggressive Gather: %d", cmd->aggressive_statistics_gathering); + WMI_LOGD("LINK_LAYER_STATS - Start/Set Params MPDU Size Thresh : %d Aggressive Gather: %d", + cmd->mpdu_size_threshold, + cmd->aggressive_statistics_gathering); wmi_mtrace(WMI_START_LINK_STATS_CMDID, NO_SESSION, 0); ret = wmi_unified_cmd_send(wmi_handle, buf, len, @@ -5146,11 +5146,9 @@ static QDF_STATUS send_process_ll_stats_get_cmd_tlv(wmi_unified_t wmi_handle, WMI_CHAR_ARRAY_TO_MAC_ADDR(get_req->peer_macaddr.bytes, &cmd->peer_macaddr); - WMI_LOGD("LINK_LAYER_STATS - Get Request Params"); - WMI_LOGD("Request ID: %u", cmd->request_id); - WMI_LOGD("Stats Type: %0x", cmd->stats_type); - WMI_LOGD("Vdev ID: %d", cmd->vdev_id); - WMI_LOGD("Peer MAC Addr: %pM", get_req->peer_macaddr.bytes); + WMI_LOGD("LINK_LAYER_STATS - Get Request Params Request ID: %u Stats Type: %0x Vdev ID: %d Peer MAC Addr: %pM", + cmd->request_id, cmd->stats_type, cmd->vdev_id, + get_req->peer_macaddr.bytes); wmi_mtrace(WMI_REQUEST_LINK_STATS_CMDID, cmd->vdev_id, 0); ret = wmi_unified_cmd_send_pm_chk(wmi_handle, buf, len,