Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
c5e68e14
Commit
c5e68e14
authored
2 years ago
by
Thomas Schlichter
Browse files
Options
Downloads
Patches
Plain Diff
NR_UE: increase the accuracy of the filtered peak position value
parent
39fe9856
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1800
integration_2022_wk44
,
!1764
NR_UE: improve timing and initial frequency synchronization
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
executables/nr-ue.c
+1
-1
1 addition, 1 deletion
executables/nr-ue.c
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
+4
-4
4 additions, 4 deletions
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
with
5 additions
and
5 deletions
executables/nr-ue.c
+
1
−
1
View file @
c5e68e14
...
...
@@ -801,7 +801,7 @@ int computeSamplesShift(PHY_VARS_NR_UE *UE) {
if
(
samples_shift
!=
0
)
{
LOG_I
(
NR_PHY
,
"Adjusting frame in time by %i samples
\n
"
,
samples_shift
);
UE
->
rx_offset
=
0
;
// reset so that it is not applied falsely in case of SSB being only in every second frame
UE
->
max_pos_fil
+=
samples_shift
;
// reset IIR filter when sample shift is applied
UE
->
max_pos_fil
+=
samples_shift
<<
15
;
// reset IIR filter when sample shift is applied
}
return
samples_shift
;
}
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
+
4
−
4
View file @
c5e68e14
...
...
@@ -75,14 +75,14 @@ void nr_adjust_synch_ue(NR_DL_FRAME_PARMS *frame_parms,
// filter position to reduce jitter
if
(
clear
==
1
)
ue
->
max_pos_fil
=
max_pos
;
ue
->
max_pos_fil
=
max_pos
<<
15
;
else
ue
->
max_pos_fil
=
((
ue
->
max_pos_fil
*
coef
)
+
(
max_pos
*
ncoef
)
)
>>
15
;
ue
->
max_pos_fil
=
((
ue
->
max_pos_fil
*
coef
)
>>
15
)
+
(
max_pos
*
ncoef
);
// do not filter to have proactive timing adjustment
//ue->max_pos_fil = max_pos;
//ue->max_pos_fil = max_pos
<< 15
;
int
diff
=
ue
->
max_pos_fil
-
sync_pos
;
int
diff
=
(
ue
->
max_pos_fil
>>
15
)
-
sync_pos
;
if
(
frame_parms
->
freq_range
==
nr_FR2
)
sync_offset
=
2
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment