瀏覽代碼

qcacmn: Modify debug log levels in P2P/TDLS/SCAN

Change debug message log level info/error/warn
to debug.

Change-Id: Ib8c5606b67ee653532489db876482b377c93e73c
CRs-Fixed: 2303185
Sandeep Puligilla 6 年之前
父節點
當前提交
b2b84401a8

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

@@ -256,7 +256,7 @@ static QDF_STATUS p2p_vdev_obj_destroy_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("no p2p vdev private object if it is not GO");
 		return QDF_STATUS_SUCCESS;

+ 1 - 1
umac/p2p/dispatcher/src/wlan_p2p_ucfg_api.c

@@ -393,7 +393,7 @@ QDF_STATUS ucfg_p2p_mgmt_tx_cancel(struct wlan_objmgr_psoc *soc,
 
 	if (QDF_STATUS_SUCCESS != qdf_idr_find(&p2p_soc_obj->p2p_idr,
 					       cookie, &tx_ctx)) {
-		p2p_err("invalid id");
+		p2p_debug("invalid id");
 		return QDF_STATUS_E_INVAL;
 	}
 

+ 1 - 1
umac/scan/core/src/wlan_scan_manager.c

@@ -726,7 +726,7 @@ scm_scan_event_handler(struct scheduler_msg *msg)
 		 * We received scan event for an already completed/cancelled
 		 * scan request. Drop this event.
 		 */
-		scm_warn("Received scan event while request not in active queue");
+		scm_debug("Received scan event while request not in active queue");
 		goto exit;
 	}
 

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

@@ -153,7 +153,7 @@ QDF_STATUS tdls_vdev_obj_create_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;
@@ -203,7 +203,7 @@ QDF_STATUS tdls_vdev_obj_create_notification(struct wlan_objmgr_vdev *vdev,
 		goto err;
 	}
 
-	tdls_notice("tdls object attach to vdev successfully");
+	tdls_debug("tdls object attach to vdev successfully");
 	return status;
 err:
 	qdf_mem_free(tdls_vdev_obj);
@@ -1343,7 +1343,7 @@ void tdls_scan_done_callback(struct tdls_soc_priv_obj *tdls_soc)
 		return;
 
 	if (TDLS_SUPPORT_DISABLED == tdls_soc->tdls_current_mode) {
-		tdls_notice("TDLS mode is disabled OR not enabled");
+		tdls_debug("TDLS mode is disabled OR not enabled");
 		return;
 	}
 

+ 6 - 6
wmi/src/wmi_unified_tlv.c

@@ -15735,13 +15735,13 @@ static QDF_STATUS send_per_roam_config_cmd_tlv(wmi_unified_t wmi_handle,
 			len, WMI_ROAM_PER_CONFIG_CMDID);
 	if (QDF_IS_STATUS_ERROR(status)) {
 		WMI_LOGE("WMI_ROAM_PER_CONFIG_CMDID failed, Error %d",
-				status);
+			 status);
 		wmi_buf_free(buf);
 		return status;
 	}
+	WMI_LOGD(FL("per roam enable=%d, vdev=%d"),
+		 req_buf->per_config.enable, req_buf->vdev_id);
 
-	WMI_LOGI(FL("per roam enable=%d, vdev=%d"),
-			req_buf->per_config.enable, req_buf->vdev_id);
 	return QDF_STATUS_SUCCESS;
 }
 
@@ -15797,9 +15797,9 @@ static QDF_STATUS send_roam_scan_offload_rssi_change_cmd_tlv(wmi_unified_t wmi_h
 		goto error;
 	}
 
-	WMI_LOGI(FL("roam_scan_rssi_change_thresh=%d, bcn_rssi_weight=%d"),
-		rssi_change_thresh, bcn_rssi_weight);
-	WMI_LOGI(FL("hirssi_delay_btw_scans=%d"), hirssi_delay_btw_scans);
+	WMI_LOGD(FL("roam_scan_rssi_change_thresh=%d, bcn_rssi_weight=%d"),
+		 rssi_change_thresh, bcn_rssi_weight);
+	WMI_LOGD(FL("hirssi_delay_btw_scans=%d"), hirssi_delay_btw_scans);
 	return QDF_STATUS_SUCCESS;
 error:
 	wmi_buf_free(buf);