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
766f17ac
Commit
766f17ac
authored
May 01, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Service Request initiating controls added
parent
a5e46ba2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
src/ue/nas/mm/service.cpp
src/ue/nas/mm/service.cpp
+22
-0
No files found.
src/ue/nas/mm/service.cpp
View file @
766f17ac
...
...
@@ -18,6 +18,28 @@ void NasMm::sendServiceRequest(EServiceReqCause reqCause)
{
m_logger
->
debug
(
"Sending Service Request due to [%s]"
,
ToJson
(
reqCause
).
str
().
c_str
());
// "The procedure shall only be initiated by the UE when the following conditions are fulfilled ..."
if
(
m_mmState
==
EMmState
::
MM_REGISTERED_INITIATED
||
m_mmState
==
EMmState
::
MM_DEREGISTERED_INITIATED
)
{
m_logger
->
warn
(
"Service Request canceled, MM specific procedure is ongoing"
);
return
;
}
if
(
m_mmState
==
EMmState
::
MM_SERVICE_REQUEST_INITIATED
)
{
m_logger
->
debug
(
"Service Request canceled, already in 5GMM-SERVICE-REQUEST-INITIATED"
);
return
;
}
if
(
m_usim
->
m_uState
!=
E5UState
::
U1_UPDATED
)
{
m_logger
->
err
(
"Service Request canceled, UE not in 5U1 UPDATED state"
);
return
;
}
if
(
!
nas
::
utils
::
TaiListContains
(
m_usim
->
m_taiList
,
*
m_usim
->
m_currentTai
))
{
m_logger
->
err
(
"Service Request canceled, current TAI is not in the TAI list"
);
return
;
}
// 5.6.1.7 Abnormal cases in the UE
// a) Timer T3525
if
(
m_timers
->
t3525
.
isRunning
())
...
...
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