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
c8b02d5a
Commit
c8b02d5a
authored
May 17, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC developments
parent
3ad54047
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
src/lib/nas/storage.cpp
src/lib/nas/storage.cpp
+14
-0
src/lib/nas/storage.hpp
src/lib/nas/storage.hpp
+12
-0
src/ue/nas/mm/dereg.cpp
src/ue/nas/mm/dereg.cpp
+4
-0
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+2
-0
No files found.
src/lib/nas/storage.cpp
0 → 100644
View file @
c8b02d5a
//
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#include "storage.hpp"
namespace
nas
{
}
\ No newline at end of file
src/lib/nas/storage.hpp
0 → 100644
View file @
c8b02d5a
//
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
namespace
nas
{
}
\ No newline at end of file
src/ue/nas/mm/dereg.cpp
View file @
c8b02d5a
...
@@ -65,9 +65,13 @@ void NasMm::sendDeregistration(EDeregCause deregCause)
...
@@ -65,9 +65,13 @@ void NasMm::sendDeregistration(EDeregCause deregCause)
// TODO: Bu ikisinin burada olması gerektiğinden emin değilim
// TODO: Bu ikisinin burada olması gerektiğinden emin değilim
if
(
deregCause
==
EDeregCause
::
SWITCH_OFF
)
if
(
deregCause
==
EDeregCause
::
SWITCH_OFF
)
{
onSwitchOff
();
m_base
->
appTask
->
push
(
new
NwUeNasToApp
(
NwUeNasToApp
::
PERFORM_SWITCH_OFF
));
m_base
->
appTask
->
push
(
new
NwUeNasToApp
(
NwUeNasToApp
::
PERFORM_SWITCH_OFF
));
}
else
if
(
deregCause
==
EDeregCause
::
USIM_REMOVAL
)
else
if
(
deregCause
==
EDeregCause
::
USIM_REMOVAL
)
{
{
onSimRemoval
();
m_logger
->
info
(
"SIM card has been invalidated"
);
m_logger
->
info
(
"SIM card has been invalidated"
);
m_usim
->
invalidate
();
m_usim
->
invalidate
();
}
}
...
...
src/ue/nas/mm/mm.hpp
View file @
c8b02d5a
...
@@ -82,6 +82,8 @@ class NasMm
...
@@ -82,6 +82,8 @@ class NasMm
void
onSwitchRmState
(
ERmState
oldState
,
ERmState
newState
);
void
onSwitchRmState
(
ERmState
oldState
,
ERmState
newState
);
void
onSwitchCmState
(
ECmState
oldState
,
ECmState
newState
);
void
onSwitchCmState
(
ECmState
oldState
,
ECmState
newState
);
void
onSwitchUState
(
E5UState
oldState
,
E5UState
newState
);
void
onSwitchUState
(
E5UState
oldState
,
E5UState
newState
);
void
onSimRemoval
();
void
onSwitchOff
();
private:
/* Messaging */
private:
/* Messaging */
void
sendNasMessage
(
const
nas
::
PlainMmMessage
&
msg
);
void
sendNasMessage
(
const
nas
::
PlainMmMessage
&
msg
);
...
...
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