removing constant max number of xlsch
This commit is contained in:
@@ -182,7 +182,7 @@ void rx_func(void *param)
|
||||
stats->active = false;
|
||||
}
|
||||
// disactivate ULSCH structure if it is inactive for a given number of frames
|
||||
for (int i = 0; i < NUMBER_OF_NR_ULSCH_MAX; i++) {
|
||||
for (int i = 0; i < gNB->max_nb_pusch; i++) {
|
||||
NR_gNB_ULSCH_t *ulsch = gNB->ulsch[i];
|
||||
if (ulsch->active && (((frame_rx - ulsch->harq_process->frame + 1024) % 1024) > NUMBER_FRAMES_PHY_UE_INACTIVE))
|
||||
ulsch->active = false;
|
||||
|
||||
Reference in New Issue
Block a user