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
alex037yang
OpenXG-RAN
Commits
6bf88d88
Commit
6bf88d88
authored
Jun 04, 2020
by
bussotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pdcp_benchmark.c
parent
3c522a8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
+9
-10
No files found.
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
View file @
6bf88d88
...
...
@@ -48,21 +48,20 @@ int main(int argc, char *argv[])
int
resQ
;
do
{
printf
(
"Type in the test you want (1 or 2)"
);
scanf
(
"%d"
,
resQ
);
scanf
(
"%d"
,
&
resQ
);
}
while
(
resQ
!=
1
||
resQ
!=
2
);
pool_buffer_init
();
list_init
(
&
pdu_tx_list
,
NULL
);
logInit
();
pdcp_el
->
next_pdcp_tx_sn
=
0
;
pdcp_el
->
next_pdcp_rx_sn
=
0
;
pdcp_el
->
tx_hfn
=
0
;
pdcp_el
->
rx_hfn
=
0
;
/* SN of the last PDCP SDU delivered to upper layers */
pdcp_el
->
last_submitted_pdcp_rx_sn
=
4095
;
pdcp_el
->
seq_num_size
=
12
;
pdcp_el
->
cipheringAlgorithm
=
(
resQ
==
1
?
"EEA1_128_ALG_ID"
:
"EEA2_128_ALG_ID"
);
pdcp_data_req
(
0
,
0
,
10
,
DUMMY_BUFFER
,
pdcp_el
,
&
pdu_tx_list
);
pdcp_el
.
next_pdcp_tx_sn
=
0
;
pdcp_el
.
next_pdcp_rx_sn
=
0
;
pdcp_el
.
tx_hfn
=
0
;
pdcp_el
.
rx_hfn
=
0
;
pdcp_el
.
last_submitted_pdcp_rx_sn
=
4095
;
pdcp_el
.
seq_num_size
=
12
;
pdcp_el
.
cipheringAlgorithm
=
(
resQ
==
1
?
"EEA1_128_ALG_ID"
:
"EEA2_128_ALG_ID"
);
pdcp_data_req
(
0
,
0
,
10
,
DUMMY_BUFFER
,
&
pdcp_el
,
&
pdu_tx_list
);
...
...
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