From 20c17ab1063cfe3b26ddcfcb6dcbedad02a2a79c Mon Sep 17 00:00:00 2001 From: Surabhi Vishnoi Date: Thu, 27 Jan 2022 14:42:07 +0530 Subject: [PATCH] qcacld-3.0: Reduce the log level to optimise the roam time TWT initialisation will fail for each non 11ax connection so an error log is not needed if peer object for TWT is not found. Also, RIC data is not mandatory in FT session, so if its not present, log a debug level print instead of error level. Change-Id: I7fec9f88aa68b2ae947e34a1aede311e9fed2d05 CRs-Fixed: 3117535 --- components/mlme/core/src/wlan_mlme_twt_api.c | 3 ++- core/sme/src/qos/sme_qos.c | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/mlme/core/src/wlan_mlme_twt_api.c b/components/mlme/core/src/wlan_mlme_twt_api.c index 5a7541c8c257..8d86fd962ec0 100644 --- a/components/mlme/core/src/wlan_mlme_twt_api.c +++ b/components/mlme/core/src/wlan_mlme_twt_api.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2018-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 above @@ -187,7 +188,7 @@ QDF_STATUS mlme_init_twt_context(struct wlan_objmgr_psoc *psoc, peer = wlan_objmgr_get_peer_by_mac(psoc, peer_mac->bytes, WLAN_MLME_NB_ID); if (!peer) { - mlme_legacy_err("Peer object not found"); + mlme_legacy_debug("Peer object not found"); return QDF_STATUS_E_FAILURE; } diff --git a/core/sme/src/qos/sme_qos.c b/core/sme/src/qos/sme_qos.c index 1749eb9a2e30..cfc5698ec686 100644 --- a/core/sme/src/qos/sme_qos.c +++ b/core/sme/src/qos/sme_qos.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-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 @@ -4673,9 +4674,7 @@ static QDF_STATUS sme_qos_process_reassoc_success_ev(struct mac_context *mac_ctx mac_ctx, sessionid, event_info); } else { - QDF_TRACE(QDF_MODULE_ID_SME, - QDF_TRACE_LEVEL_ERROR, FL( - "session or RIC data is not present")); + sme_debug("session or RIC data is not present"); } } #ifdef FEATURE_WLAN_ESE