diff --git a/openair1/SIMULATION/NR_PHY/dlsim.c b/openair1/SIMULATION/NR_PHY/dlsim.c index a968df8da5..6ef735fee8 100644 --- a/openair1/SIMULATION/NR_PHY/dlsim.c +++ b/openair1/SIMULATION/NR_PHY/dlsim.c @@ -683,6 +683,8 @@ int main(int argc, char **argv) UE_mac->phy_config.config_req.pbch_config.ssb_index = 0; UE_mac->phy_config.config_req.pbch_config.half_frame_bit = 0; + nr_ue_phy_config_request(&UE_mac->phy_config); + for (SNR=snr0; SNRphy_config.config_req.pbch_config); + normal_txrx); if (n_trials==1) { LOG_M("rxsigF0.m","rxsF0", UE->common_vars.common_vars_rx_data_per_thread[0].rxdataF[0],slot_length_complex_samples_no_prefix,1,1); @@ -742,7 +743,7 @@ int main(int argc, char **argv) LOG_M("rxsigF1.m","rxsF1", UE->common_vars.common_vars_rx_data_per_thread[0].rxdataF[1],slot_length_complex_samples_no_prefix,1,1); } - if (UE->dci_ind.number_of_dcis==0) n_errors++; + if (UE_mac->dl_config_request.number_pdus==0) n_errors++; } } //noise trials