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
a205ba7e
Commit
a205ba7e
authored
Feb 01, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete NGAP PDU session logs with addr/TEIDs
parent
18d16db3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
openair3/NGAP/ngap_gNB_nas_procedures.c
openair3/NGAP/ngap_gNB_nas_procedures.c
+11
-3
No files found.
openair3/NGAP/ngap_gNB_nas_procedures.c
View file @
a205ba7e
...
...
@@ -631,7 +631,14 @@ int ngap_gNB_initial_ctxt_resp(instance_t instance, ngap_initial_context_setup_r
GTP_TEID_TO_ASN1
(
initial_ctxt_resp_p
->
pdusessions
[
i
].
gtp_teid
,
&
tmp
->
gTP_TEID
);
allocAddrCopy
(
&
tmp
->
transportLayerAddress
,
initial_ctxt_resp_p
->
pdusessions
[
i
].
gNB_addr
);
NGAP_DEBUG
(
"initial_ctxt_resp_p: pdusession ID %ld
\n
"
,
item
->
pDUSessionID
);
NGAP_DEBUG
(
"initial_ctxt_resp_p: pdusession ID %ld, gnb_addr %d.%d.%d.%d, SIZE %ld, TEID %u
\n
"
,
item
->
pDUSessionID
,
tmp
->
transportLayerAddress
.
buf
[
0
],
tmp
->
transportLayerAddress
.
buf
[
1
],
tmp
->
transportLayerAddress
.
buf
[
2
],
tmp
->
transportLayerAddress
.
buf
[
3
],
tmp
->
transportLayerAddress
.
size
,
initial_ctxt_resp_p
->
pdusessions
[
i
].
gtp_teid
);
/* associatedQosFlowList. number of 1? */
for
(
int
j
=
0
;
j
<
initial_ctxt_resp_p
->
pdusessions
[
i
].
nb_of_qos_flow
;
j
++
)
{
...
...
@@ -885,13 +892,14 @@ int ngap_gNB_pdusession_setup_resp(instance_t instance, ngap_pdusession_setup_re
asn1cCalloc
(
pdusessionTransfer
.
dLQosFlowPerTNLInformation
.
uPTransportLayerInformation
.
choice
.
gTPTunnel
,
tmp
);
GTP_TEID_TO_ASN1
(
pdusession
->
gtp_teid
,
&
tmp
->
gTP_TEID
);
allocAddrCopy
(
&
tmp
->
transportLayerAddress
,
pdusession
->
gNB_addr
);
NGAP_DEBUG
(
"pdusession_setup_resp_p: pdusession ID %ld, gnb_addr %d.%d.%d.%d, SIZE %ld
\n
"
,
NGAP_DEBUG
(
"pdusession_setup_resp_p: pdusession ID %ld, gnb_addr %d.%d.%d.%d, SIZE %ld
, TEID %u
\n
"
,
item
->
pDUSessionID
,
tmp
->
transportLayerAddress
.
buf
[
0
],
tmp
->
transportLayerAddress
.
buf
[
1
],
tmp
->
transportLayerAddress
.
buf
[
2
],
tmp
->
transportLayerAddress
.
buf
[
3
],
tmp
->
transportLayerAddress
.
size
);
tmp
->
transportLayerAddress
.
size
,
pdusession
->
gtp_teid
);
/* associatedQosFlowList. number of 1? */
for
(
int
j
=
0
;
j
<
pdusession_setup_resp_p
->
pdusessions
[
i
].
nb_of_qos_flow
;
j
++
)
{
asn1cSequenceAdd
(
pdusessionTransfer
.
dLQosFlowPerTNLInformation
.
associatedQosFlowList
.
list
,
NGAP_AssociatedQosFlowItem_t
,
ass_qos_item_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