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
zzha zzha
OpenXG-RAN
Commits
4e30f11e
Commit
4e30f11e
authored
Sep 08, 2021
by
rmagueta
Committed by
luis_pereira87
Sep 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporary fix for SRB2 integrity algorithm
parent
fb639514
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+15
-6
No files found.
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
4e30f11e
...
...
@@ -754,12 +754,21 @@ static void add_srb(int is_gnb, int rnti, struct NR_SRB_ToAddMod *s)
LOG_D
(
PDCP
,
"%s:%d:%s: warning SRB %d already exist for ue %d, do nothing
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
srb_id
,
rnti
);
}
else
{
pdcp_srb
=
new_nr_pdcp_entity
(
NR_PDCP_SRB
,
is_gnb
,
srb_id
,
0
,
0
,
0
,
0
,
// sdap parameters
deliver_sdu_srb
,
ue
,
deliver_pdu_srb
,
ue
,
12
,
t_Reordering
,
-
1
,
0
,
0
,
NULL
,
NULL
);
if
(
ue
->
srb
[
0
]
!=
NULL
)
{
pdcp_srb
=
new_nr_pdcp_entity
(
NR_PDCP_SRB
,
is_gnb
,
srb_id
,
0
,
0
,
0
,
0
,
// sdap parameters
deliver_sdu_srb
,
ue
,
deliver_pdu_srb
,
ue
,
12
,
t_Reordering
,
-
1
,
ue
->
srb
[
0
]
->
ciphering_algorithm
,
ue
->
srb
[
0
]
->
integrity_algorithm
,
ue
->
srb
[
0
]
->
ciphering_key
,
ue
->
srb
[
0
]
->
integrity_key
);
}
else
{
pdcp_srb
=
new_nr_pdcp_entity
(
NR_PDCP_SRB
,
is_gnb
,
srb_id
,
0
,
0
,
0
,
0
,
// sdap parameters
deliver_sdu_srb
,
ue
,
deliver_pdu_srb
,
ue
,
12
,
t_Reordering
,
-
1
,
0
,
0
,
NULL
,
NULL
);
}
nr_pdcp_ue_add_srb_pdcp_entity
(
ue
,
srb_id
,
pdcp_srb
);
LOG_D
(
PDCP
,
"%s:%d:%s: added srb %d to ue rnti %x
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
srb_id
,
rnti
);
...
...
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