Commit f229c810 authored by aligungr's avatar aligungr

Performance improvements

parent 2564a832
...@@ -114,4 +114,9 @@ void NasLayer::handleRrcFallbackIndication() ...@@ -114,4 +114,9 @@ void NasLayer::handleRrcFallbackIndication()
m_mm->handleRrcFallbackIndication(); m_mm->handleRrcFallbackIndication();
} }
void NasLayer::handleRadioLinkFailure()
{
m_mm->handleRadioLinkFailure();
}
} // namespace nr::ue } // namespace nr::ue
\ No newline at end of file
...@@ -39,6 +39,7 @@ class NasLayer ...@@ -39,6 +39,7 @@ class NasLayer
void handleRrcConnectionRelease(); void handleRrcConnectionRelease();
void handlePaging(const std::vector<GutiMobileIdentity> &tmsiIds); void handlePaging(const std::vector<GutiMobileIdentity> &tmsiIds);
void handleRrcFallbackIndication(); void handleRrcFallbackIndication();
void handleRadioLinkFailure();
}; };
} // namespace nr::ue } // namespace nr::ue
\ No newline at end of file
...@@ -27,10 +27,6 @@ void NasMm::handleRrcEvent(const NmUeRrcToNas &msg) ...@@ -27,10 +27,6 @@ void NasMm::handleRrcEvent(const NmUeRrcToNas &msg)
receiveNasMessage(*nasMessage); receiveNasMessage(*nasMessage);
break; break;
} }
case NmUeRrcToNas::RADIO_LINK_FAILURE: {
handleRadioLinkFailure();
break;
}
case NmUeRrcToNas::ACTIVE_CELL_CHANGED: { case NmUeRrcToNas::ACTIVE_CELL_CHANGED: {
handleActiveCellChange(msg.previousTai); handleActiveCellChange(msg.previousTai);
break; break;
......
...@@ -62,7 +62,6 @@ struct NmUeRrcToNas : NtsMessage ...@@ -62,7 +62,6 @@ struct NmUeRrcToNas : NtsMessage
{ {
NAS_DELIVERY, NAS_DELIVERY,
RRC_ESTABLISHMENT_FAILURE, RRC_ESTABLISHMENT_FAILURE,
RADIO_LINK_FAILURE,
ACTIVE_CELL_CHANGED, ACTIVE_CELL_CHANGED,
} present; } present;
......
...@@ -23,7 +23,7 @@ void UeRrcLayer::declareRadioLinkFailure(rls::ERlfCause cause) ...@@ -23,7 +23,7 @@ void UeRrcLayer::declareRadioLinkFailure(rls::ERlfCause cause)
void UeRrcLayer::handleRadioLinkFailure(rls::ERlfCause cause) void UeRrcLayer::handleRadioLinkFailure(rls::ERlfCause cause)
{ {
m_state = ERrcState::RRC_IDLE; m_state = ERrcState::RRC_IDLE;
m_base->l3Task->push(std::make_unique<NmUeRrcToNas>(NmUeRrcToNas::RADIO_LINK_FAILURE)); m_base->l3Task->nas().handleRadioLinkFailure();
} }
} // namespace nr::ue } // namespace nr::ue
\ No newline at end of file
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