Commit 55fd679c authored by aligungr's avatar aligungr

L3 RRC/NAS developments

parent d3480256
...@@ -134,7 +134,7 @@ void UeCmdHandler::handleCmdImpl(NmUeCliCommand &msg) ...@@ -134,7 +134,7 @@ void UeCmdHandler::handleCmdImpl(NmUeCliCommand &msg)
break; break;
} }
case app::UeCliCommand::DE_REGISTER: { case app::UeCliCommand::DE_REGISTER: {
m_base->nasTask->mm->sendDeregistration(msg.cmd->deregCause); m_base->nasTask->mm->deregistrationRequired(msg.cmd->deregCause);
if (msg.cmd->deregCause != EDeregCause::SWITCH_OFF) if (msg.cmd->deregCause != EDeregCause::SWITCH_OFF)
sendResult(msg.address, "De-registration procedure triggered"); sendResult(msg.address, "De-registration procedure triggered");
......
...@@ -67,7 +67,7 @@ bool NasMm::startECallInactivityIfNeeded() ...@@ -67,7 +67,7 @@ bool NasMm::startECallInactivityIfNeeded()
// And perform de-registration. // And perform de-registration.
// NOTE: The items c) and d) is performed after de-registration by the other function, therefore we are just // NOTE: The items c) and d) is performed after de-registration by the other function, therefore we are just
// performing de-registration for now. // performing de-registration for now.
sendDeregistration(EDeregCause::ECALL_INACTIVITY); deregistrationRequired(EDeregCause::ECALL_INACTIVITY);
return true; return true;
} }
......
...@@ -188,6 +188,7 @@ class NasMm ...@@ -188,6 +188,7 @@ class NasMm
void serviceRequestRequiredForData(); void serviceRequestRequiredForData();
void serviceRequestRequiredForSignalling(); void serviceRequestRequiredForSignalling();
void serviceRequestRequired(EServiceReqCause cause); void serviceRequestRequired(EServiceReqCause cause);
void deregistrationRequired(EDeregCause cause);
private: /* Service Access Point */ private: /* Service Access Point */
void handleRrcEvent(const NmUeRrcToNas &msg); void handleRrcEvent(const NmUeRrcToNas &msg);
......
...@@ -63,4 +63,11 @@ void NasMm::serviceRequestRequired(EServiceReqCause cause) ...@@ -63,4 +63,11 @@ void NasMm::serviceRequestRequired(EServiceReqCause cause)
triggerMmCycle(); triggerMmCycle();
} }
void NasMm::deregistrationRequired(EDeregCause cause)
{
// TODO
triggerMmCycle();
}
} // 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