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
Michael Black
OpenXG-RAN
Commits
bbab65f0
Commit
bbab65f0
authored
Sep 08, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix-nr-rlc-2022-09-05' into integration_2022_wk36b
parents
8f5868dc
2c08302c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
+9
-11
No files found.
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
View file @
bbab65f0
...
...
@@ -477,19 +477,18 @@ process_wait_list_head:
* if fully acked
*/
if
(
sn_compare_tx
(
entity
,
cur_wait_list
->
sdu
->
sn
,
ack_sn
)
<
0
)
{
nr_rlc_sdu_segment_t
*
cur
=
cur_wait_list
;
int
upper_layer_id
=
cur
->
sdu
->
upper_layer_id
;
int
sdu_size
=
cur
->
sdu
->
size
;
cur_wait_list
=
cur_wait_list
->
next
;
prev_wait_list
->
next
=
cur_wait_list
;
int
upper_layer_id
=
cur_wait_list
->
sdu
->
upper_layer_id
;
int
sdu_size
=
cur_wait_list
->
sdu
->
size
;
prev_wait_list
->
next
=
cur_wait_list
->
next
;
if
(
cur_wait_list
==
entity
->
wait_end
)
end_wait_list
=
prev_wait_list
;
if
(
nr_rlc_free_sdu_segment
(
cur
))
{
if
(
nr_rlc_free_sdu_segment
(
cur
_wait_list
))
{
entity
->
tx_size
-=
sdu_size
;
entity
->
common
.
sdu_successful_delivery
(
entity
->
common
.
sdu_successful_delivery_data
,
(
nr_rlc_entity_t
*
)
entity
,
upper_layer_id
);
}
cur_wait_list
=
prev_wait_list
->
next
;
goto
process_next_pdu
;
}
...
...
@@ -598,19 +597,18 @@ nacks_done:
/* current segment is acked, free it, indicate successful delivery
* if fully acked
*/
nr_rlc_sdu_segment_t
*
cur
=
cur_wait_list
;
int
upper_layer_id
=
cur
->
sdu
->
upper_layer_id
;
int
sdu_size
=
cur
->
sdu
->
size
;
int
upper_layer_id
=
cur_wait_list
->
sdu
->
upper_layer_id
;
int
sdu_size
=
cur_wait_list
->
sdu
->
size
;
prev_wait_list
->
next
=
cur_wait_list
->
next
;
if
(
cur_wait_list
==
entity
->
wait_end
)
end_wait_list
=
prev_wait_list
;
cur_wait_list
=
cur_wait_list
->
next
;
if
(
nr_rlc_free_sdu_segment
(
cur
))
{
if
(
nr_rlc_free_sdu_segment
(
cur_wait_list
))
{
entity
->
tx_size
-=
sdu_size
;
entity
->
common
.
sdu_successful_delivery
(
entity
->
common
.
sdu_successful_delivery_data
,
(
nr_rlc_entity_t
*
)
entity
,
upper_layer_id
);
}
cur_wait_list
=
prev_wait_list
->
next
;
}
/* deal with retransmit list */
while
(
cur_retransmit_list
!=
NULL
...
...
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