view cdg3/cdginc-locosto/p_gmmrr.h @ 639:026c98f757a6

tpudrv12.h & targets/gtm900.h: our current support is for MGC2GSMT version only As it turns out, there exist two different Huawei-made hw platforms both bearing the marketing name GTM900-B: one is MG01GSMT, the other is MGC2GSMT. The two are NOT fw-compatible: aside from flash chip differences which should be handled by autodetection, the two hw platforms are already known to have different RFFEs with different control signals, and there may be other differences not yet known. Our current gtm900 build target is for MGC2GSMT only; we do not yet have a specimen of MG01GSMT on hand, hence no support for that version will be possible until and unless someone provides one.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 18:19:01 +0000
parents c15047b3d00d
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_gmmrr.h                                                      |
| SOURCE  : "sap\gmmrr.pdf"                                                |
| LastModified : "2003-09-02"                                              |
| IdAndVersion : "8441.101.03.025"                                         |
| SrcFileTime  : "Thu Nov 29 09:42:28 2007"                                |
| Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014                   |
|           !!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 P_GMMRR_H
#define P_GMMRR_H


#define CDG_ENTER__P_GMMRR_H

#define CDG_ENTER__FILENAME _P_GMMRR_H
#define CDG_ENTER__P_GMMRR_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_GMMRR_H__LAST_MODIFIED _2003_09_02
#define CDG_ENTER__P_GMMRR_H__ID_AND_VERSION _8441_101_03_025

#define CDG_ENTER__P_GMMRR_H__SRC_FILE_TIME _Thu_Nov_29_09_42_28_2007

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_GMMRR_H

#undef CDG_ENTER__FILENAME


#include "p_gmmrr.val"

#ifndef __T_imsi__
#define __T_imsi__
/*
 * mobile identity
 * CCDGEN:WriteStruct_Count==1592
 */
typedef struct
{
  U8                        v_mid;                    /*<  0:  1> valid flag                                         */
  U8                        id_type;                  /*<  1:  1> type of identity                                   */
  U8                        id[MAX_DIGITS];           /*<  2: 16> IMSI digits                                        */
  U8                        _align0;                  /*< 18:  1> alignment                                          */
  U8                        _align1;                  /*< 19:  1> alignment                                          */
  U32                       tmsi_dig;                 /*< 20:  4> TMSI digits                                        */
} T_imsi;
#endif

#ifndef __T_plmn__
#define __T_plmn__
/*
 * PLMN identification
 * CCDGEN:WriteStruct_Count==1593
 */
typedef struct
{
  U8                        v_plmn;                   /*<  0:  1> Valid Flag                                         */
  U8                        mcc[SIZE_MCC];            /*<  1:  3> Mobile Country Code                                */
  U8                        mnc[SIZE_MNC];            /*<  4:  3> Mobile Network Code                                */
  U8                        _align0;                  /*<  7:  1> alignment                                          */
} T_plmn;
#endif

#ifndef __T_rai__
#define __T_rai__
/*
 * routing area identifier
 * CCDGEN:WriteStruct_Count==1594
 */
typedef struct
{
  T_plmn                    plmn;                     /*<  0:  8> PLMN identification                                */
  U16                       lac;                      /*<  8:  2> location area code                                 */
  U8                        rac;                      /*< 10:  1> routing area code                                  */
  U8                        _align0;                  /*< 11:  1> alignment                                          */
} T_rai;
#endif

#ifndef __T_cell_env__
#define __T_cell_env__
/*
 * current location of the mobile equipment
 * CCDGEN:WriteStruct_Count==1595
 */
typedef struct
{
  T_rai                     rai;                      /*<  0: 12> routing area identifier                            */
  U16                       cid;                      /*< 12:  2> cell identification                                */
  U8                        _align0;                  /*< 14:  1> alignment                                          */
  U8                        _align1;                  /*< 15:  1> alignment                                          */
} T_cell_env;
#endif

#ifndef __T_cell_info__
#define __T_cell_info__
/*
 * Cell information
 * CCDGEN:WriteStruct_Count==1596
 */
typedef struct
{
  T_cell_env                cell_env;                 /*<  0: 16> current location of the mobile equipment           */
  U8                        service_state;            /*< 16:  1> Service state                                      */
  U8                        net_mode;                 /*< 17:  1> Network operation mode                             */
  U8                        rt;                       /*< 18:  1> This parameter indicates the radio access technology available in the cell.  */
  U8                        _align0;                  /*< 19:  1> alignment                                          */
} T_cell_info;
#endif


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

