view cdg211/cdginc/m_gmm.h @ 467:3285960cc1b9

romvecs-patch: experimental insert code written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Mar 2018 01:18:50 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_gmm.h                                                        |
| SOURCE  : "__out__\g23m_dfile\msg\gmm.mdf"                               |
| LastModified : "2003-08-18"                                              |
| IdAndVersion : "8441.603.02.013"                                         |
| SrcFileTime  : "Tue Aug 10 15:44:10 2004"                                |
| Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 2007                    |
|           !!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
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef M_GMM_H
#define M_GMM_H


#define CDG_ENTER__M_GMM_H

#define CDG_ENTER__FILENAME _M_GMM_H
#define CDG_ENTER__M_GMM_H__FILE_TYPE CDGINC
#define CDG_ENTER__M_GMM_H__LAST_MODIFIED _2003_08_18
#define CDG_ENTER__M_GMM_H__ID_AND_VERSION _8441_603_02_013

#define CDG_ENTER__M_GMM_H__SRC_FILE_TIME _Tue_Aug_10_15_44_10_2004

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_GMM_H

#undef CDG_ENTER__FILENAME


#include "m_gmm.val"

#include "m_rr_com.h"

/*
 * bitbuffer structure for the element sres_value
 */
#ifndef __T_BUF_sres_value__
#define __T_BUF_sres_value__
typedef struct
{
  U16 l_sres_value;
  U16 o_sres_value;
  U8  b_sres_value[8];
} BUF_sres_value; /* 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_authentication_parameter_rand__
#define __T_authentication_parameter_rand__
/*
 * Authentication parameter RAND
 * CCDGEN:WriteStruct_Count==628
 */
typedef struct
{
  U8                        rand_value[16];           /*<  0: 16> RAND value                                         */
} T_authentication_parameter_rand;
#endif

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

#ifndef __T_a_c_reference_number__
#define __T_a_c_reference_number__
/*
 * A&C reference number
 * CCDGEN:WriteStruct_Count==630
 */
