From 3a8db593d9809bb70bf0b9f94e9db4c87ed12c61 Mon Sep 17 00:00:00 2001 From: francescomani Date: Thu, 29 Sep 2022 12:30:54 +0200 Subject: [PATCH] removing unnecessary code for re-transmission in ulsch decoding --- openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c b/openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c index 4118145f64..601b0bf6ff 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c +++ b/openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c @@ -442,22 +442,8 @@ 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_to_round(pusch_pdu->pusch_data.rv_index); - harq_process->new_rx = false; // flag to indicate if this is a new reception for this harq (initialized to false) dtx_det = 0; - if (harq_process->round == 0) { - harq_process->new_rx = true; - harq_process->ndi = pusch_pdu->pusch_data.new_data_indicator; - } - - // this happens if there was a DTX in round 0 - if (harq_process->ndi != pusch_pdu->pusch_data.new_data_indicator) { - harq_process->new_rx = true; - harq_process->ndi = pusch_pdu->pusch_data.new_data_indicator; - - LOG_D(PHY,"Missed ULSCH detection. NDI toggled but rv %d does not correspond to first reception\n",pusch_pdu->pusch_data.rv_index); - } A = (harq_process->TBS)<<3;