diff --git a/executables/nr-softmodem.c b/executables/nr-softmodem.c index f31155f1ec..e14e482b6d 100644 --- a/executables/nr-softmodem.c +++ b/executables/nr-softmodem.c @@ -690,6 +690,9 @@ int main( int argc, char **argv ) { nvIPC_Init(nrmac->nvipc_params_s); #endif + for (int idx = 0; idx < RC.nb_nr_L1_inst; idx++) + RC.gNB[idx]->if_inst->sl_ahead = sl_ahead; + if (NFAPI_MODE==NFAPI_MODE_PNF) { wait_nfapi_init("main?"); } @@ -698,7 +701,6 @@ int main( int argc, char **argv ) { wait_RUs(); // once all RUs are ready initialize the rest of the gNBs ((dependence on final RU parameters after configuration) - for (int idx=0;idxif_inst->sl_ahead = sl_ahead; if (IS_SOFTMODEM_DOSCOPE || IS_SOFTMODEM_IMSCOPE_ENABLED) { sleep(1); scopeParms_t p; diff --git a/openair1/PHY/NR_TRANSPORT/pucch_rx.c b/openair1/PHY/NR_TRANSPORT/pucch_rx.c index 6f2ccc8bc1..83b568b355 100644 --- a/openair1/PHY/NR_TRANSPORT/pucch_rx.c +++ b/openair1/PHY/NR_TRANSPORT/pucch_rx.c @@ -62,10 +62,6 @@ void nr_fill_pucch(PHY_VARS_gNB *gNB, int slot, nfapi_nr_pucch_pdu_t *pucch_pdu) { - - if (NFAPI_MODE == NFAPI_MODE_PNF) - gNB->pucch[0].active = false; // check if true in monolithic mode - bool found = false; for (int i = 0; i < gNB->max_nb_pucch; i++) { NR_gNB_PUCCH_t *pucch = &gNB->pucch[i];