Commit acbfb38e authored by aligungr's avatar aligungr

RLS developments

parent dbac9b2a
...@@ -199,9 +199,6 @@ void RlsControlTask::handleUplinkDataDelivery(int cellId, int psi, OctetString & ...@@ -199,9 +199,6 @@ void RlsControlTask::handleUplinkDataDelivery(int cellId, int psi, OctetString &
void RlsControlTask::onAckControlTimerExpired() void RlsControlTask::onAckControlTimerExpired()
{ {
if (m_pduMap.empty())
return;
int64_t current = utils::CurrentTimeMillis(); int64_t current = utils::CurrentTimeMillis();
std::vector<rls::PduInfo> transmissionFailures; std::vector<rls::PduInfo> transmissionFailures;
...@@ -215,9 +212,12 @@ void RlsControlTask::onAckControlTimerExpired() ...@@ -215,9 +212,12 @@ void RlsControlTask::onAckControlTimerExpired()
m_pduMap.clear(); m_pduMap.clear();
if (!transmissionFailures.empty())
{
auto *w = new NwUeRlsToRls(NwUeRlsToRls::TRANSMISSION_FAILURE); auto *w = new NwUeRlsToRls(NwUeRlsToRls::TRANSMISSION_FAILURE);
w->pduList = std::move(transmissionFailures); w->pduList = std::move(transmissionFailures);
m_mainTask->push(w); m_mainTask->push(w);
}
} }
void RlsControlTask::onAckSendTimerExpired() void RlsControlTask::onAckSendTimerExpired()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment