Browse Source

qcacld-3.0: 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: 2301924
Yeshwanth Sriram Guntuka 6 years ago
parent
commit
cbe6144d29

+ 2 - 2
core/cds/src/cds_api.c

@@ -2374,8 +2374,8 @@ QDF_STATUS cds_flush_logs(uint32_t is_fatal,
 		return QDF_STATUS_E_FAILURE;
 	}
 
-	cds_info("Triggering bug report: type:%d, indicator=%d reason_code=%d",
-		 is_fatal, indicator, reason_code);
+	cds_debug("Triggering bug report: type:%d, indicator=%d reason_code=%d",
+		  is_fatal, indicator, reason_code);
 
 	if (dump_mac_trace)
 		qdf_trace_dump_all(p_cds_context->mac_context, 0, 0, 500, 0);

+ 3 - 3
core/mac/src/pe/lim/lim_process_fils.c

@@ -1845,9 +1845,9 @@ void lim_update_fils_rik(tpPESession pe_session,
 	if ((!lim_is_fils_connection(pe_session) ||
 	     !pe_fils_info) && (req_buffer->is_fils_connection)) {
 		if (roam_fils_params->rrk_length > FILS_MAX_RRK_LENGTH) {
-			pe_err("FILS rrk len(%d) max (%d)",
-					roam_fils_params->rrk_length,
-					FILS_MAX_RRK_LENGTH);
+			pe_debug("FILS rrk len(%d) max (%d)",
+				 roam_fils_params->rrk_length,
+				 FILS_MAX_RRK_LENGTH);
 			return;
 		}
 

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

@@ -5288,9 +5288,9 @@ static void lim_process_update_add_ies(tpAniSirGlobal mac_ctx,
 			update_ie->bssid.bytes, &session_id);
 
 	if (NULL == session_entry) {
-		pe_err("Session not found for given bssid"
-				       MAC_ADDRESS_STR,
-			MAC_ADDR_ARRAY(update_ie->bssid.bytes));
+		pe_debug("Session not found for given bssid"
+			 MAC_ADDRESS_STR,
+			 MAC_ADDR_ARRAY(update_ie->bssid.bytes));
 		goto end;
 	}
 	addn_ie = &session_entry->addIeParams;

+ 2 - 2
core/mac/src/pe/lim/lim_utils.c

@@ -2980,7 +2980,7 @@ lim_enable_11a_protection(tpAniSirGlobal mac_ctx,
 	}
 	/* This part is common for station as well. */
 	if (false == pe_session->beaconParams.llaCoexist) {
-		pe_warn(" => protection from 11A Enabled");
+		pe_debug(" => protection from 11A Enabled");
 		bcn_prms->llaCoexist = true;
 		pe_session->beaconParams.llaCoexist = true;
 		bcn_prms->paramChangeBitmap |= PARAM_llACOEXIST_CHANGED;
@@ -5685,7 +5685,7 @@ void lim_diag_mgmt_rx_event_report(tpAniSirGlobal mac_ctx, void *mgmt_hdr,
 	WLAN_HOST_DIAG_EVENT_DEF(mgmt_event,
 				 struct host_event_wlan_mgmt_payload_type);
 	if (!session || !mac_hdr) {
-		pe_err("not valid input");
+		pe_debug("not valid input");
 		return;
 	}
 	lim_diag_fill_mgmt_event_report(mac_ctx, mac_hdr, session,

+ 1 - 1
core/sme/src/common/sme_power_save.c

@@ -754,7 +754,7 @@ QDF_STATUS sme_ps_enable_auto_ps_timer(tHalHandle hal_ctx,
 	if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
 		if (QDF_STATUS_E_ALREADY == qdf_status) {
 			/* Consider this ok since the timer is already started*/
-			sme_warn("auto_ps_timer is already started");
+			sme_debug("auto_ps_timer is already started");
 		} else {
 			sme_err("Cannot start auto_ps_timer");
 			return QDF_STATUS_E_FAILURE;

+ 1 - 1
core/wma/src/wma_dev_if.c

@@ -5697,7 +5697,7 @@ void wma_delete_bss(tp_wma_handle wma, tpDeleteBssParams params)
 		goto detach_peer;
 	}
 
-	WMA_LOGW(FL("Outstanding msdu packets: %d"),
+	WMA_LOGD(FL("Outstanding msdu packets: %d"),
 		 cdp_get_tx_pending(soc, pdev));
 	wma_wait_tx_complete(wma, params->smesessionId);
 

+ 1 - 1
core/wma/src/wma_features.c

@@ -4646,7 +4646,7 @@ int wma_apf_read_work_memory_event_handler(void *handle, uint8_t *evt_buf,
 	QDF_STATUS status;
 	tpAniSirGlobal pmac = cds_get_context(QDF_MODULE_ID_PE);
 
-	WMA_LOGI(FL("handle:%pK event:%pK len:%u"), handle, evt_buf, len);
+	WMA_LOGD(FL("handle:%pK event:%pK len:%u"), handle, evt_buf, len);
 
 	wma_handle = handle;
 	if (!wma_handle) {

+ 5 - 5
core/wma/src/wma_main.c

@@ -1500,7 +1500,7 @@ static void wma_process_cli_set_cmd(tp_wma_handle wma,
 					      privcmd->param_value);
 			break;
 		default:
-			WMA_LOGE("Invalid wma_cli_set vdev command/Not yet implemented 0x%x",
+			WMA_LOGD("Invalid wma_cli_set vdev command/Not yet implemented 0x%x",
 				 privcmd->param_id);
 			break;
 		}
@@ -1994,7 +1994,7 @@ static void wma_state_info_dump(char **buf_ptr, uint16_t *size)
 		return;
 	}
 
-	WMA_LOGE("%s: size of buffer: %d", __func__, *size);
+	WMA_LOGD("%s: size of buffer: %d", __func__, *size);
 
 	for (vdev_id = 0; vdev_id < wma->max_bssid; vdev_id++) {
 		iface = &wma->interfaces[vdev_id];
@@ -7675,8 +7675,8 @@ static QDF_STATUS wma_process_limit_off_chan(tp_wma_handle wma_handle,
 		return QDF_STATUS_E_INVAL;
 	}
 	if (!wma_is_vdev_up(param->vdev_id)) {
-		WMA_LOGE("vdev %d is not up skipping limit_off_chan_param",
-			param->vdev_id);
+		WMA_LOGD("vdev %d is not up skipping limit_off_chan_param",
+			 param->vdev_id);
 		return QDF_STATUS_E_INVAL;
 	}
 
@@ -8535,7 +8535,7 @@ void wma_log_completion_timeout(void *data)
 {
 	tp_wma_handle wma_handle;
 
-	WMA_LOGE("%s: Timeout occurred for log completion command", __func__);
+	WMA_LOGD("%s: Timeout occurred for log completion command", __func__);
 
 	wma_handle = (tp_wma_handle) data;
 	if (!wma_handle)

+ 1 - 1
core/wma/src/wma_mgmt.c

@@ -2096,7 +2096,7 @@ void wma_set_bsskey(tp_wma_handle wma_handle, tpSetBssKeyParams key_info)
 		/* vdev mac address will be passed for all other modes */
 		qdf_mem_copy(key_params.peer_mac, mac_addr,
 			     IEEE80211_ADDR_LEN);
-		WMA_LOGA("BSS Key setup with vdev_mac %pM\n",
+		WMA_LOGD("BSS Key setup with vdev_mac %pM\n",
 			 mac_addr);
 	}
 

+ 1 - 1
core/wma/src/wma_scan_roam.c

@@ -251,7 +251,7 @@ static void wma_roam_scan_fill_fils_params(tp_wma_handle wma_handle,
 	struct roam_fils_params *dst_fils_params, *src_fils_params;
 
 	if (!params || !roam_req || !roam_req->is_fils_connection) {
-		WMA_LOGE("wma_roam_scan_fill_fils_params- NULL");
+		WMA_LOGD("wma_roam_scan_fill_fils_params- NULL");
 		return;
 	}