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
canghaiwuhen
OpenXG-RAN
Commits
25ffd08f
Commit
25ffd08f
authored
Jan 22, 2019
by
laurent
Committed by
frtabu
Feb 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lte_adjust_time
parent
5e0e94ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync_ue.c
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync_ue.c
+1
-1
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+2
-3
No files found.
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync_ue.c
View file @
25ffd08f
...
...
@@ -84,7 +84,7 @@ void lte_adjust_synch(LTE_DL_FRAME_PARMS *frame_parms,
if
(
subframe
==
5
)
{
diff
=
max_pos_fil
-
(
frame_parms
->
nb_prefix_samples
>>
3
);
diff
=
max_pos_fil
;
//
- (frame_parms->nb_prefix_samples>>3);
if
(
abs
(
diff
)
<
SYNCH_HYST
)
ue
->
rx_offset
=
0
;
...
...
targets/RT/USER/lte-ue.c
View file @
25ffd08f
...
...
@@ -1743,8 +1743,7 @@ void *UE_thread(void *arg) {
if
(
UE
->
no_timing_correction
==
0
)
{
if
(
getenv
(
"RFSIMULATOR"
)
!=
NULL
&&
UE
->
rx_offset
)
{
//LOG_E(HW,"in simu, rx_offset is not null: %d\n", UE->rx_offset);
UE
->
rx_offset
=
0
;
LOG_E
(
HW
,
"in simu, rx_offset is not null: %d
\n
"
,
UE
->
rx_offset
)
}
if
(
UE
->
rx_offset
<
5
*
UE
->
frame_parms
.
samples_per_tti
&&
UE
->
rx_offset
>
0
)
...
...
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