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
95e2f034
Commit
95e2f034
authored
May 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
a40bb41e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/ue/nas/mm/base.cpp
src/ue/nas/mm/base.cpp
+9
-0
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+1
-1
No files found.
src/ue/nas/mm/base.cpp
View file @
95e2f034
...
...
@@ -360,6 +360,13 @@ void NasMm::onSwitchMmState(EMmState oldState, EMmState newState, EMmSubState ol
void
NasMm
::
onSwitchRmState
(
ERmState
oldState
,
ERmState
newState
)
{
if
(
oldState
==
ERmState
::
RM_REGISTERED
&&
newState
==
ERmState
::
RM_REGISTERED
)
{
// "The UE shall delete (List of equivalent PLMNs) ... when the UE registered for emergency services
// enters the state 5GMM-DEREGISTERED"
if
(
m_registeredForEmergency
)
m_storage
->
equivalentPlmnList
->
clear
();
}
}
void
NasMm
::
onSwitchCmState
(
ECmState
oldState
,
ECmState
newState
)
...
...
@@ -428,6 +435,8 @@ void NasMm::onSwitchUState(E5UState oldState, E5UState newState)
void
NasMm
::
onSimRemoval
()
{
m_storage
->
equivalentPlmnList
->
clear
();
m_storage
->
forbiddenTaiListRoaming
->
clear
();
m_storage
->
forbiddenTaiListRps
->
clear
();
}
...
...
src/ue/nas/mm/mm.hpp
View file @
95e2f034
...
...
@@ -53,7 +53,7 @@ class NasMm
int
m_regCounter
{};
// Service request attempt counter
int
m_serCounter
{};
// Indicates registered for emergency services (Only meaningful in RM-REGISTERED state)
// Indicates registered for emergency services (Only meaningful in RM-REGISTERED state
, or implies the last one
)
bool
m_registeredForEmergency
{};
// Network feature support information
nas
::
IE5gsNetworkFeatureSupport
m_nwFeatureSupport
{};
...
...
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