NR UE: for consistency, rename ntn_ta_commondrift to N_common_ta_drift

This commit is contained in:
Thomas Schlichter
2025-06-20 11:21:01 +00:00
parent f7ab814a3c
commit 22866c3c1e
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -336,12 +336,12 @@ static void configure_ntn_ta(module_id_t module_id,
ntn_ta->N_common_ta_adj = ntn_Config_r17->ta_Info_r17->ta_Common_r17 * 4.072e-6;
// ta_CommonDrift_r17 (is in units of 0.2e-3 µs/s)
if (ntn_Config_r17->ta_Info_r17->ta_CommonDrift_r17)
ntn_ta->ntn_ta_commondrift = *ntn_Config_r17->ta_Info_r17->ta_CommonDrift_r17 * 0.2e-3;
ntn_ta->N_common_ta_drift = *ntn_Config_r17->ta_Info_r17->ta_CommonDrift_r17 * 0.2e-3;
else // Need R - Release if not present
ntn_ta->ntn_ta_commondrift = 0;
ntn_ta->N_common_ta_drift = 0;
} else { // Need R - Release if not present
ntn_ta->N_common_ta_adj = 0;
ntn_ta->ntn_ta_commondrift = 0;
ntn_ta->N_common_ta_drift = 0;
}
ntn_ta->ntn_params_changed = true;
@@ -352,7 +352,7 @@ static void configure_ntn_ta(module_id_t module_id,
ntn_ta->epoch_subframe,
ntn_ta->cell_specific_k_offset,
ntn_ta->N_common_ta_adj,
ntn_ta->ntn_ta_commondrift,
ntn_ta->N_common_ta_drift,
ntn_ta->N_UE_TA_adj,
ntn_ta->N_UE_TA_drift);
}
+2 -2
View File
@@ -532,7 +532,7 @@ typedef struct ntn_timing_advance_components {
// N_common_ta_adj represents common round-trip-time between gNB and SAT received in SIB19 (ms)
double N_common_ta_adj;
// drift rate of common ta in µs/s
double ntn_ta_commondrift;
double N_common_ta_drift;
// N_UE_TA_adj calculated round-trip-time between UE and SAT (ms)
double N_UE_TA_adj;
// drift rate of N_UE_TA in µs/s
@@ -667,7 +667,7 @@ static inline double get_total_TA_ms(const ntn_timing_advance_componets_t *ntn_t
static inline double get_total_TA_drift(const ntn_timing_advance_componets_t *ntn_ta)
{
return ntn_ta->ntn_ta_commondrift + ntn_ta->N_UE_TA_drift;
return ntn_ta->N_common_ta_drift + ntn_ta->N_UE_TA_drift;
}
/*@}*/