diff --git a/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc b/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc index afecd674d..ba600ed03 100644 --- a/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc +++ b/srsenb/src/stack/mac/sched_ue_ctrl/sched_ue_cell.cc @@ -242,6 +242,10 @@ int sched_ue_cell::set_ack_info(tti_point tti_rx, uint32_t tb_idx, bool ack) int sched_ue_cell::set_ul_snr(tti_point tti_rx, float ul_snr, uint32_t ul_ch_code) { CHECK_VALID_CC("UL SNR estimate"); + if (ue_cfg->ue_bearers[1].direction == sched_interface::ue_bearer_cfg_t::IDLE) { + // Ignore Msg3 SNR samples as Msg3 uses a separate power control loop + return SRSRAN_SUCCESS; + } tpc_fsm.set_snr(ul_snr, ul_ch_code); if (ul_ch_code == tpc::PUSCH_CODE) { ul_cqi_tti_rx = tti_rx;