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
58f9d747
Commit
58f9d747
authored
Apr 25, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Security mode command procedure improvement
parent
b6208f69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+2
-0
src/ue/nas/mm/register.cpp
src/ue/nas/mm/register.cpp
+2
-0
No files found.
src/ue/nas/mm/mm.hpp
View file @
58f9d747
...
@@ -42,6 +42,8 @@ class NasMm
...
@@ -42,6 +42,8 @@ class NasMm
std
::
unique_ptr
<
nas
::
ServiceRequest
>
m_lastServiceRequest
{};
std
::
unique_ptr
<
nas
::
ServiceRequest
>
m_lastServiceRequest
{};
// Most recent de-registration request
// Most recent de-registration request
std
::
unique_ptr
<
nas
::
DeRegistrationRequestUeOriginating
>
m_lastDeregistrationRequest
{};
std
::
unique_ptr
<
nas
::
DeRegistrationRequestUeOriginating
>
m_lastDeregistrationRequest
{};
// Indicates that last registration request was sent without a NAS security context
bool
m_lastRegWithoutNsc
{};
// Indicates the last de-registration cause
// Indicates the last de-registration cause
EDeregCause
m_lastDeregCause
{};
EDeregCause
m_lastDeregCause
{};
// Indicates the last service request cause
// Indicates the last service request cause
...
...
src/ue/nas/mm/register.cpp
View file @
58f9d747
...
@@ -97,6 +97,7 @@ void NasMm::sendInitialRegistration(EInitialRegCause regCause)
...
@@ -97,6 +97,7 @@ void NasMm::sendInitialRegistration(EInitialRegCause regCause)
// Send the message
// Send the message
sendNasMessage
(
*
request
);
sendNasMessage
(
*
request
);
m_lastRegistrationRequest
=
std
::
move
(
request
);
m_lastRegistrationRequest
=
std
::
move
(
request
);
m_lastRegWithoutNsc
=
m_usim
->
m_currentNsCtx
==
nullptr
;
// Process timers
// Process timers
m_timers
->
t3510
.
start
();
m_timers
->
t3510
.
start
();
...
@@ -187,6 +188,7 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
...
@@ -187,6 +188,7 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
// Send the message
// Send the message
sendNasMessage
(
*
request
);
sendNasMessage
(
*
request
);
m_lastRegistrationRequest
=
std
::
move
(
request
);
m_lastRegistrationRequest
=
std
::
move
(
request
);
m_lastRegWithoutNsc
=
m_usim
->
m_currentNsCtx
==
nullptr
;
// Process timers
// Process timers
m_timers
->
t3510
.
start
();
m_timers
->
t3510
.
start
();
...
...
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