diff --git a/srsue/src/stack/mac/proc_ra.cc b/srsue/src/stack/mac/proc_ra.cc index 3ce6839f5..4e1f50569 100644 --- a/srsue/src/stack/mac/proc_ra.cc +++ b/srsue/src/stack/mac/proc_ra.cc @@ -162,7 +162,7 @@ void ra_proc::state_pdcch_setup() phy_interface_mac_lte::prach_info_t info = phy_h->prach_get_info(); if (info.is_transmitted) { ra_tti = info.tti_ra; - ra_rnti = 1 + (ra_tti % 10) + info.f_id; + ra_rnti = 1 + (ra_tti % 10) + (10 * info.f_id); rInfo("seq=%d, ra-rnti=0x%x, ra-tti=%d, f_id=%d\n", sel_preamble, ra_rnti, info.tti_ra, info.f_id); log_h->console("Random Access Transmission: seq=%d, ra-rnti=0x%x\n", sel_preamble, ra_rnti); rar_window_st = ra_tti + 3;