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
26fc9fc6
Commit
26fc9fc6
authored
May 12, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RLS developments
parent
fa7def73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
src/gnb/rls/ctl_task.cpp
src/gnb/rls/ctl_task.cpp
+5
-5
src/gnb/rls/ctl_task.hpp
src/gnb/rls/ctl_task.hpp
+8
-1
No files found.
src/gnb/rls/ctl_task.cpp
View file @
26fc9fc6
...
@@ -38,19 +38,19 @@ void RlsControlTask::onLoop()
...
@@ -38,19 +38,19 @@ void RlsControlTask::onLoop()
switch
(
w
->
present
)
switch
(
w
->
present
)
{
{
case
NwGnbRlsToRls
:
:
SIGNAL_DETECTED
:
case
NwGnbRlsToRls
:
:
SIGNAL_DETECTED
:
// TODO
handleSignalDetected
(
w
->
ueId
);
break
;
break
;
case
NwGnbRlsToRls
:
:
SIGNAL_LOST
:
case
NwGnbRlsToRls
:
:
SIGNAL_LOST
:
// TODO
handleSignalLost
(
w
->
ueId
);
break
;
break
;
case
NwGnbRlsToRls
:
:
RECEIVE_RLS_MESSAGE
:
case
NwGnbRlsToRls
:
:
RECEIVE_RLS_MESSAGE
:
// TODO
handleRlsMessage
(
w
->
ueId
,
*
w
->
msg
);
break
;
break
;
case
NwGnbRlsToRls
:
:
DOWNLINK_DATA
:
case
NwGnbRlsToRls
:
:
DOWNLINK_DATA
:
// TODO
handleDownlinkDataDelivery
(
w
->
ueId
,
w
->
psi
,
std
::
move
(
w
->
data
));
break
;
break
;
case
NwGnbRlsToRls
:
:
DOWNLINK_RRC
:
case
NwGnbRlsToRls
:
:
DOWNLINK_RRC
:
// TODO
handleDownlinkRrcDelivery
(
w
->
ueId
,
w
->
pduId
,
w
->
rrcChannel
,
std
::
move
(
w
->
data
));
break
;
break
;
default:
default:
m_logger
->
unhandledNts
(
msg
);
m_logger
->
unhandledNts
(
msg
);
...
...
src/gnb/rls/ctl_task.hpp
View file @
26fc9fc6
...
@@ -34,6 +34,13 @@ class RlsControlTask : public NtsTask
...
@@ -34,6 +34,13 @@ class RlsControlTask : public NtsTask
public:
public:
void
initialize
(
RlsUdpTask
*
udpTask
);
void
initialize
(
RlsUdpTask
*
udpTask
);
private:
void
handleSignalDetected
(
int
ueId
);
void
handleSignalLost
(
int
ueId
);
void
handleRlsMessage
(
int
ueId
,
rls
::
RlsMessage
&
msg
);
void
handleDownlinkRrcDelivery
(
int
ueId
,
uint32_t
pduId
,
rrc
::
RrcChannel
channel
,
OctetString
&&
data
);
void
handleDownlinkDataDelivery
(
int
ueId
,
int
psi
,
OctetString
&&
data
);
};
};
}
// namespace nr::ue
}
// namespace nr::gnb
\ No newline at end of file
\ No newline at end of file
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