Commit ff47264a authored by aligungr's avatar aligungr

RRC developments

parent a7c632b8
...@@ -29,18 +29,33 @@ void UeRrcTask::performCellSelection() ...@@ -29,18 +29,33 @@ void UeRrcTask::performCellSelection()
if (!lookForSuitableCell(cellInfo, report)) if (!lookForSuitableCell(cellInfo, report))
{ {
m_logger->warn( if (!m_cellDesc.empty())
"Suitable cell selection failed in [%d] cells. [%d] out of PLMN, [%d] no SI, [%d] reserved, [%d] barred", {
static_cast<int>(m_cellDesc.size()), report.outOfPlmnCells, report.sib1MissingCells, report.reservedCells, m_logger->warn("Suitable cell selection failed in [%d] cells. [%d] out of PLMN, [%d] no SI, [%d] reserved, "
report.barredCells); "[%d] barred",
static_cast<int>(m_cellDesc.size()), report.outOfPlmnCells, report.sib1MissingCells,
report.reservedCells, report.barredCells);
}
else
{
m_logger->warn("Suitable cell selection failed, no cell is in coverage");
}
report = {}; report = {};
if (!lookForAcceptableCell(cellInfo, report)) if (!lookForAcceptableCell(cellInfo, report))
{
if (!m_cellDesc.empty())
{ {
m_logger->warn("Acceptable cell selection failed in [%d] cells. [%d] no SI, [%d] reserved, [%d] barred", m_logger->warn("Acceptable cell selection failed in [%d] cells. [%d] no SI, [%d] reserved, [%d] barred",
static_cast<int>(m_cellDesc.size()), report.sib1MissingCells, report.reservedCells, static_cast<int>(m_cellDesc.size()), report.sib1MissingCells, report.reservedCells,
report.barredCells); report.barredCells);
}
else
{
m_logger->warn("Acceptable cell selection failed, no cell is in coverage");
}
m_logger->err("Cell selection failure, no suitable or acceptable cell found"); m_logger->err("Cell selection failure, no suitable or acceptable cell found");
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment