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
wangwenhui
OpenXG-RAN
Commits
90e54318
Commit
90e54318
authored
Jan 08, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RFSIMULATOR: fixes based on Laurent Thomas's feedback
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
58f62a41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
executables/nr-ue.c
executables/nr-ue.c
+2
-2
No files found.
executables/nr-ue.c
View file @
90e54318
...
@@ -574,7 +574,7 @@ void syncInFrame(PHY_VARS_NR_UE *UE, openair0_timestamp *timestamp) {
...
@@ -574,7 +574,7 @@ void syncInFrame(PHY_VARS_NR_UE *UE, openair0_timestamp *timestamp) {
}
}
int
computeSamplesShift
(
PHY_VARS_NR_UE
*
UE
)
{
int
computeSamplesShift
(
PHY_VARS_NR_UE
*
UE
)
{
if
(
getenv
(
"RFSIMULATOR"
)
!=
0
)
{
if
(
IS_SOFTMODEM_RFSIM
)
{
LOG_E
(
PHY
,
"SET rx_offset %d
\n
"
,
UE
->
rx_offset
);
LOG_E
(
PHY
,
"SET rx_offset %d
\n
"
,
UE
->
rx_offset
);
//UE->rx_offset_diff=0;
//UE->rx_offset_diff=0;
return
0
;
return
0
;
...
@@ -791,7 +791,7 @@ if (slot_nr==18)
...
@@ -791,7 +791,7 @@ if (slot_nr==18)
msgToPush
->
key
=
slot_nr
;
msgToPush
->
key
=
slot_nr
;
pushTpool
(
Tpool
,
msgToPush
);
pushTpool
(
Tpool
,
msgToPush
);
if
(
getenv
(
"RFSIMULATOR"
)
||
IS_SOFTMODEM_NOS1
)
{
//getenv("RFSIMULATOR")
if
(
IS_SOFTMODEM_RFSIM
||
IS_SOFTMODEM_NOS1
)
{
//getenv("RFSIMULATOR")
// FixMe: Wait previous thread is done, because race conditions seems too bad
// FixMe: Wait previous thread is done, because race conditions seems too bad
// in case of actual RF board, the overlap between threads mitigate the issue
// in case of actual RF board, the overlap between threads mitigate the issue
// We must receive one message, that proves the slot processing is done
// We must receive one message, that proves the slot processing is done
...
...
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