Commit 6e23a56c authored by aligungr's avatar aligungr

Authentication abnormal case handling

parent c81325d0
...@@ -328,12 +328,16 @@ void NasMm::receiveAuthenticationRequest5gAka(const nas::AuthenticationRequest & ...@@ -328,12 +328,16 @@ void NasMm::receiveAuthenticationRequest5gAka(const nas::AuthenticationRequest &
resp.authenticationResponseParameter->rawData = m_usim->m_resStar.copy(); resp.authenticationResponseParameter->rawData = m_usim->m_resStar.copy();
sendNasMessage(resp); sendNasMessage(resp);
// 5.4.1.3.7, c) // 5.4.1.3.7, Item c)
restorePreviouslyStoppedAndSavedRetransmissionTimers(); // NOTE: Spec says UE shall start any retransmission timers previously stopped due to MAC failure
(void)0;
} }
else if (autnCheck == EAutnValidationRes::MAC_FAILURE) else if (autnCheck == EAutnValidationRes::MAC_FAILURE)
{ {
stopAndSaveRetransmissionTimers(); // 5.4.1.3.7, Item c)
// NOTE: Spec says UE shall stop any retransmission timers
(void)0;
m_timers->t3520.start(); m_timers->t3520.start();
sendFailure(nas::EMmCause::MAC_FAILURE); sendFailure(nas::EMmCause::MAC_FAILURE);
......
...@@ -167,8 +167,6 @@ class NasMm ...@@ -167,8 +167,6 @@ class NasMm
private: /* Timer */ private: /* Timer */
void onTimerExpire(nas::NasTimer &timer); void onTimerExpire(nas::NasTimer &timer);
void stopAndSaveRetransmissionTimers();
void restorePreviouslyStoppedAndSavedRetransmissionTimers();
public: public:
/* Interface */ /* Interface */
......
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