⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m_mm.h

📁 GSM手机设计软件代码
💻 H
📖 第 1 页 / 共 2 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : M_MM.h                                                         |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\msg\MM.mdf"                     |
| LastModified : "19 April, 2002"                                          |
| IdAndVersion : "6147.602.02.105"                                         |
| SrcFileTime  : "Thu Aug 14 00:00:00 2003"                                |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:17 2003                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 */


#ifndef M_MM_H
#define M_MM_H


#define CDG_ENTER__M_MM_H

#define CDG_ENTER__FILENAME _M_MM_H
#define CDG_ENTER__M_MM_H__FILE_TYPE CDGINC
#define CDG_ENTER__M_MM_H__LAST_MODIFIED _19_April_2002
#define CDG_ENTER__M_MM_H__ID_AND_VERSION _6147_602_02_105

#define CDG_ENTER__M_MM_H__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_MM_H

#undef CDG_ENTER__FILENAME


#include "M_MM.val"

#include "M_RR_COM.h"

/*
 * bitbuffer structure for the element auth_sres
 */
#ifndef __T_BUF_auth_sres__
#define __T_BUF_auth_sres__
typedef struct
{
  U16 l_auth_sres;
  U16 o_auth_sres;
  U8  b_auth_sres[8];
} BUF_auth_sres; /* size <12> */
#endif
/*
 * bitbuffer structure for the element tmsi
 */
#ifndef __T_BUF_tmsi__
#define __T_BUF_tmsi__
typedef struct
{
  U16 l_tmsi;
  U16 o_tmsi;
  U8  b_tmsi[8];
} BUF_tmsi; /* size <12> */
#endif
#ifndef __T_auth_rand__
#define __T_auth_rand__
/*
 * Authentication parameter RAND
 * CCDGEN:WriteStruct_Count==192
 */
typedef struct
{
  U8                        c_rand;                   /*<  0:  1> counter                                            */
  U8                        rand[16];                 /*<  1: 16> RAND value                                         */
  U8                        _align0;                  /*< 17:  1> alignment                                          */
  U8                        _align1;                  /*< 18:  1> alignment                                          */
  U8                        _align2;                  /*< 19:  1> alignment                                          */
} T_auth_rand;
#endif

#ifndef __T_ciph_key_num__
#define __T_ciph_key_num__
/*
 * Ciphering Key Sequence Number
 * CCDGEN:WriteStruct_Count==193
 */
