Adding first layer timing advance

- Added new structure to hold timing advance parameters
   - Made SIB19 related calculation to save to this struct
   - Modified in ra to get ta struct values
This commit is contained in:
Roberto Rosca
2024-12-11 10:20:35 +02:00
parent 698ff73c7f
commit f88c47ba3e
4 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ void init_nr_ue_vars(PHY_VARS_NR_UE *ue, uint8_t UE_id)
ue->if_inst = nr_ue_if_module_init(UE_id);
ue->dci_thres = 0;
ue->target_Nid_cell = -1;
ue->timing_advance = ue->frame_parms.samples_per_subframe * get_nrUE_params()->ntn_ta_common;
ue->timing_advance = ue->frame_parms.samples_per_subframe * 2 * get_nrUE_params()->ntn_ta_common;
check_position(UE_id);
// initialize all signal buffers