Commit fe89c400 authored by Thomas Schlichter's avatar Thomas Schlichter

NR UE: initialize ul_time_alignment structure

parent 010321e5
...@@ -472,6 +472,10 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue, ...@@ -472,6 +472,10 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue,
ue->total_TBS_last[eNB_id] = 0; ue->total_TBS_last[eNB_id] = 0;
ue->bitrate[eNB_id] = 0; ue->bitrate[eNB_id] = 0;
ue->total_received_bits[eNB_id] = 0; ue->total_received_bits[eNB_id] = 0;
ue->ul_time_alignment[eNB_id].apply_ta = 0;
ue->ul_time_alignment[eNB_id].ta_frame = -1;
ue->ul_time_alignment[eNB_id].ta_slot = -1;
} }
// init NR modulation lookup tables // init NR modulation lookup tables
nr_generate_modulation_table(); nr_generate_modulation_table();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment