Commit 52b78fe2 authored by aligungr's avatar aligungr

Service request initiation

parent b276eeb1
...@@ -44,6 +44,8 @@ class NasMm ...@@ -44,6 +44,8 @@ class NasMm
std::unique_ptr<nas::ServiceRequest> m_lastServiceRequest{}; std::unique_ptr<nas::ServiceRequest> m_lastServiceRequest{};
// Indicates the last de-registration cause // Indicates the last de-registration cause
EDeregCause m_lastDeregCause{}; EDeregCause m_lastDeregCause{};
// Indicates the last service request cause
EServiceReqCause m_lastServiceReqCause{};
// Last time PLMN search is triggered // Last time PLMN search is triggered
long m_lastPlmnSearchTrigger{}; long m_lastPlmnSearchTrigger{};
// Registration attempt counter // Registration attempt counter
......
...@@ -105,6 +105,7 @@ void NasMm::sendServiceRequest(EServiceReqCause reqCause) ...@@ -105,6 +105,7 @@ void NasMm::sendServiceRequest(EServiceReqCause reqCause)
// Send the message and process the timers // Send the message and process the timers
sendNasMessage(*request); sendNasMessage(*request);
m_lastServiceRequest = std::move(request); m_lastServiceRequest = std::move(request);
m_lastServiceReqCause = reqCause;
m_timers->t3517.start(); m_timers->t3517.start();
switchMmState(EMmState::MM_SERVICE_REQUEST_INITIATED, EMmSubState::MM_SERVICE_REQUEST_INITIATED_NA); switchMmState(EMmState::MM_SERVICE_REQUEST_INITIATED, EMmSubState::MM_SERVICE_REQUEST_INITIATED_NA);
} }
......
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