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
02c62f1a
Commit
02c62f1a
authored
May 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
d86f7060
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
7 deletions
+32
-7
src/ue/rrc/connection.cpp
src/ue/rrc/connection.cpp
+0
-6
src/ue/rrc/failures.cpp
src/ue/rrc/failures.cpp
+29
-0
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+3
-1
No files found.
src/ue/rrc/connection.cpp
View file @
02c62f1a
...
...
@@ -107,10 +107,4 @@ void UeRrcTask::receiveRrcRelease(const ASN_RRC_RRCRelease &msg)
m_base
->
nasTask
->
push
(
new
NwUeRrcToNas
(
NwUeRrcToNas
::
RRC_CONNECTION_RELEASE
));
}
void
UeRrcTask
::
handleRadioLinkFailure
(
rls
::
ERlfCause
cause
)
{
m_state
=
ERrcState
::
RRC_IDLE
;
m_base
->
nasTask
->
push
(
new
NwUeRrcToNas
(
NwUeRrcToNas
::
RADIO_LINK_FAILURE
));
}
}
// namespace nr::ue
src/ue/rrc/failures.cpp
0 → 100644
View file @
02c62f1a
//
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#include "task.hpp"
#include <lib/rrc/encode.hpp>
#include <ue/nas/task.hpp>
#include <ue/nts.hpp>
namespace
nr
::
ue
{
void
UeRrcTask
::
declareRadioLinkFailure
(
rls
::
ERlfCause
cause
)
{
handleRadioLinkFailure
(
cause
);
}
void
UeRrcTask
::
handleRadioLinkFailure
(
rls
::
ERlfCause
cause
)
{
m_state
=
ERrcState
::
RRC_IDLE
;
m_base
->
nasTask
->
push
(
new
NwUeRrcToNas
(
NwUeRrcToNas
::
RADIO_LINK_FAILURE
));
}
}
// namespace nr::ue
\ No newline at end of file
src/ue/rrc/task.hpp
View file @
02c62f1a
...
...
@@ -123,8 +123,10 @@ class UeRrcTask : public NtsTask
void
receiveRrcSetup
(
int
cellId
,
const
ASN_RRC_RRCSetup
&
msg
);
void
receiveRrcReject
(
int
cellId
,
const
ASN_RRC_RRCReject
&
msg
);
void
receiveRrcRelease
(
const
ASN_RRC_RRCRelease
&
msg
);
void
handleRadioLinkFailure
(
rls
::
ERlfCause
cause
);
/* Failures */
void
declareRadioLinkFailure
(
rls
::
ERlfCause
cause
);
void
handleRadioLinkFailure
(
rls
::
ERlfCause
cause
);
};
}
// namespace nr::ue
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