Bugfix for getting band and numerology from command line for OAI UE

This commit is contained in:
Daniel Andrade
2023-06-23 14:35:20 +01:00
parent 773a35ef7a
commit aed0cfe2af
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -513,7 +513,7 @@ int main( int argc, char **argv ) {
NR_UE_MAC_INST_t *mac = get_mac_inst(0);
if (get_softmodem_params()->sa) { // set frame config to initial values from command line and assume that the SSB is centered on the grid
uint16_t nr_band = get_band(downlink_frequency[CC_id][0],uplink_frequency_offset[CC_id][0]);
uint16_t nr_band = get_softmodem_params()->band;
mac->nr_band = nr_band;
nr_init_frame_parms_ue_sa(&UE[CC_id]->frame_parms,
downlink_frequency[CC_id][0],