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
wangjie
OpenXG-RAN
Commits
fc9d7f1f
Commit
fc9d7f1f
authored
Jul 02, 2020
by
Jean Flavien Bussotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add size 1000
parent
d6fbe891
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
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
+9
-2
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+2
-2
No files found.
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
View file @
fc9d7f1f
...
...
@@ -59,9 +59,9 @@
//#include "time_meas.h"
//BUFFER 10
/*
#define DUMMY_BUFFER ((unsigned char*)"123456789")
#define DUMMY_BUFFER_SIZE 10
#define DUMMY_BUFFER_SIZE 10
*/
//BUFFER 50
/*
#define DUMMY_BUFFER ((unsigned char*)"1234567890123456789012345678901234567890123456789")
...
...
@@ -72,6 +72,13 @@
#define DUMMY_BUFFER_SIZE 100
*/
//BUFFER 1000
#define DUMMY_BUFFER ((unsigned char*)"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789")
#define DUMMY_BUFFER_SIZE 1000
#define NB_REPEAT 1
uint64_t
get_softmodem_optmask
(
void
)
{
return
0
;}
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
fc9d7f1f
...
...
@@ -325,10 +325,10 @@ pdcp_p->next_pdcp_tx_sn = 0;
pdcp_p
->
last_submitted_pdcp_rx_sn
=
4095
;
pdcp_p
->
seq_num_size
=
12
;
//ALGORITHM 1 CHOICE :
//
pdcp_p->cipheringAlgorithm = EEA1_128_ALG_ID;
pdcp_p
->
cipheringAlgorithm
=
EEA1_128_ALG_ID
;
//ALGORITHM 2 CHOICE :
pdcp_p
->
cipheringAlgorithm
=
EEA2_128_ALG_ID
;
//
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