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
860db47a
Commit
860db47a
authored
May 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
06e96d4d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
src/ue/nas/mm/register.cpp
src/ue/nas/mm/register.cpp
+10
-1
src/ue/nas/mm/service.cpp
src/ue/nas/mm/service.cpp
+13
-2
No files found.
src/ue/nas/mm/register.cpp
View file @
860db47a
...
@@ -113,6 +113,15 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
...
@@ -113,6 +113,15 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
return
;
return
;
}
}
if
(
m_mmSubState
==
EMmSubState
::
MM_REGISTERED_NON_ALLOWED_SERVICE
)
{
if
(
!
isHighPriority
()
&&
!
hasEmergency
())
{
m_logger
->
debug
(
"Mobility updating canceled, registered in non allowed service"
);
return
;
}
}
// 5.5.1.3.7 Abnormal cases in the UE
// 5.5.1.3.7 Abnormal cases in the UE
// a) Timer T3346 is running.
// a) Timer T3346 is running.
if
(
m_timers
->
t3346
.
isRunning
())
if
(
m_timers
->
t3346
.
isRunning
())
...
@@ -121,7 +130,7 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
...
@@ -121,7 +130,7 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
isHighPriority
()
||
hasEmergency
()
||
updateCause
==
ERegUpdateCause
::
CONFIGURATION_UPDATE
;
isHighPriority
()
||
hasEmergency
()
||
updateCause
==
ERegUpdateCause
::
CONFIGURATION_UPDATE
;
if
(
!
allowed
)
if
(
!
allowed
)
{
{
m_logger
->
debug
(
"Mobility updating
updating
canceled, T3346 is running"
);
m_logger
->
debug
(
"Mobility updating canceled, T3346 is running"
);
return
;
return
;
}
}
}
}
...
...
src/ue/nas/mm/service.cpp
View file @
860db47a
...
@@ -46,14 +46,25 @@ void NasMm::sendServiceRequest(EServiceReqCause reqCause)
...
@@ -46,14 +46,25 @@ void NasMm::sendServiceRequest(EServiceReqCause reqCause)
return
;
return
;
}
}
if
(
m_mmSubState
==
EMmSubState
::
MM_REGISTERED_NON_ALLOWED_SERVICE
)
{
if
(
reqCause
!=
EServiceReqCause
::
IDLE_PAGING
&&
reqCause
!=
EServiceReqCause
::
CONNECTED_3GPP_NOTIFICATION_N3GPP
&&
reqCause
!=
EServiceReqCause
::
IDLE_3GPP_NOTIFICATION_N3GPP
&&
!
isHighPriority
()
&&
!
hasEmergency
())
{
m_logger
->
debug
(
"Service Request canceled, registered in non allowed service"
);
return
;
}
}
// 5.6.1.7 Abnormal cases in the UE
// 5.6.1.7 Abnormal cases in the UE
// a) Timer T3525
// a) Timer T3525
if
(
m_timers
->
t3525
.
isRunning
())
if
(
m_timers
->
t3525
.
isRunning
())
{
{
if
(
reqCause
!=
EServiceReqCause
::
IDLE_PAGING
&&
if
(
reqCause
!=
EServiceReqCause
::
IDLE_PAGING
&&
reqCause
!=
EServiceReqCause
::
CONNECTED_3GPP_NOTIFICATION_N3GPP
&&
reqCause
!=
EServiceReqCause
::
CONNECTED_3GPP_NOTIFICATION_N3GPP
&&
reqCause
!=
EServiceReqCause
::
IDLE_3GPP_NOTIFICATION_N3GPP
&&
!
isHighPriority
()
&&
!
hasEmergency
()
&&
reqCause
!=
EServiceReqCause
::
IDLE_3GPP_NOTIFICATION_N3GPP
&&
reqCause
!=
EServiceReqCause
::
EMERGENCY_FALLBACK
)
reqCause
!=
EServiceReqCause
::
EMERGENCY_FALLBACK
&&
!
isHighPriority
()
&&
!
hasEmergency
()
)
{
{
m_logger
->
debug
(
"Service Request canceled, T3346 is running"
);
m_logger
->
debug
(
"Service Request canceled, T3346 is running"
);
return
;
return
;
...
...
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