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
d2cd7c86
Commit
d2cd7c86
authored
Feb 02, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add transactions IDs to logs for RRC reconfig/uecap enq
parent
8302a060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+5
-9
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
d2cd7c86
...
...
@@ -582,11 +582,7 @@ static void rrc_gNB_generate_defaultRRCReconfiguration(const protocol_ctxt_t *co
for
(
int
i
=
0
;
i
<
ue_p
->
nb_of_pdusessions
;
i
++
)
clear_nas_pdu
(
&
ue_p
->
pduSession
[
i
].
param
.
nas_pdu
);
LOG_I
(
NR_RRC
,
"[gNB %d] Frame %d, Logical Channel DL-DCCH, Generate NR_RRCReconfiguration (bytes %d, UE id %x)
\n
"
,
ctxt_pP
->
module_id
,
ctxt_pP
->
frame
,
size
,
ue_context_pP
->
ue_context
.
rnti
);
LOG_I
(
NR_RRC
,
"UE %d: Generate RRCReconfiguration (bytes %d, xid %d)
\n
"
,
ue_p
->
rrc_ue_id
,
size
,
xid
);
AssertFatal
(
!
NODE_IS_DU
(
rrc
->
node_type
),
"illegal node type DU!
\n
"
);
nr_rrc_transfer_protected_rrc_message
(
rrc
,
ue_p
,
DCCH
,
buffer
,
size
);
...
...
@@ -657,7 +653,7 @@ void rrc_gNB_generate_dedicatedRRCReconfiguration(const protocol_ctxt_t *const c
ASN_STRUCT_FREE
(
asn_DEF_NR_DRB_ToReleaseList
,
ue_p
->
DRB_ReleaseList
);
ue_p
->
DRB_ReleaseList
=
NULL
;
LOG_I
(
NR_RRC
,
"
[gNB %d] Frame %d, Logical Channel DL-DCCH, Generate RRCReconfiguration (bytes %d, UE RNTI %x)
\n
"
,
ctxt_pP
->
module_id
,
ctxt_pP
->
frame
,
size
,
ue_p
->
rnti
);
LOG_I
(
NR_RRC
,
"
UE %d: Generate RRCReconfiguration (bytes %d, xid %d)
\n
"
,
ue_p
->
rrc_ue_id
,
size
,
xid
);
LOG_D
(
NR_RRC
,
"[FRAME %05d][RRC_gNB][MOD %u][][--- PDCP_DATA_REQ/%d Bytes (rrcReconfiguration to UE %x MUI %d) --->][PDCP][MOD %u][RB %u]
\n
"
,
ctxt_pP
->
frame
,
...
...
@@ -1235,7 +1231,7 @@ static int handle_ueCapabilityInformation(const protocol_ctxt_t *const ctxt_pP,
DevAssert
(
UE
->
xids
[
xid
]
==
RRC_UECAPABILITY_ENQUIRY
);
UE
->
xids
[
xid
]
=
RRC_ACTION_NONE
;
LOG_I
(
NR_RRC
,
"
got UE capabilities for UE %lx
\n
"
,
ctxt_pP
->
rntiMaybeUE
id
);
LOG_I
(
NR_RRC
,
"
UE %d: received UE capabilities (xid %d)
\n
"
,
UE
->
rrc_ue_id
,
x
id
);
int
eutra_index
=
-
1
;
if
(
ue_cap_info
->
criticalExtensions
.
present
==
NR_UECapabilityInformation__criticalExtensions_PR_ueCapabilityInformation
)
{
...
...
@@ -1409,12 +1405,12 @@ static void handle_rrcReconfigurationComplete(const protocol_ctxt_t *const ctxt_
rrc_gNB_ue_context_t
*
ue_context_p
,
const
NR_RRCReconfigurationComplete_t
*
reconfig_complete
)
{
LOG_I
(
NR_RRC
,
"Receive RRC Reconfiguration Complete message UE %lx
\n
"
,
ctxt_pP
->
rntiMaybeUEid
);
AssertFatal
(
ue_context_p
!=
NULL
,
"Processing %s() for UE %lx, ue_context_p is NULL
\n
"
,
__func__
,
ctxt_pP
->
rntiMaybeUEid
);
gNB_RRC_UE_t
*
UE
=
&
ue_context_p
->
ue_context
;
uint8_t
xid
=
reconfig_complete
->
rrc_TransactionIdentifier
;
UE
->
ue_reconfiguration_counter
++
;
LOG_I
(
NR_RRC
,
"UE %d: Receive RRC Reconfiguration Complete message (xid %d
\n
)"
,
UE
->
rrc_ue_id
,
xid
);
bool
successful_reconfig
=
true
;
switch
(
UE
->
xids
[
xid
])
{
...
...
@@ -2479,7 +2475,7 @@ rrc_gNB_generate_UECapabilityEnquiry(
uint8_t
xid
=
rrc_gNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
);
ue
->
xids
[
xid
]
=
RRC_UECAPABILITY_ENQUIRY
;
size
=
do_NR_SA_UECapabilityEnquiry
(
ctxt_pP
,
buffer
,
xid
);
LOG_I
(
NR_RRC
,
"UE %d: Logical Channel DL-DCCH, Generate NR UECapabilityEnquiry (bytes %d
)
\n
"
,
ue
->
rrc_ue_id
,
size
);
LOG_I
(
NR_RRC
,
"UE %d: Logical Channel DL-DCCH, Generate NR UECapabilityEnquiry (bytes %d
, xid %d)
\n
"
,
ue
->
rrc_ue_id
,
size
,
xid
);
gNB_RRC_INST
*
rrc
=
RC
.
nrrrc
[
ctxt_pP
->
module_id
];
AssertFatal
(
!
NODE_IS_DU
(
rrc
->
node_type
),
"illegal node type DU!
\n
"
);
...
...
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