From 2a381c109c9b5a21a9d6699bffb86ed5b7f918d3 Mon Sep 17 00:00:00 2001 From: ilshatDesu <32833109+ilshatDesu@users.noreply.github.com> Date: Mon, 16 Oct 2017 10:59:37 +0300 Subject: [PATCH] Update enb_cfg_parser.cc Non critical error in SIB1. CellIdentity is constucted from eNBID and SectorID. --- srsenb/src/enb_cfg_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/enb_cfg_parser.cc b/srsenb/src/enb_cfg_parser.cc index 3beb85a65..00f01d498 100644 --- a/srsenb/src/enb_cfg_parser.cc +++ b/srsenb/src/enb_cfg_parser.cc @@ -749,7 +749,7 @@ int enb::parse_sibs(all_args_t *args, rrc_cfg_t *rrc_cfg, phy_cfg_t *phy_config_ } // Fill rest of data from enb config - sib1->cell_id = args->enb.s1ap.enb_id; + sib1->cell_id = (args->enb.s1ap.enb_id << 8) + args->enb.s1ap.cell_id; sib1->tracking_area_code = args->enb.s1ap.tac; sib1->freq_band_indicator = srslte_band_get_band(args->rf.dl_earfcn); sib1->N_plmn_ids = 1;