Flag --sa added in the softmodem-common to indicate the standalone mode

This commit is contained in:
rmagueta
2020-11-26 16:44:26 +00:00
parent 2d5ad4d0b1
commit 39ac342cfa
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -492,8 +492,10 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
schedule_nr_mib(module_idP, frame, slot, slots_per_frame[*scc->ssbSubcarrierSpacing]);
// This schedules SIB1
if (get_softmodem_params()->phy_test == 0)
if ( (get_softmodem_params()->phy_test == 0) & (get_softmodem_params()->sa == 1) )
schedule_nr_sib1(module_idP, frame, slot);
else if ( (get_softmodem_params()->phy_test == 1) & (get_softmodem_params()->sa == 1) )
LOG_W(MAC,"Remove --phy-test to transmit SIB1 in standalone mode\n");
// This schedule PRACH if we are not in phy_test mode
if (get_softmodem_params()->phy_test == 0)