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
7dfe3b0c
Commit
7dfe3b0c
authored
Feb 20, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE de-registration improvement
parent
bafbb66a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ue/app/cmd_handler.cpp
src/ue/app/cmd_handler.cpp
+4
-1
src/ue/mm/mm.hpp
src/ue/mm/mm.hpp
+3
-1
No files found.
src/ue/app/cmd_handler.cpp
View file @
7dfe3b0c
...
...
@@ -116,7 +116,10 @@ void UeCmdHandler::HandleCmdImpl(TaskBase &base, NwUeCliCommand &msg)
break
;
}
case
app
:
:
UeCliCommand
::
DE_REGISTER
:
{
msg
.
sendError
(
"not implemented yet"
);
base
.
nasTask
->
mm
->
sendDeregistration
(
msg
.
cmd
->
isSwitchOff
?
nas
::
ESwitchOff
::
SWITCH_OFF
:
nas
::
ESwitchOff
::
NORMAL_DE_REGISTRATION
,
msg
.
cmd
->
dueToDisable5g
);
msg
.
sendResult
(
"De-registration procedure triggered"
);
break
;
}
}
...
...
src/ue/mm/mm.hpp
View file @
7dfe3b0c
...
...
@@ -74,6 +74,9 @@ class NasMm
void
sendNasMessage
(
const
nas
::
PlainMmMessage
&
msg
);
void
receiveNasMessage
(
const
nas
::
NasMessage
&
msg
);
/* De-registration */
void
sendDeregistration
(
nas
::
ESwitchOff
switchOff
,
bool
dueToDisable5g
);
private:
/* Base */
void
switchMmState
(
EMmState
state
,
EMmSubState
subState
);
...
...
@@ -121,7 +124,6 @@ class NasMm
void
receiveConfigurationUpdate
(
const
nas
::
ConfigurationUpdateCommand
&
msg
);
/* De-registration */
void
sendDeregistration
(
nas
::
ESwitchOff
switchOff
,
bool
dueToDisable5g
);
void
receiveDeregistrationAccept
(
const
nas
::
DeRegistrationAcceptUeOriginating
&
msg
);
void
receiveDeregistrationRequest
(
const
nas
::
DeRegistrationRequestUeTerminated
&
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