typedef struct
{
  U8                        key_seq;                  /*<  0:  1> key sequence                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_ciph_key_num;
#endif

#ifndef __T_follow_proceed__
#define __T_follow_proceed__
/*
 * Follow on proceed
 * CCDGEN:WriteStruct_Count==194
 */
/* typedef void T_follow_proceed;*/
#endif
#ifndef __T_ident__
#define __T_ident__
/*
 * Identity type
 * CCDGEN:WriteStruct_Count==195
 */
typedef struct
{
  U8                        ident_type;               /*<  0:  1> Type of identity                                   */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_ident;
#endif

#ifndef __T_loc_area_ident__
#define __T_loc_area_ident__
/*
 * Location Area Identification
 * CCDGEN:WriteStruct_Count==196
 */
typedef struct
{
  U8                        mcc[3];                   /*<  0:  3> Mobile Country Code                                */
  U8                        c_mnc;                    /*<  3:  1> counter                                            */
  U8                        mnc[3];                   /*<  4:  3> Mobile Network Code                                */
  U8                        _align0;                  /*<  7:  1> alignment                                          */
  U16                       lac;                      /*<  8:  2> Location Area Code                                 */
  U8                        _align1;                  /*< 10:  1> alignment                                          */
  U8                        _align2;                  /*< 11:  1> alignment                                          */
} T_loc_area_ident;
#endif

#ifndef __T_loc_upd_type__
#define __T_loc_upd_type__
/*
 * Location updating type
 * CCDGEN:WriteStruct_Count==197
 */
typedef struct
{
  U8                        follow;                   /*<  0:  1> Follow on request                                  */
  U8                        lut;                      /*<  1:  1> Location updating type                             */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_loc_upd_type;
#endif

#ifndef __T_mob_id__
#define __T_mob_id__
/*
 * Mobile Identity
 * CCDGEN:WriteStruct_Count==198
 */
typedef struct
{
  U8                        ident_type;               /*<  0:  1> Type of identity                                   */
  U8                        odd_even;                 /*<  1:  1> Odd Even indicaction                               */
  U8                        v_ident_dig;              /*<  2:  1> valid-flag                                         */
  U8                        c_ident_dig;              /*<  3:  1> counter                                            */
  U8                        ident_dig[16];            /*<  4: 16> Identity digit                                     */
  U8                        _align0;                  /*< 20:  1> alignment                                          */
  U8                        _align1;                  /*< 21:  1> alignment                                          */
  U8                        _align2;                  /*< 22:  1> alignment                                          */
  U8                        v_tmsi;                   /*< 23:  1> valid-flag                                         */
  BUF_tmsi                  tmsi;                     /*< 24: 12> TMSI                                               */
  U8                        v_dmy;                    /*< 36:  1> valid-flag                                         */
  U8                        c_dmy;                    /*< 37:  1> counter                                            */
  U8                        dmy[16];                  /*< 38: 16> Dummy                                              */
  U8                        _align3;                  /*< 54:  1> alignment                                          */
  U8                        _align4;                  /*< 55:  1> alignment                                          */
} T_mob_id;
#endif

#ifndef __T_pd_and_sapi__
#define __T_pd_and_sapi__
/*
 * PD and SAPI
 * CCDGEN:WriteStruct_Count==199
 */
typedef struct
{
  U8                        sapi;                     /*<  0:  1> SAPI                                               */
  U8                        pd;                       /*<  1:  1> PD                                                 */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_pd_and_sapi;
#endif

#ifndef __T_full_net_name__
#define __T_full_net_name__
/*
 * Full Network Name
 * CCDGEN:WriteStruct_Count==200
 */
typedef struct
{
  U8                        cs;                       /*<  0:  1> Coding Scheme                                      */
  U8                        add_ci;                   /*<  1:  1> Add Country Information                            */
  U8                        num_spare;                /*<  2:  1> Number of spare bits                               */
  U8                        c_text;                   /*<  3:  1> counter                                            */
  U8                        text[MAXNAME];            /*<  4: 40> text string                                        */
} T_full_net_name;
#endif

#ifndef __T_short_net_name__
#define __T_short_net_name__
typedef T_full_net_name T_short_net_name;
#endif

#ifndef __T_net_tz__
#define __T_net_tz__
/*
 * Network Time Zone
 * CCDGEN:WriteStruct_Count==201
 */
typedef struct
{
  U8                        tz;                       /*<  0:  1> time zone                                          */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_net_tz;
#endif

#ifndef __T_net_tz_and_time__
#define __T_net_tz_and_time__
/*
 * Network Time Zone and Time
 * CCDGEN:WriteStruct_Count==202
 */
typedef struct
{
  U8                        year[2];                  /*<  0:  2> year                                               */
  U8                        month[2];                 /*<  2:  2> month                                              */
  U8                        day[2];                   /*<  4:  2> day                                                */
  U8                        hour[2];                  /*<  6:  2> hour                                               */
  U8                        minute[2];                /*<  8:  2> minute                                             */
  U8                        second[2];                /*< 10:  2> second                                             */
  U8                        tz;                       /*< 12:  1> time zone                                          */
  U8                        _align0;                  /*< 13:  1> alignment                                          */
  U8                        _align1;                  /*< 14:  1> alignment                                          */
  U8                        _align2;                  /*< 15:  1> alignment                                          */
} T_net_tz_and_time;
#endif

#ifndef __T_D_ABORT__
#define __T_D_ABORT__
/*
 * 
 * CCDGEN:WriteStruct_Count==203
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        rej_cause;                /*<  1:  1> Reject cause                                       */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_D_ABORT;
#endif

#ifndef __T_D_AUTH_REJ__
#define __T_D_AUTH_REJ__
/*
 * 
 * CCDGEN:WriteStruct_Count==204
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_D_AUTH_REJ;
#endif

#ifndef __T_D_AUTH_REQ__
#define __T_D_AUTH_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==205
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  T_ciph_key_num            ciph_key_num;             /*<  4:  4> Ciphering Key Sequence Number                      */
  T_auth_rand               auth_rand;                /*<  8: 20> Authentication parameter RAND                      */
} T_D_AUTH_REQ;
#endif

#ifndef __T_U_AUTH_RES__
#define __T_U_AUTH_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==206

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -