Skip to content
Snippets Groups Projects
Commit cd57c618 authored by Luis Pereira's avatar Luis Pereira
Browse files

Put back harq round obtained from rv_index

parent 4fd861a2
No related branches found
No related tags found
4 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1288WIP: integration_2021_wk41_bwt-abs,!1266WIP : Changes for initialBWP size different than Coreset0
......@@ -505,8 +505,13 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_gNB_ULSCH_DECODING,1);
harq_process->TBS = pusch_pdu->pusch_data.tb_size;
// harq_process->round = nr_rv_round_map[pusch_pdu->pusch_data.rv_index];
if (pusch_pdu->pusch_data.rv_index == 0) harq_process->round = 0;
harq_process->round = nr_rv_round_map[pusch_pdu->pusch_data.rv_index];
// If the first detected transmission starts with RV 2 it would never decode. So we needed a way to set the round to 0
if( (pusch_pdu->pusch_data.rv_index==0) && (harq_process->round!=0) ) {
LOG_E(NR_PHY, "Mismatch between harq round %i and rv_index %i\n", harq_process->round, pusch_pdu->pusch_data.rv_index);
harq_process->round = 0;
}
A = (harq_process->TBS)<<3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment