Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-AMF
Commits
1afaf0df
Commit
1afaf0df
authored
Oct 20, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for displaying NSSAI
parent
30a035a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+6
-4
src/nas/ies/NSSAI.cpp
src/nas/ies/NSSAI.cpp
+2
-1
No files found.
src/amf-app/amf_n1.cpp
View file @
1afaf0df
...
...
@@ -1321,7 +1321,7 @@ void amf_n1::registration_request_handle(
}
for
(
auto
r
:
nc
->
requestedNssai
)
{
Logger
::
nas_mm
().
debug
(
"Requested NSSAI: %s"
,
r
.
ToString
());
Logger
::
nas_mm
().
debug
(
"Requested NSSAI: %s"
,
r
.
ToString
()
.
c_str
()
);
}
nc
->
ctx_avaliability_ind
=
true
;
...
...
@@ -1349,7 +1349,8 @@ void amf_n1::registration_request_handle(
}
else
{
for
(
auto
s
:
nc
->
requestedNssai
)
{
Logger
::
amf_n1
().
debug
(
"Requested NSSAI inside the NAS container: %s"
,
s
.
ToString
());
"Requested NSSAI inside the NAS container: %s"
,
s
.
ToString
().
c_str
());
}
}
}
else
{
...
...
@@ -2508,7 +2509,7 @@ void amf_n1::security_mode_complete_handle(
// Get Requested NSSAI (Optional IE), if provided
if
(
registration_request
->
getRequestedNssai
(
nc
->
requestedNssai
))
{
for
(
auto
s
:
nc
->
requestedNssai
)
{
Logger
::
amf_n1
().
debug
(
"Requested NSSAI: %s"
,
s
.
ToString
());
Logger
::
amf_n1
().
debug
(
"Requested NSSAI: %s"
,
s
.
ToString
()
.
c_str
()
);
}
}
else
{
Logger
::
amf_n1
().
debug
(
"No Optional IE RequestedNssai available"
);
...
...
@@ -3224,7 +3225,8 @@ void amf_n1::ul_nas_transport_handle(
if
(
nc
->
requestedNssai
.
size
()
>
0
)
snssai
=
nc
->
requestedNssai
[
0
];
}
Logger
::
amf_n1
().
debug
(
"S_NSSAI for this PDU Session %s"
,
snssai
.
ToString
());
Logger
::
amf_n1
().
debug
(
"S_NSSAI for this PDU Session %s"
,
snssai
.
ToString
().
c_str
());
bstring
dnn
=
bfromcstr
(
"default"
);
bstring
sm_msg
=
nullptr
;
...
...
src/nas/ies/NSSAI.cpp
View file @
1afaf0df
...
...
@@ -221,7 +221,8 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
}
for
(
int
i
=
0
;
i
<
S_NSSAIs
.
size
();
i
++
)
{
Logger
::
nas_mm
().
debug
(
"Decoded NSSAI %s"
,
S_NSSAIs
.
at
(
i
).
ToString
());
Logger
::
nas_mm
().
debug
(
"Decoded NSSAI %s"
,
S_NSSAIs
.
at
(
i
).
ToString
().
c_str
());
}
Logger
::
nas_mm
().
debug
(
"Decoded NSSAI len (%d)"
,
decoded_size
);
return
decoded_size
;
...
...
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