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
canghaiwuhen
OpenXG-RAN
Commits
aec21aa2
Commit
aec21aa2
authored
Oct 29, 2020
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr rlc: add a test
parent
f433c90e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
1 deletion
+47
-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/tests/run_tests.sh
View file @
aec21aa2
#!/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 @
aec21aa2
/*
* 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 @
aec21aa2
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