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
1b5c01d8
Commit
1b5c01d8
authored
May 11, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RLS improvements
parent
d1b6856c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/ue/rls/ctl_task.cpp
src/ue/rls/ctl_task.cpp
+2
-4
src/ue/rls/ctl_task.hpp
src/ue/rls/ctl_task.hpp
+4
-0
No files found.
src/ue/rls/ctl_task.cpp
View file @
1b5c01d8
...
...
@@ -15,7 +15,7 @@ static constexpr const size_t MAX_PDU_COUNT = 128;
namespace
nr
::
ue
{
RlsControlTask
::
RlsControlTask
(
TaskBase
*
base
,
uint64_t
sti
)
:
m_udpTask
{},
m_pduMap
{},
m_sti
{
sti
}
RlsControlTask
::
RlsControlTask
(
TaskBase
*
base
,
uint64_t
sti
)
:
m_udpTask
{},
m_pduMap
{},
m_sti
{
sti
}
,
m_pendingAck
{}
{
m_logger
=
base
->
logBase
->
makeUniqueLogger
(
base
->
config
->
getLoggerPrefix
()
+
"rls-ctl"
);
}
...
...
@@ -83,9 +83,7 @@ void RlsControlTask::handleRlsMessage(int cellId, rls::RlsMessage &msg)
{
auto
&
m
=
(
rls
::
RlsPduTransmission
&
)
msg
;
if
(
m
.
pduId
!=
0
)
{
// TODO: Send ACK
}
m_pendingAck
.
push_back
(
m
.
pduId
);
if
(
m
.
pduType
==
rls
::
EPduType
::
DATA
)
{
...
...
src/ue/rls/ctl_task.hpp
View file @
1b5c01d8
...
...
@@ -10,6 +10,9 @@
#include "udp_task.hpp"
#include <unordered_map>
#include <vector>
#include <lib/rrc/rrc.hpp>
#include <ue/nts.hpp>
#include <ue/types.hpp>
...
...
@@ -33,6 +36,7 @@ class RlsControlTask : public NtsTask
RlsUdpTask
*
m_udpTask
;
std
::
unordered_map
<
uint32_t
,
PduInfo
>
m_pduMap
;
uint64_t
m_sti
;
std
::
vector
<
uint32_t
>
m_pendingAck
;
public:
explicit
RlsControlTask
(
TaskBase
*
base
,
uint64_t
sti
);
...
...
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