#ifndef __T_GMMRR_ASSIGN_REQ__
#define __T_GMMRR_ASSIGN_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1597
 */
typedef struct
{
  U32                       old_tlli;                 /*<  0:  4> old temporary logical link identifier              */
  U32                       new_tlli;                 /*<  4:  4> new temporary logical link identifier              */
  U32                       old_ptmsi;                /*<  8:  4> old ptmsi                                          */
  U32                       new_ptmsi;                /*< 12:  4> new ptmsi                                          */
  T_imsi                    imsi;                     /*< 16: 24> mobile identity                                    */
  T_rai                     rai;                      /*< 40: 12> routing area identifier                            */
} T_GMMRR_ASSIGN_REQ;
#endif

#ifndef __T_GMMRR_ENABLE_REQ__
#define __T_GMMRR_ENABLE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1598
 */
typedef struct
{
  U8                        mobile_class;             /*<  0:  1> Mobile Class                                       */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       acc_contr_class;          /*<  2:  2> Access Control Class                               */
  U16                       split_pg_cycle;           /*<  4:  2> Split paging cycle (the value, NOT the code)       */
  U8                        spgc_ccch_supp;           /*<  6:  1> Split paging cycle support on CCCH                 */
  U8                        gmmrr_non_drx_timer;      /*<  7:  1> non-DRX timer                                      */
} T_GMMRR_ENABLE_REQ;
#endif

#ifndef __T_GMMRR_DISABLE_REQ__
#define __T_GMMRR_DISABLE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1599
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_DISABLE_REQ;
#endif

#ifndef __T_GMMRR_CELL_IND__
#define __T_GMMRR_CELL_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1600
 */
typedef struct
{
  T_cell_info               cell_info;                /*<  0: 20> Cell information                                   */
} T_GMMRR_CELL_IND;
#endif

#ifndef __T_GMMRR_READY_REQ__
#define __T_GMMRR_READY_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1601
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_READY_REQ;
#endif

#ifndef __T_GMMRR_STANDBY_REQ__
#define __T_GMMRR_STANDBY_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1602
 */
typedef struct
{
  U8                        standby_cause;            /*<  0:  1> standby cause                                      */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_GMMRR_STANDBY_REQ;
#endif

#ifndef __T_GMMRR_PAGE_IND__
#define __T_GMMRR_PAGE_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1603
 */
typedef struct
{
  U8                        page_id;                  /*<  0:  1> Page ID                                            */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_GMMRR_PAGE_IND;
#endif

#ifndef __T_GMMRR_CS_PAGE_IND__
#define __T_GMMRR_CS_PAGE_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1604
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_CS_PAGE_IND;
#endif

#ifndef __T_GMMRR_CS_PAGE_RES__
#define __T_GMMRR_CS_PAGE_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==1605
 */
typedef struct
{
  U8                        response;                 /*<  0:  1> CS Paging respnonse                                */
  U8                        susp_gprs;                /*<  1:  1> suspend GPRS                                       */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_GMMRR_CS_PAGE_RES;
#endif

#ifndef __T_GMMRR_SUSPEND_REQ__
#define __T_GMMRR_SUSPEND_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1606
 */
typedef struct
{
  U8                        susp_gprs;                /*<  0:  1> suspend GPRS                                       */
  U8                        gmmrr_susp_cause;         /*<  1:  1> suspension cause                                   */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_GMMRR_SUSPEND_REQ;
#endif

#ifndef __T_GMMRR_SUSPEND_CNF__
#define __T_GMMRR_SUSPEND_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1607
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_SUSPEND_CNF;
#endif

#ifndef __T_GMMRR_RESUME_REQ__
#define __T_GMMRR_RESUME_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1608
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_RESUME_REQ;
#endif

#ifndef __T_GMMRR_ATTACH_STARTED_REQ__
#define __T_GMMRR_ATTACH_STARTED_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1609
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_ATTACH_STARTED_REQ;
#endif

#ifndef __T_GMMRR_ATTACH_FINISHED_REQ__
#define __T_GMMRR_ATTACH_FINISHED_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1610
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_ATTACH_FINISHED_REQ;
#endif

#ifndef __T_GMMRR_CELL_RES__
#define __T_GMMRR_CELL_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==1611
 */
typedef struct
{
  U8                        cu_cause;                 /*<  0:  1> Cell Update Cause                                  */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_GMMRR_CELL_RES;
#endif

#ifndef __T_GMMRR_CR_IND__
#define __T_GMMRR_CR_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1612
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_GMMRR_CR_IND;
#endif


#include "CDG_LEAVE.h"


#endif