mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
rtl8822ce: Move continuous prints to log INFO
Issue: As part of roaming, some debug prints are being continuously
spewed on kernel logs
Fix: Move roaming debug prints RTW_INFO
Bug 4563642
Change-Id: I7ef8c78241fd6e6c9caf96357a6fb9a6c4b4a555
Signed-off-by: Shobek Attupurath <sattupurath@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3097074
Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
90c8229157
commit
9efa10a1d7
@@ -1,6 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2017 Realtek Corporation.
|
||||
* Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of version 2 of the GNU General Public License as
|
||||
@@ -4500,7 +4501,7 @@ static void rtw_signal_stat_timer_hdl(void *ctx)
|
||||
sprintf(avg + strlen(avg), " %2d", recvpriv->signal_avg[(s+i)%ROW_LEN]);
|
||||
|
||||
if ((i+1)%16 == 0) {
|
||||
printk("%s\n%s\n", row, avg);
|
||||
RTW_INFO("%s\n%s\n", row, avg);
|
||||
memset (row, 0, sizeof(row));
|
||||
memset (avg, 0, sizeof(row));
|
||||
sprintf(row, "[ROW]");
|
||||
@@ -4509,7 +4510,7 @@ static void rtw_signal_stat_timer_hdl(void *ctx)
|
||||
}
|
||||
|
||||
if ((i)%16 != 0)
|
||||
printk("%s\n%s\n", row, avg);
|
||||
RTW_INFO("%s\n%s\n", row, avg);
|
||||
|
||||
recvpriv->signal_row_idx = 0;
|
||||
memset (recvpriv->signal_row, 0, ROW_LEN);
|
||||
@@ -4592,7 +4593,7 @@ static void rtw_signal_stat_timer_hdl(void *ctx)
|
||||
if (MLME_IS_STA(adapter))
|
||||
adapter->mlmepriv.cur_network_scanned->network.PhyInfo.SignalStrength = recvpriv->signal_strength;
|
||||
#ifdef RTW_RSSI_DBG
|
||||
printk("%d + %d --> %d\n", old_s, avg_signal_strength, recvpriv->signal_strength);
|
||||
RTW_INFO("%d + %d --> %d\n", old_s, avg_signal_strength, recvpriv->signal_strength);
|
||||
RTW_INFO("signal_strength:%3u\n", recvpriv->signal_strength);
|
||||
#endif
|
||||
#if defined(DBG_RX_SIGNAL_DISPLAY_PROCESSING) && 1
|
||||
|
||||
Reference in New Issue
Block a user