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
750d5613
Commit
750d5613
authored
May 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
c0d05ab6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
5 deletions
+19
-5
src/ue/rrc/connection.cpp
src/ue/rrc/connection.cpp
+0
-2
src/ue/rrc/task.cpp
src/ue/rrc/task.cpp
+1
-1
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+7
-2
src/ue/types.cpp
src/ue/types.cpp
+4
-0
src/ue/types.hpp
src/ue/types.hpp
+7
-0
No files found.
src/ue/rrc/connection.cpp
View file @
750d5613
...
...
@@ -55,8 +55,6 @@ void UeRrcTask::startConnectionEstablishment(OctetString &&nasPdu)
return
;
}
// TODO: if it's already in progress
if
(
m_initialId
.
present
==
ASN_RRC_InitialUE_Identity_PR_NOTHING
)
{
m_initialId
.
present
=
ASN_RRC_InitialUE_Identity_PR_randomValue
;
...
...
src/ue/rrc/task.cpp
View file @
750d5613
...
...
@@ -23,7 +23,7 @@ static constexpr const int TIMER_PERIOD_MACHINE_CYCLE = 2500;
namespace
nr
::
ue
{
UeRrcTask
::
UeRrcTask
(
TaskBase
*
base
)
:
m_base
{
base
}
UeRrcTask
::
UeRrcTask
(
TaskBase
*
base
)
:
m_base
{
base
}
,
m_timers
{}
{
m_logger
=
base
->
logBase
->
makeUniqueLogger
(
base
->
config
->
getLoggerPrefix
()
+
"rrc"
);
...
...
src/ue/rrc/task.hpp
View file @
750d5613
...
...
@@ -50,17 +50,22 @@ class UeRrcTask : public NtsTask
private:
TaskBase
*
m_base
;
std
::
unique_ptr
<
Logger
>
m_logger
;
int64_t
m_startedTime
;
ERrcState
m_state
;
RrcTimers
m_timers
;
/* Cell and PLMN related */
std
::
unordered_map
<
int
,
UeCellDesc
>
m_cellDesc
{};
int64_t
m_lastTimePlmnSearchFailureLogged
{};
/* Procedure related */
ERrcLastSetupRequest
m_lastSetupReq
{};
/* Establishment procedure related */
ASN_RRC_InitialUE_Identity_t
m_initialId
{};
OctetString
m_initialNasPdu
{};
int64_t
m_lastTimePlmnSearchFailureLogged
{};
friend
class
UeCmdHandler
;
public:
...
...
src/ue/types.cpp
View file @
750d5613
...
...
@@ -309,4 +309,8 @@ Tai UeSharedContext::getCurrentTai()
return
tai
;
}
RrcTimers
::
RrcTimers
()
:
t300
(
300
,
false
,
1
)
{
}
}
// namespace nr::ue
src/ue/types.hpp
View file @
750d5613
...
...
@@ -188,6 +188,13 @@ struct TaskBase
UeRlsTask
*
rlsTask
{};
};
struct
RrcTimers
{
UeTimer
t300
;
RrcTimers
();
};
struct
NasTimers
{
UeTimer
t3346
;
/* MM - ... */
...
...
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