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
816ac850
Commit
816ac850
authored
Oct 31, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debugging log
parent
04deb94d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+6
-0
src/nas/ies/NSSAI.cpp
src/nas/ies/NSSAI.cpp
+1
-1
No files found.
src/amf-app/amf_n1.cpp
View file @
816ac850
...
...
@@ -4072,6 +4072,12 @@ void amf_n1::initialize_registration_accept(
break
;
}
}
else
{
Logger
::
amf_n1
().
debug
(
"Requested S-NSSAI (SST 0x%x, SD 0x%x), Configured S-NSSAI (SST "
"0x%x, SD 0x%x)"
,
rn
.
sst
,
rn
.
sd
,
s
.
sst
,
s
.
sd
);
}
}
}
...
...
src/nas/ies/NSSAI.cpp
View file @
816ac850
...
...
@@ -40,7 +40,7 @@ NSSAI::NSSAI(const uint8_t iei, std::vector<struct SNSSAI_s> nssai) {
length
=
0
;
S_NSSAIs
.
assign
(
nssai
.
begin
(),
nssai
.
end
());
for
(
int
i
=
0
;
i
<
nssai
.
size
();
i
++
)
{
length
+=
(
1
+
nssai
[
i
].
length
);
// 1 for
IEI
length
+=
(
1
+
nssai
[
i
].
length
);
// 1 for
length of NSSAI[i]
// if (nssai[i].sd != SD_NO_VALUE) length += SD_LENGTH;
// if (nssai[i].mHplmnSst != -1) length += SST_LENGTH;
// if (nssai[i].mHplmnSd != SD_NO_VALUE) length += SD_LENGTH;
...
...
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