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
d6fbe891
Commit
d6fbe891
authored
Jul 02, 2020
by
Jean Flavien Bussotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run benchmark
parent
c183c942
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
+10
-0
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+5
-1
No files found.
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
View file @
d6fbe891
...
...
@@ -58,9 +58,19 @@
#include <time.h>
//#include "time_meas.h"
//BUFFER 10
#define DUMMY_BUFFER ((unsigned char*)"123456789")
#define DUMMY_BUFFER_SIZE 10
//BUFFER 50
/*
#define DUMMY_BUFFER ((unsigned char*)"1234567890123456789012345678901234567890123456789")
#define DUMMY_BUFFER_SIZE 50*/
//BUFFER 100
/*#define DUMMY_BUFFER ((unsigned char*)"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789")
#define DUMMY_BUFFER_SIZE 100
*/
#define NB_REPEAT 1
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
d6fbe891
...
...
@@ -324,7 +324,11 @@ pdcp_p->next_pdcp_tx_sn = 0;
pdcp_p
->
rx_hfn
=
0
;
pdcp_p
->
last_submitted_pdcp_rx_sn
=
4095
;
pdcp_p
->
seq_num_size
=
12
;
pdcp_p
->
cipheringAlgorithm
=
EEA1_128_ALG_ID
;
//(resQ==1?EEA1_128_ALG_ID:EEA2_128_ALG_ID);
//ALGORITHM 1 CHOICE :
//pdcp_p->cipheringAlgorithm = EEA1_128_ALG_ID;
//ALGORITHM 2 CHOICE :
pdcp_p
->
cipheringAlgorithm
=
EEA2_128_ALG_ID
;
//tried to understand where to obtain the Kupenc key in code without success, only understood that it comes from kenb key and also that's it the one we need since our srb_flagP is 3
//Also we give it a value thanks to osa_stream_eea.c
/*
...
...
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