Commit c04b65cc authored by aligungr's avatar aligungr

Registration reject improvement

parent 05e05844
......@@ -283,4 +283,9 @@ void NasMm::onTimerExpire(nas::NasTimer &timer)
}
}
void NasMm::setN1Capability(bool enabled)
{
// TODO
}
} // namespace nr::ue
......@@ -85,6 +85,7 @@ class NasMm
void onSwitchRmState(ERmState oldState, ERmState newState);
void onSwitchCmState(ECmState oldState, ECmState newState);
void onSwitchUState(E5UState oldState, E5UState newState);
void setN1Capability(bool enabled);
/* Transport */
void sendMmStatus(nas::EMmCause cause);
......
......@@ -181,7 +181,7 @@ void NasMm::receiveRegistrationReject(const nas::RegistrationReject &msg)
if (cause == nas::EMmCause::N1_MODE_NOT_ALLOWED)
{
switchMmState(EMmState::MM_NULL, EMmSubState::MM_NULL_NA);
// TODO: disable n1 mode capability (See 4.9)
setN1Capability(false);
}
if (cause == nas::EMmCause::PLMN_NOT_ALLOWED || cause == nas::EMmCause::SERVING_NETWORK_NOT_AUTHORIZED)
......
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