Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
b9e6243d
Commit
b9e6243d
authored
Feb 20, 2024
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR_UE: use tdriftComp instead of tshift for initial time drift compensation
parent
c3c4bdb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
executables/nr-ue.c
executables/nr-ue.c
+2
-3
No files found.
executables/nr-ue.c
View file @
b9e6243d
...
...
@@ -882,7 +882,7 @@ void *UE_thread(void *arg)
int
rx_offset_slot
=
0
;
//samples to be shifted for the current slot
int
UL_TO_Tx_ofs
=
0
;
static
int
acc_UL_To_TX
=
0
;
// acculating samples compensated on UL through timing advance
extern
int
t
shift
;
extern
int
t
driftComp
;
bool
syncRunning
=
false
;
const
int
nb_slot_frame
=
UE
->
frame_parms
.
slots_per_frame
;
...
...
@@ -905,8 +905,7 @@ void *UE_thread(void *arg)
if
(
res
)
{
syncRunning
=
false
;
if
(
UE
->
is_synchronized
)
{
if
(
tshift
)
{
if
(
tdriftComp
)
{
int
diff
=
0
;
// drift in one frame
if
(
TO_IScaling
!=
0
)
UE
->
TO_I_Ctrl
=
round
(
TO_init_rate
/
TO_IScaling
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment