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
spbro
OpenXG-RAN
Commits
af0048c8
Commit
af0048c8
authored
Feb 25, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix-nr-rlc-2022-w08' into integration_2022_wk08_b
parents
6fbfa3b0
78f0c8ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
+3
-4
No files found.
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
View file @
af0048c8
...
@@ -1044,7 +1044,7 @@ next_pdu:
...
@@ -1044,7 +1044,7 @@ next_pdu:
set_end_different_sdu:
set_end_different_sdu:
/* don't go more than rx_highest_status - 1 */
/* don't go more than rx_highest_status - 1 */
if
(
sn_compare_rx
(
entity
,
entity
->
rx_highest_status
,
cur
->
sn
)
<=
0
)
{
if
(
sn_compare_rx
(
entity
,
entity
->
rx_highest_status
,
cur
->
sn
)
<=
0
)
{
ret
.
s
o
_end
=
(
entity
->
rx_highest_status
-
1
+
entity
->
sn_modulus
)
%
ret
.
s
n
_end
=
(
entity
->
rx_highest_status
-
1
+
entity
->
sn_modulus
)
%
entity
->
sn_modulus
;
entity
->
sn_modulus
;
ret
.
so_end
=
0xffff
;
ret
.
so_end
=
0xffff
;
return
ret
;
return
ret
;
...
@@ -1305,9 +1305,8 @@ static int missing_size(nr_rlc_entity_am_t *entity, missing_data_t *m,
...
@@ -1305,9 +1305,8 @@ static int missing_size(nr_rlc_entity_am_t *entity, missing_data_t *m,
missing_data_t
m_nack
;
missing_data_t
m_nack
;
/* be careful to limit a range to 255 SNs, that is: cut if needed */
/* be careful to limit a range to 255 SNs, that is: cut if needed */
sn_count
=
m
->
sn_end
-
m
->
sn_start
+
1
;
sn_count
=
(
m
->
sn_end
-
m
->
sn_start
+
entity
->
sn_modulus
)
if
(
sn_count
<
0
)
%
entity
->
sn_modulus
+
1
;
sn_count
+=
entity
->
sn_modulus
;
sn_start
=
m
->
sn_start
;
sn_start
=
m
->
sn_start
;
...
...
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