Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 557d1042 authored by Aravind Kishore Sukla's avatar Aravind Kishore Sukla Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Replace kmsg logs to debug logs

Change kernel log level to debug level

Change-Id: I1efa9a0498acd81f2a9a12d5712299609eb5bd06
CRs-Fixed: 3182121
parent 75a616e4
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017-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
@@ -800,7 +801,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
			pmo_info("drv wow is enabled");
			param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
		} else {
			pmo_info("non-drv wow is enabled");
			pmo_debug("non-drv wow is enabled");
		}
	} else {
		pmo_info("Prevent link down, non-drv wow is enabled");
@@ -812,16 +813,16 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
		pmo_info("system suspend wow");
		param.flags |= WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW;
	} else {
		pmo_info("RTPM wow");
		pmo_debug("RTPM wow");
	}

	if (psoc_cfg->is_mod_dtim_on_sys_suspend_enabled) {
		pmo_info("mod DTIM enabled");
		pmo_debug("mod DTIM enabled");
		param.flags |= WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND;
	}

	if (psoc_cfg->sta_forced_dtim) {
		pmo_info("forced DTIM enabled");
		pmo_debug("forced DTIM enabled");
		param.flags |= WMI_WOW_FLAG_FORCED_DTIM_ON_SYS_SUSPEND;
	}
	status = pmo_tgt_psoc_send_wow_enable_req(psoc, &param);
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
 * Copyright (c) 2021-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
@@ -6336,7 +6336,7 @@ static int drv_cmd_invalid(struct hdd_adapter *adapter,
		   TRACE_CODE_HDD_UNSUPPORTED_IOCTL,
		   adapter->vdev_id, 0);

	hdd_warn("%s: Unsupported driver command \"%s\"",
	hdd_debug("%s: Unsupported driver command \"%s\"",
		  adapter->dev->name, command);

	return -ENOTSUPP;
+21 −21
Original line number Diff line number Diff line
@@ -4632,7 +4632,7 @@ static void hdd_fill_sinfo_rate_info(struct station_info *sinfo,
		}
	}

	hdd_info("flag %x mcs %d legacy %d nss %d",
	hdd_debug("flag %x mcs %d legacy %d nss %d",
		  rate_info->flags,
		  rate_info->mcs,
		  rate_info->legacy,
@@ -4731,7 +4731,7 @@ static void hdd_fill_rate_info(struct wlan_objmgr_psoc *psoc,
				       &link_speed_rssi_low,
				       &link_speed_rssi_report);

	hdd_info("reportMaxLinkSpeed %d", link_speed_rssi_report);
	hdd_debug("reportMaxLinkSpeed %d", link_speed_rssi_report);

	/* convert to 100kbps expected in rate table */
	tx_rate = stats->tx_rate.rate / 100;
@@ -4922,18 +4922,18 @@ static void wlan_hdd_fill_station_info(struct wlan_objmgr_psoc *psoc,
	sinfo->assoc_req_ies_len = stainfo->assoc_req_ies.len;

	/* dump sta info*/
	hdd_info("dump stainfo");
	hdd_info("con_time %d inact_time %d tx_pkts %d rx_pkts %d",
	hdd_debug("dump stainfo");
	hdd_debug("con_time %d inact_time %d tx_pkts %d rx_pkts %d",
		  sinfo->connected_time, sinfo->inactive_time,
		  sinfo->tx_packets, sinfo->rx_packets);
	hdd_info("failed %d retries %d tx_bytes %lld rx_bytes %lld",
	hdd_debug("failed %d retries %d tx_bytes %lld rx_bytes %lld",
		  sinfo->tx_failed, sinfo->tx_retries,
		  sinfo->tx_bytes, sinfo->rx_bytes);
	hdd_info("rssi %d tx mcs %d legacy %d nss %d flags %x",
	hdd_debug("rssi %d tx mcs %d legacy %d nss %d flags %x",
		  sinfo->signal, sinfo->txrate.mcs,
		  sinfo->txrate.legacy, sinfo->txrate.nss,
		  sinfo->txrate.flags);
	hdd_info("rx mcs %d legacy %d nss %d flags %x",
	hdd_debug("rx mcs %d legacy %d nss %d flags %x",
		  sinfo->rxrate.mcs, sinfo->rxrate.legacy,
		  sinfo->rxrate.nss, sinfo->rxrate.flags);
}
@@ -5045,7 +5045,7 @@ static uint8_t hdd_get_rate_flags(uint32_t rate,
	else if (mode == SIR_SME_PHY_MODE_VHT)
		flags = hdd_get_rate_flags_vht(rate, nss, mcs);
	else
		hdd_err("invalid mode param %d", mode);
		hdd_debug("invalid mode param %d", mode);

	return flags;
}
+4 −1
Original line number Diff line number Diff line
/*
 * 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
@@ -4446,6 +4447,8 @@ void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx)
	hdd_debug("Total connection %d, sta_count %d, sap_count %d",
		  num_connections, sta_count, sap_count);
	switch (num_connections) {
	case 0:
		break;
	case 1:
		if (sta_count == 1) {
			hdd_send_twt_requestor_enable_cmd(hdd_ctx);
@@ -4489,7 +4492,7 @@ void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx)
					WLAN_HDD_ID_OBJ_MGR);
		break;
	default:
		hdd_err("Unexpected number of connection");
		hdd_debug("Unexpected number of connection");
		break;
	}
}
+2 −1
Original line number Diff line number Diff line
/*
 * 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
@@ -1503,7 +1504,7 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
		bss_complete->status = (eSapStatus) context;
		bss_complete->staId = sap_ctx->sap_sta_id;

		sap_info("(eSAP_START_BSS_EVENT): staId = %d",
		sap_debug("(eSAP_START_BSS_EVENT): staId = %d",
			  bss_complete->staId);

		bss_complete->operating_chan_freq = sap_ctx->chan_freq;
Loading