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
zzha zzha
OpenXG-RAN
Commits
9d58ead4
Commit
9d58ead4
authored
Nov 17, 2020
by
hardy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/nr-rlc-am-bugfix-w44' into integration_2020_wk47
parents
8f03a80a
aec21aa2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
2 deletions
+48
-2
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
+1
-1
openair2/LAYER2/nr_rlc/tests/run_tests.sh
openair2/LAYER2/nr_rlc/tests/run_tests.sh
+1
-1
openair2/LAYER2/nr_rlc/tests/test14.h
openair2/LAYER2/nr_rlc/tests/test14.h
+46
-0
openair2/LAYER2/nr_rlc/tests/test14.txt.gz
openair2/LAYER2/nr_rlc/tests/test14.txt.gz
+0
-0
No files found.
openair2/LAYER2/nr_rlc/nr_rlc_entity_am.c
View file @
9d58ead4
...
@@ -1285,7 +1285,7 @@ static int missing_size(nr_rlc_entity_am_t *entity, missing_data_t *m,
...
@@ -1285,7 +1285,7 @@ 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
;
sn_count
=
m
->
sn_end
-
m
->
sn_start
+
1
;
if
(
sn_count
<
0
)
if
(
sn_count
<
0
)
sn_count
+=
entity
->
sn_modulus
;
sn_count
+=
entity
->
sn_modulus
;
...
...
openair2/LAYER2/nr_rlc/tests/run_tests.sh
View file @
9d58ead4
#!/bin/sh
#!/bin/sh
test_count
=
1
3
test_count
=
1
4
for
i
in
`
seq
$test_count
`
for
i
in
`
seq
$test_count
`
do
do
...
...
openair2/LAYER2/nr_rlc/tests/test14.h
0 → 100644
View file @
9d58ead4
/*
* am test (SN field size 18):
* test status reporting with missing packet
* at time 1, UE receives an SDU of 50 bytes
* at time 2, UE receives an SDU of 50 bytes
* at time 3, UE receives an SDU of 50 bytes
* at time 4, UE receives an SDU of 50 bytes
* transmission fails for first SDU, okay for the others
* then some time with transmission failing
* then at time 49, UE receives an SDU, transmission okay
* then at time 50, transmission failing again (we had a bug triggered by this)
* finally at time 55, transmission okay again to clear buffers
*/
TIME
,
1
,
GNB_AM
,
100000
,
100000
,
45
,
35
,
0
,
-
1
,
-
1
,
8
,
18
,
UE_AM
,
100000
,
100000
,
45
,
35
,
0
,
-
1
,
-
1
,
8
,
18
,
GNB_RECV_FAILS
,
1
,
GNB_PDU_SIZE
,
80
,
UE_PDU_SIZE
,
80
,
UE_SDU
,
0
,
50
,
TIME
,
2
,
GNB_RECV_FAILS
,
0
,
UE_SDU
,
1
,
50
,
TIME
,
3
,
GNB_BUFFER_STATUS
,
UE_SDU
,
2
,
50
,
TIME
,
4
,
GNB_BUFFER_STATUS
,
UE_SDU
,
3
,
50
,
TIME
,
5
,
GNB_BUFFER_STATUS
,
GNB_RECV_FAILS
,
1
,
TIME
,
6
,
GNB_BUFFER_STATUS
,
UE_BUFFER_STATUS
,
TIME
,
49
,
GNB_RECV_FAILS
,
0
,
UE_SDU
,
4
,
50
,
TIME
,
50
,
GNB_RECV_FAILS
,
1
,
GNB_BUFFER_STATUS
,
UE_BUFFER_STATUS
,
TIME
,
55
,
GNB_RECV_FAILS
,
0
,
TIME
,
-
1
openair2/LAYER2/nr_rlc/tests/test14.txt.gz
0 → 100644
View file @
9d58ead4
File added
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