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
9c836c2b
Commit
9c836c2b
authored
May 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
860db47a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
1 deletion
+21
-1
src/ue/nas/mm/base.cpp
src/ue/nas/mm/base.cpp
+4
-0
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+4
-1
src/ue/nas/sm/establishment.cpp
src/ue/nas/sm/establishment.cpp
+6
-0
src/ue/nas/sm/release.cpp
src/ue/nas/sm/release.cpp
+7
-0
No files found.
src/ue/nas/mm/base.cpp
View file @
9c836c2b
...
...
@@ -437,12 +437,16 @@ void NasMm::onSimRemoval()
{
m_storage
->
equivalentPlmnList
->
clear
();
m_storage
->
serviceAreaList
->
clear
();
m_storage
->
forbiddenTaiListRoaming
->
clear
();
m_storage
->
forbiddenTaiListRps
->
clear
();
}
void
NasMm
::
onSwitchOff
()
{
m_storage
->
serviceAreaList
->
clear
();
m_storage
->
forbiddenTaiListRoaming
->
clear
();
m_storage
->
forbiddenTaiListRps
->
clear
();
}
...
...
src/ue/nas/mm/mm.hpp
View file @
9c836c2b
...
...
@@ -169,9 +169,11 @@ class NasMm
void
handleRadioLinkFailure
();
void
handlePaging
(
const
std
::
vector
<
GutiMobileIdentity
>
&
tmsiIds
);
p
rivate
:
/* Access Control */
p
ublic
:
/* Access Control */
bool
isHighPriority
();
bool
hasEmergency
();
private:
/* Access Control */
void
setN1Capability
(
bool
enabled
);
bool
isInNonAllowedArea
();
...
...
@@ -189,6 +191,7 @@ class NasMm
bool
isRegistered
();
// used by SM
bool
isRegisteredForEmergency
();
// used by SM
void
serviceNeededForUplinkData
();
// used by SM
bool
isStateNonAllowedService
();
// used by SM
};
}
// namespace nr::ue
\ No newline at end of file
src/ue/nas/sm/establishment.cpp
View file @
9c836c2b
...
...
@@ -47,6 +47,12 @@ void NasSm::sendEstablishmentRequest(const SessionConfig &config)
return
;
}
if
(
m_mm
->
isStateNonAllowedService
()
&&
!
m_mm
->
hasEmergency
()
&&
!
m_mm
->
isHighPriority
())
{
m_logger
->
err
(
"PDU session establishment could not be triggered, non allowed service condition"
);
return
;
}
/* Control the received config */
if
(
config
.
type
!=
nas
::
EPduSessionType
::
IPV4
)
{
...
...
src/ue/nas/sm/release.cpp
View file @
9c836c2b
...
...
@@ -18,6 +18,13 @@ namespace nr::ue
void
NasSm
::
sendReleaseRequest
(
int
psi
)
{
/* Control the protocol state */
if
(
m_mm
->
isStateNonAllowedService
()
&&
!
m_mm
->
hasEmergency
()
&&
!
m_mm
->
isHighPriority
())
{
m_logger
->
err
(
"PDU session release could not start, non allowed service condition"
);
return
;
}
/* Control the PDU session state */
auto
&
ps
=
m_pduSessions
[
psi
];
if
(
ps
->
psState
!=
EPsState
::
ACTIVE
)
...
...
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