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
affae9df
Commit
affae9df
authored
May 23, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
22aca1d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
src/ue/nas/mm/proc.cpp
src/ue/nas/mm/proc.cpp
+12
-0
src/ue/rrc/cells.cpp
src/ue/rrc/cells.cpp
+14
-3
No files found.
src/ue/nas/mm/proc.cpp
View file @
affae9df
...
...
@@ -19,9 +19,21 @@
namespace
nr
::
ue
{
void
NasMm
::
initialRegistrationRequired
(
EInitialRegCause
cause
)
{
// TODO
triggerMmCycle
();
}
void
NasMm
::
mobilityUpdatingRequired
(
ERegUpdateCause
cause
)
{
// TODO
// TODO: "the periodic registration update procedure is delayed until the UE returns to
// 5GMM-REGISTERED.NORMAL-SERVICE over 3GPP access." See 5.3.7
triggerMmCycle
();
}
}
// namespace nr::ue
\ No newline at end of file
src/ue/rrc/cells.cpp
View file @
affae9df
...
...
@@ -49,9 +49,11 @@ void UeRrcTask::notifyCellLost(int cellId)
return
;
bool
isActiveCell
=
false
;
m_base
->
shCtx
.
currentCell
.
mutate
([
&
isActiveCell
,
cellId
](
auto
&
value
)
{
ActiveCellInfo
lastActiveCell
;
m_base
->
shCtx
.
currentCell
.
mutate
([
&
isActiveCell
,
&
lastActiveCell
,
cellId
](
auto
&
value
)
{
if
(
value
.
cellId
==
cellId
)
{
lastActiveCell
=
value
;
value
=
{};
isActiveCell
=
true
;
}
...
...
@@ -62,8 +64,17 @@ void UeRrcTask::notifyCellLost(int cellId)
m_logger
->
debug
(
"Signal lost for cell[%d], total [%d] cells in coverage"
,
cellId
,
static_cast
<
int
>
(
m_cellDesc
.
size
()));
if
(
isActiveCell
&&
m_state
!=
ERrcState
::
RRC_IDLE
)
declareRadioLinkFailure
(
rls
::
ERlfCause
::
SIGNAL_LOST_TO_CONNECTED_CELL
);
if
(
isActiveCell
)
{
if
(
m_state
!=
ERrcState
::
RRC_IDLE
)
declareRadioLinkFailure
(
rls
::
ERlfCause
::
SIGNAL_LOST_TO_CONNECTED_CELL
);
else
{
auto
w2
=
new
NmUeRrcToNas
(
NmUeRrcToNas
::
ACTIVE_CELL_CHANGED
);
w2
->
previousTai
=
Tai
{
lastActiveCell
.
plmn
,
lastActiveCell
.
tac
};
m_base
->
nasTask
->
push
(
w2
);
}
}
updateAvailablePlmns
();
}
...
...
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