Răsfoiți Sursa

qcacmn: Reduce log level for few prints to debug

Change log level for few messages from info/warn/err
to debug.

Change-Id: I2fd3df21d70326301b39b91efdf827d6b391f4e3
CRs-Fixed: 2301926
Yeshwanth Sriram Guntuka 6 ani în urmă
părinte
comite
0ab053e1e1

+ 1 - 1
umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c

@@ -281,7 +281,7 @@ static QDF_STATUS wlan_objmgr_vdev_obj_destroy(struct wlan_objmgr_vdev *vdev)
 
 	vdev_id = wlan_vdev_get_id(vdev);
 
-	obj_mgr_info("Physically deleting vdev %d", vdev_id);
+	obj_mgr_debug("Physically deleting vdev %d", vdev_id);
 
 	if (vdev->obj_state != WLAN_OBJ_STATE_LOGICALLY_DELETED) {
 		obj_mgr_err("VDEV object delete is not invoked vdevid:%d objstate:%d",

+ 2 - 2
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

@@ -207,7 +207,7 @@ enum policy_mgr_conc_next_action policy_mgr_need_opportunistic_upgrade(
 		goto done;
 	}
 	if (!hw_mode.dbs_cap) {
-		policy_mgr_notice("current HW mode is non-DBS capable");
+		policy_mgr_debug("current HW mode is non-DBS capable");
 		goto done;
 	}
 
@@ -1299,7 +1299,7 @@ void policy_mgr_check_concurrent_intf_and_restart_sap(
 					&operating_channel[cc_count],
 					&vdev_id[cc_count], PM_STA_MODE);
 	if (!cc_count) {
-		policy_mgr_err("Could not get STA operating channel&vdevid");
+		policy_mgr_debug("Could not get STA operating channel&vdevid");
 		return;
 	}
 

+ 4 - 4
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c

@@ -691,10 +691,10 @@ void policy_mgr_store_and_del_conn_info(struct wlan_objmgr_psoc *psoc,
 			/* Deleting the connection entry */
 			policy_mgr_decr_connection_count(psoc,
 					info[found_index].vdev_id);
-			policy_mgr_notice("Stored %d (%d), deleted STA entry with vdev id %d, index %d",
-				info[found_index].vdev_id,
-				info[found_index].mode,
-				info[found_index].vdev_id, conn_index);
+			policy_mgr_debug("Stored %d (%d), deleted STA entry with vdev id %d, index %d",
+					 info[found_index].vdev_id,
+					 info[found_index].mode,
+					 info[found_index].vdev_id, conn_index);
 			found_index++;
 			if (all_matching_cxn_to_del)
 				continue;

+ 2 - 2
umac/p2p/core/src/wlan_p2p_main.c

@@ -201,7 +201,7 @@ static QDF_STATUS p2p_vdev_obj_create_notification(
 	}
 
 	mode = wlan_vdev_mlme_get_opmode(vdev);
-	p2p_info("vdev mode:%d", mode);
+	p2p_debug("vdev mode:%d", mode);
 	if (mode != QDF_P2P_GO_MODE) {
 		p2p_debug("won't create p2p vdev private object if it is not GO");
 		return QDF_STATUS_SUCCESS;
@@ -360,7 +360,7 @@ static QDF_STATUS p2p_peer_obj_destroy_notification(
 						WLAN_UMAC_COMP_P2P);
 	psoc = wlan_vdev_get_psoc(vdev);
 	if (!p2p_vdev_obj || !psoc) {
-		p2p_err("p2p_vdev_obj:%pK psoc:%pK", p2p_vdev_obj, psoc);
+		p2p_debug("p2p_vdev_obj:%pK psoc:%pK", p2p_vdev_obj, psoc);
 		return QDF_STATUS_E_INVAL;
 	}
 

+ 3 - 3
umac/scan/dispatcher/src/wlan_scan_ucfg_api.c

@@ -190,7 +190,7 @@ QDF_STATUS ucfg_scan_pno_stop(struct wlan_objmgr_vdev *vdev)
 		return QDF_STATUS_E_INVAL;
 	}
 	if (!scan_vdev_obj->pno_in_progress) {
-		scm_err("pno already stopped");
+		scm_debug("pno already stopped");
 		return QDF_STATUS_E_ALREADY;
 	}
 
@@ -1340,8 +1340,8 @@ ucfg_scan_register_event_handler(struct wlan_objmgr_pdev *pdev,
 		if ((cb_handler->func == event_cb) &&
 			(cb_handler->arg == arg)) {
 			qdf_spin_unlock_bh(&scan->lock);
-			scm_warn("func: %pK, arg: %pK already exists",
-				event_cb, arg);
+			scm_debug("func: %pK, arg: %pK already exists",
+				  event_cb, arg);
 			return QDF_STATUS_SUCCESS;
 		}
 	}

+ 1 - 1
umac/tdls/core/src/wlan_tdls_main.c

@@ -218,7 +218,7 @@ QDF_STATUS tdls_vdev_obj_destroy_notification(struct wlan_objmgr_vdev *vdev,
 	struct tdls_soc_priv_obj *tdls_soc_obj;
 	uint32_t tdls_feature_flags;
 
-	tdls_notice("tdls vdev mode %d", wlan_vdev_mlme_get_opmode(vdev));
+	tdls_debug("tdls vdev mode %d", wlan_vdev_mlme_get_opmode(vdev));
 	if (wlan_vdev_mlme_get_opmode(vdev) != QDF_STA_MODE &&
 	    wlan_vdev_mlme_get_opmode(vdev) != QDF_P2P_CLIENT_MODE)
 		return QDF_STATUS_SUCCESS;

+ 7 - 7
wmi/src/wmi_unified_tlv.c

@@ -6006,7 +6006,7 @@ static QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle,
 	buf_ptr += WMI_TLV_HDR_SIZE;
 	qdf_mem_copy(buf_ptr, p2p_ie, ie_len);
 
-	WMI_LOGI("%s: Sending WMI_P2P_GO_SET_BEACON_IE", __func__);
+	WMI_LOGD("%s: Sending WMI_P2P_GO_SET_BEACON_IE", __func__);
 
 	ret = wmi_unified_cmd_send(wmi_handle,
 				   wmi_buf, wmi_buf_len,
@@ -6016,7 +6016,7 @@ static QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle,
 		wmi_buf_free(wmi_buf);
 	}
 
-	WMI_LOGI("%s: Successfully sent WMI_P2P_GO_SET_BEACON_IE", __func__);
+	WMI_LOGD("%s: Successfully sent WMI_P2P_GO_SET_BEACON_IE", __func__);
 	return ret;
 }
 
@@ -13067,8 +13067,8 @@ static QDF_STATUS send_enable_specific_fw_logs_cmd_tlv(wmi_unified_t wmi_handle,
 	count = 0;
 
 	if (!wmi_handle->events_logs_list) {
-		WMI_LOGE("%s: Not received event/log list from FW, yet",
-				__func__);
+		WMI_LOGD("%s: Not received event/log list from FW, yet",
+			 __func__);
 		return QDF_STATUS_E_NOMEM;
 	}
 	/* total_len stores the number of events where BITS 17 and 18 are set.
@@ -13177,7 +13177,7 @@ static QDF_STATUS send_flush_logs_to_fw_cmd_tlv(wmi_unified_t wmi_handle)
 		wmi_buf_free(buf);
 		return QDF_STATUS_E_INVAL;
 	}
-	WMI_LOGI("Sent WMI_DEBUG_MESG_FLUSH_CMDID to FW");
+	WMI_LOGD("Sent WMI_DEBUG_MESG_FLUSH_CMDID to FW");
 
 	return ret;
 }
@@ -15532,7 +15532,7 @@ static QDF_STATUS send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_ha
 		wmi_buf_free(buf);
 	}
 
-	WMI_LOGI("WMI --> WMI_ROAM_AP_PROFILE and other parameters");
+	WMI_LOGD("WMI --> WMI_ROAM_AP_PROFILE and other parameters");
 
 	return status;
 }
@@ -21059,7 +21059,7 @@ static QDF_STATUS send_set_arp_stats_req_cmd_tlv(wmi_unified_t wmi_handle,
 		goto error;
 	}
 
-	WMI_LOGI(FL("set arp stats flag=%d, vdev=%d"),
+	WMI_LOGD(FL("set arp stats flag=%d, vdev=%d"),
 		 req_buf->flag, req_buf->vdev_id);
 	return QDF_STATUS_SUCCESS;
 error: