📄 mconst.cdg
字号:
#define BSIZE_ROUTING_AREA_UPDATE_COMPLETE (0xa4) /* max bitlength of coded msg */
#define ROUTING_AREA_UPDATE_REJECT (0xb)
#define BSIZE_ROUTING_AREA_UPDATE_REJECT (0x18) /* max bitlength of coded msg */
#define P_TMSI_REALLOCATION_COMMAND (0x10)
#define BSIZE_P_TMSI_REALLOCATION_COMMAND (0x150) /* max bitlength of coded msg */
#define P_TMSI_REALLOCATION_COMPLETE (0x11)
#define BSIZE_P_TMSI_REALLOCATION_COMPLETE (0x8) /* max bitlength of coded msg */
#define AUTHENTICATION_AND_CIPHERING_REQUEST (0x12)
#define BSIZE_AUTHENTICATION_AND_CIPHERING_REQUEST (0xa8)/* max bitlength of coded msg */
#define AUTHENTICATION_AND_CIPHERING_RESPONSE (0x13)
#define BSIZE_AUTHENTICATION_AND_CIPHERING_RESPONSE (0x130)/* max bitlength of coded msg */
#define AUTHENTICATION_AND_CIPHERING_REJECT (0x14)
#define BSIZE_AUTHENTICATION_AND_CIPHERING_REJECT (0x8)/* max bitlength of coded msg */
#define IDENTITY_REQUEST (0x15)
#define BSIZE_IDENTITY_REQUEST (0x10) /* max bitlength of coded msg */
#define IDENTITY_RESPONSE (0x16)
#define BSIZE_IDENTITY_RESPONSE (0xf8) /* max bitlength of coded msg */
#define GMM_STATUS (0x20)
#define BSIZE_GMM_STATUS (0x10) /* max bitlength of coded msg */
#define GMM_INFORMATION (0x21)
#define BSIZE_GMM_INFORMATION (0x1098) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_GMM (0x21) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_GMM (0x22c) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_GMM (0x1098) /* max amount of bits for a coded message */
#define CCDENT_GMM (0xb)
/*
* Constants for the Protocol entity TST
*/
#define GPRS_TEST_MODE_CMD (0x24)
#define BSIZE_GPRS_TEST_MODE_CMD (0x20) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_TST (0x24) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_TST (0x10) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_TST (0x20) /* max amount of bits for a coded message */
#define CCDENT_TST (0xc)
/*
* Constants for the Protocol entity RLCMAC
*/
#define D_DATA (0x0)
#define BSIZE_D_DATA (0x18) /* max bitlength of coded msg */
#define U_DATA (0x0)
#define BSIZE_U_DATA (0x91) /* max bitlength of coded msg */
#define D_CTRL (0x1)
#define BSIZE_D_CTRL (0xc8) /* max bitlength of coded msg */
#define D_CTRL2 (0x2)
#define BSIZE_D_CTRL2 (0xc8) /* max bitlength of coded msg */
#define U_CTRL (0x1)
#define BSIZE_U_CTRL (0xb8) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_RLCMAC (0x2) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_RLCMAC (0x44) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RLCMAC (0xc8) /* max amount of bits for a coded message */
#define CCDENT_RLCMAC (0xd)
/*
* Constants for the Protocol entity GRR
*/
#define D_ACCESS_REJ (0x21)
#define BSIZE_D_ACCESS_REJ (0xb0) /* max bitlength of coded msg */
#define D_QUEUING_NOT (0x6)
#define BSIZE_D_QUEUING_NOT (0xb0) /* max bitlength of coded msg */
#define U_RESOURCE_REQ (0x5)
#define BSIZE_U_RESOURCE_REQ (0xb0) /* max bitlength of coded msg */
#define D_UL_ASSIGN (0xa)
#define BSIZE_D_UL_ASSIGN (0xb0) /* max bitlength of coded msg */
#define D_DL_ASSIGN (0x2)
#define BSIZE_D_DL_ASSIGN (0xb0) /* max bitlength of coded msg */
#define D_TBF_RELEASE (0x8)
#define BSIZE_D_TBF_RELEASE (0xb0) /* max bitlength of coded msg */
#define D_PAGING_REQ (0x22)
#define BSIZE_D_PAGING_REQ (0xb0) /* max bitlength of coded msg */
#define U_DL_ACK (0x2)
#define BSIZE_U_DL_ACK (0xb0) /* max bitlength of coded msg */
#define D_UL_ACK (0x9)
#define BSIZE_D_UL_ACK (0xb0) /* max bitlength of coded msg */
#define PSI_1 (0x31)
#define BSIZE_PSI_1 (0xb0) /* max bitlength of coded msg */
#define PSI_2 (0x32)
#define BSIZE_PSI_2 (0xb0) /* max bitlength of coded msg */
#define PSI_3 (0x33)
#define BSIZE_PSI_3 (0xb0) /* max bitlength of coded msg */
#define PSI_3_BIS (0x34)
#define BSIZE_PSI_3_BIS (0xb0) /* max bitlength of coded msg */
#define PSI_4 (0x35)
#define BSIZE_PSI_4 (0xb0) /* max bitlength of coded msg */
#define PSI_5 (0x36)
#define BSIZE_PSI_5 (0xb0) /* max bitlength of coded msg */
#define PSI_13 (0x37)
#define BSIZE_PSI_13 (0xb0) /* max bitlength of coded msg */
#define U_CTRL_ACK (0x1)
#define BSIZE_U_CTRL_ACK (0xb0) /* max bitlength of coded msg */
#define U_CELL_CHAN_FAILURE (0x0)
#define BSIZE_U_CELL_CHAN_FAILURE (0xb0) /* max bitlength of coded msg */
#define D_CELL_CHAN_ORDER (0x1)
#define BSIZE_D_CELL_CHAN_ORDER (0xb0) /* max bitlength of coded msg */
#define D_DL_DUMMY (0x25)
#define BSIZE_D_DL_DUMMY (0xb0) /* max bitlength of coded msg */
#define U_UL_DUMMY (0x3)
#define BSIZE_U_UL_DUMMY (0xb0) /* max bitlength of coded msg */
#define U_MEAS_REPORT (0x4)
#define BSIZE_U_MEAS_REPORT (0xb0) /* max bitlength of coded msg */
#define D_MEAS_ORDER (0x3)
#define BSIZE_D_MEAS_ORDER (0xb0) /* max bitlength of coded msg */
#define U_MS_TBF_STATUS (0x6)
#define BSIZE_U_MS_TBF_STATUS (0xb0) /* max bitlength of coded msg */
#define D_PDCH_RELEASE (0x23)
#define BSIZE_D_PDCH_RELEASE (0xb0) /* max bitlength of coded msg */
#define D_POLLING_REQ (0x4)
#define BSIZE_D_POLLING_REQ (0xb0) /* max bitlength of coded msg */
#define D_CTRL_PWR_TA (0x5)
#define BSIZE_D_CTRL_PWR_TA (0xb0) /* max bitlength of coded msg */
#define D_PRACH_PAR (0x24)
#define BSIZE_D_PRACH_PAR (0xb0) /* max bitlength of coded msg */
#define U_PSI_STATUS_MSG (0x7)
#define BSIZE_U_PSI_STATUS_MSG (0xb0) /* max bitlength of coded msg */
#define D_TS_RECONFIG (0x7)
#define BSIZE_D_TS_RECONFIG (0xb0) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_GRR (0x37) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_GRR (0x1b00) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_GRR (0xb0) /* max amount of bits for a coded message */
#define CCDENT_GRR (0xe)
/*
* Constants for the Protocol entity SM
*/
#define ACTIVATE_PDP_REQ (0x41)
#define BSIZE_ACTIVATE_PDP_REQ (0xc28) /* max bitlength of coded msg */
#define ACTIVATE_PDP_ACC (0x42)
#define BSIZE_ACTIVATE_PDP_ACC (0x8f0) /* max bitlength of coded msg */
#define ACTIVATE_PDP_REJ (0x43)
#define BSIZE_ACTIVATE_PDP_REJ (0x808) /* max bitlength of coded msg */
#define REQ_PDP_ACT (0x44)
#define BSIZE_REQ_PDP_ACT (0x400) /* max bitlength of coded msg */
#define REQ_PDP_ACT_REJ (0x45)
#define BSIZE_REQ_PDP_ACT_REJ (0x10) /* max bitlength of coded msg */
#define MOD_PDP_REQ (0x48)
#define BSIZE_MOD_PDP_REQ (0x38) /* max bitlength of coded msg */
#define MOD_PDP_ACC (0x49)
#define BSIZE_MOD_PDP_ACC (0x8) /* max bitlength of coded msg */
#define DEACT_PDP_REQ (0x46)
#define BSIZE_DEACT_PDP_REQ (0x10) /* max bitlength of coded msg */
#define DEACT_PDP_ACC (0x47)
#define BSIZE_DEACT_PDP_ACC (0x8) /* max bitlength of coded msg */
#define SM_STATUS (0x55)
#define BSIZE_SM_STATUS (0x10) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_SM (0x55) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_SM (0x19c) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_SM (0xc28) /* max amount of bits for a coded message */
#define CCDENT_SM (0xf)
/*
* CCD type identifier for registration of coding/decoding functions
*/
#define GSM1_V
#define GSM1_TV
#define GSM2_T
#define GSM3_V
#define GSM3_TV
#define GSM4_LV
#define GSM4_TLV
#define GSM5_V
#define GSM5_TLV
#define GSM7_LV
#define GSM1_ASN
#define BCDODD
#define BCDEVEN
#define BCD_NOFILL
#define BCD_MNC
#define CSN1_S1
#define CSN1_SHL
#define S_PADDING
#define T30_IDENT
#define ASN1_INTEGER
#define ASN1_SEQUENCE
#define ASN1_CHOICE
#define ASN1_OCTET
#define NO_CODE
#define ASN1_INTEGER_EXTENSIBLE
#define ASN1_SEQUENCE_EXTENSIBLE
#define ASN1_CHOICE_EXTENSIBLE
#define ASN1_OBJ_ID
#define ASN1_OPEN_TYPE
/*
* global constants
*/
#undef CCD_SYMBOLS
#define NUM_OF_ENTITIES (0x10) /* number of entitys that uses CCD */
#define MAX_MESSAGE_ID (0xe2) /* maximum of all message types */
#define MAX_BITSTREAM_LEN (0xa340) /* max amount of bits of all coded message */
#define MAX_MSTRUCT_LEN (0x1b00) /* max size of all message structures */
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -