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
c04b65cc
Commit
c04b65cc
authored
Feb 23, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Registration reject improvement
parent
05e05844
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
src/ue/mm/base.cpp
src/ue/mm/base.cpp
+5
-0
src/ue/mm/mm.hpp
src/ue/mm/mm.hpp
+1
-0
src/ue/mm/register.cpp
src/ue/mm/register.cpp
+1
-1
No files found.
src/ue/mm/base.cpp
View file @
c04b65cc
...
@@ -283,4 +283,9 @@ void NasMm::onTimerExpire(nas::NasTimer &timer)
...
@@ -283,4 +283,9 @@ void NasMm::onTimerExpire(nas::NasTimer &timer)
}
}
}
}
void
NasMm
::
setN1Capability
(
bool
enabled
)
{
// TODO
}
}
// namespace nr::ue
}
// namespace nr::ue
src/ue/mm/mm.hpp
View file @
c04b65cc
...
@@ -85,6 +85,7 @@ class NasMm
...
@@ -85,6 +85,7 @@ 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
setN1Capability
(
bool
enabled
);
/* Transport */
/* Transport */
void
sendMmStatus
(
nas
::
EMmCause
cause
);
void
sendMmStatus
(
nas
::
EMmCause
cause
);
...
...
src/ue/mm/register.cpp
View file @
c04b65cc
...
@@ -181,7 +181,7 @@ void NasMm::receiveRegistrationReject(const nas::RegistrationReject &msg)
...
@@ -181,7 +181,7 @@ void NasMm::receiveRegistrationReject(const nas::RegistrationReject &msg)
if
(
cause
==
nas
::
EMmCause
::
N1_MODE_NOT_ALLOWED
)
if
(
cause
==
nas
::
EMmCause
::
N1_MODE_NOT_ALLOWED
)
{
{
switchMmState
(
EMmState
::
MM_NULL
,
EMmSubState
::
MM_NULL_NA
);
switchMmState
(
EMmState
::
MM_NULL
,
EMmSubState
::
MM_NULL_NA
);
// TODO: disable n1 mode capability (See 4.9)
setN1Capability
(
false
);
}
}
if
(
cause
==
nas
::
EMmCause
::
PLMN_NOT_ALLOWED
||
cause
==
nas
::
EMmCause
::
SERVING_NETWORK_NOT_AUTHORIZED
)
if
(
cause
==
nas
::
EMmCause
::
PLMN_NOT_ALLOWED
||
cause
==
nas
::
EMmCause
::
SERVING_NETWORK_NOT_AUTHORIZED
)
...
...
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