📄 p_mphc.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : P_MPHC.h |
| SOURCE : "Z:\condat\gsm\condat\ms\dfile\prim\MPHC.pdf" |
| LastModified : "15-August-2002" |
| IdAndVersion : "10.10.10.10" |
| 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_MPHC_H
#define P_MPHC_H
#define CDG_ENTER__P_MPHC_H
#define CDG_ENTER__FILENAME _P_MPHC_H
#define CDG_ENTER__P_MPHC_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_MPHC_H__LAST_MODIFIED _15_August_2002
#define CDG_ENTER__P_MPHC_H__ID_AND_VERSION _10_10_10_10
#define CDG_ENTER__P_MPHC_H__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003
#include "CDG_ENTER.h"
#undef CDG_ENTER__P_MPHC_H
#undef CDG_ENTER__FILENAME
#include "P_MPHC.val"
#ifndef __T_schedule_array__
#define __T_schedule_array__
/*
* positional info
* CCDGEN:WriteStruct_Count==1441
*/
typedef struct
{
U16 modulus; /*< 0: 2> modulo part */
U16 relative_position; /*< 2: 2> relative part */
} T_schedule_array;
#endif
#ifndef __T_l2_frame__
#define __T_l2_frame__
/*
* layer 2 frame
* CCDGEN:WriteStruct_Count==1442
*/
typedef struct
{
U8 content[MAX_L2_FRAME_SIZE]; /*< 0: 23> frame content */
U8 _align0; /*< 23: 1> alignment */
} T_l2_frame;
#endif
#ifndef __T_chan_list__
#define __T_chan_list__
/*
* channel list
* CCDGEN:WriteStruct_Count==1443
*/
typedef struct
{
U16 radio_freq[BA_LIST_SIZE]; /*< 0: 66> channel number */
U8 _align0; /*< 66: 1> alignment */
U8 _align1; /*< 67: 1> alignment */
} T_chan_list;
#endif
#ifndef __T_rf_channel__
#define __T_rf_channel__
/*
* channel choice
* CCDGEN:WriteStruct_Count==1444
*/
typedef struct
{
U8 maio; /*< 0: 1> mobile allocation index offset */
U8 hsn; /*< 1: 1> hopping sequence number */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_rf_channel;
#endif
#ifndef __T_rf_chan_no__
#define __T_rf_chan_no__
/*
* channel list
* CCDGEN:WriteStruct_Count==1445
*/
typedef struct
{
U16 radio_freq[MAX_MA_CARRIER]; /*< 0:128> channel number */
} T_rf_chan_no;
#endif
#ifndef __T_start_time__
#define __T_start_time__
/*
* starting time
* CCDGEN:WriteStruct_Count==1446
*/
typedef struct
{
U8 t1; /*< 0: 1> N32 */
U8 t3; /*< 1: 1> N51 */
U8 t2; /*< 2: 1> N26 */
U8 _align0; /*< 3: 1> alignment */
} T_start_time;
#endif
#ifndef __T_starting_time__
#define __T_starting_time__
/*
* starting time
* CCDGEN:WriteStruct_Count==1447
*/
typedef struct
{
U8 start_time_present; /*< 0: 1> start time present */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
T_start_time start_time; /*< 4: 4> starting time */
} T_starting_time;
#endif
#ifndef __T_new_ciph_param__
#define __T_new_ciph_param__
/*
* Cipher Key Kc
* CCDGEN:WriteStruct_Count==1448
*/
typedef struct
{
U8 A[8]; /*< 0: 8> Kc values */
} T_new_ciph_param;
#endif
#ifndef __T_cipher_key__
#define __T_cipher_key__
typedef T_new_ciph_param T_cipher_key;
#endif
#ifndef __T_cell_description__
#define __T_cell_description__
/*
* cell description
* CCDGEN:WriteStruct_Count==1449
*/
typedef struct
{
U8 ncc; /*< 0: 1> national colour code */
U8 bcc; /*< 1: 1> base station colour code */
U16 bcch_carrier; /*< 2: 2> BCCH carrier */
} T_cell_description;
#endif
#ifndef __T_res_list__
#define __T_res_list__
/*
* neighbour cell measurement results
* CCDGEN:WriteStruct_Count==1450
*/
typedef struct
{
U16 bcch_freq; /*< 0: 2> channel number */
U16 rxlev_acc; /*< 2: 2> accumulated rx level */
U8 rxlev_nbr_meas; /*< 4: 1> nbr of rxlevel samples */
U8 _align0; /*< 5: 1> alignment */
U8 _align1; /*< 6: 1> alignment */
U8 _align2; /*< 7: 1> alignment */
} T_res_list;
#endif
#ifndef __T_chan_number__
#define __T_chan_number__
/*
* channel list
* CCDGEN:WriteStruct_Count==1451
*/
typedef struct
{
U16 radio_freq[BCCH_LIST_SIZE]; /*< 0: 64> channel number */
} T_chan_number;
#endif
#ifndef __T_amr_configuration__
#define __T_amr_configuration__
/*
* Parameters for AMR
* CCDGEN:WriteStruct_Count==1452
*/
typedef struct
{
U8 noise_suppression_control_bit; /*< 0: 1> noise suppression control bit */
U8 initial_codec_mode_indicator; /*< 1: 1> initial code mode indicator */
U8 initial_codec_mode; /*< 2: 1> initial code mode */
U8 active_codec_set; /*< 3: 1> active codec set */
U8 threshold[3]; /*< 4: 3> threshold */
U8 hysteresis[3]; /*< 7: 3> hysteresis */
U8 _align0; /*< 10: 1> alignment */
U8 _align1; /*< 11: 1> alignment */
} T_amr_configuration;
#endif
#ifndef __T_ncell_list__
#define __T_ncell_list__
/*
* Parameters of a neighbour cell
* CCDGEN:WriteStruct_Count==1453
*/
typedef struct
{
U16 radio_freq; /*< 0: 2> channel number */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
U32 fn_offset; /*< 4: 4> frame offset */
U32 time_alignment; /*< 8: 4> Difference in quarter bits between the first bit in a frame of the serving cell and the first bit in the next frame of the non-serving cell. Validity of time_alignment dependent upon timing_validity indication. (0 - 4999) */
U8 timing_validity; /*< 12: 1> timing validity */
U8 _align2; /*< 13: 1> alignment */
U8 _align3; /*< 14: 1> alignment */
U8 _align4; /*< 15: 1> alignment */
} T_ncell_list;
#endif
#ifndef __T_result__
#define __T_result__
/*
* measurement results
* CCDGEN:WriteStruct_Count==1454
*/
typedef struct
{
U16 radio_freq; /*< 0: 2> channel number */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -