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
97e344f4
Commit
97e344f4
authored
Apr 04, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SRA dev.
parent
474f5156
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
src/gnb/nts.hpp
src/gnb/nts.hpp
+2
-0
src/gnb/rrc/task.cpp
src/gnb/rrc/task.cpp
+4
-11
src/gnb/sra/management.cpp
src/gnb/sra/management.cpp
+5
-0
No files found.
src/gnb/nts.hpp
View file @
97e344f4
...
...
@@ -28,9 +28,11 @@ struct NwGnbSraToRrc : NtsMessage
enum
PR
{
RRC_PDU_DELIVERY
,
SIGNAL_LOST
}
present
;
// RRC_PDU_DELIVERY
// SIGNAL_LOST
int
ueId
{};
// RRC_PDU_DELIVERY
...
...
src/gnb/rrc/task.cpp
View file @
97e344f4
...
...
@@ -37,17 +37,6 @@ void GnbRrcTask::onLoop()
switch
(
msg
->
msgType
)
{
//case NtsMessageType::GNB_MR_TO_RRC: {
// auto *w = dynamic_cast<NwGnbMrToRrc *>(msg);
// switch (w->present)
// {
// case NwGnbMrToRrc::RADIO_LINK_FAILURE: {
// handleRadioLinkFailure(w->ueId);
// break;
// }
// }
// break;
//}
case
NtsMessageType
:
:
GNB_SRA_TO_RRC
:
{
auto
*
w
=
dynamic_cast
<
NwGnbSraToRrc
*>
(
msg
);
switch
(
w
->
present
)
...
...
@@ -56,6 +45,10 @@ void GnbRrcTask::onLoop()
handleUplinkRrc
(
w
->
ueId
,
w
->
channel
,
w
->
pdu
);
break
;
}
case
NwGnbSraToRrc
:
:
SIGNAL_LOST
:
{
handleRadioLinkFailure
(
w
->
ueId
);
break
;
}
}
break
;
}
...
...
src/gnb/sra/management.cpp
View file @
97e344f4
...
...
@@ -7,6 +7,7 @@
//
#include "task.hpp"
#include <gnb/rrc/task.hpp>
#include <set>
#include <utils/common.hpp>
...
...
@@ -62,6 +63,10 @@ void GnbSraTask::onPeriodicLostControl()
{
m_ueCtx
.
erase
(
ueId
);
m_logger
->
debug
(
"Signal lost detected for UE[%d]"
,
ueId
);
auto
*
w
=
new
NwGnbSraToRrc
(
NwGnbSraToRrc
::
SIGNAL_LOST
);
w
->
ueId
=
ueId
;
m_base
->
rrcTask
->
push
(
w
);
}
}
...
...
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