doing nr_segmentation in all rounds

because round 0 could be skipped if no pusch signal detected
This commit is contained in:
Sakthivel Velumani
2020-09-30 16:24:40 +02:00
parent 6ff951be08
commit 13b016de53
@@ -577,7 +577,7 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
stats->current_RI = n_layers; stats->current_RI = n_layers;
stats->total_bytes_tx += harq_process->TBS; stats->total_bytes_tx += harq_process->TBS;
} }
// This is a new packet, so compute quantities regarding segmentation }
if (A > 3824) if (A > 3824)
harq_process->B = A+24; harq_process->B = A+24;
else else
@@ -598,7 +598,6 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
if (!frame%100) if (!frame%100)
printf("K %d C %d Z %d \n", harq_process->K, harq_process->C, harq_process->Z); printf("K %d C %d Z %d \n", harq_process->K, harq_process->C, harq_process->Z);
#endif #endif
}
Tbslbrm = nr_compute_tbslbrm(0,nb_rb,n_layers); Tbslbrm = nr_compute_tbslbrm(0,nb_rb,n_layers);
p_decParams->Z = harq_process->Z; p_decParams->Z = harq_process->Z;