typedef struct
{
  U8                        a_c_reference_number_value; /*<  0:  1> A&C reference number value                         */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_a_c_reference_number;
#endif

#ifndef __T_imeisv_request__
#define __T_imeisv_request__
/*
 * IMEISV request
 * CCDGEN:WriteStruct_Count==631
 */
typedef struct
{
  U8                        imeisv_request_value;     /*<  0:  1> IMEISV request value                               */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_imeisv_request;
#endif

#ifndef __T_ciphering_algorithm__
#define __T_ciphering_algorithm__
/*
 * Ciphering algorithm
 * CCDGEN:WriteStruct_Count==632
 */
typedef struct
{
  U8                        type_of_algorithm;        /*<  0:  1> Type of algorithm                                  */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_ciphering_algorithm;
#endif

#ifndef __T_authentication_parameter_sres__
#define __T_authentication_parameter_sres__
/*
 * Authentication parameter SRES
 * CCDGEN:WriteStruct_Count==633
 */
typedef struct
{
  BUF_sres_value            sres_value;               /*<  0: 12> SRES value                                         */
} T_authentication_parameter_sres;
#endif

#ifndef __T_identity_type_2__
#define __T_identity_type_2__
/*
 * Identity type 2
 * CCDGEN:WriteStruct_Count==634
 */
typedef struct
{
  U8                        type_of_identity_2;       /*<  0:  1> Type of identity 2                                 */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_identity_type_2;
#endif

#ifndef __T_routing_area_identification__
#define __T_routing_area_identification__
/*
 * Routing Area Identification
 * CCDGEN:WriteStruct_Count==635
 */
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                        rac;                      /*< 10:  1> Routing Area Code                                  */
  U8                        _align1;                  /*< 11:  1> alignment                                          */
} T_routing_area_identification;
#endif

#ifndef __T_update_type__
#define __T_update_type__
/*
 * Update type
 * CCDGEN:WriteStruct_Count==636
 */
typedef struct
{
  U8                        update_type_value;        /*<  0:  1> Update type value                                  */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_update_type;
#endif

#ifndef __T_result_gmm__
#define __T_result_gmm__
/*
 * Result
 * CCDGEN:WriteStruct_Count==637
 */
typedef struct
{
  U8                        result_value;             /*<  0:  1> result value                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_result_gmm;
#endif

#ifndef __T_mobile_identity__
#define __T_mobile_identity__
/*
 * Mobile Identity
 * CCDGEN:WriteStruct_Count==638
 */
typedef struct
{
  U8                        type_of_identity;         /*<  0:  1> Type of identity                                   */
  U8                        odd_even;                 /*<  1:  1> Odd Even indication                                */
  U8                        v_identity_digit;         /*<  2:  1> valid-flag                                         */
  U8                        c_identity_digit;         /*<  3:  1> counter                                            */
  U8                        identity_digit[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> P-TMSI or 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_mobile_identity;
#endif

/*
 * PTMSI mobile Identity
 * CCDGEN:WriteStruct_Count==639
 */
#ifndef __T_gmobile_identity__
#define __T_gmobile_identity__
typedef T_mobile_identity T_gmobile_identity;
#endif
#ifndef __T_attach_type__
#define __T_attach_type__
/*
 * Attach type
 * CCDGEN:WriteStruct_Count==640
 */
typedef struct
{
  U8                        type_of_attach;           /*<  0:  1> Type of attach                                     */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_attach_type;
#endif

#ifndef __T_d_detach_type__
#define __T_d_detach_type__
/*
 * Detach type (downlink)
 * CCDGEN:WriteStruct_Count==641
 */
typedef struct
{
  U8                        d_type_of_detach;         /*<  0:  1> Type of detach (downlink)                          */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_d_detach_type;
#endif

#ifndef __T_u_detach_type__
#define __T_u_detach_type__
/*
 * Detach type (uplink)
 * CCDGEN:WriteStruct_Count==642
 */
typedef struct
{
  U8                        power_off;                /*<  0:  1> Power off                                          */
  U8                        u_type_of_detach;         /*<  1:  1> Type of detach (uplink)                            */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_u_detach_type;
#endif

#ifndef __T_drx_parameter__
#define __T_drx_parameter__
/*
 * DRX parameter
 * CCDGEN:WriteStruct_Count==643
 */
typedef struct
{
  U8                        split_pg_cycle_code;      /*<  0:  1> SPLIT PG CYCLE CODE                                */
  U8                        split_on_ccch;            /*<  1:  1> SPLIT on CCCH                                      */
  U8                        non_drx_timer;            /*<  2:  1> non-DRX timer                                      */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_drx_parameter;
#endif

#ifndef __T_ready_timer__
#define __T_ready_timer__
/*
 * GPRS READY timer value
 * CCDGEN:WriteStruct_Count==644
 */
typedef struct
{
  U8                        timer_unit;               /*<  0:  1> timer unit                                         */
  U8                        timer_value;              /*<  1:  1> timer value                                        */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_ready_timer;
#endif

/*
 * GPRS RAU timer value
 * CCDGEN:WriteStruct_Count==645
 */
#ifndef __T_rau_timer__
#define __T_rau_timer__
typedef T_ready_timer T_rau_timer;
#endif
#ifndef __T_t3302__
#define __T_t3302__
/*
 * T3302
 * CCDGEN:WriteStruct_Count==646
 */
typedef struct
{
  U8                        timer_unit;               /*<  0:  1> timer unit                                         */
  U8                        timer_value;              /*<  1:  1> timer value                                        */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_t3302;
#endif

#ifndef __T_p_tmsi_signature__
#define __T_p_tmsi_signature__
/*
 * P-TMSI signature
 * CCDGEN:WriteStruct_Count==647
 */
typedef struct
{
  U32                       p_tmsi_signature_value;   /*<  0:  4> P-TMSI signature value                             */
} T_p_tmsi_signature;
#endif

#ifndef __T_force_to_standby__
#define __T_force_to_standby__
/*
 * Force to standby
 * CCDGEN:WriteStruct_Count==648
 */
typedef struct
{
  U8                        force_to_standby_value;   /*<  0:  1> Force to standby value                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_force_to_standby;
#endif

#ifndef __T_radio_priority__
#define __T_radio_priority__
/*
 * Radio priority
 * CCDGEN:WriteStruct_Count==649
 */
typedef struct
{
  U8                        radio_priority_level_value; /*<  0:  1> Radio priority level value                         */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_radio_priority;
#endif

#ifndef __T_gmm_cause__
#define __T_gmm_cause__
/*
 * GMM cause
 * CCDGEN:WriteStruct_Count==650
 */
typedef struct
{
  U8                        cause_value;              /*<  0:  1> Cause value                                        */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_gmm_cause;
#endif

#ifndef __T_receive_n_pdu_number_list_val__
#define __T_receive_n_pdu_number_list_val__
/*
 * Receive N-PDU Number List value
 * CCDGEN:WriteStruct_Count==651
 */
typedef struct
{
  U8                        nsapi;                    /*<  0:  1> NSAPI                                              */
  U8                        receive_n_pdu_number_val; /*<  1:  1> Receive N-PDU Number value                         */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_receive_n_pdu_number_list_val;
#endif

#ifndef __T_receive_n_pdu_number_list__
#define __T_receive_n_pdu_number_list__
/*
 * Receive N-PDU Number List
 * CCDGEN:WriteStruct_Count==652
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        c_receive_n_pdu_number_list_val; /*<  3:  1> counter                                            */
  T_receive_n_pdu_number_list_val receive_n_pdu_number_list_val[MAX_N_PDU_NUMBER_LIST]; /*<  4: 44> Receive N-PDU Number List value                    */
} T_receive_n_pdu_number_list;
#endif

#ifndef __T_full_network_name__
#define __T_full_network_name__
/*
 * Full network name
 * CCDGEN:WriteStruct_Count==653
 */
typedef struct
{
  U8                        code;                     /*<  0:  1> Coding scheme                                      */
  U8                        add_ci;                   /*<  1:  1> Add CI                                             */
  U8                        nr_sparebits;             /*<  2:  1> Number of spare bits in last octet                 */
  U8                        c_text_string;            /*<  3:  1> counter                                            */
  U8                        text_string[254];         /*<  4:254> Text string                                        */
  U8                        _align0;                  /*<258:  1> alignment                                          */
  U8                        _align1;                  /*<259:  1> alignment                                          */
} T_full_network_name;
#endif

/*
 * Short network name
 * CCDGEN:WriteStruct_Count==654
 */
#ifndef __T_short_network_name__
#define __T_short_network_name__
typedef T_full_network_name T_short_network_name;
#endif
#ifndef __T_time_zone__
#define __T_time_zone__
/*
 * Time Zone
 * CCDGEN:WriteStruct_Count==655
 */
typedef struct
{
  U8                        time_zone_value;          /*<  0:  1> Time zone value                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_time_zone;
#endif

#ifndef __T_time_zone_and_time__
#define __T_time_zone_and_time__
/*
 * Net time and time zone
 * CCDGEN:WriteStruct_Count==656
 */
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                        time_zone_value;          /*< 12:  1> Time zone value                                    */
  U8                        _align0;                  /*< 13:  1> alignment                                          */
  U8                        _align1;                  /*< 14:  1> alignment                                          */
  U8                        _align2;                  /*< 15:  1> alignment                                          */
} T_time_zone_and_time;
#endif

#ifndef __T_tmsi_status__
#define __T_tmsi_status__
/*
 * TMSI status
 * CCDGEN:WriteStruct_Count==657
 */
typedef struct
{
  U8                        tmsi_flag;                /*<  0:  1> TMSI flag                                          */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_tmsi_status;
#endif

#ifndef __T_ext_gea_bits__
#define __T_ext_gea_bits__
/*
 * Extended GEA bits
 * CCDGEN:WriteStruct_Count==658
 */
typedef struct
{
  U8                        gea_2;                    /*<  0:  1> GEA/2                                              */
  U8                        gea_3;                    /*<  1:  1> GEA/3                                              */
  U8                        gea_4;                    /*<  2:  1> GEA/4                                              */
  U8                        gea_5;                    /*<  3:  1> GEA/5                                              */
  U8                        gea_6;                    /*<  4:  1> GEA/6                                              */
  U8                        gea_7;                    /*<  5:  1> GEA/7                                              */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_ext_gea_bits;
#endif

#ifndef __T_ms_network_capability__
#define __T_ms_network_capability__
/*
 * MS Network Capability
 * CCDGEN:WriteStruct_Count==659
 */
typedef struct
{
  U8                        gea_1;                    /*<  0:  1> GEA/1                                              */
  U8                        sm_capabilities_gsm;      /*<  1:  1> Short message cap. via dedicated channels          */
  U8                        sm_capabilities_gprs;     /*<  2:  1> Short message capability via GPRS channels         */
  U8                        ucs2_support;             /*<  3:  1> UCS2 support                                       */
  U8                        ss_screening_indicator;   /*<  4:  1> SS Screening Indicator                             */
  U8                        solsa_capability;         /*<  5:  1> SoLSA Capability                                   */
  U8                        rev_level_ind;            /*<  6:  1> Revision level indicator                           */
  U8                        pfc_feature_mode;         /*<  7:  1> PFC feature mode                                   */
  T_ext_gea_bits            ext_gea_bits;             /*<  8:  8> Extended GEA bits                                  */
} T_ms_network_capability;
#endif

#ifndef __T_eqv_plmn__
#define __T_eqv_plmn__
/*
 * PLMN
 * CCDGEN:WriteStruct_Count==660
 */
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                                          */
} T_eqv_plmn;
#endif

#ifndef __T_eqv_plmn_list__
#define __T_eqv_plmn_list__
/*
 * PLMN list
 * CCDGEN:WriteStruct_Count==661
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        c_eqv_plmn;               /*<  3:  1> counter                                            */
  T_eqv_plmn                eqv_plmn[5];              /*<  4: 40> PLMN                                               */
} T_eqv_plmn_list;
#endif

#ifndef __T_cell_notification__
#define __T_cell_notification__
/*
 * Cell Notification
 * CCDGEN:WriteStruct_Count==662
 */
/* typedef void T_cell_notification;*/
#endif

/*
 * End of substructure section, begin of message definition section
 */

#ifndef __T_ATTACH_REQUEST__
#define __T_ATTACH_REQUEST__
/*
 * 
 * CCDGEN:WriteStruct_Count==663
 */
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_ms_network_capability   ms_network_capability;    /*<  4: 16> MS Network Capability                              */
  T_attach_type             attach_type;              /*< 20:  4> Attach type                                        */
  T_ciphering_key_sequence_number ciphering_key_sequence_number; /*< 24:  4> Ciphering Key Sequence Number                      */
  T_drx_parameter           drx_parameter;            /*< 28:  4> DRX parameter                                      */
  T_gmobile_identity        gmobile_identity;         /*< 32: 56> PTMSI mobile Identity                              */
  T_routing_area_identification routing_area_identification; /*< 88: 12> Routing Area Identification                        */
  T_ra_cap                  ra_cap;                   /*<100: 84> MS RA capability value part (type defined in "m_rr_com.h") */
  U8                        _align3;                  /*<184:  1> alignment                                          */
  U8                        _align4;                  /*<185:  1> alignment                                          */
  U8                        _align5;                  /*<186:  1> alignment                                          */
  U8                        v_p_tmsi_signature;       /*<187:  1> valid-flag                                         */
  T_p_tmsi_signature        p_tmsi_signature;         /*<188:  4> P-TMSI signature                                   */
  U8                        _align6;                  /*<192:  1> alignment                                          */
  U8                        _align7;                  /*<193:  1> alignment                                          */
  U8                        _align8;                  /*<194:  1> alignment                                          */
  U8                        v_ready_timer;            /*<195:  1> valid-flag                                         */
  T_ready_timer             ready_timer;              /*<196:  4> GPRS READY timer value                             */
  U8                        _align9;                  /*<200:  1> alignment                                          */
  U8                        _align10;                 /*<201:  1> alignment                                          */
  U8                        _align11;                 /*<202:  1> alignment                                          */
  U8                        v_tmsi_status;            /*<203:  1> valid-flag                                         */
  T_tmsi_status             tmsi_status;              /*<204:  4> TMSI status                                        */
} T_ATTACH_REQUEST;
#endif

#ifndef __T_ATTACH_ACCEPT__
#define __T_ATTACH_ACCEPT__
/*
 * 
 * CCDGEN:WriteStruct_Count==664
 */
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_result_gmm              result_gmm;               /*<  4:  4> Result                                             */
  T_force_to_standby        force_to_standby;         /*<  8:  4> Force to standby                                   */
  T_rau_timer               rau_timer;                /*< 12:  4> GPRS RAU timer value                               */
  T_radio_priority          radio_priority;           /*< 16:  4> Radio priority                                     */
  T_routing_area_identification routing_area_identification; /*< 20: 12> Routing Area Identification                        */
  U8                        _align3;                  /*< 32:  1> alignment                                          */
  U8                        _align4;                  /*< 33:  1> alignment                                          */
  U8                        _align5;                  /*< 34:  1> alignment                                          */
  U8                        v_p_tmsi_signature;       /*< 35:  1> valid-flag                                         */
  T_p_tmsi_signature        p_tmsi_signature;         /*< 36:  4> P-TMSI signature                                   */
  U8                        _align6;                  /*< 40:  1> alignment                                          */
  U8                        _align7;                  /*< 41:  1> alignment                                          */
  U8                        _align8;                  /*< 42:  1> alignment                                          */
  U8                        v_ready_timer;            /*< 43:  1> valid-flag                                         */
  T_ready_timer             ready_timer;              /*< 44:  4> GPRS READY timer value                             */
  U8                        _align9;                  /*< 48:  1> alignment                                          */
  U8                        _align10;                 /*< 49:  1> alignment                                          */
  U8                        _align11;                 /*< 50:  1> alignment                                          */
  U8                        v_gmobile_identity;       /*< 51:  1> valid-flag                                         */
  T_gmobile_identity        gmobile_identity;         /*< 52: 56> PTMSI mobile Identity                              */
  U8                        _align12;                 /*<108:  1> alignment                                          */
  U8                        _align13;                 /*<109:  1> alignment                                          */
  U8                        _align14;                 /*<110:  1> alignment                                          */
  U8                        v_mobile_identity;        /*<111:  1> valid-flag                                         */
  T_mobile_identity         mobile_identity;          /*<112: 56> Mobile Identity                                    */
  U8                        _align15;                 /*<168:  1> alignment                                          */
  U8                        _align16;                 /*<169:  1> alignment                                          */
  U8                        _align17;                 /*<170:  1> alignment                                          */
  U8                        v_gmm_cause;              /*<171:  1> valid-flag                                         */
  T_gmm_cause               gmm_cause;                /*<172:  4> GMM cause                                          */
  U8                        _align18;                 /*<176:  1> alignment                                          */
  U8                        _align19;                 /*<177:  1> alignment                                          */
  U8                        _align20;                 /*<178:  1> alignment                                          */
  U8                        v_t3302;                  /*<179:  1> valid-flag                                         */
  T_t3302                   t3302;                    /*<180:  4> T3302                                              */
  U8                        _align21;                 /*<184:  1> alignment                                          */
  U8                        _align22;                 /*<185:  1> alignment                                          */
  U8                        _align23;                 /*<186:  1> alignment                                          */
  U8                        v_cell_notification;      /*<187:  1> valid-flag                                         */
  U8                        _align24;                 /*<188:  1> alignment                                          */
  U8                        _align25;                 /*<189:  1> alignment                                          */
  U8                        _align26;                 /*<190:  1> alignment                                          */
  U8                        v_eqv_plmn_list;          /*<191:  1> valid-flag                                         */
  T_eqv_plmn_list           eqv_plmn_list;            /*<192: 44> PLMN list                                          */
} T_ATTACH_ACCEPT;
#endif

#ifndef __T_ATTACH_COMPLETE__
#define __T_ATTACH_COMPLETE__
/*
 * 
 * CCDGEN:WriteStruct_Count==665
 */
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_ATTACH_COMPLETE;
#endif

#ifndef __T_ATTACH_REJECT__
#define __T_ATTACH_REJECT__
/*
 * 
 * CCDGEN:WriteStruct_Count==666
 */
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_gmm_cause               gmm_cause;                /*<  4:  4> GMM cause                                          */
} T_ATTACH_REJECT;
#endif

#ifndef __T_D_DETACH_REQUEST__
#define __T_D_DETACH_REQUEST__
/*
 * 
 * CCDGEN:WriteStruct_Count==667
 */
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_detach_type           d_detach_type;            /*<  4:  4> Detach type (downlink)                             */
  T_force_to_standby        force_to_standby;         /*<  8:  4> Force to standby                                   */
  U8                        _align3;                  /*< 12:  1> alignment                                          */
  U8                        _align4;                  /*< 13:  1> alignment                                          */
  U8                        _align5;                  /*< 14:  1> alignment                                          */
  U8                        v_gmm_cause;              /*< 15:  1> valid-flag                                         */
  T_gmm_cause               gmm_cause;                /*< 16:  4> GMM cause                                          */
} T_D_DETACH_REQUEST;
#endif

#ifndef __T_U_DETACH_REQUEST__
#define __T_U_DETACH_REQUEST__
/*
 * 
 * CCDGEN:WriteStruct_Count==668
 */
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_u_detach_type           u_detach_type;            /*<  4:  4> Detach type (uplink)                               */
} T_U_DETACH_REQUEST;
#endif

#ifndef __T_U_DETACH_ACCEPT__
#define __T_U_DETACH_ACCEPT__
/*
 * 
 * CCDGEN:WriteStruct_Count==669
 */
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_U_DETACH_ACCEPT;
#endif

#ifndef __T_D_DETACH_ACCEPT__
#define __T_D_DETACH_ACCEPT__
/*
 * 
 * CCDGEN:WriteStruct_Count==670
 */
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_force_to_standby        force_to_standby;         /*<  4:  4> Force to standby                                   */
} T_D_DETACH_ACCEPT;
#endif

#ifndef __T_ROUTING_AREA_UPDATE_REQUEST__
#define __T_ROUTING_AREA_UPDATE_REQUEST__
/*
 * 
 * CCDGEN:WriteStruct_Count==671
 */
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_update_type             update_type;              /*<  4:  4> Update type                                        */
  T_ciphering_key_sequence_number ciphering_key_sequence_number; /*<  8:  4> Ciphering Key Sequence Number                      */
  T_routing_area_identification routing_area_identification; /*< 12: 12> Routing Area Identification                        */
  T_ra_cap                  ra_cap;                   /*< 24: 84> MS RA capability value part (type defined in "m_rr_com.h") */
  U8                        _align3;                  /*<108:  1> alignment                                          */
  U8                        _align4;                  /*<109:  1> alignment                                          */
  U8                        _align5;                  /*<110:  1> alignment                                          */
  U8                        v_p_tmsi_signature;       /*<111:  1> valid-flag                                         */
  T_p_tmsi_signature        p_tmsi_signature;         /*<112:  4> P-TMSI signature                                   */
  U8                        _align6;                  /*<116:  1> alignment                                          */
  U8                        _align7;                  /*<117:  1> alignment                                          */
  U8                        _align8;                  /*<118:  1> alignment                                          */
  U8                        v_ready_timer;            /*<119:  1> valid-flag                                         */
  T_ready_timer             ready_timer;              /*<120:  4> GPRS READY timer value                             */
  U8                        _align9;                  /*<124:  1> alignment                                          */
  U8                        _align10;                 /*<125:  1> alignment                                          */
  U8                        _align11;                 /*<126:  1> alignment                                          */
  U8                        v_drx_parameter;          /*<127:  1> valid-flag                                         */
  T_drx_parameter           drx_parameter;            /*<128:  4> DRX parameter                                      */
  U8                        _align12;                 /*<132:  1> alignment                                          */
  U8                        _align13;                 /*<133:  1> alignment                                          */
  U8                        _align14;                 /*<134:  1> alignment                                          */
  U8                        v_tmsi_status;            /*<135:  1> valid-flag                                         */
  T_tmsi_status             tmsi_status;              /*<136:  4> TMSI status                                        */
} T_ROUTING_AREA_UPDATE_REQUEST;
#endif

#ifndef __T_ROUTING_AREA_UPDATE_ACCEPT__
#define __T_ROUTING_AREA_UPDATE_ACCEPT__
/*
 * 
 * CCDGEN:WriteStruct_Count==672
 */
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_force_to_standby        force_to_standby;         /*<  4:  4> Force to standby                                   */
  T_result_gmm              result_gmm;               /*<  8:  4> Result                                             */
  T_rau_timer               rau_timer;                /*< 12:  4> GPRS RAU timer value                               */
  T_routing_area_identification routing_area_identification; /*< 16: 12> Routing Area Identification                        */
  U8                        _align3;                  /*< 28:  1> alignment                                          */
  U8                        _align4;                  /*< 29:  1> alignment                                          */
  U8                        _align5;                  /*< 30:  1> alignment                                          */
  U8                        v_p_tmsi_signature;       /*< 31:  1> valid-flag                                         */
  T_p_tmsi_signature        p_tmsi_signature;         /*< 32:  4> P-TMSI signature                                   */
  U8                        _align6;                  /*< 36:  1> alignment                                          */
  U8                        _align7;                  /*< 37:  1> alignment                                          */
  U8                        _align8;                  /*< 38:  1> alignment                                          */
  U8                        v_gmobile_identity;       /*< 39:  1> valid-flag                                         */
  T_gmobile_identity        gmobile_identity;         /*< 40: 56> PTMSI mobile Identity                              */
  U8                        _align9;                  /*< 96:  1> alignment                                          */
  U8                        _align10;                 /*< 97:  1> alignment                                          */
  U8                        _align11;                 /*< 98:  1> alignment                                          */
  U8                        v_mobile_identity;        /*< 99:  1> valid-flag                                         */
  T_mobile_identity         mobile_identity;          /*<100: 56> Mobile Identity                                    */
  U8                        _align12;                 /*<156:  1> alignment                                          */
  U8                        _align13;                 /*<157:  1> alignment                                          */
  U8                        _align14;                 /*<158:  1> alignment                                          */
  U8                        v_receive_n_pdu_number_list; /*<159:  1> valid-flag                                         */
  T_receive_n_pdu_number_list receive_n_pdu_number_list; /*<160: 48> Receive N-PDU Number List                          */
  U8                        _align15;                 /*<208:  1> alignment                                          */
  U8                        _align16;                 /*<209:  1> alignment                                          */
  U8                        _align17;                 /*<210:  1> alignment                                          */
  U8                        v_ready_timer;            /*<211:  1> valid-flag                                         */
  T_ready_timer             ready_timer;              /*<212:  4> GPRS READY timer value                             */
  U8                        _align18;                 /*<216:  1> alignment                                          */
  U8                        _align19;                 /*<217:  1> alignment                                          */
  U8                        _align20;                 /*<218:  1> alignment                                          */
  U8                        v_gmm_cause;              /*<219:  1> valid-flag                                         */
  T_gmm_cause               gmm_cause;                /*<220:  4> GMM cause                                          */
  U8                        _align21;                 /*<224:  1> alignment                                          */
  U8                        _align22;                 /*<225:  1> alignment                                          */
  U8                        _align23;                 /*<226:  1> alignment                                          */
  U8                        v_t3302;                  /*<227:  1> valid-flag                                         */
  T_t3302                   t3302;                    /*<228:  4> T3302                                              */
  U8                        _align24;                 /*<232:  1> alignment                                          */
  U8                        _align25;                 /*<233:  1> alignment                                          */
  U8                        _align26;                 /*<234:  1> alignment                                          */
  U8                        v_cell_notification;      /*<235:  1> valid-flag                                         */
  U8                        _align27;                 /*<236:  1> alignment                                          */
  U8                        _align28;                 /*<237:  1> alignment                                          */
  U8                        _align29;                 /*<238:  1> alignment                                          */
  U8                        v_eqv_plmn_list;          /*<239:  1> valid-flag                                         */
  T_eqv_plmn_list           eqv_plmn_list;            /*<240: 44> PLMN list                                          */
} T_ROUTING_AREA_UPDATE_ACCEPT;
#endif

#ifndef __T_ROUTING_AREA_UPDATE_COMPLETE__
#define __T_ROUTING_AREA_UPDATE_COMPLETE__
/*
 * 
 * CCDGEN:WriteStruct_Count==673
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_receive_n_pdu_number_list; /*<  3:  1> valid-flag                                         */
  T_receive_n_pdu_number_list receive_n_pdu_number_list; /*<  4: 48> Receive N-PDU Number List                          */
} T_ROUTING_AREA_UPDATE_COMPLETE;
#endif

#ifndef __T_ROUTING_AREA_UPDATE_REJECT__
#define __T_ROUTING_AREA_UPDATE_REJECT__
/*
 * 
 * CCDGEN:WriteStruct_Count==674
 */
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_gmm_cause               gmm_cause;                /*<  4:  4> GMM cause                                          */
  T_force_to_standby        force_to_standby;         /*<  8:  4> Force to standby                                   */
} T_ROUTING_AREA_UPDATE_REJECT;
#endif

#ifndef __T_P_TMSI_REALLOCATION_COMMAND__
#define __T_P_TMSI_REALLOCATION_COMMAND__
/*
 * 
 * CCDGEN:WriteStruct_Count==675
 */
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_gmobile_identity        gmobile_identity;         /*<  4: 56> PTMSI mobile Identity                              */
  T_routing_area_identification routing_area_identification; /*< 60: 12> Routing Area Identification                        */
  T_force_to_standby        force_to_standby;         /*< 72:  4> Force to standby                                   */
  U8                        _align3;                  /*< 76:  1> alignment                                          */
  U8                        _align4;                  /*< 77:  1> alignment                                          */
  U8                        _align5;                  /*< 78:  1> alignment                                          */
  U8                        v_p_tmsi_signature;       /*< 79:  1> valid-flag                                         */
  T_p_tmsi_signature        p_tmsi_signature;         /*< 80:  4> P-TMSI signature                                   */
} T_P_TMSI_REALLOCATION_COMMAND;
#endif

#ifndef __T_P_TMSI_REALLOCATION_COMPLETE__
#define __T_P_TMSI_REALLOCATION_COMPLETE__
/*
 * 
 * CCDGEN:WriteStruct_Count==676
 */
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_P_TMSI_REALLOCATION_COMPLETE;
#endif

#ifndef __T_AUTHENTICATION_AND_CIPHERING_REQUEST__
#define __T_AUTHENTICATION_AND_CIPHERING_REQUEST__
/*
 * 
 * CCDGEN:WriteStruct_Count==677
 */
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_ciphering_algorithm     ciphering_algorithm;      /*<  4:  4> Ciphering algorithm                                */
  T_imeisv_request          imeisv_request;           /*<  8:  4> IMEISV request                                     */
  T_force_to_standby        force_to_standby;         /*< 12:  4> Force to standby                                   */
  T_a_c_reference_number    a_c_reference_number;     /*< 16:  4> A&C reference number                               */
  U8                        _align3;                  /*< 20:  1> alignment                                          */
  U8                        _align4;                  /*< 21:  1> alignment                                          */
  U8                        _align5;                  /*< 22:  1> alignment                                          */
  U8                        v_authentication_parameter_rand; /*< 23:  1> valid-flag                                         */
  T_authentication_parameter_rand authentication_parameter_rand; /*< 24: 16> Authentication parameter RAND                      */
  U8                        _align6;                  /*< 40:  1> alignment                                          */
  U8                        _align7;                  /*< 41:  1> alignment                                          */
  U8                        _align8;                  /*< 42:  1> alignment                                          */
  U8                        v_ciphering_key_sequence_number; /*< 43:  1> valid-flag                                         */
  T_ciphering_key_sequence_number ciphering_key_sequence_number; /*< 44:  4> Ciphering Key Sequence Number                      */
} T_AUTHENTICATION_AND_CIPHERING_REQUEST;
#endif

#ifndef __T_AUTHENTICATION_AND_CIPHERING_RESPONSE__
#define __T_AUTHENTICATION_AND_CIPHERING_RESPONSE__
/*
 * 
 * CCDGEN:WriteStruct_Count==678
 */
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_a_c_reference_number    a_c_reference_number;     /*<  4:  4> A&C reference number                               */
  U8                        _align3;                  /*<  8:  1> alignment                                          */
  U8                        _align4;                  /*<  9:  1> alignment                                          */
  U8                        _align5;                  /*< 10:  1> alignment                                          */
  U8                        v_authentication_parameter_sres; /*< 11:  1> valid-flag                                         */
  T_authentication_parameter_sres authentication_parameter_sres; /*< 12: 12> Authentication parameter SRES                      */
  U8                        _align6;                  /*< 24:  1> alignment                                          */
  U8                        _align7;                  /*< 25:  1> alignment                                          */
  U8                        _align8;                  /*< 26:  1> alignment                                          */
  U8                        v_gmobile_identity;       /*< 27:  1> valid-flag                                         */
  T_gmobile_identity        gmobile_identity;         /*< 28: 56> PTMSI mobile Identity                              */
} T_AUTHENTICATION_AND_CIPHERING_RESPONSE;
#endif

#ifndef __T_AUTHENTICATION_AND_CIPHERING_REJECT__
#define __T_AUTHENTICATION_AND_CIPHERING_REJECT__
/*
 * 
 * CCDGEN:WriteStruct_Count==679
 */
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_AUTHENTICATION_AND_CIPHERING_REJECT;
#endif

#ifndef __T_IDENTITY_REQUEST__
#define __T_IDENTITY_REQUEST__
/*
 * 
 * CCDGEN:WriteStruct_Count==680
 */
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_identity_type_2         identity_type_2;          /*<  4:  4> Identity type 2                                    */
  T_force_to_standby        force_to_standby;         /*<  8:  4> Force to standby                                   */
} T_IDENTITY_REQUEST;
#endif

#ifndef __T_IDENTITY_RESPONSE__
#define __T_IDENTITY_RESPONSE__
/*
 * 
 * CCDGEN:WriteStruct_Count==681
 */
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_gmobile_identity        gmobile_identity;         /*<  4: 56> PTMSI mobile Identity                              */
} T_IDENTITY_RESPONSE;
#endif

#ifndef __T_GMM_STATUS__
#define __T_GMM_STATUS__
/*
 * 
 * CCDGEN:WriteStruct_Count==682
 */
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_gmm_cause               gmm_cause;                /*<  4:  4> GMM cause                                          */
} T_GMM_STATUS;
#endif

