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
3cdf41ac
Commit
3cdf41ac
authored
Jun 08, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed includes and call to pdcp_data_req in pdcp_benchmark.c
parent
f1453f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
+11
-4
No files found.
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
View file @
3cdf41ac
...
...
@@ -33,7 +33,7 @@
#include "openair2/UTIL/MEM/mem_block.h"
#include "openair2/LAYER2/PDCP_v10.1.0/pdcp.h"
#include "openair2/LAYER2/PDCP_v10.1.0/pdcp_sequence_manager.h"
#include "openair2/
LAYER2/PDCP_v10.1.0/pdcp_proto_extern
.h"
#include "openair2/
UTIL/OSA/osa_defs
.h"
#define DUMMY_BUFFER ((unsigned char*)"123456789")
...
...
@@ -61,13 +61,20 @@ int main(int argc, char *argv[])
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_el
.
cipheringAlgorithm
=
(
resQ
==
1
?
EEA1_128_ALG_ID
:
EEA2_128_ALG_ID
);
pdcp_init_seq_numbers
(
&
pdcp_el
);
pdcp_data_req
(
0
,
0
,
10
,
DUMMY_BUFFER
,
&
pdcp_el
,
&
pdu_tx_list
);
pdcp_data_req
(
NULL
,
//ctxt_pP
0
,
//srb_flagP
3
,
// rb_id
0
,
// muiP
0
,
//confirmP
DUMMY_BUFFER_SIZE
,
//sdu_buffer_size
DUMMY_BUFFER
,
// sdu_buffer
PDCP_TRANSMISSION_MODE_DATA
,
// pdcp_transmission_mod
0
,
0
);
}
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