From 309c10b0c6ab2d0c5b823e2ed82f8fa951856771 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 8 Apr 2020 13:18:05 +0200 Subject: [PATCH] Set CFO from initial cell search --- srsue/src/phy/sync.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/src/phy/sync.cc b/srsue/src/phy/sync.cc index 5d7c14308..85f01ee91 100644 --- a/srsue/src/phy/sync.cc +++ b/srsue/src/phy/sync.cc @@ -224,6 +224,7 @@ phy_interface_rrc_lte::cell_search_ret_t sync::cell_search(phy_interface_rrc_lte if (found_cell) { found_cell->earfcn = current_earfcn; found_cell->pci = cell.id; + found_cell->cfo_hz = search_p.get_last_cfo(); } ret.found = phy_interface_rrc_lte::cell_search_ret_t::CELL_FOUND; break;