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
e7134048
Commit
e7134048
authored
May 08, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UL NAS Transport abnormal case handling
parent
710a3b03
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/transport.cpp
src/ue/nas/mm/transport.cpp
+22
-0
No files found.
src/ue/nas/mm/transport.cpp
View file @
e7134048
...
@@ -39,6 +39,28 @@ void NasMm::receiveDlNasTransport(const nas::DlNasTransport &msg)
...
@@ -39,6 +39,28 @@ void NasMm::receiveDlNasTransport(const nas::DlNasTransport &msg)
void
NasMm
::
deliverUlTransport
(
const
nas
::
UlNasTransport
&
msg
)
void
NasMm
::
deliverUlTransport
(
const
nas
::
UlNasTransport
&
msg
)
{
{
// 5.4.5.2.6 Abnormal cases in the UE
// "The UE shall not send the UL NAS TRANSPORT message when the UE is in non-allowed area or
// is not in allowed area and .."
if
(
isInNonAllowedArea
()
&&
!
isHighPriority
())
{
// "1) the Payload container type IE is set to "N1 SM information", the Request type IE is set to "initial
// request", "existing PDU session" or "modification request" and the UE is not configured for high priority
// access in selected PLMN;" or
// "2) the Payload container type IE is set to "SMS" and the UE is not configured for high priority access in
// selected PLMN."
if
((
msg
.
payloadContainerType
.
payloadContainerType
==
nas
::
EPayloadContainerType
::
N1_SM_INFORMATION
&&
(
msg
.
requestType
&&
(
msg
.
requestType
->
requestType
==
nas
::
ERequestType
::
INITIAL_REQUEST
||
msg
.
requestType
->
requestType
==
nas
::
ERequestType
::
EXISTING_PDU_SESSION
||
msg
.
requestType
->
requestType
==
nas
::
ERequestType
::
MODIFICATION_REQUEST
)))
||
msg
.
payloadContainerType
.
payloadContainerType
==
nas
::
EPayloadContainerType
::
SMS
)
{
m_logger
->
err
(
"Ul Nas Transport procedure canceled, UE is not in allowed area"
);
return
;
}
}
// Send the UL NAS Transport Message
sendNasMessage
(
msg
);
sendNasMessage
(
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