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
cfff7850
Commit
cfff7850
authored
Jan 23, 2019
by
laurent
Committed by
frtabu
Feb 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lte_adjust_time
parent
25ffd08f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
openair1/SCHED_UE/phy_procedures_lte_ue.c
openair1/SCHED_UE/phy_procedures_lte_ue.c
+1
-2
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+1
-1
No files found.
openair1/SCHED_UE/phy_procedures_lte_ue.c
View file @
cfff7850
...
...
@@ -2397,8 +2397,7 @@ void ue_pbch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc, uin
}
// if this is the first PBCH after initial synchronization and no timing correction is performed, make L1 state = PRACH
if
(
ue
->
UE_mode
[
eNB_id
]
==
NOT_SYNCHED
)
ue
->
UE_mode
[
eNB_id
]
=
PRACH
;
//if (ue->UE_mode[eNB_id]==NOT_SYNCHED && ue->no_timing_correction == 1) ue->UE_mode[eNB_id] = PRACH;
if
(
ue
->
UE_mode
[
eNB_id
]
==
NOT_SYNCHED
&&
ue
->
no_timing_correction
==
1
)
ue
->
UE_mode
[
eNB_id
]
=
PRACH
;
if
(
first_run
)
{
first_run
=
0
;
proc
->
frame_rx
=
(
proc
->
frame_rx
&
0xFFFFFC00
)
|
(
frame_tx
&
0x000003FF
);
...
...
targets/RT/USER/lte-ue.c
View file @
cfff7850
...
...
@@ -1743,7 +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
)
LOG_
W
(
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