Commit 56458e72 authored by Lionel Gauthier's avatar Lionel Gauthier

debug info

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5622 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent b33359da
...@@ -628,24 +628,25 @@ int emm_proc_authentication(void *ctx, unsigned int ueid, int ksi, ...@@ -628,24 +628,25 @@ int emm_proc_authentication(void *ctx, unsigned int ueid, int ksi,
/**************************************************************************** /****************************************************************************
** ** ** **
** Name: emm_proc_authentication_complete() ** ** Name: emm_proc_authentication_complete() **
** ** ** **
** Description: Performs the authentication completion procedure executed ** ** Description: Performs the authentication completion procedure executed **
** by the network. ** ** by the network. **
** ** ** **
** 3GPP TS 24.301, section 5.4.2.4 ** ** 3GPP TS 24.301, section 5.4.2.4 **
** Upon receiving the AUTHENTICATION RESPONSE message, the ** ** Upon receiving the AUTHENTICATION RESPONSE message, the **
** MME shall stop timer T3460 and check the correctness of ** ** MME shall stop timer T3460 and check the correctness of **
** the RES parameter. ** ** the RES parameter. **
** ** ** **
** Inputs: ueid: UE lower layer identifier ** ** Inputs: ueid: UE lower layer identifier **
** emm_cause: Authentication failure EMM cause code ** ** emm_cause: Authentication failure EMM cause code **
** res: Authentication response parameter ** ** res: Authentication response parameter. or auts **
** Others: None ** ** in case of sync failure **
** Others: None **
** ** ** **
** Outputs: None ** ** Outputs: None **
** Return: RETURNok, RETURNerror ** ** Return: RETURNok, RETURNerror **
** Others: _emm_data, T3460 ** ** Others: _emm_data, T3460 **
** ** ** **
***************************************************************************/ ***************************************************************************/
int emm_proc_authentication_complete(unsigned int ueid, int emm_cause, int emm_proc_authentication_complete(unsigned int ueid, int emm_cause,
...@@ -709,6 +710,7 @@ int emm_proc_authentication_complete(unsigned int ueid, int emm_cause, ...@@ -709,6 +710,7 @@ int emm_proc_authentication_complete(unsigned int ueid, int emm_cause,
/* USIM has detected a mismatch in SQN. /* USIM has detected a mismatch in SQN.
* Ask for a new vector. * Ask for a new vector.
*/ */
LOG_TRACE(DEBUG, "EMM-PROC - USIM has detected a mismatch in SQN Ask for a new vector");
nas_itti_auth_info_req(ueid, emm_ctx->imsi, 0, res->value); nas_itti_auth_info_req(ueid, emm_ctx->imsi, 0, res->value);
rc = RETURNok; rc = RETURNok;
...@@ -717,6 +719,7 @@ int emm_proc_authentication_complete(unsigned int ueid, int emm_cause, ...@@ -717,6 +719,7 @@ int emm_proc_authentication_complete(unsigned int ueid, int emm_cause,
#endif #endif
default: default:
LOG_TRACE(DEBUG, "EMM-PROC - The MME received an authentication failure message or the RES does not match the XRES parameter computed by the network");
/* The MME received an authentication failure message or the RES /* The MME received an authentication failure message or the RES
* contained in the Authentication Response message received from * contained in the Authentication Response message received from
* the UE does not match the XRES parameter computed by the network */ * the UE does not match the XRES parameter computed by the network */
...@@ -733,6 +736,7 @@ int emm_proc_authentication_complete(unsigned int ueid, int emm_cause, ...@@ -733,6 +736,7 @@ int emm_proc_authentication_complete(unsigned int ueid, int emm_cause,
/* /*
* Notify EMM that the authentication procedure successfully completed * Notify EMM that the authentication procedure successfully completed
*/ */
LOG_TRACE(DEBUG, "EMM-PROC - Notify EMM that the authentication procedure successfully completed");
emm_sap.primitive = EMMREG_COMMON_PROC_CNF; emm_sap.primitive = EMMREG_COMMON_PROC_CNF;
emm_sap.u.emm_reg.ueid = ueid; emm_sap.u.emm_reg.ueid = ueid;
emm_sap.u.emm_reg.ctx = emm_ctx; emm_sap.u.emm_reg.ctx = emm_ctx;
......
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