Commit d4d18719 authored by rmagueta's avatar rmagueta

Fix numerology for CFRA at UE

parent ffdffb1b
...@@ -1146,7 +1146,7 @@ static void build_ro_list(NR_UE_MAC_INST_t *mac) { ...@@ -1146,7 +1146,7 @@ static void build_ro_list(NR_UE_MAC_INST_t *mac) {
uint8_t format2 = 0xff; uint8_t format2 = 0xff;
int nb_fdm; int nb_fdm;
uint8_t config_index, mu=get_softmodem_params()->numerology; uint8_t config_index, mu;
int msg1_FDM; int msg1_FDM;
uint8_t prach_conf_period_idx; uint8_t prach_conf_period_idx;
...@@ -1161,6 +1161,14 @@ static void build_ro_list(NR_UE_MAC_INST_t *mac) { ...@@ -1161,6 +1161,14 @@ static void build_ro_list(NR_UE_MAC_INST_t *mac) {
config_index = rach_ConfigGeneric->prach_ConfigurationIndex; config_index = rach_ConfigGeneric->prach_ConfigurationIndex;
if (setup->msg1_SubcarrierSpacing) {
mu = *setup->msg1_SubcarrierSpacing;
} else if(mac->scc) {
mu = mac->scc->downlinkConfigCommon->frequencyInfoDL->scs_SpecificCarrierList.list.array[0]->subcarrierSpacing;
} else {
mu = get_softmodem_params()->numerology;
}
msg1_FDM = rach_ConfigGeneric->msg1_FDM; msg1_FDM = rach_ConfigGeneric->msg1_FDM;
switch (msg1_FDM){ switch (msg1_FDM){
......
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