- Fix build for standalone NAS
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4618 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -1962,9 +1962,9 @@ static int _emm_attach_identify(void *args)
|
||||
auth_vector_t *auth = &emm_ctx->vector;
|
||||
const OctetString loc_rand = {AUTH_RAND_SIZE, (uint8_t *)auth->rand};
|
||||
const OctetString autn = {AUTH_AUTN_SIZE, (uint8_t *)auth->autn};
|
||||
rc = emm_proc_authentication(emm_ctx->ueid, 0, // TODO: eksi != 0
|
||||
rc = emm_proc_authentication(emm_ctx, emm_ctx->ueid, 0, // TODO: eksi != 0
|
||||
&loc_rand, &autn,
|
||||
emm_attach_security,
|
||||
_emm_attach_security,
|
||||
_emm_attach_release,
|
||||
_emm_attach_release);
|
||||
if (rc != RETURNok) {
|
||||
|
||||
@@ -20,6 +20,8 @@ Description
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(EPC_BUILD)
|
||||
|
||||
#include "nas_log.h"
|
||||
#include "commonDef.h"
|
||||
|
||||
@@ -132,3 +134,4 @@ int emm_cn_send(const emm_cn_t *msg)
|
||||
|
||||
LOG_FUNC_RETURN (rc);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -23,6 +23,8 @@ Description
|
||||
#ifndef _EMM_CN_H_
|
||||
#define _EMM_CN_H_
|
||||
|
||||
#if defined(EPC_BUILD)
|
||||
int emm_cn_send(const emm_cn_t *msg);
|
||||
#endif
|
||||
|
||||
#endif /* _EMM_CN_H_ */
|
||||
|
||||
@@ -18,7 +18,9 @@ Description
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
#if defined(EPC_BUILD)
|
||||
#include "intertask_interface.h"
|
||||
#endif
|
||||
|
||||
#ifndef __EMM_CNDEF_H__
|
||||
#define __EMM_CNDEF_H__
|
||||
@@ -32,10 +34,10 @@ typedef enum emmcn_primitive_s {
|
||||
_EMMCN_END
|
||||
} emm_cn_primitive_t;
|
||||
|
||||
#if defined(EPC_BUILD)
|
||||
typedef nas_auth_param_rsp_t emm_cn_auth_res_t;
|
||||
typedef nas_auth_param_fail_t emm_cn_auth_fail_t;
|
||||
|
||||
#if defined(EPC_BUILD)
|
||||
typedef struct emm_mme_ul_s {
|
||||
emm_cn_primitive_t primitive;
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user