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
0a7d05df
Commit
0a7d05df
authored
Feb 23, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE refactor
parent
c04b65cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
src/ue/mm/auth.cpp
src/ue/mm/auth.cpp
+1
-1
src/ue/mm/dereg.cpp
src/ue/mm/dereg.cpp
+2
-2
src/ue/mm/register.cpp
src/ue/mm/register.cpp
+4
-1
No files found.
src/ue/mm/auth.cpp
View file @
0a7d05df
...
...
@@ -353,7 +353,7 @@ void NasMm::receiveAuthenticationReject(const nas::AuthenticationReject &msg)
switchUState
(
E5UState
::
U3_ROAMING_NOT_ALLOWED
);
// Delete the stored 5G-GUTI, TAI list, last visited registered TAI and ngKSI. The USIM shall be considered invalid
// until switching off the UE or the UICC containing the USIM is removed
m_storage
.
invalidateSim
();
m_storage
.
invalidateSim
__
();
// The UE shall abort any 5GMM signalling procedure, stop any of the timers T3510, T3516, T3517, T3519 or T3521 (if
// they were running) ..
m_timers
->
t3510
.
stop
();
...
...
src/ue/mm/dereg.cpp
View file @
0a7d05df
...
...
@@ -162,7 +162,7 @@ void NasMm::receiveDeregistrationRequest(const nas::DeRegistrationRequestUeTermi
case
nas
:
:
EMmCause
::
ILLEGAL_ME
:
case
nas
:
:
EMmCause
::
FIVEG_SERVICES_NOT_ALLOWED
:
{
switchUState
(
E5UState
::
U3_ROAMING_NOT_ALLOWED
);
m_storage
.
invalidateSim
();
m_storage
.
invalidateSim
__
();
switchMmState
(
EMmState
::
MM_DEREGISTERED
,
EMmSubState
::
MM_DEREGISTERED_NA
);
break
;
}
...
...
@@ -198,7 +198,7 @@ void NasMm::receiveDeregistrationRequest(const nas::DeRegistrationRequestUeTermi
nas
::
utils
::
EnumToString
(
msg
.
mmCause
->
value
));
switchUState
(
E5UState
::
U3_ROAMING_NOT_ALLOWED
);
m_storage
.
invalidateSim
();
m_storage
.
invalidateSim
__
();
switchMmState
(
EMmState
::
MM_DEREGISTERED
,
EMmSubState
::
MM_DEREGISTERED_NA
);
break
;
}
...
...
src/ue/mm/register.cpp
View file @
0a7d05df
...
...
@@ -76,7 +76,10 @@ void NasMm::receiveRegistrationAccept(const nas::RegistrationAccept &msg)
bool
sendCompleteMes
=
false
;
m_storage
.
m_taiList
=
msg
.
taiList
;
if
(
msg
.
taiList
.
has_value
())
m_storage
.
m_taiList
=
*
msg
.
taiList
;
else
m_storage
.
m_taiList
=
{};
if
(
msg
.
t3512Value
.
has_value
()
&&
nas
::
utils
::
HasValue
(
msg
.
t3512Value
.
value
()))
{
...
...
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