Переглянути джерело

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
Surabhi Vishnoi 3 роки тому
батько
коміт
ef01f40bf7

+ 2 - 1
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;
 	}
 

+ 2 - 3
core/sme/src/qos/sme_qos.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
@@ -4679,9 +4680,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