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

📄 mconst.cdg

📁 是一个手机功能的模拟程序
💻 CDG
📖 第 1 页 / 共 4 页
字号:
#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                     (0x9)      
/*
 * 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                     (0xa)      
/*
 * 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                     (0xb)      
/*
 * 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                      (0xc)      
/*
 * Constants for the Protocol entity m_rrlp_asn1_inc
 */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_RRLP_ASN1       (0x0)      /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_RRLP_ASN1      (0x19c8)   /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RRLP_ASN1    (0x0)      /* max amount of bits for a coded message */
#define CCDENT_RRLP_ASN1               (0xd)      
/*
 * Constants for the Protocol entity m_rrlp_asn1_msg
 */
#define RRLP_ASN1_PDU_MSG              (0x1)      
#define BSIZE_RRLP_ASN1_PDU_MSG        (0x76bd)   /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_RRLP_ASN1_MSG   (0x1)      /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_RRLP_ASN1_MSG  (0x19cc)   /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RRLP_ASN1_MSG (0x76bd)  /* max amount of bits for a coded message */
#define CCDENT_RRLP_ASN1_MSG           (0xe)      
/*
 * 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
#define S_PADDING_0

/*
 * global constants 
 */
#undef CCD_SYMBOLS

#define NUM_OF_ENTITIES                (0xf)      /* 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 + -