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
3ac94d80
Commit
3ac94d80
authored
Jun 24, 2020
by
bussotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pdcp_benchmark.c
parent
fa15d391
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
+5
-3
No files found.
openair2/LAYER2/PDCP_v10.1.0/BENCHMARK/pdcp_benchmark.c
View file @
3ac94d80
...
@@ -127,6 +127,7 @@ RAN_CONTEXT_t RC;
...
@@ -127,6 +127,7 @@ RAN_CONTEXT_t RC;
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
printf
(
"1"
);
int
resQ
;
int
resQ
;
resQ
=
1
;
resQ
=
1
;
/*if(argc < 2)
/*if(argc < 2)
...
@@ -136,8 +137,9 @@ int main(int argc, char *argv[])
...
@@ -136,8 +137,9 @@ int main(int argc, char *argv[])
resQ = atoi(argv[1]);
resQ = atoi(argv[1]);
*/
pool_buffer_init
();
*/
pool_buffer_init
();
list_init
(
&
pdu_tx_list
,
NULL
);
list_init
(
&
pdu_tx_list
,
NULL
);
printf
(
"2"
);
logInit
();
logInit
();
printf
(
"3"
);
pdcp_el
.
next_pdcp_tx_sn
=
0
;
pdcp_el
.
next_pdcp_tx_sn
=
0
;
pdcp_el
.
next_pdcp_rx_sn
=
0
;
pdcp_el
.
next_pdcp_rx_sn
=
0
;
pdcp_el
.
tx_hfn
=
0
;
pdcp_el
.
tx_hfn
=
0
;
...
@@ -145,9 +147,9 @@ int main(int argc, char *argv[])
...
@@ -145,9 +147,9 @@ int main(int argc, char *argv[])
pdcp_el
.
last_submitted_pdcp_rx_sn
=
4095
;
pdcp_el
.
last_submitted_pdcp_rx_sn
=
4095
;
pdcp_el
.
seq_num_size
=
12
;
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
);
printf
(
"4"
);
pdcp_init_seq_numbers
(
&
pdcp_el
);
pdcp_init_seq_numbers
(
&
pdcp_el
);
printf
(
"5"
);
pdcp_data_req
(
NULL
,
//ctxt_pP
pdcp_data_req
(
NULL
,
//ctxt_pP
0
,
//srb_flagP
0
,
//srb_flagP
...
...
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