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
lizhongxiao
OpenXG-RAN
Commits
ff2aee63
Commit
ff2aee63
authored
Dec 15, 2022
by
jperaldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vijay's comment taken into account
parent
e886ef17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+12
-10
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
ff2aee63
...
@@ -442,21 +442,23 @@ boolean_t pdcp_data_req(
...
@@ -442,21 +442,23 @@ boolean_t pdcp_data_req(
((
pdcp_p
->
integrityProtAlgorithm
)
!=
0
)))
{
((
pdcp_p
->
integrityProtAlgorithm
)
!=
0
)))
{
uint8_t
ciphyeringAlgorithm
=
pdcp_p
->
cipheringAlgorithm
;
uint8_t
ciphyeringAlgorithm
=
pdcp_p
->
cipheringAlgorithm
;
if
(
ctxt_pP
->
enb_flag
==
ENB_FLAG_YES
)
{
if
(
ctxt_pP
->
enb_flag
==
ENB_FLAG_YES
)
{
if
(
srb_flagP
&&
rb_idP
==
1
){
if
(
RC
.
ss
.
mode
>=
SS_SOFTMODEM
)
{
LTE_DL_DCCH_Message_t
*
dl_dcch_msg
=
NULL
;
if
(
srb_flagP
&&
rb_idP
==
1
){
uper_decode
(
NULL
,
&
asn_DEF_LTE_DL_DCCH_Message
,
LTE_DL_DCCH_Message_t
*
dl_dcch_msg
=
NULL
;
uper_decode
(
NULL
,
&
asn_DEF_LTE_DL_DCCH_Message
,
(
void
**
)
&
dl_dcch_msg
,
(
void
**
)
&
dl_dcch_msg
,
(
const
void
*
)
sdu_buffer_pP
,
(
const
void
*
)
sdu_buffer_pP
,
sdu_buffer_sizeP
,
0
,
0
);
sdu_buffer_sizeP
,
0
,
0
);
if
(
dl_dcch_msg
){
if
(
dl_dcch_msg
){
if
(
dl_dcch_msg
->
message
.
choice
.
c1
.
present
==
LTE_DL_DCCH_MessageType__c1_PR_securityModeCommand
){
if
(
dl_dcch_msg
->
message
.
choice
.
c1
.
present
==
LTE_DL_DCCH_MessageType__c1_PR_securityModeCommand
){
pdcp_p
->
cipheringAlgorithm
=
0
;
pdcp_p
->
cipheringAlgorithm
=
0
;
pdcp_p
->
security_confirmed
=
0
;
pdcp_p
->
security_confirmed
=
0
;
}
ASN_STRUCT_FREE
(
asn_DEF_LTE_DL_DCCH_Message
,
dl_dcch_msg
);
}
}
ASN_STRUCT_FREE
(
asn_DEF_LTE_DL_DCCH_Message
,
dl_dcch_msg
);
}
}
}
}
start_meas
(
&
eNB_pdcp_stats
[
ctxt_pP
->
module_id
].
apply_security
);
start_meas
(
&
eNB_pdcp_stats
[
ctxt_pP
->
module_id
].
apply_security
);
}
else
{
}
else
{
start_meas
(
&
UE_pdcp_stats
[
ctxt_pP
->
module_id
].
apply_security
);
start_meas
(
&
UE_pdcp_stats
[
ctxt_pP
->
module_id
].
apply_security
);
}
}
...
...
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