UE->max_pos_acc=get_nrUE_params()->ntn_ta_commondrift*1e-6*fp->samples_per_frame/get_nrUE_params()->time_sync_I;// ntn_ta_commondrift is in µs/s, max_pos_acc * time_sync_I is in samples/frame
if(get_nrUE_params()->time_sync_I)
// ntn_ta_commondrift is in µs/s, max_pos_acc * time_sync_I is in samples/frame
shiftForNextFrame=-(UE->init_sync_frame+trashed_frames+2)*UE->max_pos_acc*get_nrUE_params()->time_sync_I;// compensate for the time drift that happened during initial sync