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
c0394bc0
Commit
c0394bc0
authored
Jul 25, 2022
by
Chieh-Chun Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add avg time to tx an sdu for RLC UM & TM mode
parent
fad3f231
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
openair2/LAYER2/nr_rlc/nr_rlc_entity_tm.c
openair2/LAYER2/nr_rlc/nr_rlc_entity_tm.c
+2
-0
openair2/LAYER2/nr_rlc/nr_rlc_entity_um.c
openair2/LAYER2/nr_rlc/nr_rlc_entity_um.c
+2
-0
No files found.
openair2/LAYER2/nr_rlc/nr_rlc_entity_tm.c
View file @
c0394bc0
...
@@ -154,6 +154,8 @@ void nr_rlc_entity_tm_recv_sdu(nr_rlc_entity_t *_entity,
...
@@ -154,6 +154,8 @@ void nr_rlc_entity_tm_recv_sdu(nr_rlc_entity_t *_entity,
/* update buffer status */
/* update buffer status */
entity
->
common
.
bstatus
.
tx_size
+=
sdu
->
size
;
entity
->
common
.
bstatus
.
tx_size
+=
sdu
->
size
;
sdu
->
sdu
->
time_of_arrival
=
time_average_now
();
}
}
/*************************************************************************/
/*************************************************************************/
...
...
openair2/LAYER2/nr_rlc/nr_rlc_entity_um.c
View file @
c0394bc0
...
@@ -594,6 +594,8 @@ void nr_rlc_entity_um_recv_sdu(nr_rlc_entity_t *_entity,
...
@@ -594,6 +594,8 @@ void nr_rlc_entity_um_recv_sdu(nr_rlc_entity_t *_entity,
/* update buffer status */
/* update buffer status */
entity
->
common
.
bstatus
.
tx_size
+=
compute_pdu_header_size
(
entity
,
sdu
)
entity
->
common
.
bstatus
.
tx_size
+=
compute_pdu_header_size
(
entity
,
sdu
)
+
sdu
->
size
;
+
sdu
->
size
;
sdu
->
sdu
->
time_of_arrival
=
time_average_now
();
}
}
/*************************************************************************/
/*************************************************************************/
...
...
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