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
spbro
OpenXG-RAN
Commits
0f9b3359
Commit
0f9b3359
authored
Mar 26, 2024
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor: move declaration of variable
parent
f81a463f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+1
-3
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
0f9b3359
...
...
@@ -1012,8 +1012,6 @@ static void nr_rrc_ue_process_securityModeCommand(NR_UE_RRC_INST_t *ue_rrc,
uint32_t
header
,
uint32_t
count
)
{
uint8_t
security_mode
;
LOG_I
(
NR_RRC
,
"Receiving from SRB1 (DL-DCCH), Processing securityModeCommand
\n
"
);
AssertFatal
(
securityModeCommand
->
criticalExtensions
.
present
==
NR_SecurityModeCommand__criticalExtensions_PR_securityModeCommand
,
...
...
@@ -1060,7 +1058,7 @@ static void nr_rrc_ue_process_securityModeCommand(NR_UE_RRC_INST_t *ue_rrc,
log_dump
(
NR_RRC
,
ue_rrc
->
kgnb
,
32
,
LOG_DUMP_CHAR
,
"deriving kRRCenc, kRRCint and kUPenc from KgNB="
);
/* for SecurityModeComplete, ciphering is not activated yet, only integrity */
security_mode
=
ue_rrc
->
integrityProtAlgorithm
<<
4
;
uint8_t
security_mode
=
ue_rrc
->
integrityProtAlgorithm
<<
4
;
// configure lower layers to apply SRB integrity protection and ciphering
for
(
int
i
=
1
;
i
<
NR_NUM_SRB
;
i
++
)
{
if
(
ue_rrc
->
Srb
[
i
]
==
RB_ESTABLISHED
)
...
...
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