Jelajahi Sumber

qcacld-3.0: Reduce the log level to optimize roam time

Reduce the log level for the frequent acceptable errors
to reduce the roam latencies.

Change-Id: I9f5405025948d160e6fcd65ecca05dce7670ea84
CRs-Fixed: 3150439
Vulupala Shashank Reddy 3 tahun lalu
induk
melakukan
5acf8c3e2a

+ 1 - 1
components/cp_stats/dispatcher/src/wlan_cp_stats_mc_tgt_api.c

@@ -993,7 +993,7 @@ tgt_mc_cp_stats_prepare_n_send_raw_station_stats(struct wlan_objmgr_psoc *psoc,
 	peer = wlan_objmgr_get_peer(psoc, last_req->pdev_id,
 				    last_req->peer_mac_addr, WLAN_CP_STATS_ID);
 	if (!peer) {
-		cp_stats_err("peer object is null");
+		cp_stats_debug("peer object is null");
 		goto end;
 	}
 

+ 4 - 4
components/mlme/core/src/wlan_mlme_twt_api.c

@@ -201,7 +201,7 @@ QDF_STATUS mlme_init_twt_context(struct wlan_objmgr_psoc *psoc,
 							  WLAN_UMAC_COMP_MLME);
 	if (!peer_priv) {
 		wlan_objmgr_peer_release_ref(peer, WLAN_MLME_NB_ID);
-		mlme_legacy_err("peer mlme component object is NULL");
+		mlme_legacy_debug("peer mlme component object is NULL");
 		return QDF_STATUS_E_FAILURE;
 	}
 
@@ -473,8 +473,8 @@ void mlme_set_twt_peer_capabilities(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 "QDF_MAC_ADDR_FMT,
-				QDF_MAC_ADDR_REF(peer_mac));
+		mlme_legacy_debug("Peer object not found "QDF_MAC_ADDR_FMT,
+				  QDF_MAC_ADDR_REF(peer_mac));
 		return;
 	}
 
@@ -482,7 +482,7 @@ void mlme_set_twt_peer_capabilities(struct wlan_objmgr_psoc *psoc,
 							  WLAN_UMAC_COMP_MLME);
 	if (!peer_priv) {
 		wlan_objmgr_peer_release_ref(peer, WLAN_MLME_NB_ID);
-		mlme_legacy_err("peer mlme object is NULL");
+		mlme_legacy_debug("peer mlme object is NULL");
 		return;
 	}
 

+ 1 - 1
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -6456,7 +6456,7 @@ __lim_process_sme_addts_req(struct mac_context *mac, uint32_t *msg_buf)
 	/* ship out the message now */
 	lim_send_addts_req_action_frame(mac, peerMac, &pSirAddts->req,
 					pe_session);
-	pe_err("Sent ADDTS request");
+	pe_debug("Sent ADDTS request");
 	/* start a timer to wait for the response */
 	if (pSirAddts->timeout)
 		timeout = pSirAddts->timeout;

+ 3 - 2
core/sme/src/common/sme_power_save.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-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
@@ -515,8 +516,8 @@ void sme_set_tspec_uapsd_mask_per_session(struct mac_context *mac_ctx,
 	struct ps_global_info *ps_global_info = &mac_ctx->sme.ps_global_info;
 	struct ps_params *ps_param = &ps_global_info->ps_params[session_id];
 
-	sme_err("Set UAPSD mask for AC: %d dir: %d action: %d",
-		ac, direction, ts_info->traffic.psb);
+	sme_debug("Set UAPSD mask for AC: %d dir: %d action: %d",
+		  ac, direction, ts_info->traffic.psb);
 
 	/* Converting AC to appropriate Uapsd Bit Mask
 	 * AC_BE(0) --> UAPSD_BITOFFSET_ACVO(3)