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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
c3c4bdb5
Commit
c3c4bdb5
authored
Feb 20, 2024
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rfsimulator: add warnings on gap of samples and writing samples in the past
parent
f2c30a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
radio/rfsimulator/simulator.c
radio/rfsimulator/simulator.c
+8
-1
No files found.
radio/rfsimulator/simulator.c
View file @
c3c4bdb5
...
...
@@ -647,10 +647,17 @@ static int rfsimulator_write_internal(rfsimulator_state_t *t, openair0_timestamp
if
(
t
->
lastWroteTS
!=
0
&&
fabs
((
double
)
t
->
lastWroteTS
-
timestamp
)
>
(
double
)
CirSize
)
LOG_E
(
HW
,
"Discontinuous TX gap too large Tx:%lu, %lu
\n
"
,
t
->
lastWroteTS
,
timestamp
);
if
(
t
->
lastWroteTS
>
timestamp
+
nsamps
)
if
(
t
->
lastWroteTS
>
timestamp
)
LOG_E
(
HW
,
"Not supported to send Tx out of order (same in USRP) %lu, %lu
\n
"
,
t
->
lastWroteTS
,
timestamp
);
if
((
flags
!=
TX_BURST_START
)
&&
(
flags
!=
TX_BURST_START_AND_END
)
&&
(
t
->
lastWroteTS
<
timestamp
))
LOG_W
(
HW
,
"Gap in writing to USRP: last written %lu, now %lu, gap %lu
\n
"
,
t
->
lastWroteTS
,
timestamp
,
timestamp
-
t
->
lastWroteTS
);
t
->
lastWroteTS
=
timestamp
+
nsamps
;
if
(
!
alreadyLocked
)
...
...
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