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
dc57e410
Commit
dc57e410
authored
May 21, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
9f667342
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
src/ue/rrc/idle.cpp
src/ue/rrc/idle.cpp
+3
-3
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+2
-2
src/ue/types.cpp
src/ue/types.cpp
+1
-1
src/ue/types.hpp
src/ue/types.hpp
+2
-2
No files found.
src/ue/rrc/idle.cpp
View file @
dc57e410
...
...
@@ -31,7 +31,7 @@ void UeRrcTask::performCellSelection()
bool
shouldLogErrors
=
lastCell
!=
0
||
(
currentTime
-
m_lastTimePlmnSearchFailureLogged
>=
30'000LL
);
Current
CellInfo
cellInfo
;
Active
CellInfo
cellInfo
;
CellSelectionReport
report
;
bool
cellFound
=
false
;
...
...
@@ -107,7 +107,7 @@ void UeRrcTask::performCellSelection()
}
}
bool
UeRrcTask
::
lookForSuitableCell
(
Current
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
)
bool
UeRrcTask
::
lookForSuitableCell
(
Active
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
)
{
Plmn
selectedPlmn
=
m_base
->
shCtx
.
selectedPlmn
.
get
();
if
(
!
selectedPlmn
.
hasValue
())
...
...
@@ -190,7 +190,7 @@ bool UeRrcTask::lookForSuitableCell(CurrentCellInfo &cellInfo, CellSelectionRepo
return
true
;
}
bool
UeRrcTask
::
lookForAcceptableCell
(
Current
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
)
bool
UeRrcTask
::
lookForAcceptableCell
(
Active
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
)
{
std
::
vector
<
int
>
candidates
;
...
...
src/ue/rrc/task.hpp
View file @
dc57e410
...
...
@@ -100,8 +100,8 @@ class UeRrcTask : public NtsTask
/* Idle Mode Operations */
void
performCellSelection
();
bool
lookForSuitableCell
(
Current
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
);
bool
lookForAcceptableCell
(
Current
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
);
bool
lookForSuitableCell
(
Active
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
);
bool
lookForAcceptableCell
(
Active
CellInfo
&
cellInfo
,
CellSelectionReport
&
report
);
/* Cell Management */
void
handleCellSignalChange
(
int
cellId
,
int
dbm
);
...
...
src/ue/types.cpp
View file @
dc57e410
...
...
@@ -289,7 +289,7 @@ Json ToJson(const EServiceReqCause &v)
}
}
bool
Current
CellInfo
::
hasValue
()
const
bool
Active
CellInfo
::
hasValue
()
const
{
return
cellId
!=
0
;
}
...
...
src/ue/types.hpp
View file @
dc57e410
...
...
@@ -148,7 +148,7 @@ struct CellSelectionReport
int
forbiddenTaiCells
{};
};
struct
Current
CellInfo
struct
Active
CellInfo
{
int
cellId
{};
ECellCategory
category
{};
...
...
@@ -162,7 +162,7 @@ struct UeSharedContext
{
Locked
<
std
::
unordered_set
<
Plmn
>>
availablePlmns
;
Locked
<
Plmn
>
selectedPlmn
;
Locked
<
Current
CellInfo
>
currentCell
;
Locked
<
Active
CellInfo
>
currentCell
;
Locked
<
std
::
vector
<
Tai
>>
forbiddenTaiRoaming
;
Locked
<
std
::
vector
<
Tai
>>
forbiddenTaiRps
;
...
...
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