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
ef7337c0
Commit
ef7337c0
authored
Jan 17, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Allowed-NSSAI in Registration Accept
parent
02e1f3ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+13
-3
No files found.
src/amf-app/amf_n1.cpp
View file @
ef7337c0
...
@@ -4128,6 +4128,16 @@ void amf_n1::initialize_registration_accept(
...
@@ -4128,6 +4128,16 @@ void amf_n1::initialize_registration_accept(
requested_nssai
.
push_back
(
ss
.
second
);
requested_nssai
.
push_back
(
ss
.
second
);
}
}
// Allowed NSSAI
for
(
auto
s
:
common_nssais
)
{
SNSSAI_t
snssai
=
{};
snssai
.
sst
=
s
.
sst
;
snssai
.
sd
=
s
.
sd
;
Logger
::
amf_n1
().
debug
(
"Allowed S-NSSAI (SST 0x%x, SD 0x%x)"
,
s
.
sst
,
s
.
sd
);
allowed_nssais
.
push_back
(
snssai
);
}
// Rejected NSSAIs
for
(
auto
rn
:
requested_nssai
)
{
for
(
auto
rn
:
requested_nssai
)
{
bool
found
=
false
;
bool
found
=
false
;
...
@@ -4142,9 +4152,9 @@ void amf_n1::initialize_registration_accept(
...
@@ -4142,9 +4152,9 @@ void amf_n1::initialize_registration_accept(
}
else
{
}
else
{
snssai
.
length
=
SST_LENGTH
+
SD_LENGTH
;
snssai
.
length
=
SST_LENGTH
+
SD_LENGTH
;
}
}
Logger
::
amf_n1
().
debug
(
//
Logger::amf_n1().debug(
"Allowed S-NSSAI (SST 0x%x, SD 0x%x)"
,
s
.
sst
,
s
.
sd
);
//
"Allowed S-NSSAI (SST 0x%x, SD 0x%x)", s.sst, s.sd);
allowed_nssais
.
push_back
(
snssai
);
//
allowed_nssais.push_back(snssai);
found
=
true
;
found
=
true
;
break
;
break
;
}
else
{
}
else
{
...
...
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