fixes
some more fixes that are missed out in previous commits
This commit is contained in:
@@ -1019,6 +1019,7 @@ typedef struct
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
uint8_t tdd_period;//DL UL Transmission Periodicity. Value:0: ms0p5 1: ms0p625 2: ms1 3: ms1p25 4: ms2 5: ms2p5 6: ms5 7: ms10 8: ms3 9: ms4
|
uint8_t tdd_period;//DL UL Transmission Periodicity. Value:0: ms0p5 1: ms0p625 2: ms1 3: ms1p25 4: ms2 5: ms2p5 6: ms5 7: ms10 8: ms3 9: ms4
|
||||||
|
uint8_t tdd_period_in_slots;
|
||||||
fapi_nr_max_tdd_periodicity_t* max_tdd_periodicity_list;
|
fapi_nr_max_tdd_periodicity_t* max_tdd_periodicity_list;
|
||||||
|
|
||||||
} fapi_nr_tdd_table_t;
|
} fapi_nr_tdd_table_t;
|
||||||
|
|||||||
@@ -805,7 +805,7 @@ uint8_t get_downlink_ack(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_t
|
|||||||
number_harq_feedback++;
|
number_harq_feedback++;
|
||||||
ack_data[code_word][dai_current - 1] = harq_status->ack;
|
ack_data[code_word][dai_current - 1] = harq_status->ack;
|
||||||
dai[code_word][dai_current - 1] = dai_current;
|
dai[code_word][dai_current - 1] = dai_current;
|
||||||
harq_status->send_harq_status == 0;
|
harq_status->send_harq_status = 0;
|
||||||
}
|
}
|
||||||
if (do_reset == TRUE) {
|
if (do_reset == TRUE) {
|
||||||
init_downlink_harq_status(ue->dlsch[thread_idx][gNB_id][code_word]->harq_processes[dl_harq_pid]);
|
init_downlink_harq_status(ue->dlsch[thread_idx][gNB_id][code_word]->harq_processes[dl_harq_pid]);
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ int set_tdd_config_nr_ue(fapi_nr_config_request_t *cfg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int nb_slots_per_period = ((1<<mu) * NR_NUMBER_OF_SUBFRAMES_PER_FRAME)/nb_periods_per_frame;
|
int nb_slots_per_period = ((1<<mu) * NR_NUMBER_OF_SUBFRAMES_PER_FRAME)/nb_periods_per_frame;
|
||||||
|
cfg->tdd_table.tdd_period_in_slots = nb_slots_per_period;
|
||||||
|
|
||||||
if ( (nrofDownlinkSymbols + nrofUplinkSymbols) == 0 )
|
if ( (nrofDownlinkSymbols + nrofUplinkSymbols) == 0 )
|
||||||
AssertFatal(nb_slots_per_period == (nrofDownlinkSlots + nrofUplinkSlots),
|
AssertFatal(nb_slots_per_period == (nrofDownlinkSlots + nrofUplinkSlots),
|
||||||
|
|||||||
Reference in New Issue
Block a user