#ifndef __T_GMM_INFORMATION__
#define __T_GMM_INFORMATION__
/*
 * 
 * CCDGEN:WriteStruct_Count==683
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        v_full_network_name;      /*<  3:  1> valid-flag                                         */
  T_full_network_name       full_network_name;        /*<  4:260> Full network name                                  */
  U8                        _align2;                  /*<264:  1> alignment                                          */
  U8                        _align3;                  /*<265:  1> alignment                                          */
  U8                        _align4;                  /*<266:  1> alignment                                          */
  U8                        v_short_network_name;     /*<267:  1> valid-flag                                         */
  T_short_network_name      short_network_name;       /*<268:260> Short network name                                 */
  U8                        _align5;                  /*<528:  1> alignment                                          */
  U8                        _align6;                  /*<529:  1> alignment                                          */
  U8                        _align7;                  /*<530:  1> alignment                                          */
  U8                        v_time_zone;              /*<531:  1> valid-flag                                         */
  T_time_zone               time_zone;                /*<532:  4> Time Zone                                          */
  U8                        _align8;                  /*<536:  1> alignment                                          */
  U8                        _align9;                  /*<537:  1> alignment                                          */
  U8                        _align10;                 /*<538:  1> alignment                                          */
  U8                        v_time_zone_and_time;     /*<539:  1> valid-flag                                         */
  T_time_zone_and_time      time_zone_and_time;       /*<540: 16> Net time and time zone                             */
} T_GMM_INFORMATION;
#endif


#include "CDG_LEAVE.h"


#endif