NR UE: consider computed DL/UL Doppler shift in continuous FO compensation
This commit is contained in:
@@ -119,7 +119,7 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue,
|
||||
|
||||
if (ue && ue->cont_fo_comp) {
|
||||
start_meas_nr_ue_phy(ue, RX_FO_COMPENSATION_STATS);
|
||||
nr_fo_compensation(ue->freq_offset,
|
||||
nr_fo_compensation(ue->dl_Doppler_shift + ue->freq_offset,
|
||||
frame_parms->samples_per_subframe,
|
||||
rx_offset,
|
||||
rxdata_symb_ptr[aa],
|
||||
|
||||
@@ -462,8 +462,10 @@ typedef struct PHY_VARS_NR_UE_s {
|
||||
|
||||
double initial_fo; /// initial frequency offset provided by the user
|
||||
int cont_fo_comp; /// flag enabling the continuous frequency offset estimation and compensation
|
||||
double freq_offset; /// currently compensated frequency offset
|
||||
double freq_off_acc; /// accumulated frequency error (for PI controller)
|
||||
double freq_offset; /// currently compensated DL frequency offset (without dl_Doppler_shift)
|
||||
double freq_off_acc; /// accumulated DL frequency error (for PI controller)
|
||||
double dl_Doppler_shift; /// calculated DL Doppler shift
|
||||
double ul_Doppler_shift; /// calculated UL Doppler shift
|
||||
|
||||
/// Timing Advance updates variables
|
||||
/// Timing advance update computed from the TA command signalled from gNB
|
||||
|
||||
Reference in New Issue
Block a user