Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
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-SMF
Commits
1d69ccac
Commit
1d69ccac
authored
Oct 19, 2022
by
Stefan Spettel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(smf): add snssai and plmn to model in N7
Signed-off-by:
Stefan Spettel
<
stefan.spettel@eurecom.fr
>
parent
8080ecc5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/smf_app/smf_n7.hpp
src/smf_app/smf_n7.hpp
+3
-1
No files found.
src/smf_app/smf_n7.hpp
View file @
1d69ccac
...
...
@@ -77,7 +77,7 @@ struct policy_association {
oai
::
smf_server
::
model
::
Snssai
snssai_model
;
snssai_model
.
setSst
(
snssai
.
sst
);
snssai_model
.
setSd
(
std
::
to_string
(
snssai
.
sd
));
oai
::
smf_server
::
model
::
PlmnId
plmn_id_model
;
oai
::
smf_server
::
model
::
PlmnId
Nid
plmn_id_model
;
std
::
string
mnc_string
=
std
::
to_string
(
plmn
.
mnc_digit1
)
+
std
::
to_string
(
plmn
.
mnc_digit2
)
+
std
::
to_string
(
plmn
.
mnc_digit3
);
...
...
@@ -96,6 +96,8 @@ struct policy_association {
from_json
(
pdu_session_type
.
toString
(),
pdu_session_type_model
);
context
.
setPduSessionType
(
pdu_session_type_model
);
context
.
setDnn
(
dnn
);
context
.
setSliceInfo
(
snssai_model
);
context
.
setServingNetwork
(
plmn_id_model
);
}
std
::
string
toString
()
{
...
...
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