From 5f5fb691fa7a46a04709bf53c73e052480d2dca6 Mon Sep 17 00:00:00 2001 From: Vinod Kumar Pirla Date: Wed, 15 Sep 2021 13:20:08 -0700 Subject: [PATCH] qcacld-3.0: Reduce log level of certain error logs Reduce log level of a few error logs to reduce excessive logging. Change-Id: I3e93d033bc29a7dfee5c5ef18d52cded54fc1cbb CRs-Fixed: 3035970 --- .../action_oui/dispatcher/src/wlan_action_oui_ucfg_api.c | 3 ++- core/hdd/src/wlan_hdd_power.c | 2 +- core/mac/src/pe/lim/lim_process_action_frame.c | 3 ++- core/wma/src/wma_dev_if.c | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/action_oui/dispatcher/src/wlan_action_oui_ucfg_api.c b/components/action_oui/dispatcher/src/wlan_action_oui_ucfg_api.c index 96d97a8b3deb..7600463da391 100644 --- a/components/action_oui/dispatcher/src/wlan_action_oui_ucfg_api.c +++ b/components/action_oui/dispatcher/src/wlan_action_oui_ucfg_api.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2018, 2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -156,7 +157,7 @@ QDF_STATUS ucfg_action_oui_send(struct wlan_objmgr_psoc *psoc) continue; status = action_oui_send(psoc_priv, id); if (!QDF_IS_STATUS_SUCCESS(status)) - action_oui_err("Failed to send: %u", id); + action_oui_debug("Failed to send: %u", id); } exit: diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c index 0040c48bba50..8aaf52f32abb 100644 --- a/core/hdd/src/wlan_hdd_power.c +++ b/core/hdd/src/wlan_hdd_power.c @@ -601,7 +601,7 @@ void hdd_enable_ns_offload(struct hdd_adapter *adapter, /* cache ns request */ status = ucfg_pmo_cache_ns_offload_req(ns_req); if (QDF_IS_STATUS_ERROR(status)) { - hdd_err("Failed to cache ns request; status:%d", status); + hdd_debug("Failed to cache ns request; status:%d", status); goto free_req; } diff --git a/core/mac/src/pe/lim/lim_process_action_frame.c b/core/mac/src/pe/lim/lim_process_action_frame.c index f5d319e62853..5fc20c00966a 100644 --- a/core/mac/src/pe/lim/lim_process_action_frame.c +++ b/core/mac/src/pe/lim/lim_process_action_frame.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -1519,7 +1520,7 @@ static void lim_process_addba_req(struct mac_context *mac_ctx, uint8_t *rx_pkt_i WMI_MGMT_TX_COMP_TYPE_DISCARD); } } else { - pe_err_rl("Failed to process addba request"); + pe_debug_rl("Failed to process addba request"); } error: diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index d150ff09cef8..f2c339e03e2a 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. 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 @@ -2992,8 +2992,8 @@ int wma_peer_create_confirm_handler(void *handle, uint8_t *evt_param_info, req_msg = wma_find_remove_req_msgtype(wma, peer_create_rsp->vdev_id, WMA_PEER_CREATE_REQ); if (!req_msg) { - wma_err("vdev:%d Failed to lookup peer create request message", - peer_create_rsp->vdev_id); + wma_debug("vdev:%d Failed to lookup peer create request msg", + peer_create_rsp->vdev_id); return -EINVAL; }