set TPC for MSG3 retransmissions

This commit is contained in:
francescomani
2025-01-06 10:43:51 +01:00
parent 4dd69427d8
commit d6f678ffc1
@@ -990,6 +990,9 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
if((frameP!=ra->Msg3_frame) || (slotP!=ra->Msg3_slot)) if((frameP!=ra->Msg3_frame) || (slotP!=ra->Msg3_slot))
continue; continue;
if (ul_cqi != 0xff)
ra->msg3_TPC = nr_get_tpc(target_snrx10, ul_cqi, 30, 0);
handle_msg3_failed_rx(ra, i, gNB_mac->ul_bler.harq_round_max); handle_msg3_failed_rx(ra, i, gNB_mac->ul_bler.harq_round_max);
} }
} }