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

📄 p_mph.h

📁 GSM手机设计软件代码
💻 H
📖 第 1 页 / 共 3 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : P_MPH.h                                                        |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\prim\MPH.pdf"                   |
| LastModified : "February 4, 2003"                                        |
| IdAndVersion : "6148.109.01.206"                                         |
| SrcFileTime  : "Thu Aug 14 00:00:00 2003"                                |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:18 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 P_MPH_H
#define P_MPH_H


#define CDG_ENTER__P_MPH_H

#define CDG_ENTER__FILENAME _P_MPH_H
#define CDG_ENTER__P_MPH_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_MPH_H__LAST_MODIFIED _February_4_2003
#define CDG_ENTER__P_MPH_H__ID_AND_VERSION _6148_109_01_206

#define CDG_ENTER__P_MPH_H__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_MPH_H

#undef CDG_ENTER__FILENAME


#include "P_MPH.val"

#ifndef __T_cod_prop__
#define __T_cod_prop__
/*
 * codec properties
 * CCDGEN:WriteStruct_Count==1085
 */
typedef struct
{
  U8                        codec_thr;                /*<  0:  1> Codec threshold                                    */
  U8                        codec_hyst;               /*<  1:  1> Codec hysteresis                                   */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_cod_prop;
#endif

#ifndef __T_classmark__
#define __T_classmark__
/*
 * classmark
 * CCDGEN:WriteStruct_Count==1086
 */
typedef struct
{
  U8                        pclass;                   /*<  0:  1> power class                                        */
  U8                        pclass2;                  /*<  1:  1> power class 2                                      */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_classmark;
#endif

#ifndef __T_ho_param__
#define __T_ho_param__
/*
 * handover parameter
 * CCDGEN:WriteStruct_Count==1087
 */
typedef struct
{
  U8                        ho_ref;                   /*<  0:  1> reference                                          */
  U8                        ho_pow;                   /*<  1:  1> transmission power level                           */
  U8                        ho_acc_type;              /*<  2:  1> access type                                        */
  U8                        ho_nci;                   /*<  3:  1> normal cell indication                             */
} T_ho_param;
#endif

#ifndef __T_mid__
#define __T_mid__
/*
 * Mobile identities
 * CCDGEN:WriteStruct_Count==1088
 */
typedef struct
{
  U8                        len_imsi;                 /*<  0:  1> Length of IMSI                                     */
  U8                        imsi[15];                 /*<  1: 15> IMSI digits                                        */
  U8                        v_tmsi;                   /*< 16:  1> Valid TMSI flag                                    */
  U8                        _align0;                  /*< 17:  1> alignment                                          */
  U8                        _align1;                  /*< 18:  1> alignment                                          */
  U8                        _align2;                  /*< 19:  1> alignment                                          */
  U32                       tmsi;                     /*< 20:  4> Binary TMSI representatino                         */
  U8                        v_ptmsi;                  /*< 24:  1> Valid PTMSI flag                                   */
  U8                        _align3;                  /*< 25:  1> alignment                                          */
  U8                        _align4;                  /*< 26:  1> alignment                                          */
  U8                        _align5;                  /*< 27:  1> alignment                                          */
  U32                       ptmsi;                    /*< 28:  4> Binary PTMSI representatino                        */
  U8                        v_ptmsi2;                 /*< 32:  1> Valid PTMSI flag                                   */
  U8                        _align6;                  /*< 33:  1> alignment                                          */
  U8                        _align7;                  /*< 34:  1> alignment                                          */
  U8                        _align8;                  /*< 35:  1> alignment                                          */
  U32                       ptmsi2;                   /*< 36:  4> Binary PTMSI representatino                        */
} T_mid;
#endif

#ifndef __T_send_mode__
#define __T_send_mode__
/*
 * RACH sending mode
 * CCDGEN:WriteStruct_Count==1089
 */
typedef struct
{
  U8                        c;                        /*<  0:  1> dummy                                              */
  U8                        no;                       /*<  1:  1> number of RACH messages                            */
  U8                        delta[8];                 /*<  2:  8> time in TDMA frames between bursts                 */
  U8                        rach[8];                  /*< 10:  8> channel request content burst n                    */
  U8                        _align0;                  /*< 18:  1> alignment                                          */
  U8                        _align1;                  /*< 19:  1> alignment                                          */
} T_send_mode;
#endif

#ifndef __T_meas_results__
#define __T_meas_results__
/*
 * neighbourcell measurement results
 * CCDGEN:WriteStruct_Count==1091
 */
typedef struct
{
  U16                       arfcn;                    /*<  0:  2> channel number                                     */
  U8                        rx_lev;                   /*<  2:  1> received field strength                            */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_meas_results;
#endif

#ifndef __T_cbch__
#define __T_cbch__
/*
 * cell broadcast channel
 * CCDGEN:WriteStruct_Count==1092
 */
typedef struct
{
  U8                        stat;                     /*<  0:  1> status                                             */
  U8                        ch;                       /*<  1:  1> channel type                                       */
  U8                        tn;                       /*<  2:  1> timeslot number                                    */
  U8                        tsc;                      /*<  3:  1> trainings sequence code                            */
  U8                        h;                        /*<  4:  1> hopping                                            */
  U8                        _align0;                  /*<  5:  1> alignment                                          */
  U16                       arfcn;                    /*<  6:  2> channel number                                     */
  U8                        maio;                     /*<  8:  1> mobile allocation index offset                     */
  U8                        hsn;                      /*<  9:  1> hopping sequence number                            */
  U16                       ma[MAX_MA_CHANNELS];      /*< 10:128> channel number in the mobile allocation list (used with frequency hopping) */
  U8                        _align1;                  /*<138:  1> alignment                                          */
  U8                        _align2;                  /*<139:  1> alignment                                          */
} T_cbch;
#endif

#ifndef __T_ncells__
#define __T_ncells__
/*
 * neighbour cell measurement results
 * CCDGEN:WriteStruct_Count==1093
 */
typedef struct
{
  U8                        no_of_ncells;             /*<  0:  1> Number of ncells                                   */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       arfcn[6];                 /*<  2: 12> channel number                                     */
  U8                        rx_lev[6];                /*< 14:  6> received field strength                            */
  U8                        bsic[6];                  /*< 20:  6> base station identification code                   */
  U8                        _align1;                  /*< 26:  1> alignment                                          */
  U8                        _align2;                  /*< 27:  1> alignment                                          */
  U32                       time_alignmt[6];          /*< 28: 24> timing alignment                                   */
  U32                       frame_offset[6];          /*< 52: 24> frame offset                                       */
} T_ncells;
#endif

#ifndef __T_start__
#define __T_start__
/*
 * starting time
 * CCDGEN:WriteStruct_Count==1094
 */
typedef struct
{
  U8                        v_start;                  /*<  0:  1> starting time valid                                */
  U8                        t1;                       /*<  1:  1> reduced frame number modula 32                     */
  U8                        t2;                       /*<  2:  1> reduced frame number modula 26                     */
  U8                        t3;                       /*<  3:  1> reduced frame number modula 51                     */
} T_start;
#endif

#ifndef __T_ch_type__
#define __T_ch_type__
/*
 * channel type configuration
 * CCDGEN:WriteStruct_Count==1095
 */
typedef struct
{
  U8                        ch;                       /*<  0:  1> channel type                                       */
  U8                        tn;                       /*<  1:  1> timeslot number                                    */
  U8                        tsc;                      /*<  2:  1> trainings sequence code                            */
  U8                        h;                        /*<  3:  1> hopping                                            */
  U16                       arfcn;                    /*<  4:  2> channel number                                     */
  U8                        maio;                     /*<  6:  1> mobile allocation index offset                     */
  U8                        hsn;                      /*<  7:  1> hopping sequence number                            */
  U16                       ma[MAX_MA_CHANNELS];      /*<  8:128> channel number in the mobile allocation list (used with frequency hopping) */
} T_ch_type;
#endif

#ifndef __T_ch_type2__
#define __T_ch_type2__
typedef T_ch_type T_ch_type2;
#endif

#ifndef __T_tr_para__
#define __T_tr_para__
/*
 * transmission parameter
 * CCDGEN:WriteStruct_Count==1096
 */
typedef struct
{
  U8                        power;                    /*<  0:  1> transmission power level                           */
  U8                        dtx;                      /*<  1:  1> discontinuous transmission                         */
  U8                        rlt;                      /*<  2:  1> radio link timeout                                 */
  U8                        tav;                      /*<  3:  1> timing advance                                     */
  U8                        pwrc;                     /*<  4:  1> power control indicator                            */
  U8                        mode;                     /*<  5:  1> channel mode                                       */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_tr_para;
#endif

#ifndef __T_ciph__
#define __T_ciph__
/*
 * ciphering parameters
 * CCDGEN:WriteStruct_Count==1097
 */
typedef struct
{
  U8                        stat;                     /*<  0:  1> status                                             */
  U8                        algo;                     /*<  1:  1> Algorithm                                          */
  U8                        kc[8];                    /*<  2:  8> Kc value                                           */
  U8                        _align0;                  /*< 10:  1> alignment                                          */
  U8                        _align1;                  /*< 11:  1> alignment                                          */
} T_ciph;
#endif

#ifndef __T_amr_conf__
#define __T_amr_conf__
/*
 * Parameters for AMR
 * CCDGEN:WriteStruct_Count==1098
 */
typedef struct
{
  U8                        nscb;                     /*<  0:  1> noise suppression control bit                      */
  U8                        icmi;                     /*<  1:  1> initial code mode indicator                        */
  U8                        st_mode;                  /*<  2:  1> initial code mode                                  */
  U8                        acs;                      /*<  3:  1> active codec set                                   */
  U8                        v_cod_prop;               /*<  4:  1> valid flag codec properties                        */
  U8                        c_cod_prop;               /*<  5:  1> counter                                            */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
  T_cod_prop                cod_prop[3];              /*<  8: 12> codec properties                                   */
} T_amr_conf;
#endif

#ifndef __T_frame_no__
#define __T_frame_no__
/*
 * reduced frame number
 * CCDGEN:WriteStruct_Count==1099
 */
typedef struct
{
  U8                        t1;                       /*<  0:  1> reduced frame number modula 32                     */
  U8                        t2;                       /*<  1:  1> reduced frame number modula 26                     */
  U8                        t3;                       /*<  2:  1> reduced frame number modula 51                     */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_frame_no;
#endif

#ifndef __T_eotd_sc_res__
#define __T_eotd_sc_res__
/*

⌨️ 快捷键说明

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