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
f3b6a6bd
Commit
f3b6a6bd
authored
Oct 03, 2021
by
Alan Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the pdu release IE request type should not be intial request
parent
8bf2f54b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/lib/nas/enums.hpp
src/lib/nas/enums.hpp
+2
-1
src/ue/nas/sm/transport.cpp
src/ue/nas/sm/transport.cpp
+5
-1
No files found.
src/lib/nas/enums.hpp
View file @
f3b6a6bd
...
@@ -632,6 +632,7 @@ enum class ERequestType
...
@@ -632,6 +632,7 @@ enum class ERequestType
INITIAL_EMERGENCY_REQUEST
=
0b011
,
INITIAL_EMERGENCY_REQUEST
=
0b011
,
EXISTING_EMERGENCY_PDU_SESSION
=
0b100
,
EXISTING_EMERGENCY_PDU_SESSION
=
0b100
,
MODIFICATION_REQUEST
=
0b101
,
MODIFICATION_REQUEST
=
0b101
,
RESERVED
=
0b111
,
};
};
enum
class
EAllowedType
enum
class
EAllowedType
...
...
src/ue/nas/sm/transport.cpp
View file @
f3b6a6bd
...
@@ -69,6 +69,10 @@ void NasSm::sendSmMessage(int psi, const nas::SmMessage &msg)
...
@@ -69,6 +69,10 @@ void NasSm::sendSmMessage(int psi, const nas::SmMessage &msg)
m
.
requestType
=
nas
::
IERequestType
{};
m
.
requestType
=
nas
::
IERequestType
{};
m
.
requestType
->
requestType
=
m
.
requestType
->
requestType
=
session
->
isEmergency
?
nas
::
ERequestType
::
INITIAL_EMERGENCY_REQUEST
:
nas
::
ERequestType
::
INITIAL_REQUEST
;
session
->
isEmergency
?
nas
::
ERequestType
::
INITIAL_EMERGENCY_REQUEST
:
nas
::
ERequestType
::
INITIAL_REQUEST
;
if
(
msg
.
messageType
==
nas
::
EMessageType
::
PDU_SESSION_RELEASE_REQUEST
||
msg
.
messageType
==
nas
::
EMessageType
::
PDU_SESSION_RELEASE_COMPLETE
)
{
m
.
requestType
->
requestType
=
nas
::
ERequestType
::
RESERVED
;
}
if
(
!
session
->
isEmergency
)
if
(
!
session
->
isEmergency
)
{
{
...
...
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