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
2e7d9574
Commit
2e7d9574
authored
Jan 30, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC: demote various log levels
parent
e2d5758c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
17 deletions
+9
-17
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-5
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+6
-11
openair2/RRC/NR/rrc_gNB_UE_context.c
openair2/RRC/NR/rrc_gNB_UE_context.c
+1
-1
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
2e7d9574
...
...
@@ -523,8 +523,7 @@ static void rrc_gNB_generate_RRCReject(module_id_t module_id, rrc_gNB_ue_context
static
void
rrc_gNB_process_RRCSetupComplete
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
rrc_gNB_ue_context_t
*
ue_context_pP
,
NR_RRCSetupComplete_IEs_t
*
rrcSetupComplete
)
//-----------------------------------------------------------------------------
{
LOG_A
(
NR_RRC
,
PROTOCOL_NR_RRC_CTXT_UE_FMT
" [RAPROC] Logical Channel UL-DCCH, "
"processing NR_RRCSetupComplete from UE (SRB1 Active)
\n
"
,
PROTOCOL_NR_RRC_CTXT_UE_ARGS
(
ctxt_pP
));
LOG_A
(
NR_RRC
,
"UE %d Processing NR_RRCSetupComplete from UE
\n
"
,
ue_context_pP
->
ue_context
.
rrc_ue_id
);
ue_context_pP
->
ue_context
.
Srb
[
1
].
Active
=
1
;
ue_context_pP
->
ue_context
.
Srb
[
2
].
Active
=
0
;
ue_context_pP
->
ue_context
.
StatusRrc
=
NR_RRC_CONNECTED
;
...
...
@@ -1091,9 +1090,7 @@ static void rrc_gNB_process_RRCReestablishmentComplete(const protocol_ctxt_t *co
const
uint8_t
xid
)
{
gNB_RRC_UE_t
*
ue_p
=
&
ue_context_pP
->
ue_context
;
LOG_I
(
NR_RRC
,
"[RAPROC] UE %04x Logical Channel UL-DCCH, processing NR_RRCReestablishmentComplete from UE (SRB1 Active)
\n
"
,
ue_p
->
rnti
);
LOG_I
(
NR_RRC
,
"UE %d Processing NR_RRCReestablishmentComplete from UE
\n
"
,
ue_p
->
rrc_ue_id
);
int
i
=
0
;
...
...
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
2e7d9574
...
...
@@ -145,11 +145,6 @@ nr_rrc_pdcp_config_security(
nr_derive_key
(
RRC_ENC_ALG
,
UE
->
ciphering_algorithm
,
UE
->
kgnb
,
kRRCenc
);
nr_derive_key
(
RRC_INT_ALG
,
UE
->
integrity_algorithm
,
UE
->
kgnb
,
kRRCint
);
if
(
!
IS_SOFTMODEM_IQPLAYER
)
{
SET_LOG_DUMP
(
DEBUG_SECURITY
)
;
}
if
(
LOG_DUMPFLAG
(
DEBUG_SECURITY
)
)
{
if
(
print_keys
==
1
)
{
print_keys
=
0
;
...
...
@@ -511,7 +506,7 @@ static NR_CipheringAlgorithm_t rrc_gNB_select_ciphering(
}
}
LOG_
I
(
RRC
,
"selecting ciphering algorithm %d
\n
"
,
ret
);
LOG_
D
(
RRC
,
"selecting ciphering algorithm %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -547,7 +542,7 @@ static e_NR_IntegrityProtAlgorithm rrc_gNB_select_integrity(
}
}
LOG_
I
(
RRC
,
"selecting integrity algorithm %d
\n
"
,
ret
);
LOG_
D
(
RRC
,
"selecting integrity algorithm %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -585,13 +580,13 @@ static int rrc_gNB_process_security(const protocol_ctxt_t *const ctxt_pP, rrc_gN
}
LOG_I
(
NR_RRC
,
"[gNB %d][UE %
x] Selected security algorithms (%p): %lx, %x, %s
\n
"
,
"[gNB %d][UE %
d] Selected security algorithms (%p): ciphering %lx, integrity %x (algorithms %s)
\n
"
,
ctxt_pP
->
module_id
,
UE
->
r
nti
,
UE
->
r
rc_ue_id
,
security_capabilities_pP
,
(
unsigned
long
)
cipheringAlgorithm
,
cipheringAlgorithm
,
integrityProtAlgorithm
,
changed
?
"changed"
:
"same"
);
changed
?
"changed"
:
"
are the
same"
);
return
changed
;
}
...
...
openair2/RRC/NR/rrc_gNB_UE_context.c
View file @
2e7d9574
...
...
@@ -72,7 +72,7 @@ rrc_gNB_ue_context_t *rrc_gNB_allocate_new_ue_context(gNB_RRC_INST *rrc_instance
for
(
int
i
=
0
;
i
<
NB_RB_MAX
;
i
++
)
new_p
->
ue_context
.
pduSession
[
i
].
xid
=
-
1
;
LOG_
I
(
NR_RRC
,
"Returning new RRC UE context RRC ue id: %d
\n
"
,
new_p
->
ue_context
.
rrc_ue_id
);
LOG_
D
(
NR_RRC
,
"Returning new RRC UE context RRC ue id: %d
\n
"
,
new_p
->
ue_context
.
rrc_ue_id
);
return
(
new_p
);
}
...
...
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