Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
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
Libraries
UERANSIM
Commits
710a3b03
Commit
710a3b03
authored
May 08, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NAS MM refactor
parent
cb1e3846
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ue/nas/sm/transport.cpp
src/ue/nas/sm/transport.cpp
+3
-3
No files found.
src/ue/nas/sm/transport.cpp
View file @
710a3b03
...
...
@@ -17,7 +17,7 @@ void NasSm::sendSmMessage(int psi, const nas::SmMessage &msg)
{
auto
&
session
=
m_pduSessions
[
psi
];
nas
::
UlNasTransport
m
{}
;
nas
::
UlNasTransport
m
;
m
.
payloadContainerType
.
payloadContainerType
=
nas
::
EPayloadContainerType
::
N1_SM_INFORMATION
;
nas
::
EncodeNasMessage
(
msg
,
m
.
payloadContainer
.
data
);
m
.
pduSessionId
=
nas
::
IEPduSessionIdentity2
{};
...
...
@@ -87,12 +87,12 @@ void NasSm::sendSmCause(const nas::ESmCause &cause, int pti, int psi)
{
m_logger
->
warn
(
"Sending SM Cause[%s] for PSI[%d]"
,
nas
::
utils
::
EnumToString
(
cause
),
psi
);
nas
::
FiveGSmStatus
smStatus
{}
;
nas
::
FiveGSmStatus
smStatus
;
smStatus
.
smCause
.
value
=
cause
;
smStatus
.
pti
=
pti
;
smStatus
.
pduSessionId
=
psi
;
nas
::
UlNasTransport
ulTransport
{}
;
nas
::
UlNasTransport
ulTransport
;
ulTransport
.
payloadContainerType
.
payloadContainerType
=
nas
::
EPayloadContainerType
::
N1_SM_INFORMATION
;
nas
::
EncodeNasMessage
(
smStatus
,
ulTransport
.
payloadContainer
.
data
);
ulTransport
.
pduSessionId
=
nas
::
IEPduSessionIdentity2
{};
...
...
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