From b595d8ccacbb0a240d6f506745199890b6b3d469 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 31 Jul 2023 12:23:32 +0200 Subject: [PATCH] Demote PRS error message to missing config to info PRS is not fully supported (NRPP missing, from my understanding), so not that many people will use it. On the other hand, these error messages confuse people. So put it to info. --- openair1/PHY/INIT/nr_init_ue.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/openair1/PHY/INIT/nr_init_ue.c b/openair1/PHY/INIT/nr_init_ue.c index 580db261ae..c1477aa7c1 100644 --- a/openair1/PHY/INIT/nr_init_ue.c +++ b/openair1/PHY/INIT/nr_init_ue.c @@ -50,10 +50,8 @@ void RCconfig_nrUE_prs(void *cfg) if (gParamList.numelt > 0) { ue->prs_active_gNBs = *(gParamList.paramarray[j][PRS_ACTIVE_GNBS_IDX].uptr); - } - else - { - LOG_E(PHY,"%s configuration NOT found..!! Skipped configuring UE for the PRS reception\n", CONFIG_STRING_PRS_CONFIG); + } else { + LOG_I(PHY,"%s configuration NOT found..!! Skipped configuring UE for the PRS reception\n", CONFIG_STRING_PRS_CONFIG); } paramlist_def_t PRS_ParamList = {{0},NULL,0}; @@ -133,10 +131,8 @@ void RCconfig_nrUE_prs(void *cfg) LOG_I(PHY, "MutingPattern2 \t\t[%s\b\b]\n", str[6]); LOG_I(PHY, "-----------------------------------------\n"); } - } - else - { - LOG_E(PHY,"No %s configuration found..!!\n", PRS_ParamList.listname); + } else { + LOG_I(PHY,"No %s configuration found..!!\n", PRS_ParamList.listname); } } }