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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
lizhongxiao
OpenXG-RAN
Commits
8691824d
Commit
8691824d
authored
Jul 14, 2023
by
Marwan Hammouda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing issue after cherry-pick to remove compiling error
parent
11693330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
+2
-3
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_adjust_synch_ue.c
View file @
8691824d
...
...
@@ -26,6 +26,7 @@
#include "executables/softmodem-common.h"
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "executables/nr-uesoftmodem.h"
//#define DEBUG_PHY
...
...
@@ -105,16 +106,14 @@ void nr_adjust_synch_ue(NR_DL_FRAME_PARMS *frame_parms,
printf
(
"** Frame: %u, ue->rx_offset: %d, ue->rx_offset_TO: %d
\n
"
,
frame
,
ue
->
rx_offset
,
ue
->
rx_offset_TO
);
extern
tdriftComp
;
if
(
tdriftComp
==
0
)
{
TO_I_Ctrl
+=
diff
;
//integral of all offsets
ue
->
rx_offset
=
0
;
ue
->
rx_offset_TO
=
0
;
//PI controller
ue
->
rx_offset_slot
=
1
;
ue
->
rx_offset_comp
=
0
;
}
if
(
tdriftComp
==
0
)
const
int
sample_shift
=
-
(
ue
->
rx_offset
>>
1
);
// reset IIR filter for next offset calculation
...
...
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