Commit b2e9a394 authored by francescomani's avatar francescomani

bugfix in ue sib1 scheduling

parent cb97ebcf
......@@ -152,21 +152,21 @@ int8_t nr_ue_decode_mib(module_id_t module_id,
uint32_t band;
uint16_t ssb_start_symbol;
if ((get_softmodem_params()->sa == 1) && (mac->common_configuration_complete == 0)) {
if (get_softmodem_params()->sa == 1) {
scs_ssb = get_softmodem_params()->numerology;
band = mac->nr_band;
ssb_start_symbol = get_ssb_start_symbol(band,scs_ssb,ssb_index);
nr_ue_sib1_scheduler(module_id,
cc_id,
ssb_start_symbol,
frame,
ssb_subcarrier_offset,
ssb_index,
ssb_start_subcarrier,
mac->frequency_range);
if (mac->common_configuration_complete == 0)
nr_ue_sib1_scheduler(module_id,
cc_id,
ssb_start_symbol,
frame,
ssb_subcarrier_offset,
ssb_index,
ssb_start_subcarrier,
mac->frequency_range);
}
else {
NR_ServingCellConfigCommon_t *scc = mac->scc;
......
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