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
d6ea4987
Commit
d6ea4987
authored
Sep 14, 2018
by
Y_Tomita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set ue->rx_offset = 0 in case of Basic simulator.
parent
fd8b984c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
+5
-0
No files found.
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
100644 → 100755
View file @
d6ea4987
...
...
@@ -476,6 +476,11 @@ int initial_sync(PHY_VARS_UE *ue, runmode_t mode)
if
(
ret
==
0
)
{
// PBCH found so indicate sync to higher layers and configure frame parameters
#if BASIC_SIMULATOR
/* a hack without which the UE does not connect (to be fixed somehow) */
ue
->
rx_offset
=
0
;
#endif
//#ifdef DEBUG_INITIAL_SYNCH
#if DISABLE_LOG_X
printf
(
"[UE%d] In synch, rx_offset %d samples
\n
"
,
ue
->
Mod_id
,
ue
->
rx_offset
);
...
...
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