[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/pub/include/ps_phy/atipsevent.h b/pub/include/ps_phy/atipsevent.h
new file mode 100644
index 0000000..f44c93a
--- /dev/null
+++ b/pub/include/ps_phy/atipsevent.h
@@ -0,0 +1,1649 @@
+/*****************************************************************

+*°æ±¾ËùÓÐ (C)2016ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+*Ä£¿éÃû:

+*ÎļþÃû:atipsevent.h

+*ʵÏÖ¹¦ÄÜ:ATIÏà¹ØÏûÏ¢ºÅ

+*°æ±¾:V1.0

+*****************************************************************/

+#ifndef   ZPS_ATI_PSECENT_DEF_H

+#define   ZPS_ATI_PSECENT_DEF_H

+

+/*ЭÒéÕ»×Óϵͳ, ÓÉÓÚºÍSDL½ø³Ì»¥Í¨£¬ÆäʼþºÅ¶¨ÒåΪ16룬¹ÊЭÒéջʼþºÅ½öµÍ16λÓÐЧ£¬²»Ê¹Óøß16λ*/

+#define EVENT_PS_BASE                            (DWORD)0x0000A000

+#define EVENT_PS_END                             (DWORD)(EVENT_PS_BASE + 0x00005f3f)

+

+/**************************************************PS msg range start (5530)********************************************************/

+/*UICC¶ÔÍâÏûÏ¢·¶Î§(200)*/

+#define AP_UICC_EVENT_BASE                       (DWORD)EVENT_PS_BASE

+#define AP_UICC_RSP_EVENT                        (DWORD)(AP_UICC_EVENT_BASE + 100)

+#define AP_UICC_EVENT_END                        (DWORD)(AP_UICC_RSP_EVENT + 99)

+

+/*MMIA¶ÔÍâÏûÏ¢·¶Î§(1625)*/

+#define AP_MMIA_EVENT_BASE                       (DWORD)(AP_UICC_EVENT_END + 1)

+

+#define AP_MMIA_EVENT_MM_BASE                    (DWORD)AP_MMIA_EVENT_BASE

+#define AP_MMIA_MM_RSP_EVENT                     (DWORD)(AP_MMIA_EVENT_MM_BASE + 100)

+#define AP_MMIA_EVENT_MM_END                     (DWORD)(AP_MMIA_MM_RSP_EVENT + 99)

+

+#define AP_MMIA_EVENT_CC_BASE                    (DWORD)(AP_MMIA_EVENT_MM_END + 1)

+#define AP_MMIA_CC_RSP_EVENT                     (DWORD)(AP_MMIA_EVENT_CC_BASE + 100)

+#define AP_MMIA_EVENT_CC_END                     (DWORD)(AP_MMIA_CC_RSP_EVENT + 99)

+

+#define AP_MMIA_EVENT_SMS_BASE                   (DWORD)(AP_MMIA_EVENT_CC_END + 1)

+#define AP_MMIA_SMS_RSP_EVENT                    (DWORD)(AP_MMIA_EVENT_SMS_BASE + 100)

+#define AP_MMIA_EVENT_SMS_END                    (DWORD)(AP_MMIA_SMS_RSP_EVENT + 99)

+

+#define AP_MMIA_EVENT_SS_BASE                    (DWORD)(AP_MMIA_EVENT_SMS_END  + 1)

+#define AP_MMIA_SS_RSP_EVENT                     (DWORD)(AP_MMIA_EVENT_SS_BASE + 50)

+#define AP_MMIA_EVENT_SS_END                     (DWORD)(AP_MMIA_SS_RSP_EVENT + 49)

+

+#define AP_MMIA_EVENT_SM_BASE                    (DWORD)(AP_MMIA_EVENT_SS_END + 1)

+#define AP_MMIA_SM_RSP_EVENT                     (DWORD)(AP_MMIA_EVENT_SM_BASE + 100)

+#define AP_MMIA_EVENT_SM_END                     (DWORD)(AP_MMIA_SM_RSP_EVENT + 99)

+

+#define AP_MMIA_EVENT_ESM_BASE                   (DWORD)(AP_MMIA_EVENT_SM_END + 1)

+#define AP_MMIA_ESM_RSP_EVENT                    (DWORD)(AP_MMIA_EVENT_ESM_BASE + 50)

+#define AP_MMIA_EVENT_ESM_END                    (DWORD)(AP_MMIA_ESM_RSP_EVENT + 49)

+

+#define AP_MMIA_EVENT_UICC_BASE                  (DWORD)(AP_MMIA_EVENT_ESM_END + 1)

+#define AP_MMIA_UICC_RSP_EVENT                   (DWORD)(AP_MMIA_EVENT_UICC_BASE + 100)

+#define AP_MMIA_EVENT_UICC_END                   (DWORD)(AP_MMIA_UICC_RSP_EVENT + 99)

+

+#define AP_MMIA_EVENT_USAT_BASE                  (DWORD)(AP_MMIA_EVENT_UICC_END + 1)

+#define AP_MMIA_USAT_RSP_EVENT                   (DWORD)(AP_MMIA_EVENT_USAT_BASE + 5)

+#define AP_MMIA_EVENT_USAT_END                   (DWORD)(AP_MMIA_USAT_RSP_EVENT + 4)

+

+#define AP_MMIA_EVENT_CBS_BASE                   (DWORD)(AP_MMIA_EVENT_USAT_END + 1)

+#define AP_MMIA_CBS_RSP_EVENT                    (DWORD)(AP_MMIA_EVENT_CBS_BASE + 5)

+#define AP_MMIA_EVENT_CBS_END                    (DWORD)(AP_MMIA_CBS_RSP_EVENT + 9)

+

+#define AP_MMIA_EVENT_PB_BASE                    (DWORD)(AP_MMIA_EVENT_CBS_END + 1)

+#define AP_MMIA_PB_RSP_EVENT                     (DWORD)(AP_MMIA_EVENT_PB_BASE + 100)

+#define AP_MMIA_EVENT_PB_END                     (DWORD)(AP_MMIA_PB_RSP_EVENT + 99)

+

+#define AP_MMIA_EVENT_EM_BASE                    (DWORD)(AP_MMIA_EVENT_PB_END + 1)

+#define AP_MMIA_EM_RSP_EVENT                     (DWORD)(AP_MMIA_EVENT_EM_BASE + 50)

+#define AP_MMIA_EVENT_EM_END                     (DWORD)(AP_MMIA_EM_RSP_EVENT + 49)

+

+#define AP_MMIA_EVENT_OTHER_BASE                 (DWORD)(AP_MMIA_EVENT_EM_END + 1)

+#define AP_MMIA_OTHER_RSP_EVENT                  (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 50)

+#define AP_MMIA_EVENT_OTHER_END                  (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 49)

+

+#define AP_MMIA_EVENT_END                        (DWORD)AP_MMIA_EVENT_OTHER_END 

+

+

+/*ATIÓëPDIÏûÏ¢·¶Î§(20)*/

+#define ATI_PDI_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 1850)

+#define ATI_PDI_RSP_EVENT                        (DWORD)(ATI_PDI_EVENT_BASE + 10)

+#define ATI_PDI_EVENT_END                        (DWORD)(ATI_PDI_RSP_EVENT + 9)

+

+/*ATIÓëCSDÏûÏ¢·¶Î§(10)*/

+#define ATI_CSD_EVENT_BASE                       (DWORD)(ATI_PDI_EVENT_END + 1)

+#define ATI_CSD_RSP_EVENT                        (DWORD)(ATI_CSD_EVENT_BASE + 5)

+#define ATI_CSD_EVENT_END                        (DWORD)(ATI_CSD_RSP_EVENT + 4)

+

+/*MMIAÓëUMM/CC/SS/SMS/SM/UICC/ESM/ASÏûÏ¢·¶Î§(690)*/

+#define MMIA_NAS_EVENT_BASE                      (DWORD)(EVENT_PS_BASE + 1880)

+

+#define MMIA_UMM_EVENT_BASE                      (DWORD)MMIA_NAS_EVENT_BASE

+#define MMIA_UMM_RSP_EVENT                       (DWORD)(MMIA_UMM_EVENT_BASE + 50)

+#define MMIA_UMM_EVENT_END                       (DWORD)(MMIA_UMM_RSP_EVENT + 49)

+

+#define MMIA_CC_EVENT_BASE                       (DWORD)(MMIA_UMM_EVENT_END + 1)

+#define MMIA_CC_RSP_EVENT                        (DWORD)(MMIA_CC_EVENT_BASE + 50)

+#define MMIA_CC_EVENT_END                        (DWORD)(MMIA_CC_RSP_EVENT + 49)

+

+#define MMIA_SMS_EVENT_BASE                      (DWORD)(MMIA_CC_EVENT_END + 1)

+#define MMIA_SMS_RSP_EVENT                       (DWORD)(MMIA_SMS_EVENT_BASE + 50)

+#define MMIA_SMS_EVENT_END                       (DWORD)(MMIA_SMS_RSP_EVENT + 49)

+

+#define MMIA_SS_EVENT_BASE                       (DWORD)(MMIA_SMS_EVENT_END + 1)

+#define MMIA_SS_RSP_EVENT                        (DWORD)(MMIA_SS_EVENT_BASE + 50)

+#define MMIA_SS_EVENT_END                        (DWORD)(MMIA_SS_RSP_EVENT + 49)

+

+#define MMIA_SM_EVENT_BASE                       (DWORD)(MMIA_SS_EVENT_END + 1)

+#define MMIA_SM_RSP_EVENT                        (DWORD)(MMIA_SM_EVENT_BASE + 50)

+#define MMIA_SM_EVENT_END                        (DWORD)(MMIA_SM_RSP_EVENT + 49)

+

+#define MMIA_ESM_EVENT_BASE                      (DWORD)(MMIA_SM_EVENT_END + 1)

+#define MMIA_ESM_RSP_EVENT                       (DWORD)(MMIA_ESM_EVENT_BASE + 15)

+#define MMIA_ESM_EVENT_END                       (DWORD)(MMIA_ESM_RSP_EVENT + 14)

+

+#define MMIA_CBS_EVENT_BASE                      (DWORD)(MMIA_ESM_EVENT_END + 1)

+#define MMIA_CBS_RSP_EVENT                       (DWORD)(MMIA_CBS_EVENT_BASE + 15)

+#define MMIA_CBS_EVENT_END                       (DWORD)(MMIA_CBS_RSP_EVENT + 14)

+

+#define MMIA_SNDCP_EVENT_BASE                    (DWORD)(MMIA_CBS_EVENT_END + 1)

+#define MMIA_SNDCP_RSP_EVENT                     (DWORD)(MMIA_SNDCP_EVENT_BASE + 15)

+#define MMIA_SNDCP_EVENT_END                     (DWORD)(MMIA_SNDCP_RSP_EVENT + 14)

+

+#define MMIA_NAS_EVENT_END                       (DWORD)MMIA_SNDCP_EVENT_END

+

+#define MMIA_AS_EVENT_BASE                       (DWORD)(MMIA_NAS_EVENT_END + 1)

+#define MMIA_AS_RSP_EVENT                        (DWORD)(MMIA_AS_EVENT_BASE + 50)

+#define MMIA_AS_EVENT_END                        (DWORD)(MMIA_AS_RSP_EVENT + 49)

+

+/*** Ô­SIG_CODE.HÖÐÒÆÖ²¹ýÀ´µÄÏûÏ¢(660) ***/

+#define EVENT_PS_GSM_NORMAL_BASE                 (DWORD)(EVENT_PS_BASE + 4300)

+

+#define LAPDM_EVENT_BASE                         (DWORD)EVENT_PS_GSM_NORMAL_BASE

+#define LAPDM_EVENT_END                          (DWORD)(LAPDM_EVENT_BASE + 19)

+

+#define GRR_EVENT_BASE                           (DWORD)(LAPDM_EVENT_END + 1)

+#define GRR_EVENT_END                            (DWORD)(GRR_EVENT_BASE + 199)

+

+#define GMAC_EVENT_BASE                          (DWORD)(GRR_EVENT_END + 1)

+#define GMAC_EVENT_END                           (DWORD)(GMAC_EVENT_BASE + 69)

+

+#define GRLC_EVENT_BASE                          (DWORD)(GMAC_EVENT_END + 1)

+#define GRLC_EVENT_END                           (DWORD)(GRLC_EVENT_BASE + 69)

+

+#define GLLC_EVENT_BASE                          (DWORD)(GRLC_EVENT_END + 1)

+#define GLLC_EVENT_END                           (DWORD)(GLLC_EVENT_BASE + 49)

+

+#define SNDCP_EVENT_BASE                         (DWORD)(GLLC_EVENT_END + 1)

+#define SNDCP_EVENT_END                          (DWORD)(SNDCP_EVENT_BASE + 49)

+

+#define GRRC_EVENT_BASE                          (DWORD)(SNDCP_EVENT_END + 1)

+#define GRRC_EVENT_END                           (DWORD)(GRRC_EVENT_BASE + 49)

+

+#define GSMA_EVENT_BASE                          (DWORD)(GRRC_EVENT_END + 1)

+#define GSMA_EVENT_END                           (DWORD)(GSMA_EVENT_BASE + 149)

+

+#define EVENT_PS_GSM_NORMAL_END                  (DWORD)GSMA_EVENT_END

+

+/*ATI¶¨Ê±Æ÷ÏûÏ¢·¶Î§*/

+#define TIMER_EVENT_BASE                         (DWORD)(EVENT_PS_BASE + 5000)

+

+#define MMIA_TIMER_EVENT_BASE                    (DWORD)TIMER_EVENT_BASE

+#define MMIA_TIMER_EVENT_END                     (DWORD)(MMIA_TIMER_EVENT_BASE + 19)

+

+/**************************************************TOOLS & ROADTEST msg  range start********************************************************/

+/*±ê×¼ÐÅÁîʼþºÅ·¶Î§(100)*/

+#define STANDARD_SIG_EVENT_BASE                  (DWORD)(EVENT_PS_BASE + 7000)

+#define STANDARD_SIG_EVENT_END                   (DWORD)(STANDARD_SIG_EVENT_BASE + 99)

+

+/*·²âÈí¼þʼþºÅ·¶Î§(800)*/

+#define PS_ROADTEST_EVENT_BASE                   (DWORD)(EVENT_PS_BASE + 7100)

+#define PS_ROADTEST_RSP_EVENT                    (DWORD)(PS_ROADTEST_EVENT_BASE + 200)

+#define PS_ROADTEST_EVENT_END                    (DWORD)(PS_ROADTEST_RSP_EVENT + 599)

+

+/*LTE BTrunkʼþºÅ·¶Î§*/

+#define EVENT_PS_LTE_BTRUNK_BASE                 (DWORD)(EVENT_PS_BASE + 15000)

+#define EVENT_PS_LTE_BTRUNK_END                  (DWORD)(EVENT_PS_BASE + 16383)

+/**************************************************TOOLS & ROADTEST msg range end***********************************************************/

+

+/**************************************************PS test msg  range start********************************************************/

+/*ЭÒéÕ»ÄÚ²âÊÔÏûÏ¢·¶Î§(130)*/

+#define PRI_TEST_EVENT_BASE                      (DWORD)(PS_ROADTEST_EVENT_END + 1)

+#define PRI_TEST_EVENT_END                       (DWORD)(PRI_TEST_EVENT_BASE + 19)

+

+#define TAF_TEST_EVENT_BASE                      (DWORD)(PRI_TEST_EVENT_END + 1)

+#define TAF_TEST_EVENT_END                       (DWORD)(TAF_TEST_EVENT_BASE + 9)

+

+#define TC_EVENT_BASE                            (DWORD)(TAF_TEST_EVENT_END + 1)

+#define TC_EVENT_END                             (DWORD)(TC_EVENT_BASE + 29)

+

+#define NCBS_EVENT_BASE                          (DWORD)(TC_EVENT_END + 1)

+#define NCBS_EVENT_END                           (DWORD)(NCBS_EVENT_BASE + 19)

+

+#define USIR_TEST_EVENT_BASE                     (DWORD)(NCBS_EVENT_END + 1)

+#define USIR_TEST_EVENT_END                      (DWORD)(USIR_TEST_EVENT_BASE + 9)

+

+#define NURLC_EVENT_BASE                         (DWORD)(USIR_TEST_EVENT_END + 1)

+#define NURLC_EVENT_END                          (DWORD)(NURLC_EVENT_BASE + 19)

+

+#define NUMAC_EVENT_BASE                         (DWORD)(NURLC_EVENT_END + 1)

+#define NUMAC_EVENT_END                          (DWORD)(NUMAC_EVENT_BASE + 9)

+

+#define NPDCP_EVENT_BASE                         (DWORD)(NUMAC_EVENT_END + 1)

+#define NPDCP_EVENT_END                          (DWORD)(NPDCP_EVENT_BASE + 9)

+

+/*GSM²âÊÔ½ø³ÌÏûÏ¢·¶Î§(300)*/

+#define EVENT_PS_GSM_SIMU_BASE                   (DWORD)(NPDCP_EVENT_END + 1)

+#define L1SIMU_EVENT_BASE                        (DWORD)EVENT_PS_GSM_SIMU_BASE

+#define L1SIMU_EVENT_END                         (DWORD)(L1SIMU_EVENT_BASE + 49)

+

+#define NLAPDM_EVENT_BASE                        (DWORD)(L1SIMU_EVENT_END + 1)

+#define NLAPDM_EVENT_END                         (DWORD)(NLAPDM_EVENT_BASE + 49)

+

+#define NGMAC_EVENT_BASE                         (DWORD)(NLAPDM_EVENT_END + 1)

+#define NGMAC_EVENT_END                          (DWORD)(NGMAC_EVENT_BASE + 99)

+

+#define NLLC_EVENT_BASE                          (DWORD)(NGMAC_EVENT_END + 1)

+#define NLLC_EVENT_END                           (DWORD)(NLLC_EVENT_BASE + 49)

+

+#define NRLC_EVENT_BASE                          (DWORD)(NLLC_EVENT_END + 1)

+#define NRLC_EVENT_END                           (DWORD)(NRLC_EVENT_BASE + 49)

+

+#define EVENT_PS_GSM_SIMU_END                    (DWORD)NRLC_EVENT_END

+

+/*GSM AS¶ÔµÈ²ãÐÅÁî¸ú×ÙʼþºÅ·¶Î§¶¨Òå(100)*/

+#define SIGTRACE_EVENT_BASE                      (DWORD)(EVENT_PS_GSM_SIMU_END + 1)

+

+/*L1GÐÅÁî¸ú×ÙʼþºÅ·¶Î§¶¨Òå(50)*/    

+#define L1G_ST_EVENT_BASE                        (DWORD)(SIGTRACE_EVENT_BASE + 100)

+#define L1G_ST_EVENT_END                         (DWORD)(L1G_ST_EVENT_BASE + 49)

+

+#define SIGTRACE_EVENT_END                       (DWORD)L1G_ST_EVENT_END

+

+/*GRRº¯Êý¸ú×ÙÏûÏ¢·¶Î§(100)*/

+#define GSM_FUNC_EVENT_BASE                     (DWORD)(SIGTRACE_EVENT_END + 1)

+#define GRR_FUNC_EVENT_BASE                     (DWORD)GSM_FUNC_EVENT_BASE

+#define GRR_FUNC_EVENT_END                      (DWORD)(GRR_FUNC_EVENT_BASE + 99)

+

+/*º¯ÊýÐÅÁî¸ú×ÙÏûÏ¢·¶Î§(60)*/

+#define FUNC_EVENT_BASE                          (DWORD)(GRR_FUNC_EVENT_END + 1)

+#define URRC_FUNC_EVENT_BASE                     (DWORD)FUNC_EVENT_BASE

+#define URRC_FUNC_EVENT_END                      (DWORD)(URRC_FUNC_EVENT_BASE + 49)

+

+#define TAF_FUNC_EVENT_BASE                      (DWORD)(URRC_FUNC_EVENT_END + 1)

+#define TAF_FUNC_EVENT_END                       (DWORD)(TAF_FUNC_EVENT_BASE + 9)

+#define FUNC_EVENT_END                           (DWORD)TAF_FUNC_EVENT_END

+

+/*È«¾Ö±äÁ¿»ñȡʼþºÅ·¶Î§¶¨Òå(150)*/    

+#define GVAR_EVENT_BASE                          (DWORD)(FUNC_EVENT_END + 1)

+#define GVAR_EVENT_END                           (DWORD)(GVAR_EVENT_BASE + 149)

+/* ========================================================================

+   UICC¶ÔÍâÌṩÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define AP_UICC_INIT_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 0)

+#define AP_UICC_VERIFY_REQ_EV                    (DWORD)(AP_UICC_EVENT_BASE + 1)

+#define AP_UICC_READ_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 2)

+#define AP_UICC_UPDATE_REQ_EV                    (DWORD)(AP_UICC_EVENT_BASE + 3)

+#define AP_UICC_AUTH_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 4)

+#define AP_UICC_PWROFF_REQ_EV                    (DWORD)(AP_UICC_EVENT_BASE + 5)

+#define AP_UICC_PIN_REMAIN_NUM_REQ_EV            (DWORD)(AP_UICC_EVENT_BASE + 6)

+#define AP_UICC_USAT_ENVELOP_REQ_EV              (DWORD)(AP_UICC_EVENT_BASE + 7)

+#define AP_UICC_USAT_TERMNL_RSP_REQ_EV           (DWORD)(AP_UICC_EVENT_BASE + 8)

+#define AP_UICC_USAT_TERMNL_PROF_REQ_EV          (DWORD)(AP_UICC_EVENT_BASE + 9)

+#define AP_UICC_PIN_ENABLE_QUERY_REQ_EV          (DWORD)(AP_UICC_EVENT_BASE + 10)

+#define AP_UICC_PIN_STAT_QUERY_REQ_EV            (DWORD)(AP_UICC_EVENT_BASE + 11)

+#define AP_UICC_PIN_APPL_SET_REQ_EV              (DWORD)(AP_UICC_EVENT_BASE + 12)

+#define AP_UICC_PIN_APPL_READ_REQ_EV             (DWORD)(AP_UICC_EVENT_BASE + 13)

+#define AP_UICC_CARD_MODE_REQ_EV                 (DWORD)(AP_UICC_EVENT_BASE + 14)

+#define AP_UICC_WRITE_ITEM_IND_EV                (DWORD)(AP_UICC_EVENT_BASE + 15)

+#define AP_UICC_UPDATE_ITEM_REQ_EV               (DWORD)(AP_UICC_EVENT_BASE + 16)

+#define AP_UICC_VERIFY_PIN2_REQ_EV               (DWORD)(AP_UICC_EVENT_BASE + 17)

+#define AP_UICC_ZPUK_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 18)    

+#define AP_UICC_INCREASE_REQ_EV                  (DWORD)(AP_UICC_EVENT_BASE + 19)

+#define AP_UICC_RESET_ACM_REQ_EV                 (DWORD)(AP_UICC_EVENT_BASE + 20)

+#define AP_UICC_UNBLOCK_REQ_EV                   (DWORD)(AP_UICC_EVENT_BASE + 21)

+#define AP_UICC_CHANGE_REQ_EV                    (DWORD)(AP_UICC_EVENT_BASE + 22)

+#define AP_UICC_FACILITY_PIN_REQ_EV              (DWORD)(AP_UICC_EVENT_BASE + 23)    

+#define AP_UICC_REFRESH_REQ_EV                   (DWORD)(AP_UICC_EVENT_BASE + 24)

+#define AP_UICC_DEACTEND_IND_EV                  (DWORD)(AP_UICC_EVENT_BASE + 25)

+#define AP_UICC_FILECHANGEEND_IND_EV             (DWORD)(AP_UICC_EVENT_BASE + 26)     

+#define AP_UICC_TO_READ_CARD_REQ_EV              (DWORD)(AP_UICC_EVENT_BASE + 27)

+#define AP_UICC_CSIM_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 28)

+#define AP_UICC_AP_PWROFF_REQ_EV                 (DWORD)(AP_UICC_EVENT_BASE + 29)

+#define AP_UICC_CCHO_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 30)

+#define AP_UICC_CCHC_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 31)

+#define AP_UICC_CGLA_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 32)    

+#define AP_UICC_CRSM_REQ_EV                      (DWORD)(AP_UICC_EVENT_BASE + 33)

+#define AP_UICC_MOVECARD_IND_EV                  (DWORD)(AP_UICC_EVENT_BASE + 34)

+#define AP_UICC_INSERTCARD_IND_EV                (DWORD)(AP_UICC_EVENT_BASE + 35)

+#define AP_UICC_GET_INFO_REQ_EV                  (DWORD)(AP_UICC_EVENT_BASE + 36)

+#define AP_UICC_EFSTATUS_QUERY_REQ_EV            (DWORD)(AP_UICC_EVENT_BASE + 37)

+#define AP_UICC_EFSTATUS_MODIFY_REQ_EV           (DWORD)(AP_UICC_EVENT_BASE + 38)

+#define AP_UICC_PREPERSONREC_SEARCH_REQ_EV       (DWORD)(AP_UICC_EVENT_BASE + 39)

+#define AP_UICC_PB_SEARCH_REQ_EV                 (DWORD)(AP_UICC_EVENT_BASE + 40)    

+#define AP_UICC_READ_TO_PSDEV_IND_EV             (DWORD)(AP_UICC_EVENT_BASE + 45) 

+#define AP_UICC_GET_REC_NUM_REQ_EV               (DWORD)(AP_UICC_EVENT_BASE + 46)

+#define AP_UICC_AIR_AUTH_RSP_IND_EV              (DWORD)(AP_UICC_EVENT_BASE + 47) 

+#define AP_UICC_READ_EID_REQ_EV                  (DWORD)(AP_UICC_EVENT_BASE + 48)

+

+#define AP_UICC_INIT_CNF_EV                      (DWORD)(AP_UICC_RSP_EVENT + 0)

+#define AP_UICC_UICCOK_IND_EV                    (DWORD)(AP_UICC_RSP_EVENT + 1)

+#define AP_UICC_INIT_IND_EV                      (DWORD)(AP_UICC_RSP_EVENT + 2)

+#define AP_UICC_SLOT_IND_EV                      (DWORD)(AP_UICC_RSP_EVENT + 3)

+#define AP_UICC_READ_CNF_EV                      (DWORD)(AP_UICC_RSP_EVENT + 4)

+#define AP_UICC_UPDATE_CNF_EV                    (DWORD)(AP_UICC_RSP_EVENT + 5)

+#define AP_UICC_AUTH_RSP_EV                      (DWORD)(AP_UICC_RSP_EVENT + 6)

+#define AP_UICC_AUTH_FAIL_IND_EV                 (DWORD)(AP_UICC_RSP_EVENT + 7)

+#define AP_UICC_NOCARD_IND_EV                    (DWORD)(AP_UICC_RSP_EVENT + 8)

+#define AP_UICC_PIN_REMAIN_NUM_CNF_EV            (DWORD)(AP_UICC_RSP_EVENT + 9)

+#define AP_UICC_USAT_ENVELOP_CNF_EV              (DWORD)(AP_UICC_RSP_EVENT + 10)

+#define AP_UICC_USAT_COMMON_CNF_EV               (DWORD)(AP_UICC_RSP_EVENT + 11)

+#define AP_UICC_USAT_PROV_CMD_IND_EV             (DWORD)(AP_UICC_RSP_EVENT + 12)

+#define AP_UICC_PIN_ENABLE_QUERY_CNF_EV          (DWORD)(AP_UICC_RSP_EVENT + 13)

+#define AP_UICC_PIN_STAT_QUERY_CNF_EV            (DWORD)(AP_UICC_RSP_EVENT + 14)

+#define AP_UICC_PIN_APPL_SET_CNF_EV              (DWORD)(AP_UICC_RSP_EVENT + 15)

+#define AP_UICC_PIN_APPL_READ_CNF_EV             (DWORD)(AP_UICC_RSP_EVENT + 16)

+#define AP_UICC_CARD_MODE_CNF_EV                 (DWORD)(AP_UICC_RSP_EVENT + 17)

+#define AP_UICC_PWROFF_CNF_EV                    (DWORD)(AP_UICC_RSP_EVENT + 18)

+#define AP_UICC_COMMON_CNF_EV                    (DWORD)(AP_UICC_RSP_EVENT + 19) 

+#define AP_UICC_UICC_UNSYNC_IND_EV               (DWORD)(AP_UICC_RSP_EVENT + 20) 

+#define AP_UICC_NO_PROC_NOTIFY_IND_EV            (DWORD)(AP_UICC_RSP_EVENT + 21)

+#define AP_UICC_CARD_LOCK_STATUS_IND_EV          (DWORD)(AP_UICC_RSP_EVENT + 22) 

+#define AP_UICC_PWROFF_IND_EV                    (DWORD)(AP_UICC_RSP_EVENT + 23)

+#define AP_UICC_UPDATE_ITEM_CNF_EV               (DWORD)(AP_UICC_RSP_EVENT + 24)

+#define AP_UICC_VERIFY_PIN2_CNF_EV               (DWORD)(AP_UICC_RSP_EVENT + 25)

+#define AP_UICC_INCREASE_ACM_FAIL_IND_EV         (DWORD)(AP_UICC_RSP_EVENT + 26)  

+#define AP_UICC_FILECHANGE_IND_EV                (DWORD)(AP_UICC_RSP_EVENT + 27)

+#define AP_UICC_CSIM_CNF_EV                      (DWORD)(AP_UICC_RSP_EVENT + 28)

+#define AP_UICC_ATR_IND_EV                       (DWORD)(AP_UICC_RSP_EVENT + 29) 

+#define AP_UICC_CCHO_CNF_EV                      (DWORD)(AP_UICC_RSP_EVENT + 30)

+#define AP_UICC_CGLA_CNF_EV                      (DWORD)(AP_UICC_RSP_EVENT + 31)   

+#define AP_UICC_CRSM_CNF_EV                      (DWORD)(AP_UICC_RSP_EVENT + 32)    

+#define AP_UICC_USAT_FETCH_IND_EV                (DWORD)(AP_UICC_RSP_EVENT + 33)

+#define AP_UICC_GET_INFO_CNF_EV                  (DWORD)(AP_UICC_RSP_EVENT + 34)

+#define AP_UICC_EFSTATUS_QUERY_CNF_EV            (DWORD)(AP_UICC_RSP_EVENT + 35)   

+#define AP_UICC_EFSTATUS_MODIFY_CNF_EV           (DWORD)(AP_UICC_RSP_EVENT + 36)  

+#define AP_UICC_PREPERSNREC_SRCH_CNF_EV          (DWORD)(AP_UICC_RSP_EVENT + 37)  

+#define AP_UICC_PB_SEARCH_CNF_EV                 (DWORD)(AP_UICC_RSP_EVENT + 38)     /* ·ÖÅäÁË50ÌõÏûÏ¢Çø¼ä£¬ÒÑÓÃÁË39¸ö */ 

+#define AP_UICC_REFRESH_HAPPEN_IND_EV          (DWORD)(AP_UICC_RSP_EVENT + 39) 

+#define AP_UICC_AIR_AUTH_REQ_IND_EV          (DWORD)(AP_UICC_RSP_EVENT + 40) 

+#define AP_UICC_READ_EID_CNF_EV              (DWORD)(AP_UICC_RSP_EVENT + 41) 

+

+/* ========================================================================

+   MMIA¶ÔÍâÌṩÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/* ========================================================================

+   AP-MMIA MMÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_CREG_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 0)

+#define AP_MMIA_CREG_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 1)

+#define AP_MMIA_COPS_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 2)

+#define AP_MMIA_COPS_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 3)

+#define AP_MMIA_COPS_TEST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 4)

+#define AP_MMIA_CGATT_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 5)

+#define AP_MMIA_CGATT_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_MM_BASE + 6)

+#define AP_MMIA_CGREG_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 7)

+#define AP_MMIA_CGREG_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_MM_BASE + 8)

+#define AP_MMIA_CFUN_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 9)

+#define AP_MMIA_CFUN_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 10)

+#define AP_MMIA_CPLS_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 11)

+#define AP_MMIA_CPLS_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 12)

+#define AP_MMIA_CPOL_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 13)

+#define AP_MMIA_CPOL_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 14)

+#define AP_MMIA_CPOL_TEST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 15)

+#define AP_MMIA_ZMMI_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 16)

+#define AP_MMIA_ZMMI_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 17)

+#define AP_MMIA_MODE_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 18)

+#define AP_MMIA_ZATT_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 19)

+#define AP_MMIA_ZATT_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 20)

+#define AP_MMIA_ZGAAT_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 21)

+#define AP_MMIA_ZGAAT_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_MM_BASE + 22)

+#define AP_MMIA_SYSINFO_REQ_EV                   (DWORD)(AP_MMIA_EVENT_MM_BASE + 23)

+#define AP_MMIA_ZACT_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 24)

+#define AP_MMIA_ZACT_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 25)

+#define AP_MMIA_MODE_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 26)

+#define AP_MMIA_SYSCONFIG_SET_REQ_EV             (DWORD)(AP_MMIA_EVENT_MM_BASE + 27)

+#define AP_MMIA_SYSCONFIG_READ_REQ_EV            (DWORD)(AP_MMIA_EVENT_MM_BASE + 28)

+#define AP_MMIA_CEREG_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 29)

+#define AP_MMIA_CEREG_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_MM_BASE + 30)

+#define AP_MMIA_ZCSG_SEL_REQ_EV                  (DWORD)(AP_MMIA_EVENT_MM_BASE + 31)

+#define AP_MMIA_ZCSG_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 32)

+#define AP_MMIA_ZCSG_LIST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 33)

+#define AP_MMIA_CEMODE_SET_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 34)

+#define AP_MMIA_CEMODE_QUERY_REQ_EV              (DWORD)(AP_MMIA_EVENT_MM_BASE + 35)

+#define AP_MMIA_ZEACT_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 36)

+#define AP_MMIA_ZEACT_READ_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 37)

+#define AP_MMIA_CVMOD_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 38)

+#define AP_MMIA_CVMOD_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_MM_BASE + 39)

+#define AP_MMIA_CS_SRV_RSP_EV                    (DWORD)(AP_MMIA_EVENT_MM_BASE + 40)

+#define AP_MMIA_LTEBGPLMN_TESTREQ_EV             (DWORD)(AP_MMIA_EVENT_MM_BASE + 41)

+#define AP_MMIA_SMSOVERIPNET_SETREQ_EV           (DWORD)(AP_MMIA_EVENT_MM_BASE + 42)

+#define AP_MMIA_SMSOVERIPNET_QUERYREQ_EV         (DWORD)(AP_MMIA_EVENT_MM_BASE + 43)

+#define AP_MMIA_FPLMN_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_MM_BASE + 44)

+#define AP_MMIA_FPLMN_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_MM_BASE + 45)

+#define AP_MMIA_FPLMN_TEST_REQ_EV                (DWORD)(AP_MMIA_EVENT_MM_BASE + 46)

+

+#define AP_MMIA_CREG_IND_EV                      (DWORD)(AP_MMIA_MM_RSP_EVENT + 0)

+#define AP_MMIA_CGREG_IND_EV                     (DWORD)(AP_MMIA_MM_RSP_EVENT + 1)

+#define AP_MMIA_ZMMI_IND_EV                      (DWORD)(AP_MMIA_MM_RSP_EVENT + 2)

+#define AP_MMIA_COPS_TEST_CNF_EV                 (DWORD)(AP_MMIA_MM_RSP_EVENT + 3)

+#define AP_MMIA_CGATT_QUERY_CNF_EV               (DWORD)(AP_MMIA_MM_RSP_EVENT + 4)

+#define AP_MMIA_CPOL_QUERY_CNF_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 5)

+#define AP_MMIA_ZATT_QUERY_CNF_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 6)

+#define AP_MMIA_MODE_IND_EV                      (DWORD)(AP_MMIA_MM_RSP_EVENT + 7)

+#define AP_MMIA_ZACT_QUERY_CNF_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 8)

+#define AP_MMIA_SYSCONFIG_READ_CNF_EV            (DWORD)(AP_MMIA_MM_RSP_EVENT + 9)

+#define AP_MMIA_CEREG_IND_EV                     (DWORD)(AP_MMIA_MM_RSP_EVENT + 10)

+#define AP_MMIA_ZCSG_QUERY_CNF_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 11)

+#define AP_MMIA_ZCSG_LIST_CNF_EV                 (DWORD)(AP_MMIA_MM_RSP_EVENT + 12)

+#define AP_MMIA_CEMODE_QUERY_CNF_EV              (DWORD)(AP_MMIA_MM_RSP_EVENT + 13)

+#define AP_MMIA_CVMOD_QUERY_CNF_EV               (DWORD)(AP_MMIA_MM_RSP_EVENT + 14)

+#define AP_MMIA_CS_SRV_IND_EV                    (DWORD)(AP_MMIA_MM_RSP_EVENT + 15)

+#define AP_MMIA_LTEBGPLMN_TESTCNF_EV             (DWORD)(AP_MMIA_MM_RSP_EVENT + 16)

+#define AP_MMIA_IMSVOPS_IND_EV                   (DWORD)(AP_MMIA_MM_RSP_EVENT + 17)

+#define AP_MMIA_FPLMN_QUERY_CNF_EV               (DWORD)(AP_MMIA_MM_RSP_EVENT + 18)

+#define AP_MMIA_FPLMN_TEST_CNF_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 19)

+#define AP_MMIA_EMERBER_IND_EV                   (DWORD)(AP_MMIA_MM_RSP_EVENT + 20)

+#define AP_MMIA_EMERNUM_IND_EV                   (DWORD)(AP_MMIA_MM_RSP_EVENT + 21)

+#define AP_MMIA_PSCFGSTART_IND_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 22)

+#define AP_MMIA_PSCFGEND_IND_EV                  (DWORD)(AP_MMIA_MM_RSP_EVENT + 23)

+#define AP_MMIA_USER_CARD_SEL_IND_EV             (DWORD)(AP_MMIA_MM_RSP_EVENT + 24)

+#define AP_MMIA_ZCOPS_TEST_CNF_EV                (DWORD)(AP_MMIA_MM_RSP_EVENT + 25)

+#define AP_MMIA_TIMEZONE_IND_EV                  (DWORD)(AP_MMIA_MM_RSP_EVENT + 26)

+#define AP_MMIA_ZULRTIND_IND_EV                  (DWORD)(AP_MMIA_MM_RSP_EVENT + 27)

+/* ========================================================================

+   AP-MMIA CCÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_CC_SETUP_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 0)

+#define AP_MMIA_CC_ANSWER_REQ_EV                 (DWORD)(AP_MMIA_EVENT_CC_BASE + 1)

+#define AP_MMIA_CC_MODIFY_REQ_EV                 (DWORD)(AP_MMIA_EVENT_CC_BASE + 2)

+#define AP_MMIA_CC_STATE_QUERY_REQ_EV            (DWORD)(AP_MMIA_EVENT_CC_BASE + 3)

+#define AP_MMIA_CC_DISC_REQ_EV                   (DWORD)(AP_MMIA_EVENT_CC_BASE + 4)

+#define AP_MMIA_CC_DTMF_REQ_EV                   (DWORD)(AP_MMIA_EVENT_CC_BASE + 5)

+#define AP_MMIA_CC_CHLD_REQ_EV                   (DWORD)(AP_MMIA_EVENT_CC_BASE + 6)

+#define AP_MMIA_CC_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 7)

+#define AP_MMIA_CC_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 8)

+#define AP_MMIA_DS_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 9)

+#define AP_MMIA_DS_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 10)

+#define AP_MMIA_MOD_TO_MULTMEDIA_RSP_EV          (DWORD)(AP_MMIA_EVENT_CC_BASE + 11)

+#define AP_MMIA_CC_MTC_RSP_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 12)

+#define AP_MMIA_DSCI_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 13)

+#define AP_MMIA_DSCI_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_CC_BASE + 14)

+#define AP_MMIA_CAOC_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 15)

+#define AP_MMIA_CAOC_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_CC_BASE + 16)                

+#define AP_MMIA_CACM_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_CC_BASE + 17)

+#define AP_MMIA_CAMM_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_CC_BASE + 18)

+#define AP_MMIA_CPUC_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_CC_BASE + 19)

+#define AP_MMIA_CCWE_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_CC_BASE + 20)

+#define AP_MMIA_CACM_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 21)

+#define AP_MMIA_CAMM_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 22)

+#define AP_MMIA_CPUC_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 23)

+#define AP_MMIA_CCWE_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 24)

+#define AP_MMIA_CALL_LINE_SET_REQ_EV             (DWORD)(AP_MMIA_EVENT_CC_BASE + 25)

+#define AP_MMIA_CALL_LINE_QRY_REQ_EV             (DWORD)(AP_MMIA_EVENT_CC_BASE + 26)

+

+#define AP_MMIA_CC_CBST_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 27)

+#define AP_MMIA_CC_CBST_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 28)

+#define AP_MMIA_CC_CCUG_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 29)

+#define AP_MMIA_CC_CCUG_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 30)

+#define AP_MMIA_CC_CMOD_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 31)

+#define AP_MMIA_CC_CMOD_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 32)

+#define AP_MMIA_CC_CR_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 33)

+#define AP_MMIA_CC_CR_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 34)

+#define AP_MMIA_CC_CRC_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 35)

+#define AP_MMIA_CC_CRC_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 36)

+#define AP_MMIA_CC_CSNS_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 37)

+#define AP_MMIA_CC_CSNS_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 38)

+#define AP_MMIA_CC_CSSN_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 39)

+#define AP_MMIA_CC_CSSN_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 40)

+#define AP_MMIA_CC_FCLASS_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 41)

+#define AP_MMIA_CC_FCLASS_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 42)

+#define AP_MMIA_SS_CHSN_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 43)

+#define AP_MMIA_SS_CHSN_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 44)

+#define AP_MMIA_SS_CRLP_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 45)

+#define AP_MMIA_SS_CRLP_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 46)

+#define AP_MMIA_SS_ETBM_QUERY_REQ_EV                  (DWORD)(AP_MMIA_EVENT_CC_BASE + 47)

+#define AP_MMIA_SS_ETBM_SET_REQ_EV                    (DWORD)(AP_MMIA_EVENT_CC_BASE + 48)

+

+#define AP_MMIA_CC_SETUP_CNF_EV                  (DWORD)(AP_MMIA_CC_RSP_EVENT + 0)

+#define AP_MMIA_CC_QUERY_CNF_EV                  (DWORD)(AP_MMIA_CC_RSP_EVENT + 1)

+#define AP_MMIA_CC_ANSWER_CNF_EV                 (DWORD)(AP_MMIA_CC_RSP_EVENT + 2)

+#define AP_MMIA_CC_MODIFY_CNF_EV                 (DWORD)(AP_MMIA_CC_RSP_EVENT + 3)

+#define AP_MMIA_CC_STATE_QUERY_CNF_EV            (DWORD)(AP_MMIA_CC_RSP_EVENT + 4)

+#define AP_MMIA_CC_DISC_IND_EV                   (DWORD)(AP_MMIA_CC_RSP_EVENT + 5)

+#define AP_MMIA_DS_QUERY_CNF_EV                  (DWORD)(AP_MMIA_CC_RSP_EVENT + 6)

+#define AP_MMIA_COLP_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 7)

+#define AP_MMIA_CR_IND_EV                        (DWORD)(AP_MMIA_CC_RSP_EVENT + 8)

+#define AP_MMIA_MT_CALL_SS_NOTIFY_IND_EV         (DWORD)(AP_MMIA_CC_RSP_EVENT + 9)

+#define AP_MMIA_CLIP_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 10)

+#define AP_MMIA_CC_PROC_INFO_IND_EV              (DWORD)(AP_MMIA_CC_RSP_EVENT + 11)

+#define AP_MMIA_RING_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 12)

+#define AP_MMIA_CRING_IND_EV                     (DWORD)(AP_MMIA_CC_RSP_EVENT + 13)

+#define AP_MMIA_CCWA_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 14)

+#define AP_MMIA_MO_CALL_SS_NOTIFY_IND_EV         (DWORD)(AP_MMIA_CC_RSP_EVENT + 15)

+#define AP_MMIA_MOD_TO_MULTMEDIA_IND_EV          (DWORD)(AP_MMIA_CC_RSP_EVENT + 16)

+#define AP_MMIA_CONN_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 17)

+#define AP_MMIA_ORIG_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 18)

+#define AP_MMIA_CONF_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 19)

+#define AP_MMIA_CEND_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 20)

+#define AP_MMIA_CALL_STATE_IND_EV                (DWORD)(AP_MMIA_CC_RSP_EVENT + 21)

+#define AP_MMIA_DSCI_QUERY_CNF_EV                (DWORD)(AP_MMIA_CC_RSP_EVENT + 22)

+#define AP_MMIA_CAOC_SET_CNF_EV                  (DWORD)(AP_MMIA_CC_RSP_EVENT + 23)

+#define AP_MMIA_CPUC_QUERY_CNF_EV                (DWORD)(AP_MMIA_CC_RSP_EVENT + 24)

+#define AP_MMIA_CCCM_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 25)

+#define AP_MMIA_CCWV_IND_EV                      (DWORD)(AP_MMIA_CC_RSP_EVENT + 26)

+#define AP_MMIA_REDIALEND_IND_EV                 (DWORD)(AP_MMIA_CC_RSP_EVENT + 27)

+

+/* ========================================================================

+   AP-MMIA SMSÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_SMS_TCMGS_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 0)

+#define AP_MMIA_SMS_CMSS_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 1)

+#define AP_MMIA_SMS_TCMGW_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 2)

+#define AP_MMIA_SMS_CMGD_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 3)

+#define AP_MMIA_SMS_TCMGC_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 4)

+#define AP_MMIA_SMS_CMMS_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 5)

+#define AP_MMIA_SMS_CNMI_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 6)

+#define AP_MMIA_SMS_CMGL_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 7)

+#define AP_MMIA_SMS_CMGR_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 8)

+#define AP_MMIA_SMS_TCNMA_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 9)

+#define AP_MMIA_SMS_CGSMS_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 10)

+#define AP_MMIA_SMS_CSMS_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 11)

+#define AP_MMIA_SMS_CPMS_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 12)

+#define AP_MMIA_SMS_CMGF_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 13)

+#define AP_MMIA_SMS_CSCA_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SMS_BASE + 14)

+#define AP_MMIA_SMS_TCSMP_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 15)

+#define AP_MMIA_SMS_TCSDH_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 16)

+#define AP_MMIA_SMS_PCMGS_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 17)

+#define AP_MMIA_SMS_PCMGW_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 18)

+#define AP_MMIA_SMS_PCMGC_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 19)

+#define AP_MMIA_SMS_PCNMA_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 20)

+#define AP_MMIA_SMS_CPMS_TEST_REQ_EV             (DWORD)(AP_MMIA_EVENT_SMS_BASE + 21)

+#define AP_MMIA_SMS_ZMENA_REQ_EV                 (DWORD)(AP_MMIA_EVENT_SMS_BASE + 22)

+#define AP_MMIA_SMS_QUERY_MODE_REQ_EV            (DWORD)(AP_MMIA_EVENT_SMS_BASE + 23)

+#define AP_MMIA_SMS_QUERY_MAX_INDEX_REQ_EV       (DWORD)(AP_MMIA_EVENT_SMS_BASE + 24)

+#define AP_MMIA_SMS_CNMA_QUERY_MODE_REQ_EV       (DWORD)(AP_MMIA_EVENT_SMS_BASE + 25)

+

+#define AP_MMIA_SMS_TCMGS_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 0)

+#define AP_MMIA_SMS_TCMSS_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 1)

+#define AP_MMIA_SMS_CMGW_CNF_EV                  (DWORD)(AP_MMIA_SMS_RSP_EVENT + 2)

+#define AP_MMIA_SMS_TCMGC_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 3)

+#define AP_MMIA_SMS_STORE_REC_IND_EV             (DWORD)(AP_MMIA_SMS_RSP_EVENT + 4)

+#define AP_MMIA_SMS_TCMT_IND_EV                  (DWORD)(AP_MMIA_SMS_RSP_EVENT + 5)

+#define AP_MMIA_SMS_TCDS_IND_EV                  (DWORD)(AP_MMIA_SMS_RSP_EVENT + 6)

+#define AP_MMIA_SMS_TDELI_LIST_CNF_EV            (DWORD)(AP_MMIA_SMS_RSP_EVENT + 7)

+#define AP_MMIA_SMS_TSUB_LIST_CNF_EV             (DWORD)(AP_MMIA_SMS_RSP_EVENT + 8)

+#define AP_MMIA_SMS_TSTAT_LIST_CNF_EV            (DWORD)(AP_MMIA_SMS_RSP_EVENT + 9)

+#define AP_MMIA_SMS_TCOM_LIST_CNF_EV             (DWORD)(AP_MMIA_SMS_RSP_EVENT + 10)

+#define AP_MMIA_SMS_TDELI_READ_CNF_EV            (DWORD)(AP_MMIA_SMS_RSP_EVENT + 11)

+#define AP_MMIA_SMS_TSUB_READ_CNF_EV             (DWORD)(AP_MMIA_SMS_RSP_EVENT + 12)

+#define AP_MMIA_SMS_TSTAT_READ_CNF_EV            (DWORD)(AP_MMIA_SMS_RSP_EVENT + 13)

+#define AP_MMIA_SMS_TCOM_READ_CNF_EV             (DWORD)(AP_MMIA_SMS_RSP_EVENT + 14)

+#define AP_MMIA_SMS_CPMS_CNF_EV                  (DWORD)(AP_MMIA_SMS_RSP_EVENT + 15)

+#define AP_MMIA_SMS_PCMGS_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 16)

+#define AP_MMIA_SMS_PCMSS_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 17)

+#define AP_MMIA_SMS_PCMGC_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 18)

+#define AP_MMIA_SMS_PCMTIND_EV                   (DWORD)(AP_MMIA_SMS_RSP_EVENT + 19)

+#define AP_MMIA_SMS_PCDSIND_EV                   (DWORD)(AP_MMIA_SMS_RSP_EVENT + 20)

+#define AP_MMIA_SMS_PCMGL_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 21)

+#define AP_MMIA_SMS_PCMGR_CNF_EV                 (DWORD)(AP_MMIA_SMS_RSP_EVENT + 22)

+#define AP_MMIA_SMS_CPMS_TEST_CNF_EV             (DWORD)(AP_MMIA_SMS_RSP_EVENT + 23)

+#define AP_MMIA_SMS_QUERY_MAX_INDEX_CNF_EV       (DWORD)(AP_MMIA_SMS_RSP_EVENT + 24)

+#define AP_MMIA_SMS_SAVE_FAILURE_IND_EV          (DWORD)(AP_MMIA_SMS_RSP_EVENT + 25)

+#define AP_MMIA_SMS_ZCMTIND_EV                   (DWORD)(AP_MMIA_SMS_RSP_EVENT + 26)

+

+/* ========================================================================

+   AP-MMIA SSÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_CLCK_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 0)

+#define AP_MMIA_CPWD_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 1)

+#define AP_MMIA_CLIP_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 2)

+#define AP_MMIA_CLIP_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 3)

+#define AP_MMIA_CLIR_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 4)

+#define AP_MMIA_CLIR_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 5)

+#define AP_MMIA_COLP_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 6)

+#define AP_MMIA_COLP_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 7)

+#define AP_MMIA_CCFC_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 8)

+#define AP_MMIA_CCWA_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 9)

+#define AP_MMIA_CCWA_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 10)

+#define AP_MMIA_CUSD_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 11)

+#define AP_MMIA_CUSD_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 12)

+#define AP_MMIA_COLR_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 13)

+#define AP_MMIA_CNAP_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SS_BASE + 14)

+#define AP_MMIA_CNAP_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_SS_BASE + 15)

+

+#define AP_MMIA_CLCK_STATUS_CNF_EV               (DWORD)(AP_MMIA_SS_RSP_EVENT + 0)

+#define AP_MMIA_CLIP_QUERY_CNF_EV                (DWORD)(AP_MMIA_SS_RSP_EVENT + 1)

+#define AP_MMIA_CLIR_QUERY_CNF_EV                (DWORD)(AP_MMIA_SS_RSP_EVENT + 2)

+#define AP_MMIA_COLP_QUERY_CNF_EV                (DWORD)(AP_MMIA_SS_RSP_EVENT + 3)

+#define AP_MMIA_CCFC_STATUS_CNF_EV               (DWORD)(AP_MMIA_SS_RSP_EVENT + 4)

+#define AP_MMIA_CCWA_STATUS_CNF_EV               (DWORD)(AP_MMIA_SS_RSP_EVENT + 5)

+#define AP_MMIA_CCWA_QUERY_CNF_EV                (DWORD)(AP_MMIA_SS_RSP_EVENT + 6)

+#define AP_MMIA_CUSD_IND_EV                      (DWORD)(AP_MMIA_SS_RSP_EVENT + 7)

+#define AP_MMIA_COLR_QUERY_CNF_EV                (DWORD)(AP_MMIA_SS_RSP_EVENT + 8)

+#define AP_MMIA_CNAP_QUERY_CNF_EV                (DWORD)(AP_MMIA_SS_RSP_EVENT + 9)

+#define AP_MMIA_CNAP_IND_EV                      (DWORD)(AP_MMIA_SS_RSP_EVENT + 10)

+

+/* ========================================================================

+   AP-MMIA SMÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_SM_PARAM_SET_REQ_EV              (DWORD)(AP_MMIA_EVENT_SM_BASE + 0)

+#define AP_MMIA_SM_PARAM_READ_REQ_EV             (DWORD)(AP_MMIA_EVENT_SM_BASE + 1)

+#define AP_MMIA_SM_PDP_STATUS_QUERY_REQ_EV       (DWORD)(AP_MMIA_EVENT_SM_BASE + 2)

+#define AP_MMIA_SM_ACTIVED_CID_QUERY_REQ_EV      (DWORD)(AP_MMIA_EVENT_SM_BASE + 3)

+#define AP_MMIA_SM_DEF_CID_QUERY_REQ_EV          (DWORD)(AP_MMIA_EVENT_SM_BASE + 4)

+#define AP_MMIA_SM_PDP_ADDR_QUERY_REQ_EV         (DWORD)(AP_MMIA_EVENT_SM_BASE + 5)

+#define AP_MMIA_SM_NEG_QOS_QUERY_REQ_EV          (DWORD)(AP_MMIA_EVENT_SM_BASE + 6)

+#define AP_MMIA_SM_NEG_EQOS_QUERY_REQ_EV         (DWORD)(AP_MMIA_EVENT_SM_BASE + 7)

+#define AP_MMIA_SM_ACT_DEACT_REQ_EV              (DWORD)(AP_MMIA_EVENT_SM_BASE + 8)

+#define AP_MMIA_SM_MOD_REQ_EV                    (DWORD)(AP_MMIA_EVENT_SM_BASE + 9)

+#define AP_MMIA_SM_DATA_STATE_REQ_EV             (DWORD)(AP_MMIA_EVENT_SM_BASE + 10)

+#define AP_MMIA_SM_MT_ACT_ANS_REQ_EV             (DWORD)(AP_MMIA_EVENT_SM_BASE + 11)

+#define AP_MMIA_SM_CPSB_QUERY_REQ_EV             (DWORD)(AP_MMIA_EVENT_SM_BASE + 12)

+#define AP_MMIA_SM_CGCONTRDP_REQ_EV              (DWORD)(AP_MMIA_EVENT_SM_BASE + 13)

+#define AP_MMIA_SM_CGSCONTRDP_REQ_EV             (DWORD)(AP_MMIA_EVENT_SM_BASE + 14)

+#define AP_MMIA_SM_CGTFTRDP_REQ_EV               (DWORD)(AP_MMIA_EVENT_SM_BASE + 15)

+#define AP_MMIA_SM_CGDEL_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SM_BASE + 16)

+#define AP_MMIA_SM_ZGACT_REQ_EV                  (DWORD)(AP_MMIA_EVENT_SM_BASE + 17)

+/* ÒÔÉÏΪATÃüÁî¶ÔÓ¦ÏûÏ¢*/

+#define AP_MMIA_SM_GET_PCO_RSP_EV                (DWORD)(AP_MMIA_EVENT_SM_BASE + 18)

+#define AP_MMIA_SM_IP_PDP_ACT_REQ_EV             (DWORD)(AP_MMIA_EVENT_SM_BASE + 19)

+#define AP_MMIA_SM_OPEN_CHNL_RSP_EV              (DWORD)(AP_MMIA_EVENT_SM_BASE + 20)

+#define AP_MMIA_SM_IDLE_CHNL_QUERY_RSP_EV        (DWORD)(AP_MMIA_EVENT_SM_BASE + 21)

+#define AP_MMIA_DISCONNECT_REQ_EV                (DWORD)(AP_MMIA_EVENT_SM_BASE + 22)

+

+

+#define AP_MMIA_SM_PDP_STATUS_QUERY_CNF_EV       (DWORD)(AP_MMIA_SM_RSP_EVENT + 0)

+#define AP_MMIA_SM_ACTIVED_CID_QUERY_CNF_EV      (DWORD)(AP_MMIA_SM_RSP_EVENT + 1)

+#define AP_MMIA_SM_PDP_ADDR_QUERY_CNF_EV         (DWORD)(AP_MMIA_SM_RSP_EVENT + 2)

+#define AP_MMIA_SM_NEG_QOS_QUERY_CNF_EV          (DWORD)(AP_MMIA_SM_RSP_EVENT + 3)

+#define AP_MMIA_SM_NEG_EQOS_QUERY_CNF_EV         (DWORD)(AP_MMIA_SM_RSP_EVENT + 4)

+#define AP_MMIA_SM_NO_CARRIER_CNF_EV             (DWORD)(AP_MMIA_SM_RSP_EVENT + 5)

+#define AP_MMIA_SM_ACT_DEACT_CNF_EV              (DWORD)(AP_MMIA_SM_RSP_EVENT + 6)

+#define AP_MMIA_SM_MOD_CNF_EV                    (DWORD)(AP_MMIA_SM_RSP_EVENT + 7)

+#define AP_MMIA_SM_MT_ACTIVATE_IND_EV            (DWORD)(AP_MMIA_SM_RSP_EVENT + 8)

+#define AP_MMIA_SM_CGEV_IND_EV                   (DWORD)(AP_MMIA_SM_RSP_EVENT + 9)

+#define AP_MMIA_SM_IP_PDP_ACT_CNF_EV             (DWORD)(AP_MMIA_SM_RSP_EVENT + 10)

+#define AP_MMIA_SM_CLOSE_CHNL_IND_EV             (DWORD)(AP_MMIA_SM_RSP_EVENT + 11)

+#define AP_MMIA_SM_QUERY_IDLE_CHNL_IND_EV        (DWORD)(AP_MMIA_SM_RSP_EVENT + 12)

+#define AP_MMIA_SM_GET_PCO_IND_EV                (DWORD)(AP_MMIA_SM_RSP_EVENT + 13)

+#define AP_MMIA_SM_CONNECT_IND_EV                (DWORD)(AP_MMIA_SM_RSP_EVENT + 14)

+#define AP_MMIA_SM_CPSB_IND_EV                   (DWORD)(AP_MMIA_SM_RSP_EVENT + 15)

+#define AP_MMIA_SM_CGCONTRDP_CNF_EV              (DWORD)(AP_MMIA_SM_RSP_EVENT + 16)

+#define AP_MMIA_SM_CGSCONTRDP_CNF_EV             (DWORD)(AP_MMIA_SM_RSP_EVENT + 17)

+#define AP_MMIA_SM_CGTFTRDP_CNF_EV               (DWORD)(AP_MMIA_SM_RSP_EVENT + 18)

+#define AP_MMIA_SM_CGDEL_CNF_EV                  (DWORD)(AP_MMIA_SM_RSP_EVENT + 19)

+#define AP_MMIA_SM_DEACT_IND_EV                  (DWORD)(AP_MMIA_SM_RSP_EVENT + 20)

+

+/* ========================================================================

+   AP-MMIA ESMÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_ESM_CGETFADS_SET_REQ_EV          (DWORD)(AP_MMIA_EVENT_ESM_BASE + 0)

+#define AP_MMIA_ESM_TFAD_READ_REQ_EV             (DWORD)(AP_MMIA_EVENT_ESM_BASE + 1)

+#define AP_MMIA_ESM_CGATFT_REQ_EV                (DWORD)(AP_MMIA_EVENT_ESM_BASE + 2)

+#define AP_MMIA_ESM_BEARER_MOD_REQ_EV            (DWORD)(AP_MMIA_EVENT_ESM_BASE + 3)

+#define AP_MMIA_ESM_EBR_MOD_QUERY_REQ_EV         (DWORD)(AP_MMIA_EVENT_ESM_BASE + 4)

+#define AP_MMIA_CGEQOSRDP_REQ_EV                 (DWORD)(AP_MMIA_EVENT_ESM_BASE + 5)  /*only for R7&R5*/

+#define AP_MMIA_ESM_TFAD_TEST_REQ_EV             (DWORD)(AP_MMIA_EVENT_ESM_BASE + 6)

+#define AP_MMIA_CGEQOS_SET_REQ_EV                (DWORD)(AP_MMIA_EVENT_ESM_BASE + 7)  /*only for R7&R5*/

+#define AP_MMIA_CGEQOS_QUERY_REQ_EV              (DWORD)(AP_MMIA_EVENT_ESM_BASE + 8)  /*only for R7&R5*/

+

+#define AP_MMIA_ESM_BEARER_ACT_IND_EV            (DWORD)(AP_MMIA_ESM_RSP_EVENT + 0)

+#define AP_MMIA_ESM_BEARER_DEACT_IND_EV          (DWORD)(AP_MMIA_ESM_RSP_EVENT + 1)

+#define AP_MMIA_ESM_BEARER_MOD_IND_EV            (DWORD)(AP_MMIA_ESM_RSP_EVENT + 2)

+#define AP_MMIA_ESM_TFAD_READ_CNF_EV             (DWORD)(AP_MMIA_ESM_RSP_EVENT + 3)

+#define AP_MMIA_ESM_CGATFT_CNF_EV                (DWORD)(AP_MMIA_ESM_RSP_EVENT + 4)

+#define AP_MMIA_ESM_BEARER_MOD_CNF_EV            (DWORD)(AP_MMIA_ESM_RSP_EVENT + 5)

+#define AP_MMIA_ESM_BEARER_MOD_REJ_EV            (DWORD)(AP_MMIA_ESM_RSP_EVENT + 6)

+#define AP_MMIA_ESM_EBRMOD_QUERY_CNF_EV          (DWORD)(AP_MMIA_ESM_RSP_EVENT + 7)

+#define AP_MMIA_CGEQOSRDP_CNF_EV                 (DWORD)(AP_MMIA_ESM_RSP_EVENT + 8) /*only for R7&R5*/

+#define AP_MMIA_ESM_TFADTEST_CNF_EV              (DWORD)(AP_MMIA_ESM_RSP_EVENT + 9)

+

+/* ========================================================================

+   AP-MMIA UICCÏà¹Ø²¿·ÖÏûÏ¢ºÅ

+======================================================================== */

+#define AP_MMIA_UICC_INIT_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 0)

+#define AP_MMIA_CPIN_REQ_EV                      (DWORD)(AP_MMIA_EVENT_UICC_BASE + 1)

+#define AP_MMIA_PIN_REMAIN_NUM_REQ_EV            (DWORD)(AP_MMIA_EVENT_UICC_BASE + 2)

+#define AP_MMIA_CPBS_SET_REQ_EV                  (DWORD)(AP_MMIA_EVENT_UICC_BASE + 3)

+#define AP_MMIA_CPBS_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_UICC_BASE + 4)

+#define AP_MMIA_CPBR_EXE_REQ_EV                  (DWORD)(AP_MMIA_EVENT_UICC_BASE + 5)

+#define AP_MMIA_CPBR_TEST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 6)

+#define AP_MMIA_CPBF_EXE_REQ_EV                  (DWORD)(AP_MMIA_EVENT_UICC_BASE + 7)

+#define AP_MMIA_CPBF_TEST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 8)

+#define AP_MMIA_CPBW_EXE_REQ_EV                  (DWORD)(AP_MMIA_EVENT_UICC_BASE + 9)

+#define AP_MMIA_CPBW_TEST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 10)

+#define AP_MMIA_UICC_COMMAND_REQ_EV              (DWORD)(AP_MMIA_EVENT_UICC_BASE + 11)

+#define AP_MMIA_PIN_APPL_SET_REQ_EV              (DWORD)(AP_MMIA_EVENT_UICC_BASE + 12)

+#define AP_MMIA_PIN_APPL_READ_REQ_EV             (DWORD)(AP_MMIA_EVENT_UICC_BASE + 13)

+#define AP_MMIA_CARD_MODE_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 14)

+#define AP_MMIA_CPIN_READ_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 15)

+#define AP_MMIA_CPBS_TEST_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 16)

+#define AP_MMIA_SCPBR_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 17)

+#define AP_MMIA_SCPBR_TEST_REQ_EV                (DWORD)(AP_MMIA_EVENT_UICC_BASE + 18)

+#define AP_MMIA_SCPBW_TEST_REQ_EV                (DWORD)(AP_MMIA_EVENT_UICC_BASE + 19)

+#define AP_MMIA_SCPBW_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 20)

+#define AP_MMIA_CNUM_REQ_EV                      (DWORD)(AP_MMIA_EVENT_UICC_BASE + 21)

+#define AP_MMIA_ZIMG_REQ_EV                      (DWORD)(AP_MMIA_EVENT_UICC_BASE + 22)

+#define AP_MMIA_ZGIIDF_REQ_EV                    (DWORD)(AP_MMIA_EVENT_UICC_BASE + 23)

+#define AP_MMIA_ZPUK_REQ_EV                      (DWORD)(AP_MMIA_EVENT_UICC_BASE + 24)

+#define AP_MMIA_CPBW_QUERY_REQ_EV                (DWORD)(AP_MMIA_EVENT_UICC_BASE + 25)

+#define AP_MMIA_ZCPBQ_SET_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 26)

+#define AP_MMIA_ZCPBQ_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_UICC_BASE + 27)

+#define AP_MMIA_ZEER_READ_REQ_EV                 (DWORD)(AP_MMIA_EVENT_UICC_BASE + 28)

+#define AP_MMIA_MB_AUTH_REQ_EV                   (DWORD)(AP_MMIA_EVENT_UICC_BASE + 29)

+#define AP_MMIA_MB_CELL_ID_REQ_EV                (DWORD)(AP_MMIA_EVENT_UICC_BASE + 30)

+#define AP_MMIA_PSEUDO_FR_SET_REQ_EV             (DWORD)(AP_MMIA_EVENT_UICC_BASE + 31)

+#define AP_MMIA_PSEUDO_FR_QUERY_REQ_EV           (DWORD)(AP_MMIA_EVENT_UICC_BASE + 32)

+#define AP_MMIA_REFRESH_REQ_EV                   (DWORD)(AP_MMIA_EVENT_UICC_BASE + 33)

+#define AP_MMIA_CARD_SRV_LIST_QRY_REQ_EV         (DWORD)(AP_MMIA_EVENT_UICC_BASE + 34)

+

+#define AP_MMIA_UICC_INIT_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 0)

+#define AP_MMIA_UICC_OKIND_EV                    (DWORD)(AP_MMIA_UICC_RSP_EVENT + 1)

+#define AP_MMIA_UICC_INTI_IND_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 2)

+#define AP_MMIA_UICC_SLOT_IND_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 3)

+#define AP_MMIA_PIN_REMAI_NNUM_CNF_EV            (DWORD)(AP_MMIA_UICC_RSP_EVENT + 4)

+#define AP_MMIA_CPBS_QUERY_CNF_EV                (DWORD)(AP_MMIA_UICC_RSP_EVENT + 5)

+#define AP_MMIA_CPBR_EXE_CNF_EV                  (DWORD)(AP_MMIA_UICC_RSP_EVENT + 6)

+#define AP_MMIA_CPBR_TEST_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 7)

+#define AP_MMIA_CPBF_TEST_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 8)

+#define AP_MMIA_CPBW_TEST_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 9)

+#define AP_MMIA_PIN_APPL_SET_CNF_EV              (DWORD)(AP_MMIA_UICC_RSP_EVENT + 10)

+#define AP_MMIA_PIN_APPL_READ_CNF_EV             (DWORD)(AP_MMIA_UICC_RSP_EVENT + 11)

+#define AP_MMIA_CARD_MODE_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 12)

+#define AP_MMIA_CPIN_READ_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 13)

+#define AP_MMIA_CPBR_SET_END_CNF_EV              (DWORD)(AP_MMIA_UICC_RSP_EVENT + 14)

+#define AP_MMIA_CPBS_TEST_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 15)

+#define AP_MMIA_SCPBR_SET_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 16)

+#define AP_MMIA_SCPBR_SET_END_CNF_EV             (DWORD)(AP_MMIA_UICC_RSP_EVENT + 17)

+#define AP_MMIA_SCPBR_TEST_CNF_EV                (DWORD)(AP_MMIA_UICC_RSP_EVENT + 18)

+#define AP_MMIA_SCPBW_TEST_CNF_EV                (DWORD)(AP_MMIA_UICC_RSP_EVENT + 19)

+#define AP_MMIA_CNUM_CNF_EV                      (DWORD)(AP_MMIA_UICC_RSP_EVENT + 20)

+#define AP_MMIA_ZIMG_CNF_EV                      (DWORD)(AP_MMIA_UICC_RSP_EVENT + 21)

+#define AP_MMIA_ZGIIDF_CNF_EV                    (DWORD)(AP_MMIA_UICC_RSP_EVENT + 22)

+#define AP_MMIA_CPBW_EXE_CNF_EV                  (DWORD)(AP_MMIA_UICC_RSP_EVENT + 23)

+#define AP_MMIA_ZCPBQ_SET_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 24)

+#define AP_MMIA_ZCPBQ_QUERY_CNF_EV               (DWORD)(AP_MMIA_UICC_RSP_EVENT + 25)

+#define AP_MMIA_ZEER_READ_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 26)

+#define AP_MMIA_MB_AUTH_CNF_EV                   (DWORD)(AP_MMIA_UICC_RSP_EVENT + 27)

+#define AP_MMIA_PSEUDO_FR_QUERY_CNF_EV           (DWORD)(AP_MMIA_UICC_RSP_EVENT + 28)

+#define AP_MMIA_CARD_SRV_LIST_QRY_CNF_EV         (DWORD)(AP_MMIA_UICC_RSP_EVENT + 29)

+#define AP_MMIA_ICCID_IND_EV                     (DWORD)(AP_MMIA_UICC_RSP_EVENT + 30)

+#define AP_MMIA_ZCFIS_SET_CNF_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 31)

+#define AP_MMIA_ZISIMINIT_IND_EV                 (DWORD)(AP_MMIA_UICC_RSP_EVENT + 32)

+#define AP_MMIA_COPN_EXE_CNF                    (DWORD)(AP_MMIA_UICC_RSP_EVENT + 33)

+#define AP_MMIA_COPN_END_CNF                    (DWORD)(AP_MMIA_UICC_RSP_EVENT + 34)

+

+/* ========================================================================

+   AP-MMIA USATÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define AP_MMIA_USAT_ENVELOP_REQ_EV              (DWORD)(AP_MMIA_EVENT_USAT_BASE + 0)

+#define AP_MMIA_USAT_TERMNL_RSP_REQ_EV           (DWORD)(AP_MMIA_EVENT_USAT_BASE + 1)

+#define AP_MMIA_USAT_TERMNL_PROF_REQ_EV          (DWORD)(AP_MMIA_EVENT_USAT_BASE + 2)

+#define AP_MMIA_USAT_LOC_INFO_REQ_EV             (DWORD)(AP_MMIA_EVENT_USAT_BASE + 3)

+#define AP_MMIA_USAT_TO_READ_CARD_REQ_EV         (DWORD)(AP_MMIA_EVENT_USAT_BASE + 4)

+

+#define AP_MMIA_USAT_ENVELOP_CNF_EV              (DWORD)(AP_MMIA_USAT_RSP_EVENT + 0)

+#define AP_MMIA_USAT_PROV_CMD_IND_EV             (DWORD)(AP_MMIA_USAT_RSP_EVENT + 1)

+#define AP_MMIA_USAT_NOPROC_NOTIFY_IND_EV        (DWORD)(AP_MMIA_USAT_RSP_EVENT + 2)

+

+/* ========================================================================

+   AP-MMIA CBSÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define AP_MMIA_CBS_CSCB_SET_REQ_EV              (DWORD)(AP_MMIA_EVENT_CBS_BASE + 0)

+#define AP_MMIA_CBS_CSCB_READ_REQ_EV             (DWORD)(AP_MMIA_EVENT_CBS_BASE + 1)

+#define AP_MMIA_CBS_SAVING_SET_REQ_EV            (DWORD)(AP_MMIA_EVENT_CBS_BASE + 2)

+#define AP_MMIA_CBS_RESTORE_SET_REQ_EV           (DWORD)(AP_MMIA_EVENT_CBS_BASE + 3)

+

+#define AP_MMIA_CBS_TCBM_IND_EV                  (DWORD)(AP_MMIA_CBS_RSP_EVENT + 0)

+#define AP_MMIA_CBS_PCBM_IND_EV                  (DWORD)(AP_MMIA_CBS_RSP_EVENT + 1)

+#define AP_MMIA_CBS_TCBM_LIST_CNF_EV             (DWORD)(AP_MMIA_CBS_RSP_EVENT + 2)

+#define AP_MMIA_CBS_PCBM_LIST_CNF_EV             (DWORD)(AP_MMIA_CBS_RSP_EVENT + 3)

+#define AP_MMIA_CBS_TCBM_READ_CNF_EV             (DWORD)(AP_MMIA_CBS_RSP_EVENT + 4)

+#define AP_MMIA_CBS_PCBM_READ_CNF_EV             (DWORD)(AP_MMIA_CBS_RSP_EVENT + 5)

+

+/* ========================================================================

+   AP-MMIA PB(´æ´¢¹ÜÀí)ÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define AP_MMIA_SM_SAVE_REQ_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 0)

+#define AP_MMIA_SM_READ_REQ_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 1)

+#define AP_MMIA_SM_LIST_REQ_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 2)

+#define AP_MMIA_SM_DELETE_REQ_EV                 (DWORD)(AP_MMIA_EVENT_PB_BASE + 3)

+#define AP_MMIA_SM_MEM_AVAIL_RSP_EV              (DWORD)(AP_MMIA_EVENT_PB_BASE + 4)

+#define AP_MMIA_PB_FIND_INDEX_REQ_EV             (DWORD)(AP_MMIA_EVENT_PB_BASE + 5)

+#define AP_MMIA_PB_FIND_TEXT_REQ_EV              (DWORD)(AP_MMIA_EVENT_PB_BASE + 6)

+#define AP_MMIA_PB_EDIT_REQ_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 7)

+#define AP_MMIA_PB_STORAGE_STATUS_REQ_EV         (DWORD)(AP_MMIA_EVENT_PB_BASE + 8)

+#define AP_MMIA_PB_PREF_MSG_STO_REQ_EV           (DWORD)(AP_MMIA_EVENT_PB_BASE + 9)

+#define AP_MMIA_PB_PREF_MSG_STO_TEST_REQ_EV      (DWORD)(AP_MMIA_EVENT_PB_BASE + 10)

+#define AP_MMIA_PB_TPMR_UPDATE_REQ_EV            (DWORD)(AP_MMIA_EVENT_PB_BASE + 11)

+#define AP_MMIA_PB_MEM_CAPA_REQ_EV               (DWORD)(AP_MMIA_EVENT_PB_BASE + 12)

+#define AP_MMIA_PB_MT_PARA_IND_EV                (DWORD)(AP_MMIA_EVENT_PB_BASE + 13)

+#define AP_MMIA_PB_EMER_NUM_LIST_IND_EV          (DWORD)(AP_MMIA_EVENT_PB_BASE + 14)

+#define AP_MMIA_PB_STO_SET_REQ_EV                (DWORD)(AP_MMIA_EVENT_PB_BASE + 15)

+#define AP_MMIA_PB_STO_TEST_REQ_EV               (DWORD)(AP_MMIA_EVENT_PB_BASE + 16)

+#define AP_MMIA_PB_QUERY_SMS_MAX_INDEX_REQ_EV    (DWORD)(AP_MMIA_EVENT_PB_BASE + 17)

+#define AP_MMIA_PB_S_FIND_INDEX_REQ_EV           (DWORD)(AP_MMIA_EVENT_PB_BASE + 18)

+#define AP_MMIA_PB_S_EDIT_REQ_EV                 (DWORD)(AP_MMIA_EVENT_PB_BASE + 19)

+#define AP_MMIA_PB_C_NUM_REQ                     (DWORD)(AP_MMIA_EVENT_PB_BASE + 20)

+#define AP_MMIA_PB_CLCK_SET_REQ_EV               (DWORD)(AP_MMIA_EVENT_PB_BASE + 21)

+#define AP_MMIA_PB_SCPBR_TEST_REQ_EV             (DWORD)(AP_MMIA_EVENT_PB_BASE + 22)

+#define AP_MMIA_PB_SCPBW_TEST_REQ_EV             (DWORD)(AP_MMIA_EVENT_PB_BASE + 23)

+#define AP_MMIA_PB_UICC_OK_IND_EV                (DWORD)(AP_MMIA_EVENT_PB_BASE + 24)

+#define AP_MMIA_PB_CPBR_IND_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 25)

+#define AP_MMIA_PB_CPBF_IND_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 26)

+#define AP_MMIA_PB_SCPBR_IND_EV                  (DWORD)(AP_MMIA_EVENT_PB_BASE + 27)

+#define AP_MMIA_PB_CMGL_IND_EV                   (DWORD)(AP_MMIA_EVENT_PB_BASE + 28)

+#define AP_MMIA_PB_CPBW_QUERY_REQ_EV             (DWORD)(AP_MMIA_EVENT_PB_BASE + 29)

+#define AP_MMIA_PB_READ_CAPA_REQ_EV              (DWORD)(AP_MMIA_EVENT_PB_BASE + 30)

+#define AP_MMIA_PB_READ_SET_NUM_REQ_EV           (DWORD)(AP_MMIA_EVENT_PB_BASE + 31)

+#define AP_MMIA_PB_READ_LAST_EXT_ERR_REQ_EV      (DWORD)(AP_MMIA_EVENT_PB_BASE + 32)

+

+#define AP_MMIA_SM_SAVE_CNF_EV                   (DWORD)(AP_MMIA_PB_RSP_EVENT + 0)

+#define AP_MMIA_SM_READ_CNF_EV                   (DWORD)(AP_MMIA_PB_RSP_EVENT + 1)

+#define AP_MMIA_SM_LIST_CNF_EV                   (DWORD)(AP_MMIA_PB_RSP_EVENT + 2)

+#define AP_MMIA_SM_DELETE_CNF_EV                 (DWORD)(AP_MMIA_PB_RSP_EVENT + 3)

+#define AP_MMIA_SM_MEM_AVAIL_IND_EV              (DWORD)(AP_MMIA_PB_RSP_EVENT + 4)

+#define AP_MMIA_PB_FIND_INDEX_CNF_EV             (DWORD)(AP_MMIA_PB_RSP_EVENT + 5)

+#define AP_MMIA_PB_FIND_TEXT_CNF_EV              (DWORD)(AP_MMIA_PB_RSP_EVENT + 6)

+#define AP_MMIA_PB_EDIT_CNF_EV                   (DWORD)(AP_MMIA_PB_RSP_EVENT + 7)

+#define AP_MMIA_PB_STORAGE_STATUS_CNF_EV         (DWORD)(AP_MMIA_PB_RSP_EVENT + 8)

+#define AP_MMIA_PB_FIND_INDEX_END_CNF_EV         (DWORD)(AP_MMIA_PB_RSP_EVENT + 9)

+#define AP_MMIA_PB_PREF_MSG_STO_CNF_EV           (DWORD)(AP_MMIA_PB_RSP_EVENT + 10)

+#define AP_MMIA_PB_PREF_MSG_STO_TEST_CNF_EV      (DWORD)(AP_MMIA_PB_RSP_EVENT + 11)

+#define AP_MMIA_PB_COMMON_CNF_EV                 (DWORD)(AP_MMIA_PB_RSP_EVENT + 12)

+#define AP_MMIA_PB_INIT_COMP_IND_EV              (DWORD)(AP_MMIA_PB_RSP_EVENT + 13)

+#define AP_MMIA_PB_STO_TEST_CNF_EV               (DWORD)(AP_MMIA_PB_RSP_EVENT + 14)

+#define AP_MMIA_PB_QUERY_SMS_MAX_INDEX_CNF_EV    (DWORD)(AP_MMIA_PB_RSP_EVENT + 15)

+#define AP_MMIA_PB_S_FIND_INDEX_CNF_EV           (DWORD)(AP_MMIA_PB_RSP_EVENT + 16)

+#define AP_MMIA_PB_S_FIND_INDEX_END_CNF_EV       (DWORD)(AP_MMIA_PB_RSP_EVENT + 17)

+#define AP_MMIA_PB_S_EDIT_CNF_EV                 (DWORD)(AP_MMIA_PB_RSP_EVENT + 18)

+#define AP_MMIA_PB_SCPBR_TEST_CNF_EV             (DWORD)(AP_MMIA_PB_RSP_EVENT + 19)

+#define AP_MMIA_PB_SCPBW_TEST_CNF_EV             (DWORD)(AP_MMIA_PB_RSP_EVENT + 20)

+#define AP_MMIA_PB_C_NUM_CNF                     (DWORD)(AP_MMIA_PB_RSP_EVENT + 21)

+#define AP_MMIA_PB_CLCK_STATUS_CNF_EV            (DWORD)(AP_MMIA_PB_RSP_EVENT + 22)

+#define AP_MMIA_PB_CHG_INDEX_IND_EV              (DWORD)(AP_MMIA_PB_RSP_EVENT + 23)

+#define AP_MMIA_PB_CPBW_QUERY_CNF_EV             (DWORD)(AP_MMIA_PB_RSP_EVENT + 24)

+#define AP_MMIA_PB_READ_CAPA_CNF_EV              (DWORD)(AP_MMIA_PB_RSP_EVENT + 25)

+#define AP_MMIA_PB_READ_SET_NUM_CNF_EV           (DWORD)(AP_MMIA_PB_RSP_EVENT + 26)

+#define AP_MMIA_PB_READ_LAST_EXT_ERR_CNF_EV      (DWORD)(AP_MMIA_PB_RSP_EVENT + 27)

+

+/* ========================================================================

+   AP-MMIA ¹¤³ÌģʽºÍÏúÁ¿Í³¼ÆÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define AP_MMIA_EM_CELL_INFO_REQ_EV              (DWORD)(AP_MMIA_EVENT_EM_BASE + 0)

+#define AP_MMIA_EM_CELL_INFO_QUERY_REQ_EV        (DWORD)(AP_MMIA_EVENT_EM_BASE + 1)

+#define AP_MMIA_EM_LOCK_CELL_REQ_EV              (DWORD)(AP_MMIA_EVENT_EM_BASE + 2)

+#define AP_MMIA_EM_HO_INFO_REQ_EV                (DWORD)(AP_MMIA_EVENT_EM_BASE + 3)

+#define AP_MMIA_EM_HO_INFO_QUERY_REQ_EV          (DWORD)(AP_MMIA_EVENT_EM_BASE + 4)

+#define AP_MMIA_SELL_STAT_SWITCH_SET_REQ_EV      (DWORD)(AP_MMIA_EVENT_EM_BASE + 5)

+#define AP_MMIA_SELL_STAT_SWITCH_QUERY_REQ_EV    (DWORD)(AP_MMIA_EVENT_EM_BASE + 6)

+#define AP_MMIA_SELL_STAT_UDPINFO_QUERY_REQ_EV   (DWORD)(AP_MMIA_EVENT_EM_BASE + 7)

+#define AP_MMIA_SELL_STAT_TEST_SEND_REQ_EV       (DWORD)(AP_MMIA_EVENT_EM_BASE + 8)

+#define AP_MMIA_SELL_STAT_DOMAIN_SET_REQ_EV      (DWORD)(AP_MMIA_EVENT_EM_BASE + 9)

+#define AP_MMIA_SELL_STAT_DOMAIN_QUERY_REQ_EV    (DWORD)(AP_MMIA_EVENT_EM_BASE + 10)

+#define AP_MMIA_SELL_STAT_CRC_SET_REQ_EV         (DWORD)(AP_MMIA_EVENT_EM_BASE + 11)

+#define AP_MMIA_SELL_STAT_CRC_QUERY_REQ_EV       (DWORD)(AP_MMIA_EVENT_EM_BASE + 12)

+#define AP_MMIA_SELL_STAT_DEBUG_SET_REQ_EV       (DWORD)(AP_MMIA_EVENT_EM_BASE + 13)

+#define AP_MMIA_SELL_STAT_DEBUG_QUERY_REQ_EV     (DWORD)(AP_MMIA_EVENT_EM_BASE + 14)

+#define AP_MMIA_SELL_STAT_PORT_SET_REQ_EV        (DWORD)(AP_MMIA_EVENT_EM_BASE + 15)

+#define AP_MMIA_SELL_STAT_PORT_QUERY_REQ_EV      (DWORD)(AP_MMIA_EVENT_EM_BASE + 16)

+#define AP_MMIA_SELL_STAT_TRI_TYPE_QUERY_REQ_EV  (DWORD)(AP_MMIA_EVENT_EM_BASE + 17)

+#define AP_MMIA_SELL_STAT_DNS_CNT_QUERY_REQ_EV   (DWORD)(AP_MMIA_EVENT_EM_BASE + 18)

+

+

+#define AP_MMIA_EM_CELL_INFO_QUERY_CNF_EV        (DWORD)(AP_MMIA_EM_RSP_EVENT + 0)

+#define AP_MMIA_EM_HO_INFO_IND_EV                (DWORD)(AP_MMIA_EM_RSP_EVENT + 1)

+#define AP_MMIA_EM_HO_INFO_QUERY_CNF_EV          (DWORD)(AP_MMIA_EM_RSP_EVENT + 2)

+#define AP_MMIA_SELL_STAT_SWITCH_QUERY_CNF_EV    (DWORD)(AP_MMIA_EM_RSP_EVENT + 3)

+#define AP_MMIA_SELL_STAT_UDPINFO_QUERY_CNF_EV   (DWORD)(AP_MMIA_EM_RSP_EVENT + 4)

+#define AP_MMIA_SELL_STAT_DOMAIN_QUERY_CNF_EV    (DWORD)(AP_MMIA_EM_RSP_EVENT + 5)

+#define AP_MMIA_SELL_STAT_CRC_QUERY_CNF_EV       (DWORD)(AP_MMIA_EM_RSP_EVENT + 6)

+#define AP_MMIA_SELL_STAT_DEBUG_QUERY_CNF_EV     (DWORD)(AP_MMIA_EM_RSP_EVENT + 7)

+#define AP_MMIA_SELL_STAT_PORT_QUERY_CNF_EV      (DWORD)(AP_MMIA_EM_RSP_EVENT + 8)

+#define AP_MMIA_SELL_STAT_TRI_TYPE_QUERY_CNF_EV  (DWORD)(AP_MMIA_EM_RSP_EVENT + 9)

+#define AP_MMIA_SELL_STAT_DNS_CNT_QUERY_CNF_EV   (DWORD)(AP_MMIA_EM_RSP_EVENT + 10)

+

+/* ========================================================================

+   AP-MMIA ÐźÅÇ¿¶ÈÖ÷¶¯Éϱ¨ÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define AP_MMIA_RXLEV_REQ_EV                     (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 0)

+#define AP_MMIA_ZRPT_RXLEV_REQ_EV                (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 1)       

+#define AP_MMIA_ZRPT_RXLEV_QUERY_REQ_EV          (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 2)

+#define AP_MMIA_QUERY_IMSI_REQ_EV                (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 3)

+#define AP_MMIA_QUERY_IMEI_REQ_EV                (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 4)

+#define AP_MMIA_ABORT_REQ_EV                     (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 5)

+#define AP_MMIA_CAUSE_QUERY_REQ_EV               (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 6)

+#define AP_MMIA_SPN_READ_REQ_EV                  (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 7)

+#define AP_MMIA_ZETWS_PRIMARY_SET_REQ_EV         (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 8)

+#define AP_MMIA_ZETWS_PRIMARY_QUERY_REQ_EV       (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 9)

+#define AP_MMIA_ZETWS_SECONDARY_SET_REQ_EV       (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 10)

+#define AP_MMIA_ZETWS_SECONDARY_QUERY_REQ_EV     (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 11)

+#define AP_MMIA_SET_IMSI_REQ_EV                  (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 12)

+#define AP_MMIA_AUTO_START_REQ_EV                (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 13)

+#define AP_MMIA_CHNEL_STATE_QUERY_REQ_EV         (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 14)

+#define AP_MMIA_ZOPERLTEBAND_QUERY_REQ_EV        (DWORD)(AP_MMIA_EVENT_OTHER_BASE + 15)

+

+

+#define AP_MMIA_RXLEV_CNF_EV                     (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 0)

+#define AP_MMIA_ZRPT_RXLEVIND_EV                 (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 1)

+#define AP_MMIA_ZRPT_RXLEV_QUERY_CNF_EV          (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 2)

+#define AP_MMIA_QUERY_IMSI_CNF_EV                (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 3)

+#define AP_MMIA_QUERY_IMEI_CNF_EV                (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 4)

+#define AP_MMIA_COMMON_CNF_EV                    (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 5)

+#define AP_MMIA_CAUSE_QUERY_CNF_EV               (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 6)

+#define AP_MMIA_ZPBIC_IND_EV                     (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 7)

+#define AP_MMIA_SPN_READ_CNF_EV                  (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 8)

+#define AP_MMIA_ZETWS_PRIMARY_QUERY_CNF_EV       (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 9)

+#define AP_MMIA_ZETWS_SECONDARY_QUERY_CNF_EV     (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 10)

+#define AP_MMIA_ZETWS_PRIMARY_IND_EV             (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 11)

+#define AP_MMIA_ZETWS_SECONDARY_IND_EV           (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 12)

+#define AP_MMIA_CHG_INDEX_IND_EV                 (DWORD)(AP_MMIA_OTHER_RSP_EVENT + 13)

+

+/* ========================================================================

+   MMIA-UMMÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define MMIA_UMM_SEARCH_PLMN_REQ_EV              (DWORD)(MMIA_UMM_EVENT_BASE + 0)

+#define MMIA_UMM_PLMN_LIST_REQ_EV                (DWORD)(MMIA_UMM_EVENT_BASE + 1)

+#define MMIA_UMM_ACTIVE_REQ_EV                   (DWORD)(MMIA_UMM_EVENT_BASE + 2)

+#define MMIA_UMM_RF_CTRL_REQ_EV                  (DWORD)(MMIA_UMM_EVENT_BASE + 3)

+#define MMIA_UMM_ABORT_REQ_EV                    (DWORD)(MMIA_UMM_EVENT_BASE + 4)

+#define MMIA_UMM_EM_LOCK_CELL_REQ_EV             (DWORD)(MMIA_UMM_EVENT_BASE + 5)

+#define MMIA_UMM_CSG_SEL_REQ_EV                  (DWORD)(MMIA_UMM_EVENT_BASE + 6)

+#define MMIA_UMM_CURRENT_CSG_QUERY_REQ_EV        (DWORD)(MMIA_UMM_EVENT_BASE + 7)

+#define MMIA_UMM_CSG_LIST_REQ_EV                 (DWORD)(MMIA_UMM_EVENT_BASE + 8)

+#define MMIA_UMM_SYSCONFIG_REQ_EV                (DWORD)(MMIA_UMM_EVENT_BASE + 9)

+#define MMIA_UMM_CGATT_QUERY_REQ_EV              (DWORD)(MMIA_UMM_EVENT_BASE + 10)

+#define MMIA_UMM_ZATT_QUERY_REQ_EV               (DWORD)(MMIA_UMM_EVENT_BASE + 11)

+#define MMIA_UMM_EPS_MODE_QUERY_REQ_EV           (DWORD)(MMIA_UMM_EVENT_BASE + 12)

+#define MMIA_UMM_EPS_MODE_SET_REQ_EV             (DWORD)(MMIA_UMM_EVENT_BASE + 13)

+#define MMIA_UMM_SET_LTE_ACT_REQ_EV              (DWORD)(MMIA_UMM_EVENT_BASE + 14)

+#define MMIA_UMM_CS_SRV_CNF_EV                   (DWORD)(MMIA_UMM_EVENT_BASE + 15)

+#define MMIA_UMM_IMS_REGISTER_STATES_EV          (DWORD)(MMIA_UMM_EVENT_BASE + 16)

+#define MMIA_UMM_VOICE_MODE_SET_REQ_EV           (DWORD)(MMIA_UMM_EVENT_BASE + 17)

+#define MMIA_UMM_VOICE_MODE_QUERY_REQ_EV         (DWORD)(MMIA_UMM_EVENT_BASE + 18)

+#define MMIA_UMM_SYSCONFIG_QUERY_REQ_EV          (DWORD)(MMIA_UMM_EVENT_BASE + 19)

+#define MMIA_UMM_SMSOVERIPNET_SETREQ_EV          (DWORD)(MMIA_UMM_EVENT_BASE + 20)

+#define Z_TD_LTE_CELL_IND_EV                     (DWORD)(MMIA_UMM_EVENT_BASE + 21)

+#define MMIA_UMM_PS_CONTEXT_REQ_EV               (DWORD)(MMIA_UMM_EVENT_BASE + 22)

+#define MMIA_UMM_PS_CONTEXT_IND_EV               (DWORD)(MMIA_UMM_EVENT_BASE + 23)

+#define MMIA_UMM_CAUSE_QUERY_REQ_EV              (DWORD)(MMIA_UMM_EVENT_BASE + 24)

+#define MMIA_UMM_UPDATE_OPERPLMN_IND_EV          (DWORD)(MMIA_UMM_EVENT_BASE + 25)

+#define MMIA_UMM_CS_CALL_START_IND_EV            (DWORD)(MMIA_UMM_EVENT_BASE + 26)

+#define MMIA_UMM_CS_CALL_END_IND_EV              (DWORD)(MMIA_UMM_EVENT_BASE + 27)

+#define MMIA_UMM_XCELLINFO_REQ_EV                (DWORD)(MMIA_UMM_EVENT_BASE + 28)

+#define MMIA_UMM_LASTCID_APNMODIFY_IND_EV        (DWORD)(MMIA_UMM_EVENT_BASE + 29)

+#define MMIA_UMM_CSVOICE_QUERY_REQ_EV            (DWORD)(MMIA_UMM_EVENT_BASE + 30)

+#define MMIA_UMM_CARDSWITCH_CMP_IND_EV           (DWORD)(MMIA_UMM_EVENT_BASE + 31)

+

+

+#define MMIA_UMM_PLMN_INFO_IND_EV                (DWORD)(MMIA_UMM_RSP_EVENT + 0)

+#define MMIA_UMM_PLMN_LIST_CNF_EV                (DWORD)(MMIA_UMM_RSP_EVENT + 1)

+#define MMIA_UMM_ACTIVE_CNF_EV                   (DWORD)(MMIA_UMM_RSP_EVENT + 2)

+#define MMIA_UMM_MM_INFO_IND_EV                  (DWORD)(MMIA_UMM_RSP_EVENT + 3)

+#define MMIA_UMM_RF_CTRL_CNF_EV                  (DWORD)(MMIA_UMM_RSP_EVENT + 4)

+#define MMIA_UMM_EM_LOCK_CELL_CNF_EV             (DWORD)(MMIA_UMM_RSP_EVENT + 5)

+#define MMIA_UMM_CSG_SEL_CNF_EV                  (DWORD)(MMIA_UMM_RSP_EVENT + 6)

+#define MMIA_UMM_CURRENT_CSG_QUERY_CNF_EV        (DWORD)(MMIA_UMM_RSP_EVENT + 7)

+#define MMIA_UMM_CSG_LIST_CNF_EV                 (DWORD)(MMIA_UMM_RSP_EVENT + 8)

+#define MMIA_UMM_COMMON_CNF_EV                   (DWORD)(MMIA_UMM_RSP_EVENT + 9)

+#define MMIA_UMM_CGATT_QUERY_CNF_EV              (DWORD)(MMIA_UMM_RSP_EVENT + 10)

+#define MMIA_UMM_ZATT_QUERY_CNF_EV               (DWORD)(MMIA_UMM_RSP_EVENT + 11)

+#define MMIA_UMM_EPS_MODE_SET_CNF_EV             (DWORD)(MMIA_UMM_RSP_EVENT + 12)

+#define MMIA_UMM_EPS_MODE_QUERY_CNF_EV           (DWORD)(MMIA_UMM_RSP_EVENT + 13)

+#define MMIA_UMM_SEARCH_PLMN_CNF_EV              (DWORD)(MMIA_UMM_RSP_EVENT + 14)

+#define MMIA_UMM_CS_SRV_IND_Ev                   (DWORD)(MMIA_UMM_RSP_EVENT + 15)

+#define MMIA_UMM_VOICE_MODE_QUERY_CNF_EV         (DWORD)(MMIA_UMM_RSP_EVENT + 16)

+#define MMIA_UMM_SYSCONFIG_QUERY_CNF_EV          (DWORD)(MMIA_UMM_RSP_EVENT + 17)

+#define MMIA_UMM_NOTIFY_PS_STATE_EV              (DWORD)(MMIA_UMM_RSP_EVENT + 18)

+#define MMIA_UMM_SUBMODE_IND_EV                  (DWORD)(MMIA_UMM_RSP_EVENT + 19)

+#define MMIA_UMM_SRVCC_IND_EV                    (DWORD)(MMIA_UMM_RSP_EVENT + 20)

+#define MMIA_UMM_PS_CONTEXT_CNF_EV               (DWORD)(MMIA_UMM_RSP_EVENT + 21)

+#define MMIA_UMM_CAUSE_QUERY_CNF_EV              (DWORD)(MMIA_UMM_RSP_EVENT + 22)

+#define MMIA_UMM_UPDATE_DUALPSSYSCONFIG_IND_EV   (DWORD)(MMIA_UMM_RSP_EVENT + 23)

+#define MMIA_UMM_IMSNOTSUPPORT_IND_EV            (DWORD)(MMIA_UMM_RSP_EVENT + 24)

+#define MMIA_UMM_PLMNLIST_BANDINFO_CNF_EV        (DWORD)(MMIA_UMM_RSP_EVENT + 25)

+#define MMIA_UMM_XCELLINFO_CNF_EV                (DWORD)(MMIA_UMM_RSP_EVENT + 26)

+#define MMIA_UMM_CSVOICE_QUERY_CNF_EV            (DWORD)(MMIA_UMM_RSP_EVENT + 27)

+#define MMIA_UMM_SCAN_CNF_EV                     (DWORD)(MMIA_UMM_RSP_EVENT + 28)

+#define MMIA_UMM_CARDSWITCH_REQ_IND_EV           (DWORD)(MMIA_UMM_RSP_EVENT + 29)

+/* ========================================================================

+   MMIA£­CCÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define MMIA_CC_MOC_REQ_EV                       (DWORD)(MMIA_CC_EVENT_BASE + 0)

+#define MMIA_CC_MTC_RSP_EV                       (DWORD)(MMIA_CC_EVENT_BASE + 1)

+#define MMIA_CC_ANS_MODE_REQ_EV                  (DWORD)(MMIA_CC_EVENT_BASE + 2)

+#define MMIA_CC_MODIFY_REQ_EV                    (DWORD)(MMIA_CC_EVENT_BASE + 3)

+#define MMIA_CC_DIS_MODE_REQ_EV                  (DWORD)(MMIA_CC_EVENT_BASE + 4)

+#define MMIA_CC_DTMF_REQ_EV                      (DWORD)(MMIA_CC_EVENT_BASE + 5)

+#define MMIA_CC_CHLD_REQ_EV                      (DWORD)(MMIA_CC_EVENT_BASE + 6)

+#define MMIA_CC_STATE_QUERY_REQ_EV               (DWORD)(MMIA_CC_EVENT_BASE + 7)

+#define MMIA_CC_CAUSE_QUERY_REQ_EV               (DWORD)(MMIA_CC_EVENT_BASE + 8)

+#define MMIA_CC_CSTA_QUERY_REQ_EV                (DWORD)(MMIA_CC_EVENT_BASE + 9)

+#define MMIA_CC_CSTA_SET_REQ_EV                  (DWORD)(MMIA_CC_EVENT_BASE + 10)

+#define MMIA_CC_MODE_TO_MULTMEDIA_RSP_EV         (DWORD)(MMIA_CC_EVENT_BASE + 11)

+#define MMIA_CC_CCM_QUERY_REQ_EV                 (DWORD)(MMIA_CC_EVENT_BASE + 12)

+#define MMIA_CC_ABORT_REQ_EV                     (DWORD)(MMIA_CC_EVENT_BASE + 13)

+#define MMIA_CC_STATE_REQ_EV                     (DWORD)(MMIA_CC_EVENT_BASE + 14)

+#define MMIA_CC_OPEN_VOICECHNL_REQ_EV            (DWORD)(MMIA_CC_EVENT_BASE + 15)

+#define MMIA_CC_SRVCC_NOTOPEN_VOICECHNL_REQ_EV   (DWORD)(MMIA_CC_EVENT_BASE + 16)

+

+#define MMIA_CC_MOC_CNF_EV                       (DWORD)(MMIA_CC_RSP_EVENT + 0)

+#define MMIA_CC_MTC_IND_EV                       (DWORD)(MMIA_CC_RSP_EVENT + 1)

+#define MMIA_CC_ANS_MODE_CNF_EV                  (DWORD)(MMIA_CC_RSP_EVENT + 2)

+#define MMIA_CC_MODIFY_CNF_EV                    (DWORD)(MMIA_CC_RSP_EVENT + 3)

+#define MMIA_CC_DISC_IND_EV                      (DWORD)(MMIA_CC_RSP_EVENT + 4)

+#define MMIA_CC_NOTIFY_IND_EV                    (DWORD)(MMIA_CC_RSP_EVENT + 5)

+#define MMIA_CC_AOC_IND_EV                       (DWORD)(MMIA_CC_RSP_EVENT + 6)

+#define MMIA_CC_SS_NOTIFY_IND_EV                 (DWORD)(MMIA_CC_RSP_EVENT + 7)

+#define MMIA_CC_STATE_QUERY_CNF_EV               (DWORD)(MMIA_CC_RSP_EVENT + 8)

+#define MMIA_CC_COMMON_CNF_EV                    (DWORD)(MMIA_CC_RSP_EVENT + 9)

+#define MMIA_CC_CAUSE_QUERY_CNF_EV               (DWORD)(MMIA_CC_RSP_EVENT + 10)

+#define MMIA_CC_PROC_INFO_IND_EV                 (DWORD)(MMIA_CC_RSP_EVENT + 11)

+#define MMIA_CC_CSTA_QUERY_CNF_EV                (DWORD)(MMIA_CC_RSP_EVENT + 12)

+#define MMIA_CC_MODE_TO_MULTMEDIAIND_EV          (DWORD)(MMIA_CC_RSP_EVENT + 13)

+#define MMIA_CC_DISC_CNF_EV                      (DWORD)(MMIA_CC_RSP_EVENT + 14)

+#define MMIA_CC_CALL_STATE_IND_EV                (DWORD)(MMIA_CC_RSP_EVENT + 15)

+#define MMIA_CC_OPEN_VOICE_CHNL_IND_EV           (DWORD)(MMIA_CC_RSP_EVENT + 16)

+#define MMIA_CC_CLOSE_VOICE_CHNL_IND_EV          (DWORD)(MMIA_CC_RSP_EVENT + 17)

+#define MMIA_CC_CCM_QUERY_CNF_EV                 (DWORD)(MMIA_CC_RSP_EVENT + 18)

+#define MMIA_CC_CCWV_IND_EV                      (DWORD)(MMIA_CC_RSP_EVENT + 19)

+#define MMIA_CC_NOTIFY_AOC_TIMER_IND_EV          (DWORD)(MMIA_CC_RSP_EVENT + 20)

+#define MMIA_CC_CNAP_IND_EV                      (DWORD)(MMIA_CC_RSP_EVENT + 21)

+#define MMIA_CC_DUALPSCFG_IND_EV                 (DWORD)(MMIA_CC_RSP_EVENT + 22)

+#define MMIA_CC_STOP_LOCALVOICE_IND_EV           (DWORD)(MMIA_CC_RSP_EVENT + 23)

+#define MMIA_CC_CHLD_CNF_EV                      (DWORD)(MMIA_CC_RSP_EVENT + 24)

+#define MMIA_CC_DTMF_CNF_EV                      (DWORD)(MMIA_CC_RSP_EVENT + 25)

+#define MMIA_CC_CSTA_SET_CNF_EV                  (DWORD)(MMIA_CC_RSP_EVENT + 26)

+

+/* ========================================================================

+   MMIA£­SMSÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define MMIA_SMS_SUBMIT_SEND_REQ_EV              (DWORD)(MMIA_SMS_EVENT_BASE + 0)

+#define MMIA_SMS_COMMAND_SEND_REQ_EV             (DWORD)(MMIA_SMS_EVENT_BASE + 1)

+#define MMIA_SMS_REC_RSP_REQ_EV                  (DWORD)(MMIA_SMS_EVENT_BASE + 2)

+#define MMIA_SMS_MEM_AVAIL_REQ_EV                (DWORD)(MMIA_SMS_EVENT_BASE + 3)

+#define MMIA_SMS_STORE_REPORT_REQ_EV             (DWORD)(MMIA_SMS_EVENT_BASE + 4)

+#define MMIA_SMS_ABORT_MO_REQ_EV                 (DWORD)(MMIA_SMS_EVENT_BASE + 5)

+

+#define MMIA_SMS_MSG_SEND_CNF_EV                 (DWORD)(MMIA_SMS_RSP_EVENT + 0)

+#define MMIA_SMS_DELIVER_REC_IND_EV              (DWORD)(MMIA_SMS_RSP_EVENT + 1)

+#define MMIA_SMS_STATUS_REC_IND_EV               (DWORD)(MMIA_SMS_RSP_EVENT + 2)

+#define MMIA_SMS_REC_RSP_CNF_EV                  (DWORD)(MMIA_SMS_RSP_EVENT + 3)

+#define MMIA_SMS_MMS_DISABLE_IND_EV              (DWORD)(MMIA_SMS_RSP_EVENT + 4)

+#define MMIA_SMS_MEM_AVAIL_CNF_EV                (DWORD)(MMIA_SMS_RSP_EVENT + 5)

+#define MMIA_SMS_COMMON_CNF_EV                   (DWORD)(MMIA_SMS_RSP_EVENT + 6)

+

+/* ========================================================================

+   MMIA£­SSÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define MMIA_SS_CLCK_SET_REQ_EV                  (DWORD)(MMIA_SS_EVENT_BASE + 0)

+#define MMIA_SS_CPWD_SET_REQ_EV                  (DWORD)(MMIA_SS_EVENT_BASE + 1)

+#define MMIA_SS_CLIP_READ_REQ_EV                 (DWORD)(MMIA_SS_EVENT_BASE + 2)

+#define MMIA_SS_CLIR_READ_REQ_EV                 (DWORD)(MMIA_SS_EVENT_BASE + 3)

+#define MMIA_SS_COLP_READ_REQ_EV                 (DWORD)(MMIA_SS_EVENT_BASE + 4)

+#define MMIA_SS_COLR_READ_REQ_EV                 (DWORD)(MMIA_SS_EVENT_BASE + 5)

+#define MMIA_SS_CCFC_SET_REQ_EV                  (DWORD)(MMIA_SS_EVENT_BASE + 6)

+#define MMIA_SS_CCWA_SET_REQ_EV                  (DWORD)(MMIA_SS_EVENT_BASE + 7)

+#define MMIA_SS_CUSD_SET_REQ_EV                  (DWORD)(MMIA_SS_EVENT_BASE + 8)

+#define MMIA_SS_ABORT_REQ_EV                     (DWORD)(MMIA_SS_EVENT_BASE + 9)

+#define MMIA_SS_USSD_CANCEL_REQ_EV               (DWORD)(MMIA_SS_EVENT_BASE + 10)

+#define MMIA_SS_CNAP_READ_REQ_EV                 (DWORD)(MMIA_SS_EVENT_BASE + 11)

+#define MMIA_SS_MOLR_ENABLE_REQ_EV               (DWORD)(MMIA_SS_EVENT_BASE + 12)

+#define MMIA_SS_MOLR_DISABLE_REQ_EV              (DWORD)(MMIA_SS_EVENT_BASE + 13)

+#define MMIA_SS_MTLR_ANS_REQ_EV                  (DWORD)(MMIA_SS_EVENT_BASE + 14)

+

+#define MMIA_SS_COMMON_CNF_EV                    (DWORD)(MMIA_SS_RSP_EVENT + 0)

+#define MMIA_SS_CLCK_QUERY_CNF_EV                (DWORD)(MMIA_SS_RSP_EVENT + 1)

+#define MMIA_SS_CLIP_READ_CNF_EV                 (DWORD)(MMIA_SS_RSP_EVENT + 2)

+#define MMIA_SS_CLIR_READ_CNF_EV                 (DWORD)(MMIA_SS_RSP_EVENT + 3)

+#define MMIA_SS_COLP_READ_CNF_EV                 (DWORD)(MMIA_SS_RSP_EVENT + 4)

+#define MMIA_SS_COLR_READ_CNF_EV                 (DWORD)(MMIA_SS_RSP_EVENT + 5)

+#define MMIA_SS_CCFC_QUERY_CNF_EV                (DWORD)(MMIA_SS_RSP_EVENT + 6)

+#define MMIA_SS_CCWA_QUERY_CNF_EV                (DWORD)(MMIA_SS_RSP_EVENT + 7)

+#define MMIA_SS_CUSD_MT_IND_EV                   (DWORD)(MMIA_SS_RSP_EVENT + 8)

+#define MMIA_SS_CNAP_READ_CNF_EV                 (DWORD)(MMIA_SS_RSP_EVENT + 9)

+#define MMIA_SS_MOLR_RES_IND_EV                  (DWORD)(MMIA_SS_RSP_EVENT + 10)

+#define MMIA_SS_MTLOCIREQ_NOTIFY_IND_EV          (DWORD)(MMIA_SS_RSP_EVENT + 11)

+/* ========================================================================

+   MMIA£­SMÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define MMIA_SM_NEG_QOS_QUERY_REQ_EV             (DWORD)(MMIA_SM_EVENT_BASE + 0)

+#define MMIA_SM_NEG_EQOS_QUERY_REQ_EV            (DWORD)(MMIA_SM_EVENT_BASE + 1)

+#define MMIA_SM_ACTIVATED_CID_QUERY_REQ_EV       (DWORD)(MMIA_SM_EVENT_BASE + 2)

+#define MMIA_SM_PDP_STATUS_QUERY_REQ_EV          (DWORD)(MMIA_SM_EVENT_BASE + 3)

+#define MMIA_SM_PDP_ADDR_QUERY_REQ_EV            (DWORD)(MMIA_SM_EVENT_BASE + 4)

+#define MMIA_SM_PDP_CAUSE_QUERY_REQ_EV           (DWORD)(MMIA_SM_EVENT_BASE + 5)

+#define MMIA_SM_PDP_ACTIVATE_REQ_EV              (DWORD)(MMIA_SM_EVENT_BASE + 6)

+#define MMIA_SM_PDP_DEACTIVATE_REQ_EV            (DWORD)(MMIA_SM_EVENT_BASE + 7)

+#define MMIA_SM_PDP_MODIFY_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 8)

+#define MMIA_SM_DATA_STATE_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 9)

+#define MMIA_SM_MT_ACT_ANS_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 10)

+#define MMIA_SM_CPSB_QUERY_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 11)

+#define MMIA_SM_CGCONTRDP_REQ_EV                 (DWORD)(MMIA_SM_EVENT_BASE + 12)

+#define MMIA_SM_CGSCONTRDP_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 13)

+#define MMIA_SM_CGTFTRDP_REQ_EV                  (DWORD)(MMIA_SM_EVENT_BASE + 14)

+

+/*   ÒÔÉÏÏûÏ¢ÓжÔÓ¦µÄATÃüÁî    */

+#define MMIA_SM_ABORT_REQ_EV                     (DWORD)(MMIA_SM_EVENT_BASE + 15)

+#define MMIA_SM_IP_PDP_ACT_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 16)

+#define MMIA_SM_IDLE_CHNL_QUERY_RSP_EV           (DWORD)(MMIA_SM_EVENT_BASE + 17)

+#define MMIA_SM_GET_PCO_RSP_EV                   (DWORD)(MMIA_SM_EVENT_BASE + 18)

+#define MMIA_SM_DISCONNECT_REQ_EV                (DWORD)(MMIA_SM_EVENT_BASE + 19)

+#define MMIA_SM_CONTEXT_REQ_EV                   (DWORD)(MMIA_SM_EVENT_BASE + 20)

+#define MMIA_SM_CONTEXT_IND_EV                   (DWORD)(MMIA_SM_EVENT_BASE + 21)

+

+#define MMIA_SM_NEG_QOS_QUERY_CNF_EV             (DWORD)(MMIA_SM_RSP_EVENT + 0)

+#define MMIA_SM_NEG_EQOS_QUERY_CNF_EV            (DWORD)(MMIA_SM_RSP_EVENT + 1)

+#define MMIA_SM_ACTIVATED_CID_QUERY_CNF_EV       (DWORD)(MMIA_SM_RSP_EVENT + 2)

+#define MMIA_SM_PDP_STATUS_QUERY_CNF_EV          (DWORD)(MMIA_SM_RSP_EVENT + 3)

+#define MMIA_SM_PDP_ADDR_QUERY_CNF_EV            (DWORD)(MMIA_SM_RSP_EVENT + 4)

+#define MMIA_SM_PDP_CAUSE_QUERY_CNF_EV           (DWORD)(MMIA_SM_RSP_EVENT + 5)

+#define MMIA_SM_PDP_ACTIVATE_CNF_EV              (DWORD)(MMIA_SM_RSP_EVENT + 6)

+#define MMIA_SM_PDP_DEACTIVATE_CNF_EV            (DWORD)(MMIA_SM_RSP_EVENT + 7)

+#define MMIA_SM_PDP_MODIFY_CNF_EV                (DWORD)(MMIA_SM_RSP_EVENT + 8)

+#define MMIA_SM_PDP_ACTIVATE_IND_EV              (DWORD)(MMIA_SM_RSP_EVENT + 9)

+#define MMIA_SM_CGEV_IND_EV                      (DWORD)(MMIA_SM_RSP_EVENT + 10)

+#define MMIA_SM_IP_PDP_ACT_CNF_EV                (DWORD)(MMIA_SM_RSP_EVENT + 11)

+#define MMIA_SM_CLOSE_CHNL_IND_EV                (DWORD)(MMIA_SM_RSP_EVENT + 12)

+#define MMIA_SM_IDLE_CHNL_QUERY_IND_EV           (DWORD)(MMIA_SM_RSP_EVENT + 13)

+#define MMIA_SM_GET_PCO_IND_EV                   (DWORD)(MMIA_SM_RSP_EVENT + 14)

+#define MMIA_SM_COMMON_CNF_EV                    (DWORD)(MMIA_SM_RSP_EVENT + 15)

+#define MMIA_SM_CONNECT_IND_EV                   (DWORD)(MMIA_SM_RSP_EVENT + 16)

+#define MMIA_SM_NO_CARRIER_CNF_EV                (DWORD)(MMIA_SM_RSP_EVENT + 17)

+#define MMIA_SM_CID_DEACT_IND_EV                 (DWORD)(MMIA_SM_RSP_EVENT + 18)

+#define MMIA_SM_CPSB_QUERY_CNF_EV                (DWORD)(MMIA_SM_RSP_EVENT + 19)

+#define MMIA_SM_CPSB_IND_EV                      (DWORD)(MMIA_SM_RSP_EVENT + 20)

+#define MMIA_SM_CGCONTRDP_CNF_EV                 (DWORD)(MMIA_SM_RSP_EVENT + 21)

+#define MMIA_SM_CGSCONTRDP_CNF_EV                (DWORD)(MMIA_SM_RSP_EVENT + 22)

+#define MMIA_SM_CGTFTRDP_CNF_EV                  (DWORD)(MMIA_SM_RSP_EVENT + 23)

+#define MMIA_SM_NOTIFICATION_IND_EV              (DWORD)(MMIA_SM_RSP_EVENT + 24)

+#define MMIA_SM_MT_ACT_ANS_CNF_EV                (DWORD)(MMIA_SM_RSP_EVENT + 25)

+#define MMIA_SM_CONTEXT_CNF_EV                   (DWORD)(MMIA_SM_RSP_EVENT + 26)

+

+/* ========================================================================

+  ESM- MMIAÄ£¿éÖ®¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define MMIA_ESM_MT_EPS_BEARER_ACT_REQ_EV        (DWORD)(MMIA_ESM_EVENT_BASE + 0) /*only for R7&R5*/

+#define MMIA_ESM_EPS_BEARER_MOD_REQ_EV           (DWORD)(MMIA_ESM_EVENT_BASE + 1)

+#define MMIA_ESM_EBR_MOD_QUERY_REQ_EV            (DWORD)(MMIA_ESM_EVENT_BASE + 2)

+#define MMIA_ESM_EPS_QOS_QUERY_REQ_EV            (DWORD)(MMIA_ESM_EVENT_BASE + 3) /*only for R7&R5*/

+#define MMIA_ESM_CGATFT_REQ_EV                   (DWORD)(MMIA_ESM_EVENT_BASE + 4)

+#define MMIA_ESM_ABORT_REQ_EV                    (DWORD)(MMIA_ESM_EVENT_BASE + 5) /*only for R7&R5*/

+#ifdef BTRUNK_SUPPORT

+#define PTT_MMIA_ESM_TAUTYPE_REQ_EV              (DWORD)(MMIA_ESM_EVENT_BASE + 6) /*¼¯ÈºÌí¼Ó*/

+#endif

+

+#define MMIA_ESM_EPS_BEARER_ACT_IND_EV           (DWORD)(MMIA_ESM_RSP_EVENT + 0)

+#define MMIA_ESM_EPS_BEARER_DEACT_IND_EV         (DWORD)(MMIA_ESM_RSP_EVENT + 1)

+#define MMIA_ESM_EPS_BEARER_MOD_IND_EV           (DWORD)(MMIA_ESM_RSP_EVENT + 2)

+#define MMIA_ESM_MT_EPS_BEARER_ACT_IND_EV        (DWORD)(MMIA_ESM_RSP_EVENT + 3) /*only for R7&R5*/

+#define MMIA_ESM_EPS_BEARER_MOD_CNF_EV           (DWORD)(MMIA_ESM_RSP_EVENT + 4)

+#define MMIA_ESM_EPS_BEARER_MOD_REJ_EV           (DWORD)(MMIA_ESM_RSP_EVENT + 5)

+#define MMIA_ESM_EBR_MOD_QUERY_CNF_EV            (DWORD)(MMIA_ESM_RSP_EVENT + 6)

+#define MMIA_ESM_EPS_QOS_QUERY_CNF_EV            (DWORD)(MMIA_ESM_RSP_EVENT + 7) /*only for R7&R5*/

+#define MMIA_ESM_CGATFT_CNF_EV                   (DWORD)(MMIA_ESM_RSP_EVENT + 8)

+#define MMIA_ESM_PDP_ADDR_QUERY_CNF_EV           (DWORD)(MMIA_ESM_RSP_EVENT + 9) /*only for R7&R5*/

+#ifdef BTRUNK_SUPPORT

+#define PTT_MMIA_ESM_TAUTYPE_CNF_EV              (DWORD)(MMIA_ESM_RSP_EVENT + 10) /*¼¯ÈºÌí¼Ó*/

+#endif

+

+/* ========================================================================

+   MMIA£­CBSÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define MMIA_CBS_ACTIVATE_REQ_EV                 (DWORD)(MMIA_CBS_EVENT_BASE + 0)

+

+#define MMIA_CBS_ACTIVATE_CNF_EV                 (DWORD)(MMIA_CBS_RSP_EVENT + 0)

+#define MMIA_CBS_DATA_IND_EV                     (DWORD)(MMIA_CBS_RSP_EVENT + 1)

+

+/* ========================================================================

+   MMIA£­ASÏûÏ¢ºÅ¶¨Òå                                                   

+======================================================================== */

+#define MMIA_AS_EM_CELL_INFO_REQ_EV              (DWORD)(MMIA_AS_EVENT_BASE + 0)

+#define MMIA_AS_EM_HO_INFO_REQ                   (DWORD)(MMIA_AS_EVENT_BASE + 1)

+#define MMIA_AS_EM_CELLRESORCCOCOUNT_REQ_EV      (DWORD)(MMIA_AS_EVENT_BASE + 2)

+#define MMIA_AS_RPT_RXLEV_REQ_EV                 (DWORD)(MMIA_AS_EVENT_BASE + 3)

+#define MMIA_AS_QUERY_RXLEV_REQ_EV               (DWORD)(MMIA_AS_EVENT_BASE + 4)

+#define MMIA_PDI_SELL_STAT_START_SEND_PACKET_IND_EV (DWORD)(MMIA_AS_EVENT_BASE + 5)

+#define MMIA_PDI_SELL_STAT_ABORT_IND_EV          (DWORD)(MMIA_AS_EVENT_BASE + 6)

+#define MMIA_EUCSR_LTEINFO_REQ_EV                (DWORD)(MMIA_AS_EVENT_BASE + 7)

+#define MMIA_L1E_ZEPCG_REQ                       (DWORD)(MMIA_AS_EVENT_BASE + 8)

+#define MMIA_AS_B39_INFO_REQ_EV                  (DWORD)(MMIA_AS_EVENT_BASE + 9)

+#define MMIA_AS_RSSI_QUERY_REQ_EV                (DWORD)(MMIA_AS_EVENT_BASE + 10)

+#define MMIA_AS_SINR_QUERY_REQ_EV                (DWORD)(MMIA_AS_EVENT_BASE + 11)

+#define MMIA_AS_QUERY_EM_CELL_INFO_REQ_EV        (DWORD)(MMIA_AS_EVENT_BASE + 12)

+#define MMIA_AS_TMGI_ACTIVATE_REQ_EV             (DWORD)(MMIA_AS_EVENT_BASE + 13)

+#define MMIA_AS_TMGI_DEACTIVATE_REQ_EV           (DWORD)(MMIA_AS_EVENT_BASE + 14)

+#define MMIA_AS_SAI_LIST_QUERY_REQ_EV            (DWORD)(MMIA_AS_EVENT_BASE + 15)

+#define MMIA_AS_TMGI_LIST_QUERY_REQ_EV           (DWORD)(MMIA_AS_EVENT_BASE + 16)

+#define MMIA_AS_TMGI_LIST_REQ_EV                 (DWORD)(MMIA_AS_EVENT_BASE + 17)

+#define MMIA_AS_MBMS_PREFERENCE_REQ_EV           (DWORD)(MMIA_AS_EVENT_BASE + 18)

+#define MMIA_AS_TMGI_LIST_REPORT_REQ_EV          (DWORD)(MMIA_AS_EVENT_BASE + 19)

+#define MMIA_AS_SAI_LIST_REPORT_REQ_EV           (DWORD)(MMIA_AS_EVENT_BASE + 20)

+#define MMIA_AS_NW_TIME_QUERY_REQ_EV             (DWORD)(MMIA_AS_EVENT_BASE + 21)

+#define MMIA_AS_QUERY_CESQ_REQ_EV                (DWORD)(MMIA_AS_EVENT_BASE + 22)

+#define MMIA_AS_EM_LTE_HO_SET_REQ_EV             (DWORD)(MMIA_AS_EVENT_BASE + 23)

+#define MMIA_AS_EM_LTE_HO_SET_QUERY_REQ_EV       (DWORD)(MMIA_AS_EVENT_BASE + 24)

+#define MMIA_L1W_ZWPCG_REQ_EV                    (DWORD)(MMIA_AS_EVENT_BASE + 25)

+#define MMIA_L1T_ZTPCG_REQ_EV                    (DWORD)(MMIA_AS_EVENT_BASE + 26)

+#define MMIA_GRR_ZGPCG_REQ_EV                    (DWORD)(MMIA_AS_EVENT_BASE + 27)

+#define MMIA_AS_QUERY_ZCSQ_REQ_EV                (DWORD)(MMIA_AS_EVENT_BASE + 28)

+#define MMIA_AS_LBS_REQ_EV                       (DWORD)(MMIA_AS_EVENT_BASE + 29)

+#define MMIA_AS_IMS_DATA_DELETE_REQ_EV           (DWORD)(MMIA_AS_EVENT_BASE + 30)

+#define MMIA_L1E_CARD_SWITCH_REQ_EV              (DWORD)(MMIA_AS_EVENT_BASE + 31)

+#define MMIA_AS_CARD_SWITCH_IND_EV               (DWORD)(MMIA_AS_EVENT_BASE + 32)

+

+#define MMIA_AS_EM_UCELL_INFO_IND_EV             (DWORD)(MMIA_AS_RSP_EVENT + 0)

+#define MMIA_AS_EM_UHO_INFO_IND_EV               (DWORD)(MMIA_AS_RSP_EVENT + 1)

+#define MMIA_AS_RPT_RXLEV_IND_EV                 (DWORD)(MMIA_AS_RSP_EVENT + 2)

+#define MMIA_AS_QUERY_RXLEV_IND_EV               (DWORD)(MMIA_AS_RSP_EVENT + 3)

+#define MMIA_EUSIR_ETWS_PRIMARY_IND_EV           (DWORD)(MMIA_AS_RSP_EVENT + 4)

+#define MMIA_EUSIR_ETWS_SECONDARY_IND_EV         (DWORD)(MMIA_AS_RSP_EVENT + 5)

+#define MMIA_AS_EM_EUCELL_INFO_IND_EV            (DWORD)(MMIA_AS_RSP_EVENT + 6)

+#define MMIA_EUCSR_LTEINFO_IND_EV                (DWORD)(MMIA_AS_RSP_EVENT + 7)

+#define MMIA_L1E_ZEPCG_CNF                       (DWORD)(MMIA_AS_RSP_EVENT + 8)

+#define MMIA_AS_B39_INFO_IND_EV                  (DWORD)(MMIA_AS_RSP_EVENT + 9)

+#define AS_EM_CELL_INFO_IND_EV                   (DWORD)(MMIA_AS_RSP_EVENT + 10)

+#define MMIA_AS_RSSI_QUERY_CNF_EV                (DWORD)(MMIA_AS_RSP_EVENT + 11)

+#define MMIA_AS_SINR_QUERY_CNF_EV                (DWORD)(MMIA_AS_RSP_EVENT + 12)

+#define MMIA_AS_QUERY_EM_UCELL_INFO_CNF_EV       (DWORD)(MMIA_AS_RSP_EVENT + 13)

+#define MMIA_AS_QUERY_EM_EUCELL_INFO_CNF_EV      (DWORD)(MMIA_AS_RSP_EVENT + 14)

+#define RR_QUERY_EM_CELL_INFO_CNF_EV             (DWORD)(MMIA_AS_RSP_EVENT + 15)

+#define AS_QUERY_EM_CELL_INFO_CNF_EV             (DWORD)(MMIA_AS_RSP_EVENT + 16)

+#define MMIA_AS_TMGI_ACTIVATE_CNF_EV             (DWORD)(MMIA_AS_RSP_EVENT + 17)

+#define MMIA_AS_TMGI_DEACTIVATE_CNF_EV           (DWORD)(MMIA_AS_RSP_EVENT + 18)

+#define MMIA_AS_SAI_LIST_QUERY_RESP_EV           (DWORD)(MMIA_AS_RSP_EVENT + 19)

+#define MMIA_AS_SAI_LIST_IND_EV                  (DWORD)(MMIA_AS_RSP_EVENT + 20)

+#define MMIA_AS_TMGI_LIST_QUERY_RESP_EV          (DWORD)(MMIA_AS_RSP_EVENT + 21)

+#define MMIA_AS_TMGI_LIST_IND_EV                 (DWORD)(MMIA_AS_RSP_EVENT + 22)

+#define MMIA_AS_MBMS_SERVICE_SUSPEND_IND_EV      (DWORD)(MMIA_AS_RSP_EVENT + 23)

+#define MMIA_AS_MBMS_SERVICE_RESUME_IND_EV       (DWORD)(MMIA_AS_RSP_EVENT + 24)

+#define MMIA_AS_COMMON_CFG_CNF_EV                (DWORD)(MMIA_AS_RSP_EVENT + 25)

+#define MMIA_AS_NW_TIME_QUERY_RESP_EV            (DWORD)(MMIA_AS_RSP_EVENT + 26)

+#define ATI_EUCSR_HIGHT_CALL_IND_EV              (DWORD)(MMIA_AS_RSP_EVENT + 27)

+#define MMIA_AS_QUERY_CESQ_CNF_EV                (DWORD)(MMIA_AS_RSP_EVENT + 28)

+#define ATI_EUCSR_BUSY_ALERTING_IND_EV           (DWORD)(MMIA_AS_RSP_EVENT + 29)

+#define MMIA_ASC_LTE_LOSTCOVERAGE_IND_EV         (DWORD)(MMIA_AS_RSP_EVENT + 30)

+#define MMIA_AS_EM_LTE_HO_INFO_IND_EV            (DWORD)(MMIA_AS_RSP_EVENT + 31)

+#define MMIA_AS_EM_LTE_HO_SET_QUERY_CNF_EV       (DWORD)(MMIA_AS_RSP_EVENT + 32)

+#define MMIA_L1W_ZWPCG_CNF_EV                    (DWORD)(MMIA_AS_RSP_EVENT + 33)

+#define MMIA_L1T_ZTPCG_CNF_EV                    (DWORD)(MMIA_AS_RSP_EVENT + 34)

+#define MMIA_GRR_ZGPCG_CNF_EV                    (DWORD)(MMIA_AS_RSP_EVENT + 35)

+#define MMIA_AS_QUERY_ZCSQ_CNF_EV                (DWORD)(MMIA_AS_RSP_EVENT + 36)

+#define MMIA_AS_LBS_CNF_EV                       (DWORD)(MMIA_AS_RSP_EVENT + 37)

+#define MMIA_AS_UL_PARAM_IND_EV                  (DWORD)(MMIA_AS_RSP_EVENT + 38)

+#define MMIA_L1E_CARD_SWITCH_CNF_EV              (DWORD)(MMIA_AS_RSP_EVENT + 39)

+/* ========================================================================

+   PDI - ATI ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ATI_PDI_DATA_REQ_EV                      (DWORD)(ATI_PDI_EVENT_BASE + 0)

+#define ATI_PDI_DATA_IND_EV                      (DWORD)(ATI_PDI_EVENT_BASE + 1)

+#define PSI_PDI_DATA_IND_EV                      (DWORD)(ATI_PDI_EVENT_BASE + 2)

+

+/* ========================================================================

+   CSD - ATI ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ATI_CSD_DATA_IND_EV                      (DWORD)(ATI_CSD_EVENT_BASE + 0)

+    

+#define ATI_CSD_FLOW_CTRL_ON_EV                  (DWORD)(ATI_CSD_RSP_EVENT + 0)

+#define ATI_CSD_FLOW_CTRL_OFF_EV                 (DWORD)(ATI_CSD_RSP_EVENT + 1)

+

+/*È«¾Ö±äÁ¿ÉèÖᢻñÈ¡ÏûÏ¢¶¨Òå*/

+#define GVAR_MMIA_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 0)

+#define GVAR_MMIA_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 1)

+

+#define GVAR_UMM_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 2)

+#define GVAR_UMM_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 3)

+

+#define GVAR_MM_GET_REQ_EV                       (DWORD)(GVAR_EVENT_BASE + 4)

+#define GVAR_MM_GET_CNF_EV                       (DWORD)(GVAR_EVENT_BASE + 5)

+

+#define GVAR_GMM_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 6)

+#define GVAR_GMM_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 7)

+

+#define GVAR_UICCMNG_GET_REQ_EV                  (DWORD)(GVAR_EVENT_BASE + 8)

+#define GVAR_UICCMNG_GET_CNF_EV                  (DWORD)(GVAR_EVENT_BASE + 9)

+

+#define GVAR_CC_GET_REQ_EV                       (DWORD)(GVAR_EVENT_BASE + 10)

+#define GVAR_CC_GET_CNF_EV                       (DWORD)(GVAR_EVENT_BASE + 11)

+

+#define GVAR_SM_GET_REQ_EV                       (DWORD)(GVAR_EVENT_BASE + 12)

+#define GVAR_SM_GET_CNF_EV                       (DWORD)(GVAR_EVENT_BASE + 13)

+

+#define GVAR_SMS_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 14)

+#define GVAR_SMS_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 15)

+

+#define GVAR_SS_GET_REQ_EV                       (DWORD)(GVAR_EVENT_BASE + 16)

+#define GVAR_SS_GET_CNF_EV                       (DWORD)(GVAR_EVENT_BASE + 17)

+

+#define GVAR_DS_GET_REQ_EV                       (DWORD)(GVAR_EVENT_BASE + 18)

+#define GVAR_DS_GET_CNF_EV                       (DWORD)(GVAR_EVENT_BASE + 19)

+#define GVAR_RA_GET_REQ_EV                       (DWORD)(GVAR_EVENT_BASE + 20)

+#define GVAR_RA_GET_CNF_EV                       (DWORD)(GVAR_EVENT_BASE + 21)

+#define GVAR_RLP_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 22)

+#define GVAR_RLP_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 23)

+

+#define GVAR_CBS_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 24)

+#define GVAR_CBS_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 25)

+

+#define GVAR_URRC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 26)

+#define GVAR_URRC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 27)

+ 

+#define GVAR_UMTC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 28)

+#define GVAR_UMTC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 29)

+

+#define GVAR_UCER_CONTEXT_GET_REQ_EV             (DWORD)(GVAR_EVENT_BASE + 30)

+#define GVAR_UCER_CONTEXT_GET_CNF_EV             (DWORD)(GVAR_EVENT_BASE + 31)

+#define GVAR_UCER_SECURITY_GET_REQ_EV            (DWORD)(GVAR_EVENT_BASE + 32)

+#define GVAR_UCER_SECURITY_GET_CNF_EV            (DWORD)(GVAR_EVENT_BASE + 33)

+

+#define GVAR_UCSR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 34)

+#define GVAR_UCSR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 35)

+

+#define GVAR_USIR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 36)

+#define GVAR_USIR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 37)

+

+#define GVAR_UMCR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 38)

+#define GVAR_UMCR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 39)

+

+#define GVAR_URBC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 40)

+#define GVAR_URBC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 41)

+

+#define GVAR_UCMR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 42)

+#define GVAR_UCMR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 43)

+

+#define GVAR_URLC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 44)

+#define GVAR_URLC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 45)

+

+#define GVAR_UMAC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 46)

+#define GVAR_UMAC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 47)

+#define GVAR_PDCP_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 48)

+#define GVAR_PDCP_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 49)

+#define GVAR_RABM_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 50)

+#define GVAR_RABM_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 51)

+

+#define GVAR_PDI_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 52)

+#define GVAR_PDI_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 53)

+

+#define GVAR_SCI_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 54)

+#define GVAR_SCI_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 55)

+

+#define GVAR_GSMA_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 56)

+#define GVAR_GSMA_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 57)

+

+#define GVAR_UICC_DEV_GET_REQ_EV                 (DWORD)(GVAR_EVENT_BASE + 58)

+#define GVAR_UICC_DEV_GET_CNF_EV                 (DWORD)(GVAR_EVENT_BASE + 59)

+

+#define GVAR_ATMEM_DEV_GET_REQ_EV                (DWORD)(GVAR_EVENT_BASE + 60)

+#define GVAR_ATMEM_DEV_GET_CNF_EV                (DWORD)(GVAR_EVENT_BASE + 61)

+

+#define GVAR_NV_DEV_GET_REQ_EV                   (DWORD)(GVAR_EVENT_BASE + 62)

+#define GVAR_NV_DEV_GET_CNF_EV                   (DWORD)(GVAR_EVENT_BASE + 63)

+

+#define GVAR_ASC_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 64)

+#define GVAR_ASC_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 65)

+

+#define GVAR_EMM_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 66)

+#define GVAR_EMM_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 67)

+

+#define GVAR_ESM_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 68)

+#define GVAR_ESM_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 69)  

+

+/*WCDMA GVAR_EVENT_BASE=150*/

+#define GVAR_WRRC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 70)

+#define GVAR_WRRC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 71)

+ 

+#define GVAR_WMTC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 72)

+#define GVAR_WMTC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 73)

+

+#define GVAR_WCER_CONTEXT_GET_REQ_EV             (DWORD)(GVAR_EVENT_BASE + 74)

+#define GVAR_WCER_CONTEXT_GET_CNF_EV             (DWORD)(GVAR_EVENT_BASE + 75)

+#define GVAR_WCER_SECURITY_GET_REQ_EV            (DWORD)(GVAR_EVENT_BASE + 76)

+#define GVAR_WCER_SECURITY_GET_CNF_EV            (DWORD)(GVAR_EVENT_BASE + 77)

+  

+#define GVAR_WCSR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 78)

+#define GVAR_WCSR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 79)

+

+#define GVAR_WSIR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 80)

+#define GVAR_WSIR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 81)

+

+#define GVAR_WMCR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 82)

+#define GVAR_WMCR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 83)

+

+#define GVAR_WRBC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 84)

+#define GVAR_WRBC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 85)

+

+#define GVAR_WCMR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 86)

+#define GVAR_WCMR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 87)

+

+#define GVAR_WRLC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 88)

+#define GVAR_WRLC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 89)

+

+#define GVAR_WMAC_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 90)

+#define GVAR_WMAC_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 91)

+

+#define GVAR_ECSR_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 92)

+#define GVAR_ECSR_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 93)

+

+#define GVAR_ECER_GET_REQ_EV                     (DWORD)(GVAR_EVENT_BASE + 94)

+#define GVAR_ECER_GET_CNF_EV                     (DWORD)(GVAR_EVENT_BASE + 95)

+

+#define GVAR_STM_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 96)

+#define GVAR_STM_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 97)

+#define GVAR_TSM_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE + 98)

+#define GVAR_TSM_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 99)

+

+#define GVAR_LPP_GET_REQ_EV                      (DWORD)(GVAR_EVENT_BASE +  100)

+#define GVAR_LPP_GET_CNF_EV                      (DWORD)(GVAR_EVENT_BASE + 101)

+

+

+#define RRAT_RXSTAT_IND                          (DWORD)(GRR_EVENT_BASE + 140)

+#define RRMI_RXSTAT_IND                          (DWORD)(GRR_EVENT_BASE + 141)

+#define RR_EM_HO_INFO_IND                        (DWORD)(GRR_EVENT_BASE + 142)

+#define RR_EM_CELL_INFO_IND                      (DWORD)(GRR_EVENT_BASE + 143)

+#define ERRC_CELL_CHANGE_CNF_EV                  (DWORD)(GRR_EVENT_BASE + 144)

+#define ERRC_CELL_CHANGE_REJ_EV                  (DWORD)(GRR_EVENT_BASE + 145)

+#define ERRC_RESEL_CNF_EV                        (DWORD)(GRR_EVENT_BASE + 146)

+#define ERRC_RESEL_REJ_EV                        (DWORD)(GRR_EVENT_BASE + 147)

+#define ERRC_CELL_SEARCH_CNF_EV                  (DWORD)(GRR_EVENT_BASE + 148)

+#define ERRC_CELL_SEARCH_REJ_EV                  (DWORD)(GRR_EVENT_BASE + 149)

+#define URRC_PSHO_CNF_EV                         (DWORD)(GRR_EVENT_BASE + 150)

+#define URRC_PSHO_REJ_EV                         (DWORD)(GRR_EVENT_BASE + 151)

+#define ERRC_PSHO_CNF_EV                         (DWORD)(GRR_EVENT_BASE + 152)

+#define ERRC_PSHO_REJ_EV                         (DWORD)(GRR_EVENT_BASE + 153)

+#define RR_PSHO_REQ_EV                           (DWORD)(GRR_EVENT_BASE + 154)

+#define MAC_GRR_PSHO_CNF_EV                      (DWORD)(GRR_EVENT_BASE + 155)

+#define MAC_GRR_PSHO_REJ_EV                      (DWORD)(GRR_EVENT_BASE + 156)

+#define MAC_GRR_PSHO_RETURN_CNF_EV               (DWORD)(GRR_EVENT_BASE + 157)

+#define MAC_GRR_PSHO_RETURN_FAIL_EV              (DWORD)(GRR_EVENT_BASE + 158)

+#define MAC_GRR_PSHO_DEACT_CNF_EV                (DWORD)(GRR_EVENT_BASE + 159)

+#define Z_RRMI_INTER_RAT_NCELL_IND_EV            (DWORD)(GRR_EVENT_BASE + 160)

+#define RR_XCELLINFO_REQ                         (DWORD)(GRR_EVENT_BASE + 161)

+#define RR_XCELLINFO_ABORT_REQ                   (DWORD)(GRR_EVENT_BASE + 162)

+

+/* START OF RRC */

+#define LLC_RRC_DATA_REQ                         (DWORD)(GRRC_EVENT_BASE + 0)

+#define RR_EM_HO_INFO_REQ                        (DWORD)(GRRC_EVENT_BASE + 1)

+#define RR_ABORT_REQ                             (DWORD)(GRRC_EVENT_BASE + 2)

+#define RR_DATA_REQ                              (DWORD)(GRRC_EVENT_BASE + 3)

+#define RR_HO_START_INFO                         (DWORD)(GRRC_EVENT_BASE + 4)

+#define GRR_RRC_CLASSMARK_IND                    (DWORD)(GRRC_EVENT_BASE + 5)

+#define GRR_RRC_UPDATE_PARAM_REQ                 (DWORD)(GRRC_EVENT_BASE + 6)

+#define GRR_RRC_ASSIGN_REQ                       (DWORD)(GRRC_EVENT_BASE + 7)

+#define GRR_RRC_EST_REQ                          (DWORD)(GRRC_EVENT_BASE + 8)

+#define GRR_RRC_ERROR_IND                        (DWORD)(GRRC_EVENT_BASE + 9)

+#define GRR_RRC_DEACT_REQ                        (DWORD)(GRRC_EVENT_BASE + 10)

+#define GRR_RRC_RXSTAT_REQ                       (DWORD)(GRRC_EVENT_BASE + 11)

+#define GRR_RRC_TESTPARAM_REQ                    (DWORD)(GRRC_EVENT_BASE + 12)

+#define GRR_RRC_MN_MEAS_REQ                      (DWORD)(GRRC_EVENT_BASE + 13)

+#define GRR_RRC_RRAT_RXSTAT_REQ                  (DWORD)(GRRC_EVENT_BASE + 14)

+#define GRR_RRC_RRL_DATA_REQ                     (DWORD)(GRRC_EVENT_BASE + 15)

+#define GRR_RRC_DTM_REQ                          (DWORD)(GRRC_EVENT_BASE + 16)

+#define GRR_RRC_PDCH_COMPLETE_IND                (DWORD)(GRRC_EVENT_BASE + 17)

+#define GRR_RRC_REL_PS_CNF                       (DWORD)(GRRC_EVENT_BASE + 18)

+#define GRR_RRC_REL_PS_IND                       (DWORD)(GRRC_EVENT_BASE + 19)

+#define DL_UNIT_DATA_IND                         (DWORD)(GRRC_EVENT_BASE + 20)

+#define DL_DATA_IND                              (DWORD)(GRRC_EVENT_BASE + 21)

+#define DL_DATA_REJ                              (DWORD)(GRRC_EVENT_BASE + 22)

+#define DL_ESTABLISH_IND                         (DWORD)(GRRC_EVENT_BASE + 23)

+#define DL_ESTABLISH_CON                         (DWORD)(GRRC_EVENT_BASE + 24)

+#define DL_IRAT_HO_CON                           (DWORD)(GRRC_EVENT_BASE + 25)

+#define DL_RELEASE_IND                           (DWORD)(GRRC_EVENT_BASE + 26)

+#define DL_RELEASE_CON                           (DWORD)(GRRC_EVENT_BASE + 27)

+#define DL_SUSPEND_CON                           (DWORD)(GRRC_EVENT_BASE + 28)

+#define MDL_ERROR_IND                            (DWORD)(GRRC_EVENT_BASE + 29)

+#define URRC_HO_INFO_RES                         (DWORD)(GRRC_EVENT_BASE + 30)

+#define URRC_HO_CNF                              (DWORD)(GRRC_EVENT_BASE + 31)

+#define URRC_HO_REJ                              (DWORD)(GRRC_EVENT_BASE + 32)

+#define RR_HO_REQ                                (DWORD)(GRRC_EVENT_BASE + 33)

+#define RR_VSD_INFO                              (DWORD)(GRRC_EVENT_BASE + 34)

+#define DL_SENDCMP_IND_EV                        (DWORD)(GRRC_EVENT_BASE + 35)

+#define GRR_RRC_POWEROFF_IND_EV                  (DWORD)(GRRC_EVENT_BASE + 36)

+#define T3110                                    (DWORD)(GRRC_EVENT_BASE + 37)

+#define T3124                                    (DWORD)(GRRC_EVENT_BASE + 38)

+#define GRRC_T3230_EV                            (DWORD)(GRRC_EVENT_BASE + 39) // R9 UPDATE

+#define T3148                                    (DWORD)(GRRC_EVENT_BASE + 40)

+

+    /* END OF RRC */

+

+/* START OF GRR */

+#define RRMN_MEAS_RESULTS_REQ                    (DWORD)(GRR_EVENT_BASE + 0)

+#define RR_TESTPARAM_REQ                         (DWORD)(GRR_EVENT_BASE + 1)

+#define RR_EM_CELL_INFO_REQ                      (DWORD)(GRR_EVENT_BASE + 2)

+#define RR_ACT_REQ                               (DWORD)(GRR_EVENT_BASE + 3)

+#define RR_CELL_PARAMETER_REQ                    (DWORD)(GRR_EVENT_BASE + 4)

+#define RR_CLASSMARK_IND                         (DWORD)(GRR_EVENT_BASE + 5)

+#define RR_DEACT_REQ                             (DWORD)(GRR_EVENT_BASE + 6)

+#define RR_HPLMN_ACT_REQ                         (DWORD)(GRR_EVENT_BASE + 7)

+#define RR_PCH_PREFERENCE_REQ                    (DWORD)(GRR_EVENT_BASE + 8)

+#define RR_PLMN_ABORT_REQ                        (DWORD)(GRR_EVENT_BASE + 9)

+#define RR_PLMN_REQ                              (DWORD)(GRR_EVENT_BASE + 10)

+#define RR_UPDATE_PLMN_REQ                       (DWORD)(GRR_EVENT_BASE + 11)

+#define RR_INACTIVE_REQ                          (DWORD)(GRR_EVENT_BASE + 12)

+#define RR_HPLMN_ABORT_REQ                       (DWORD)(GRR_EVENT_BASE + 13)

+#define RR_EST_REQ                               (DWORD)(GRR_EVENT_BASE + 14)

+#define RR_UPDATE_PARAM_REQ                      (DWORD)(GRR_EVENT_BASE + 15)

+#define GMMRR_ASSIGN_REQ                         (DWORD)(GRR_EVENT_BASE + 16)

+#define GMMRR_INFO_REQ                           (DWORD)(GRR_EVENT_BASE + 17)

+#define GMMRR_RELEASE_REQ                        (DWORD)(GRR_EVENT_BASE + 18)

+#define RR_TEST_COUNT_REQ                        (DWORD)(GRR_EVENT_BASE + 19)

+#define RRMI_START_RXSTAT_REQ                    (DWORD)(GRR_EVENT_BASE + 20)

+#define RRMI_END_RXSTAT_REQ                      (DWORD)(GRR_EVENT_BASE + 21)

+#define RRL_RR_DATA_REQ                          (DWORD)(GRR_EVENT_BASE + 22)

+#define RRC_GRR_EST_CNF                          (DWORD)(GRR_EVENT_BASE + 23)

+#define RRC_GRR_EST_FAIL                         (DWORD)(GRR_EVENT_BASE + 24)

+#define RRC_GRR_CHN_REL_IND                      (DWORD)(GRR_EVENT_BASE + 25)

+#define RRC_GRR_DEACT_CNF                        (DWORD)(GRR_EVENT_BASE + 26)

+#define RRC_GRR_TESTPARAM_CNF                    (DWORD)(GRR_EVENT_BASE + 27)

+#define RRC_GRR_MN_MEAS_CNF                      (DWORD)(GRR_EVENT_BASE + 28)

+#define RRC_GRR_RRAT_RXSTAT_IND                  (DWORD)(GRR_EVENT_BASE + 29)

+#define RRC_GRR_RRL_DATA_IND                     (DWORD)(GRR_EVENT_BASE + 30)

+#define RRC_GRR_RRL_ABORT_EVENT_IND              (DWORD)(GRR_EVENT_BASE + 31)

+#define RRC_GRR_DTM_CNF                          (DWORD)(GRR_EVENT_BASE + 32)

+#define RRC_GRR_DTM_IND                          (DWORD)(GRR_EVENT_BASE + 33)

+#define RRC_GRR_DTM_ASS_IND                      (DWORD)(GRR_EVENT_BASE + 34)

+#define RRC_GRR_DTM_REJ                          (DWORD)(GRR_EVENT_BASE + 35)

+#define RRC_GRR_PKT_NOTI_IND                     (DWORD)(GRR_EVENT_BASE + 36)

+#define RRC_GRR_REL_PS_REQ                       (DWORD)(GRR_EVENT_BASE + 37)

+#define RRC_GRR_CONNECTED_IND                    (DWORD)(GRR_EVENT_BASE + 38)

+#define RRC_GRR_HO_TO_UTRAN_IND                  (DWORD)(GRR_EVENT_BASE + 39)

+#define RLC_GRR_ACCESS_REQ                       (DWORD)(GRR_EVENT_BASE + 40)

+#define RLC_GRR_UPLINK_PDCH_IND                  (DWORD)(GRR_EVENT_BASE + 41)

+#define RLC_GRR_REL_PDCH_CNF                     (DWORD)(GRR_EVENT_BASE + 42)

+#define RLC_GRR_UPLINK_PDCH_REL_IND              (DWORD)(GRR_EVENT_BASE + 43)

+#define RLC_GRR_STATUS_IND                       (DWORD)(GRR_EVENT_BASE + 44)

+#define RLC_GRR_UPLINK_PDCH_EST_IND              (DWORD)(GRR_EVENT_BASE + 45)

+#define RLC_GRR_TESTPARAM_IND                    (DWORD)(GRR_EVENT_BASE + 46)

+#define MAC_GRR_DOWNLINK_PDCH_IND                (DWORD)(GRR_EVENT_BASE + 47)

+#define MAC_GRR_DOWNLINK_PDCH_REL_IND            (DWORD)(GRR_EVENT_BASE + 48)

+#define MAC_GRR_POLLING_CNF                      (DWORD)(GRR_EVENT_BASE + 49)

+#define MAC_GRR_CIRCUIT_CNF                      (DWORD)(GRR_EVENT_BASE + 50)

+#define MAC_GRR_CIRCUIT_FAIL                     (DWORD)(GRR_EVENT_BASE + 51)

+#define MAC_GRR_CIRCUIT_ABORT_CNF                (DWORD)(GRR_EVENT_BASE + 52)

+#define MAC_GRR_DATA_IND                         (DWORD)(GRR_EVENT_BASE + 53)

+#define MAC_GRR_FREQ_UPDATE_REQ                  (DWORD)(GRR_EVENT_BASE + 54)

+#define MAC_GRR_DEACT_CNF                        (DWORD)(GRR_EVENT_BASE + 55)

+#define MAC_GRR_IDLE_CHN_REQ                     (DWORD)(GRR_EVENT_BASE + 56)

+#define MAC_GRR_PERS_LEVEL_IND                   (DWORD)(GRR_EVENT_BASE + 57)

+#define MAC_GRR_START_TIMER                      (DWORD)(GRR_EVENT_BASE + 58)

+#define MAC_GRR_STOP_TIMER                       (DWORD)(GRR_EVENT_BASE + 59)

+#define MAC_GRR_TESTPARAM_IND                    (DWORD)(GRR_EVENT_BASE + 60)

+#define MAC_GRR_SUSPEND_CNF                      (DWORD)(GRR_EVENT_BASE + 61)

+#define MAC_GRR_PDCH_FAIL_IND                    (DWORD)(GRR_EVENT_BASE + 62)

+#define RRAT_RXSTAT_REQ                          (DWORD)(GRR_EVENT_BASE + 63)

+#define RRAT_CHANGE_REL_REQ                      (DWORD)(GRR_EVENT_BASE + 64)

+#define RR_CELL_CHANGE_REQ                       (DWORD)(GRR_EVENT_BASE + 65)

+#define URRC_CELL_CHANGE_CNF                     (DWORD)(GRR_EVENT_BASE + 66)

+#define URRC_CELL_CHANGE_REJ                     (DWORD)(GRR_EVENT_BASE + 67)

+#define URRC_RESEL_REJ                           (DWORD)(GRR_EVENT_BASE + 68)

+#define URRC_RESEL_CNF                           (DWORD)(GRR_EVENT_BASE + 69)

+#define URRC_SET_INACTIVE_CNF                    (DWORD)(GRR_EVENT_BASE + 70)

+#define RR_SET_INACTIVE_REQ                      (DWORD)(GRR_EVENT_BASE + 71)

+#define URRC_ABORT_READ_PREDEF_CNF               (DWORD)(GRR_EVENT_BASE + 72)/*WCDMAÏÂʹÓÃ*/

+#define URRC_L1_RSRC_CNF                         (DWORD)(GRR_EVENT_BASE + 73)

+#define URRC_L1_RSRC_REJ                         (DWORD)(GRR_EVENT_BASE + 74)

+#define RR_L1_RSRC_REQ                           (DWORD)(GRR_EVENT_BASE + 75)

+#define RR_L1_RSRC_FREE_IND                      (DWORD)(GRR_EVENT_BASE + 76)

+#define RR_CELL_SEARCH_REQ                       (DWORD)(GRR_EVENT_BASE + 77)

+#define URRC_READ_PREDEF_CONF_CNF                (DWORD)(GRR_EVENT_BASE + 78)/*WCDMAÏÂʹÓÃ*/

+#define URRC_CELL_RESEL_PARAM_IND                (DWORD)(GRR_EVENT_BASE + 79)

+#define URRC_CELL_SEARCH_CNF                     (DWORD)(GRR_EVENT_BASE + 80)

+#define URRC_CELL_SEARCH_REJ                     (DWORD)(GRR_EVENT_BASE + 81)

+#define RR_RESEL_REQ                             (DWORD)(GRR_EVENT_BASE + 82)

+/* ========================================================================

+   MMIA¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define MMIA_EM_HO_INFO_EXPIRY_EV                (DWORD)(MMIA_TIMER_EVENT_BASE + 0)

+#define MMIA_SELL_STAT_ONE_PDP_EXPIRY_EV         (DWORD)(MMIA_TIMER_EVENT_BASE + 1)

+#define MMIA_SELL_STAT_SUM_PDP_EXPIRY_EV         (DWORD)(MMIA_TIMER_EVENT_BASE + 2)

+#define MMIA_SELL_STAT_REG_EXPIRY_EV             (DWORD)(MMIA_TIMER_EVENT_BASE + 3)

+#define MMIA_AOC_EXPIRY_EV                       (DWORD)(MMIA_TIMER_EVENT_BASE + 4)

+#define MMIA_ZGDT_EXPIRY_EV                      (DWORD)(MMIA_TIMER_EVENT_BASE + 5)

+#define MMIA_SOFTRESET_EXPIRY_EV                 (DWORD)(MMIA_TIMER_EVENT_BASE + 6)

+#define MMIA_ZULRTIND_EXPIRY_EV                  (DWORD)(MMIA_TIMER_EVENT_BASE + 7)

+

+/*´¥·¢ÏûÏ¢*/

+#define MSGTRACEPS_CELL_DISPLAY_REQ_EV           (DWORD)(PS_ROADTEST_EVENT_BASE + 0)

+#define ROADTEST_UEINFO_REQ_EV                   (DWORD)(PS_ROADTEST_EVENT_BASE + 1)

+#define MSGTRACEPS_CELLRESORCCOCOUNT_REQ_EV      (DWORD)(PS_ROADTEST_EVENT_BASE + 2)

+

+/*WCDMA PS_ROADTEST_RSP_EVENT =300*/

+#define AT_INFO_RECEIVED_EV                      (DWORD)(PS_ROADTEST_RSP_EVENT + 18)

+#define AT_INFO_SENT_EV                          (DWORD)(PS_ROADTEST_RSP_EVENT + 19)

+#define WRLC_UL_DATAPDU_TRACE_EV                 (DWORD)(PS_ROADTEST_RSP_EVENT + 20)

+#define WRLC_DL_DATAPDU_TRACE_EV                 (DWORD)(PS_ROADTEST_RSP_EVENT + 21)

+#define WRLC_UL_CTRLPDU_TRACE_EV                 (DWORD)(PS_ROADTEST_RSP_EVENT + 22)

+#define WRLC_DL_CTRLPDU_TRACE_EV                 (DWORD)(PS_ROADTEST_RSP_EVENT + 23)

+#define PDCP2WRLC_DATA_IND_TRACE_EV              (DWORD)(PS_ROADTEST_RSP_EVENT + 24)

+#define PDCP2WRLC_DATA_REQ_TRACE_EV              (DWORD)(PS_ROADTEST_RSP_EVENT + 25)

+#define WMAC_UL_UPA_TB_INFO_TRACE_EV             (DWORD)(PS_ROADTEST_RSP_EVENT + 26)

+

+#ifdef BTRUNK_SUPPORT

+/**************************************************PS LTE BTrunk msg range start********************************************************/

+/* ATI --> TSM */

+#define ATI_TSM_REG_REQ_EV                       (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 1)

+#define ATI_TSM_CALL_REQ_EV                      (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 2)

+#define ATI_TSM_CALLCONFIRM_REQ_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 3)

+#define ATI_TSM_CALLCONNECT_REQ_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 4)

+#define ATI_TSM_CALLRLS_REQ_EV                   (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 5)

+#define ATI_TSM_FLOOR_REQ_EV                     (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 6)

+#define ATI_TSM_FLOORRLS_REQ_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 7)

+#define ATI_TSM_STUNINFO_QUERY_REQ_EV            (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 8)

+#define ATI_TSM_GROUPINFO_QUERY_REQ_EV           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 9)

+#define ATI_TSM_SCANGROUPINFO_REQ_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 10)

+#define ATI_TSM_SCANSWITCH_REQ_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 11)

+#define ATI_TSM_SHAKEHAND_REQ_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 12)

+#define ATI_TSM_SHORT_DATA_REQ_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 13)

+#define ATI_TSM_LOCATINFO_REQ_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 14)

+#define ATI_TSM_SETABILITY_REQ_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 15)

+#define ATI_TSM_CALLFORWARD_REQ_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 16)

+#define ATI_TSM_CALLMODIFY_RSP_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 17)

+#define ATI_TSM_CALLMODIFY_REJ_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 18)

+

+/* TSM --> ATI */

+#define ATI_TSM_FLOORGRT_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 25)

+#define ATI_TSM_FLOORRLS_CNF_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 26)

+#define ATI_TSM_FLOORRLS_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 27) 

+#define ATI_TSM_FLOORREJ_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 28)

+#define ATI_TSM_FLOORWAIT_IND_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 29)

+#define ATI_TSM_FLOORINFORM_IND_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 30)

+#define ATI_TSM_STUNINFO_QUERY_CNF_EV            (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 31) 

+#define ATI_TSM_STUNINFO_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 32) 

+#define ATI_TSM_GROUPINFO_QUERY_CNF_EV           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 33)

+#define ATI_TSM_GROUPINFO_UPDATE_IND_EV          (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 34) 

+#define ATI_TSM_GROUPCALL_IND_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 35)

+#define ATI_TSM_SCANGROUPINFO_IND_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 36)

+#define ATI_TSM_SHAKEHAND_CNF_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 37)

+#define ATI_TSM_SHORT_DATA_IND_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 38) 

+#define ATI_TSM_LOCATINFO_TYPE_IND_EV            (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 39) 

+#define ATI_TSM_FALLBACK_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 40) 

+#define ATI_TSM_REG_CNF_EV                       (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 41)

+#define ATI_TSM_REGSTATE_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 42)

+#define ATI_TSM_CALL_CNF_EV                      (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 43)

+#define ATI_TSM_CALLRLS_CNF_EV                   (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 44) 

+#define ATI_TSM_CALL_IND_EV                      (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 45)

+#define ATI_TSM_CALLPROCEED_IND_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 46)

+#define ATI_TSM_CALLALERTING_IND_EV              (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 47) 

+#define ATI_TSM_CALLCONNECTACK_IND_EV            (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 48) 

+#define ATI_TSM_CALLRLS_IND_EV                   (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 49)

+#define ATI_TSM_SPEAKINGTIMEROUT_IND_EV          (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 50)

+#define ATI_TSM_VIDEOSOURCE_IND_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 51)

+#define ATI_TSM_SCANGROUPINFO_CNF_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 52)

+#define ATI_TSM_SRSTATUS_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 53)

+#define ATI_TSM_CALLHOLD_IND_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 54)

+#define ATI_TSM_PTTBEAR_IND_EV                   (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 55)

+#define ATI_TSM_BUSY_ALERTING_IND_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 56)

+#define ATI_TSM_CALLFORWARD_IND_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 57)

+#define ATI_TSM_CALLMODIFY_REQ_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 58)

+#define ATI_TSM_CALLMODIFY_ACK_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 59)

+#define ATI_TSM_REGEXTINFO_IND_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 60)

+#endif

+#endif

+

diff --git a/pub/include/ps_phy/l1_count_latch.h b/pub/include/ps_phy/l1_count_latch.h
new file mode 100644
index 0000000..36b15d5
--- /dev/null
+++ b/pub/include/ps_phy/l1_count_latch.h
@@ -0,0 +1,212 @@
+/*****************************************************************************

+ *  °æ±¾ËùÓÐ (C)2010ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *

+ *  Ä£¿éÃû  £º

+ *  ÎļþÃû  £ºl1_count_latch.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£º

+ *  ʵÏÖ¹¦ÄÜ£º

+ *  ×÷Õß    £º

+ *  °æ±¾    £º

+ *  Íê³ÉÈÕÆÚ£º

+ *  ÆäËü˵Ã÷£ºÐ½¨

+ *

+ *****************************************************************************/

+

+

+#ifndef	_L1_COUNT_LATCH_H

+#define	_L1_COUNT_LATCH_H

+

+

+/**************************************************************************

+ *                        Í·Îļþ°üº¬                                      *

+ **************************************************************************/

+/* ±ê×¼¿âÍ·Îļþ */

+#include "oss_api.h"

+

+#ifdef  DDR_BASE_ADDR_LINUX_VA

+#include <mach/iomap.h>

+#endif

+

+/* ·Ç±ê×¼¿âÍ·Îļþ */

+

+

+/**************************************************************************

+ *                         ³£Á¿¶¨Òå                                           *

+ **************************************************************************/

+

+/**************************************************************************

+ *                         È«¾Öºê¶¨Òå                                         *

+ **************************************************************************/

+//¼Ä´æÆ÷8'h15 (0x6d80_1054)£º¶àÄ£count latch¿ØÖƼĴæÆ÷

+/*

+4.4.1.22	¼Ä´æÆ÷8'h15 (0x6d80_1054)£º¶àÄ£count latch¿ØÖƼĴæÆ÷

+Bit[31:14]	R	±£Áô	0

+Bit[13]	W/R	Gsm_clk_gsm_en_sel	0

+Bit[12]	W/R	Gsm_clk_gsm_reg	0

+Bit[11:9]	R	±£Áô	0

+Bit[8]	W/R	Gsm_pwr_en	0

+Bit[7:3]	R	±£Áô	0

+Bit[2]	WR	latch_top_en	0

+Bit[1]	WR	gsm_gsictrl1	0

+Bit[0]	WR	gsm_gsictrl0	0

+*/

+/*ÖµÎÞЧֻΪ±àÒëͨ¹ý zhangpei*/

+/**************************************************************************

+ *                         È«¾ÖÊý¾ÝÀàÐͶ¨Òå                                       *

+ **************************************************************************/

+

+typedef  struct

+{

+    UINT32                       wTick;/*0~9999*/

+    UINT32                       wFrame;/*0~2715647*/

+}T_zPHY_GSM_Tstamp;

+typedef  struct

+{

+     UINT32                       wChip;                       /*0~6399 chip*/

+     UINT32                       wSubFrame;                 /* ×ÓÖ¡ºÅ£¬ ·¶Î§ 0 - 8191*/

+}T_zPHY_TD_Tstamp;

+typedef  struct

+{

+    UINT32                         wTs;              /*ʱ¼äÐÅÏ¢µ¥Î»TS*/

+    UINT32                         wSubFrame;  /*ʱ¼äÐÅÏ¢×ÓÖ¡ºÅ*/

+    UINT32                         wFrame;  /*ʱ¼äÐÅÏ¢Ö¡ºÅ*/

+

+}T_zPHY_LTE_Tstamp;

+typedef  struct

+{

+    UINT32                         wFrame;  /*ʱ¼äÐÅÏ¢×ÓÖ¡ºÅ*/

+    UINT32                         wChip;  /*ʱ¼äÐÅÏ¢Ö¡ºÅ*/

+}T_zPHY_W_Tstamp;

+

+typedef struct

+{

+    T_zPHY_LTE_Tstamp                tLteTstamp;    //LTE Ëø´æÊ±¼ä£¨ÍøÂçʱ¼ä£©

+    T_zPHY_TD_Tstamp                 tTDTstamp; //TD Ëø´æÊ±¼ä£¨ÍøÂçʱ¼ä£©

+    T_zPHY_W_Tstamp                  tWTstamp; //W Ëø´æÊ±¼ä£¨ÍøÂçʱ¼ä£©

+    T_zPHY_GSM_Tstamp                tGsmTstamp; // GSM Ëø´æÊ±¼ä£¨ÍøÂçʱ¼ä£©

+}T_zMULM_Timing_Stamp;

+

+

+/* MRTR¿ìÕÕ¿ØÖƼĴæÆ÷ */

+typedef struct

+{

+	UINT32 latch_signal   : 1;   /* ¿ìÕÕËø´æÐźŠ-w */

+	UINT32 Reserve_0      : 15;

+	UINT32 latch_flag_done : 1; /* Ëø´æÍê³É±êÖ¾ -rd */

+	UINT32 Reserve_1       : 15;

+}T_COUNT_LATCH_LPM_CTRL_REG;

+

+

+/*ÃèÊö£ºMrtr¼ÆÊý¼Ä´æÆ÷*/

+/***************************************************************************

+  BIT      |31 30 |29 28 27 26 25 24 23 22 21 20 19 18 | 17 16 15 14 | 13 12 11 10 | 9 8 7 6 5 4 3 2 | 1 0 |

+ ---------------------------------------------------------------------------

+  Function |reserv|                 RadioFrame         |   slot      |  symobol    |     chip        |smple|

+****************************************************************************/

+typedef struct{

+    UINT32       dSample     :2;

+    UINT32       dChip          :8;

+    UINT32       dSymbol     :4;

+    UINT32       dSlot           :4;

+    UINT32       dFrame       :12;

+    UINT32       dReserved  :2;

+}T_regWLpmLatchCnt;

+

+/*TD*/

+/***************************************************************************

+  BIT      | 15 14 13 | 12 11 10 9 8 7 6 5 4 3 2 1 0  						|

+ ---------------------------------------------------------------------------

+  Function | Reserved | Sub-frame Cnt (nt sub-frame sync)(0~8191)		 	|

+****************************************************************************/

+typedef struct{

+					UINT32       wNtSubFrmValue1        :13;

+					UINT32       wReserved              :19;

+}T_regTdLpmLatchSfn;

+/***************************************************************************

+  BIT      | 15       | 14 13 12 11 10 9 8 7 6 5 4 3 2 | 1 0  				|

+ ---------------------------------------------------------------------------

+  Function | Reserved | Chip Cnt(0~6399)(sync nt sub-frame)| Sample cnt(0~3)|

+****************************************************************************/

+typedef struct{

+					UINT32       wSyncSamcntValue0      :3;  

+					UINT32       wSyncChipcntValue0     :13;

+					UINT32       wReserved              :16;

+}T_regTdLpmLatchChip;

+

+

+/**************************************************************************

+ *                         È«¾Ö±äÁ¿ÉùÃ÷                                    *

+ **************************************************************************/

+

+/**************************************************************************

+ *                        È«¾Öº¯ÊýÔ­ÐÍ                                     *

+ **************************************************************************/

+/*****************************************************************************

+ *	º¯ÊýÃû		£º

+ *	¹¦ÄÜ		£º

+ *	ÊäÈë²ÎÊý	£º

+ *	Êä³ö²ÎÊý	£º

+ *	·µ»ØÖµËµÃ÷  £º

+ *	ÆäËû˵Ã÷	£º

+ *****************************************************************************/

+extern void zPHY_emulm_GetMulmTimingStamp(T_zMULM_Timing_Stamp *ptMulmTimingStamp);

+extern void zPHY_emulm_GetMulmMrtrStamp(T_zMULM_Timing_Stamp *ptMulmTimingStamp);

+

+// cym_start: Ôö¼Ó»ñÈ¡Ö÷ÖÆÊ½ÍøÂçʱ¼ä¿ìÕյŦÄܺ¯ÊýÉùÃ÷£¬ 2016-2-1

+void zPHY_emulm_GetMulmLocalStamp(T_zMULM_Timing_Stamp *ptMulmTimingStamp);

+// cym_end	

+

+/* »ñÈ¡±äÁ¿µÚbitµÄÖµ£¬±ÈÈçval=0B'01010101, BIT_GET(val, 2)  = 0B'1*/

+#define BIT_GET(name, bit)      (( (name) >> (bit)) & 0x01)

+

+#if (defined _CHIP_ZX297520)

+#define REG_GSM_LPM_BASE           (0x0013F000)

+#elif (defined _CHIP_ZX297520V2) || (defined _CHIP_ZX297520V3)

+#ifdef  DDR_BASE_ADDR_LINUX_VA

+#define REG_GSM_LPM_BASE           ((unsigned long)ZX_LPM_BASE)

+#else

+#define REG_GSM_LPM_BASE           (0x00134000)

+#endif

+#else

+#define REG_GSM_LPM_BASE           (0x0013F000)

+#endif

+

+#define REG_LPM_LATCH_ENABLE                (*(volatile WORD32*)((REG_GSM_LPM_BASE + 0x60*4)>>CPU_SHIFT))

+#define REG_COUNTER32K_LATCH_T1             (*(volatile WORD32*)((REG_GSM_LPM_BASE + 0x31*4)>>CPU_SHIFT))

+#define REG_COUNTER32K_LATCH_T2             (*(volatile WORD32*)((REG_GSM_LPM_BASE + 0x32*4)>>CPU_SHIFT))

+#define REG_COUNTER32K_LATCH_RESET          (*(volatile WORD32*)((REG_GSM_LPM_BASE + 0x33*4)>>CPU_SHIFT))

+

+#define REG_COUNTER32K_LATCH_FLAG           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x34*4)>>CPU_SHIFT))

+#define REG_LTE_MRTR_LATCH1                 (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x48*4)>>CPU_SHIFT))

+#define REG_LTE_LOCAL_MRTR_LATCH1           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x49*4)>>CPU_SHIFT))

+#define REG_LTE_MRTR_LATCH2                 (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x58*4)>>CPU_SHIFT))

+#define REG_LTE_LOCAL_MRTR_LATCH2           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x59*4)>>CPU_SHIFT))

+#define REG_W_MRTR_LATCH1                   (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x46*4)>>CPU_SHIFT))

+#define REG_W_LOCAL_MRTR_LATCH1             (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x47*4)>>CPU_SHIFT))

+#define REG_W_MRTR_LATCH2                   (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x56*4)>>CPU_SHIFT))

+#define REG_W_LOCAL_MRTR_LATCH2             (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x57*4)>>CPU_SHIFT))

+

+#define REG_TD_RTSFN_MRTR_LATCH1            (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x4a*4)>>CPU_SHIFT))

+#define REG_TD_RTCHIP_MRTR_LATCH1           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x4b*4)>>CPU_SHIFT))

+#define REG_TD_NTSFN_MRTR_LATCH1            (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x4c*4)>>CPU_SHIFT))

+#define REG_TD_NTCHIP_MRTR_LATCH1           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x4d*4)>>CPU_SHIFT))

+

+#define REG_TD_RTSFN_MRTR_LATCH2            (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x5a*4)>>CPU_SHIFT))

+#define REG_TD_RTCHIP_MRTR_LATCH2           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x5b*4)>>CPU_SHIFT))

+#define REG_TD_NTSFN_MRTR_LATCH2            (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x5c*4)>>CPU_SHIFT))

+#define REG_TD_NTCHIP_MRTR_LATCH2           (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x5d*4)>>CPU_SHIFT))

+

+#define REG_GSM_RTFRAME_MRTR_LATCH1         (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x44*4)>>CPU_SHIFT))

+#define REG_GSM_RTTICK_MRTR_LATCH1          (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x45*4)>>CPU_SHIFT))

+#define REG_GSM_RTFRAME_MRTR_LATCH2         (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x54*4)>>CPU_SHIFT))

+#define REG_GSM_RTTICK_MRTR_LATCH2          (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x55*4)>>CPU_SHIFT))

+

+#define REG_GSM_NTFRAME_MRTR_LATCH1         (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x40*4)>>CPU_SHIFT))

+#define REG_GSM_NTTICK_MRTR_LATCH1          (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x41*4)>>CPU_SHIFT))

+#define REG_GSM_NTFRAME_MRTR_LATCH2         (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x50*4)>>CPU_SHIFT))

+#define REG_GSM_NTTICK_MRTR_LATCH2          (*(volatile UINT32*)((REG_GSM_LPM_BASE + 0x51*4)>>CPU_SHIFT))

+

+#endif  /* _ZX297500_L1_COUNT_LATCH_H */

+

+

diff --git a/pub/include/ps_phy/ps_ephy_interface.h b/pub/include/ps_phy/ps_ephy_interface.h
new file mode 100644
index 0000000..d6251d0
--- /dev/null
+++ b/pub/include/ps_phy/ps_ephy_interface.h
@@ -0,0 +1,2964 @@
+/*****************************************************************************

+ *°æ±¾ËùÓÐ (C)2009ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £ºPS-PHY½Ó¿Ú¶¨Òå

+ *  ÎļþÃû    £ºps_ephy_interface.h

+ *  Îļþ±êʶ£º500000859505

+ *  Ïà¹ØÎļþ£ºLTEЭÒéÕ»ÓëÎïÀí²ãÈí¼þ½Ó¿Ú˵Ã÷Êé

+ *  ʵÏÖ¹¦ÄÜ£ºLTEЭÒéÕ»ÓëLTEÎïÀí²ãÖ®¼äµÄ½Ó¿Ú¶¨Òå

+ *  ×÷Õß        £ºÁõÖÇÅô  ЭÒéÕ»²¿

+ *  °æ±¾        £ºV1.0

+ *  Íê³ÉÈÕÆÚ£º2009-8-10

+ *  ÆäËü˵Ã÷£ºÐ½¨

+ *

+ *  Ð޸ļǼ1£º// ÐÞ¸ÄÀúÊ·¼Ç¼£¬°üÀ¨ÐÞ¸ÄÈÕÆÚ¡¢ÐÞ¸ÄÕß¼°ÐÞ¸ÄÄÚÈÝ

+ *    ÈÕ  ÆÚ£º2010.5.10

+ *    Ð޸ļǼºÅ(»ò°æ±¾ºÅ):    

+ *    ÐÞ¸ÄÈË£ºÁõÖÇÅô             

+ *    ÐÞ¸ÄÄÚÈÝ£ºÍ¬²½Í·ÎļþÓë×îеĽӿÚÉè¼ÆÎĵµ

+ *  Ð޸ļǼ2£º

+ *    ÈÕ  ÆÚ£º2011.7.27

+ *    Ð޸ļǼºÅ(»ò°æ±¾ºÅ):    

+ *    ÐÞ¸ÄÈË£ºÁõÖÇÅô             

+ *    ÐÞ¸ÄÄÚÈÝ£ºÔö¼Ó¶àÄ£½Ó¿Ú    

+ *  Ð޸ļǼ3£º

+ *    ÈÕ  ÆÚ£º2012.9.5

+ *    Ð޸ļǼºÅ(»ò°æ±¾ºÅ):    

+ *    ÐÞ¸ÄÈË£ºÁõÖÇÅô             

+ *    ÐÞ¸ÄÄÚÈÝ£ºÔö¼ÓATÃüÁîʵÏÖÎïÀí²ã²ÎÊýÅäÖõÄÏûÏ¢½Ó¿Ú  

+ *****************************************************************************/

+#ifndef    _PS_EPHY_INTERFACE_H

+#define    _PS_EPHY_INTERFACE_H

+

+/**************************************************************************

+ *                        Í·Îļþ°üº¬                                      *

+ **************************************************************************/

+#ifndef _OS_WIN

+#include "ram_config.h"

+#endif

+#include "psl1com.h"

+

+

+

+/**************************************************************************

+ *                          ºê¶¨Òå                                           *

+ **************************************************************************/

+#ifndef _USE_LTEA_MERGE_LTE//DLMacbufÓÅ»¯LTE-AÔÝʱûÓл®·ÖµØÖ·¿Õ¼äby zcc

+#define  Z_EUMAC_UL_PDU_BUF_NUM       16

+/*µ¥¸ö»º´æ´óС µ¥Î» BYTE*/

+#define  Z_EUMAC_DL_PDU_BUF_SIZE      18736//18724

+#define  ZPS_LTE_P_MAX_TB_NUM                 4/*MACÒ»´Î½ÓÊÕµÄÏÂÐÐTBµÄ×î´ó¸öÊý*/

+#else

+#define  Z_EUMAC_UL_PDU_BUF_NUM       8

+/*µ¥¸ö»º´æ´óС µ¥Î» BYTE*/

+#define  Z_EUMAC_DL_PDU_BUF_SIZE      13000 //Áô¸øC#½Å±¾×ö»Ø¹é²âÊÔÓ㬺óÆÚTDDºÍC#½Å±¾ÍêÉÆºó¿ÉÒÔÈ¥µô

+

+/*Large and small DlMacPduBuf*/

+#define  Z_EUMAC_DL_LARGEPDU_BUF_NUM       86    //210    //DDRÄÚ´æÑ¹Ëõ¸ÄΪ110

+#define Z_EUMAC_DL_SMALLPDU_PRE_MALLOC_MIN   16

+#define Z_EUMAC_DL_SMALLPDU_PRE_MALLOC_MAX   32

+

+/*µ¥¸ö»º´æ´óС µ¥Î» BYTE*/

+#define  Z_EUMAC_DL_LARGEPDU_BUF_SIZE      9472

+#define  Z_EUMAC_DL_SMALLPDU_BUF_SIZE      4000 //+64½Ó½ü4096

+#define  ZPS_LTE_P_MAX_TB_NUM                 2/*MACÒ»´Î½ÓÊÕµÄÏÂÐÐTBµÄ×î´ó¸öÊý*/

+#endif

+

+#define  Z_EMBMS_DL_PDU_BUF_NUM       32  //8*4

+#define  Z_EMBMS_DL_PDU_BUF_SIZE       9440

+

+/*µ¥¸ö»º´æ´óС µ¥Î» BYTE*/

+#define  Z_EUMAC_UL_PDU_BUF_SIZE      9696

+#define  Z_LTE_P_MAX_PCH_BUF_SIZE     500

+#define  Z_LTE_P_MAX_SI_BUF_SIZE      2048

+#define  Z_LTE_P_MAX_ETWS_BUF_SIZE    2048

+

+#define  Z_LTE_P_HARQ_BUF_SIZE         64

+

+

+/* category3 ʱµÄPDU×î´óÖµ*/

+#define  Z_LTE_P_MAX_UL_MACPDU_SIZE    9422  

+#define  Z_LTE_P_MAX_DL_MACPDU_SIZE    12756

+

+/* ²âÁ¿Ïà¹Øºê */

+#define ZPS_LTE_P_MAX_REPORT_CELL_PER_FREQ    32

+#define ZPS_LTE_P_MAX_MEAS_CELL_NUM_PER_FREQ  32

+#define ZPS_LTE_P_MAX_BLACK_CELL_PER_FREQ     32

+#define ZPS_LTE_P_MAX_FREQ_NUM                8

+#define ZPS_LTE_P_MAX_INTER_FREQ_NUM          (ZPS_LTE_P_MAX_FREQ_NUM - 1)

+#define ZPS_LTE_P_MAX_SCELL_NUM               4

+#define ZPS_LTE_P_MAX_MBSFN_SUBFRAME_CFG_NUM  8

+#define ZPS_LTE_P_MAX_SINR_RESULT_NUM         4

+#define ZPS_LTE_P_MAX_RSSI_RESULT_NUM         2

+#define ZPS_LTE_P_MAX_N1PUCCH_AN_CSLISTP1_NUM         4

+

+#define Z_LTE_MAX_MBSFN_AREA_NUM_IN_CELL      8

+#define Z_LTE_P_MAX_SESSION_NUM_IN_PMCH       29

+#define Z_LTE_P_MAX_PMCH_NUM                  15

+

+/*ZEPCG½Ó¿Úºê*/

+#define Z_ZEPCG_PARAM_NUM                    25

+

+/*ºË¼äͬ²½ ±êÖ¾×Ö·û*/

+#define INTER_CORE_SYNC  0x5555AAAA

+

+/**************************************************************************

+ *                         È«¾ÖÊý¾Ý½á¹¹ÉùÃ÷                                *

+ **************************************************************************/

+

+/*

+Á¬½Ó̬ϵÄÎÞÏßÁ´Â·¼à¿Ø²ÎÊý  R9

+*/

+typedef struct

+{

+    WORD    wCtrlFlg; /*1:ÆôÓñ¾IEÄÚЯ´øµÄÎÞÏßÁ´Â·¼à¿Ø²ÎÊý 0:ʹÓÃCommConfigÖÐÎÞÏßÁ´Â·¼à¿Ø²ÎÊý*/

+    /*

+     ȡֵ·¶Î§£º1, 2, 3, 4, 6, 8, 10, 20

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºEPHY¼ì²âµ½N310´Îʧ²½ºó£¬Éϱ¨ZPS_LTE_P_OUT_OF_SYNC_IND_EvÏûÏ¢¸øEURRC    

+    */

+    WORD    wN310;    /*bCtrlFlg=1ʱÓÐЧ*/

+    /*

+     ȡֵ·¶Î§£º1, 2, 3, 4, 5, 6, 8, 10

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºEPHY¼ì²âµ½N311´Îͬ²½ºó£¬Éϱ¨ZPS_LTE_P_RECOVERY_SYNC_IND_EvÏûÏ¢¸øEURRC    

+    */

+    WORD    wN311;    /*bCtrlFlg=1ʱÓÐЧ*/

+    WORD    wPadding;

+}T_zPS_LTE_P_TimerConfig;

+

+/*

+EPHYÒ»¸öÐ¡ÇøµÄ²âÁ¿½á¹ûÐÅÏ¢

+*/

+typedef struct 

+{ 

+     WORD                wPhyCellId;   //ȡֵ·¶Î§£º 0~503

+     WORD                wRsrp;       //ȡֵ·¶Î§£º 0~97

+     WORD                wRsrq;       //ȡֵ·¶Î§£º 0~34

+     WORD                wPadding;

+} T_zPS_LTE_P_MeasResult;

+

+/*

+Ò»¸öƵµãµÄ²âÁ¿½á¹û,ÓÃÓÚÒìÆµ²âÁ¿½á¹ûµÄÉϱ¨

+*/

+typedef struct 

+{ 

+   DWORD                       dwReportEarfcn;        //ȡֵ·¶Î§£º 0~65535

+   WORD                       wCellNum;         //ȡֵ·¶Î§£º 0~32

+   WORD                wPadding;

+   T_zPS_LTE_P_MeasResult     atResultList[ZPS_LTE_P_MAX_REPORT_CELL_PER_FREQ];

+} T_zPS_LTE_P_FreqMeasResult; 

+

+/*

+¶¨ÒåµÄºÚÃûµ¥ÖÐÎïÀíÐ¡ÇøID µÄ·¶Î§

+*/

+typedef struct 

+{ 

+     WORD            wStartPhyCellId;

+     /*

+     ´ÓwStartPhyCellId¿ªÊ¼µÄÎïÀíÐ¡ÇøIDµÄ¸öÊý,

+     ȡֵ·¶Î§£º 1, 4, 8, 12, 16, 24, 32, 48, 64, 84, 96, 128, 168, 252, 504

+     */

+     WORD            wPhyCellIdNum;

+} T_zPS_LTE_P_PhyCellIdRange;

+

+typedef struct 

+{ 

+    WORD                        wMeasSubframePattern;

+    WORD                        awSubframeConfigBit[5];

+} T_zPS_LTE_P_MeasSubframePattern; 

+

+typedef struct

+{

+    WORD                               wSetupFlg; 

+    WORD                               wCellRangeNum;

+    T_zPS_LTE_P_MeasSubframePattern     tMeasSubframePattern;

+    T_zPS_LTE_P_PhyCellIdRange          atPhyCellIdRangeList[ZPS_LTE_P_MAX_MEAS_CELL_NUM_PER_FREQ];

+} T_zPS_LTE_P_MeasSubframeConfigNeigh;

+

+/*

+²âÁ¿¶ÔÏóµÄÐÅÏ¢

+*/

+typedef struct 

+{ 

+    DWORD          dwEarfcn;	

+    /*

+    wMeasBandWidth ȡֵ·¶Î§£º 6£¬15£¬25£¬50£¬75£¬100£¬255

+    255±íÊ¾ÍøÂç²àûÓÐÅäÖòâÁ¿´ø¿í£¬²ÉÓúͷþÎñÐ¡ÇøÏàͬµÄÏÂÐдø¿í½øÐвâÁ¿

+    */

+    WORD          wMeasBandWidth;  

+    WORD          wCellNum;

+    /*

+    1:¸ÃƵµãÏà¶ÔÓÚ·þÎñƵµãÊǸßÓÅÏȼ¶Æµµã

+    0:¸ÃƵµãÏà¶ÔÓÚ·þÎñƵµã²»ÊǸßÓÅÏȼ¶Æµµã

+    */

+    WORD          wHighPrioFlg;

+    WORD              wPadding0;		

+    WORD          awPhyCellIdList[ZPS_LTE_P_MAX_MEAS_CELL_NUM_PER_FREQ];

+    /*

+    ÒìÆµµÄÖÆÊ½,ȡֵ·¶Î§£º 0£¬1

+    0:FDDÒìÆµ£»

+    1:TDD񓮵

+    */ 

+    WORD          wAdditionalEarfcnInd;

+    /*

+    wPresenceAntennaPort1 : ÊÇ·ñʹÓÃÌìÏß¶Ë¿Ú1

+    TRUE£ºÊ¹ÓÃÌìÏß¶Ë¿Ú1.Ò²¾ÍÊÇËùÓÐÁÚÐ¡ÇøÖÁÉÙʹÓÃÁ½¸öÌØ¶¨µÄÌìÏß¶Ë¿Ú

+    FALSE£º²»ÊÊÓÃÌìÏß¶Ë¿Ú1.

+    */

+    WORD          wPresenceAntennaPort1;

+    /*ÓÃÓÚCONNECTED̬£¬ÌṩintraÁÚÇøµÄMBSFNºÍTDD UL/DLÐÅÏ¢*/

+    WORD          wNCellConfig;

+    /*Ö¸¶¨µÄºÚÃûµ¥ÎïÀíÐ¡ÇøID·¶Î§µÄÊýÄ¿, ȡֵ·¶Î§£º 0~32*/

+    WORD          wBlackCellNum;

+    /*Ö¸¶¨µÄºÚÃûµ¥ÎïÀíÐ¡ÇøID·¶Î§µÄÁбí*/ 

+    T_zPS_LTE_P_PhyCellIdRange  atPhyCellIdRangeList[ZPS_LTE_P_MAX_BLACK_CELL_PER_FREQ];

+    /*No DRX used״̬ϵı¨¸æÖÜÆÚ£¬µ¥Î»ms*/

+    DWORD          dwNoDrxReportPeriod;

+    /*DRX used״̬ϵı¨¸æÖÜÆÚ£¬µ¥Î»ms*/

+    DWORD          dwDrxReportPeriod;

+    /*Ô¼ÊøÅäÖñê־λ£¬Ö¸Ê¾atNeighMeasSubframeConfigÊÇ·ñ´æÔÚ£¬0-²»´æÔÚ£¬1-´æÔÚ*/

+    WORD           wMeasSubFrameConfigFlg;

+    /*Scell²âÁ¿ÖÜÆÚ£¬ÒÔ×ÓÖ¡ÊýΪµ¥Î»±íʾ*/

+    WORD           wMeasCycleScell;

+    /*ÁÚÇø²âÁ¿Ô¼ÊøÅäÖÃ*/

+    T_zPS_LTE_P_MeasSubframeConfigNeigh       atNeighMeasSubframeConfig;

+

+} T_zPS_LTE_P_MeasFreqInfo;  

+

+typedef struct 

+{ 

+    WORD                             wMsgId;

+    /*

+    wReportQuantity:    ȡֵ·¶Î§£º0£¬1£¬2

+    0: Ö»²âRSRP

+    1: Ö»²âRSRQ,

+    2: RSRPºÍRSRQÁ½¸ö¶¼²â

+    */

+    WORD                             wReportQuantity;

+    /*

+    wMaxCellReportPerFreq ÅäÖÃÿ¸öƵµãÉÏEPHYÉϱ¨Ð¡ÇøµÄ×î´ó¸öÊý¡£

+    ÒòΪ³ýÁËÅäÖõÄCellInfoListÍ⣬ÎïÀí²ã»¹ÄܽøÐÐÆäËû·ÇblacklistÄÚµÄÐ¡ÇøµÄ¼ì²âºÍ²âÁ¿Éϱ¨¡£

+    Òò´Ë¿ÉÒÔÀûÓô˽ӿڶÔÎïÀí²ãÉϱ¨µÄ×î´ó¸öÊý½øÐÐÁé»îÅäÖá£Ä¿Ç°Í³Ò»ÉèÖÃΪ32¡£

+    */

+    WORD                             wMaxCellReportPerFreq;

+    /*

+    ±»²âµÄƵµã¸öÊý¡£¸ù¾ÝĿǰLTEÎïÀí²ãµÄ²âÁ¿ÄÜÁ¦×î¶àÖ§³Ö3¸öÒìÆµÆµµã£¬¼ÓÉÏͬƵµÄƵµã£¬×î´óֵΪ4¡£

+    */

+    WORD                             wFreqNum;

+	/*

+    Rx-Tx²âÁ¿Ö¸Ê¾

+    */

+    WORD                             wRxTxMeas;     /* 1±íʾ¿ªÆôRx-Tx²âÁ¿Éϱ¨£¬0±íʾֹͣ */

+    WORD                             wRsrpFilterFactor;      /* RSRPµÄL3¹ýÂËϵÊý£¬È±Ê¡ÖµÎª4 */

+    WORD                             wRsrqFilterFactor;

+    WORD                             wPadding;

+    /*

+    ²âÁ¿¶ÔÏóµÄÐÅÏ¢ÁÐ±í£¨º¬Í¬ÆµºÍÒìÆµ£©, ÔªËØ0¹Ì¶¨ÎªintraƵµãµÄ²ÎÊý¡£1~3ΪinterƵµã²ÎÊý

+    */

+    T_zPS_LTE_P_MeasFreqInfo         atMeasFreqInfoList[ZPS_LTE_P_MAX_FREQ_NUM];

+} T_zPS_LTE_P_MeasConfig_Req; 

+

+/*

+ЭÒéÕ»¸øÎïÀí²ãÅäÖòâÁ¿GAPµÄÏûÏ¢¡£Èç¹ûÅäÖÃÁËеÄGAP PATTEN£¬ÎïÀí²ãÐèҪֹͣ¾ÉµÄGAP

+*/

+typedef struct 

+{ 

+     WORD                   wMsgId;

+     /*

+     wActivated: ȡֵ·¶Î§ 1£¬0

+     1£º¼¤»îÏÂÃæÅäÖõÄmeas_gap,ֹ֮ͣǰµÄGAP

+     0£ºÈ¥»îµ±Ç°ÕýÔÚʹÓõÄmeas_gap£¬ÏÂÃæµÄ²ÎÊýÎÞЧ

+     */

+     WORD                   wActivated;

+     /*

+     wGapPatternId ȡֵ·¶Î§£º0£¬1

+     0Ϊpattern0,

+     1Ϊpattern1

+     */

+     WORD                   wGapPatternId;

+     /*

+     PATTEN_0µÄ·¶Î§£¨0~39£©

+     PATTEN_1µÄ·¶Î§£¨0~79£©

+     */

+     WORD                   wGapOffset;

+} T_zPS_LTE_P_MeasGapConfig_Req;

+

+/*

+ЭÒéÕ»¸øÎïÀí²ãÅäÖòâÁ¿¶ÔÏóµÄÑÚÂëÐÅÏ¢(Æô¶¯/ֹͣijЩƵµãµÄÁÚÇø²âÁ¿)

+*/

+typedef struct 

+{ 

+     WORD           wMsgId;

+     /*

+     ÿ¸öbit¶ÔÓ¦meas_freq_infoÖеÄÒ»¸öƵµã£¬ÎïÀí²ãÖ»Æô¶¯¶ÔÓ¦µÄbitλΪ1µÄƵµãµÄ²âÁ¿¡£

+     Bitn¶ÔÓ¦ZPS_LTE_P_MEAS_CONFIG_REQ_EvÖеÄatMeasFreqInfoList[n]£¬n£º0~3

+     */

+     WORD           wMeasBitMask;

+     /* 

+      µ±·þÎñÐ¡ÇøSr>SnonintraPÇÒSq>SnonintraQʱ£¬¸ÃÖµ±»ÖÃΪ1£¬·ñÔòÖÃ0

+      */

+    WORD           wEnableHighSearch;

+    /* 

+    ÒìÖÆÊ½¸öÊý£¬ÓÃÀ´¼ÆËã¸ßÓÅÏȼ¶ËÑË÷ÖÜÆÚ£¬µ±wEnableHighSearchΪ1ʱÓÐЧ£¬Îª0ºöÂÔ¸ÃÖµ

+    */

+    WORD           wIratNum;

+    

+    WORD           wMeasTypeBitMask;/*ÿ¸öƵµã²âÁ¿Æô¶¯µÄ³¡¾°Î»Í¼£¬È¡Öµ0±íʾ°´Ð­ÒéÃÅÏÞÆô¶¯£¬È¡Öµ1±íʾ°´RSRQ<=TH1(-12.5dB)Æô¶¯ */

+    WORD           wPadding;

+    

+} T_zPS_LTE_P_MeasMaskSet_Req;

+

+typedef struct

+{

+    WORD           wMsgId;

+    WORD           wMeasPeriodChgMask;

+} T_zPS_LTE_P_MeasPeriodChg_Req;

+

+/*

+ÏòЭÒéÕ»Éϱ¨Í¬ÆµÐ¡ÇøºÍ·þÎñÐ¡ÇøµÄ²âÁ¿½á¹û

+*/

+typedef struct 

+{ 

+    WORD      wRxTxTimeDiff;

+    WORD      wCurSFN;

+} T_zPS_LTE_P_RxTxResult; 

+

+typedef struct

+{

+    DWORD                       dwEarfcn;

+    WORD                       wPci;

+    WORD                       wRsrp;

+    WORD                       wRsrq;

+    WORD                       wNeighCellNum;

+    T_zPS_LTE_P_MeasResult     tSccNeiCellRlstList[ZPS_LTE_P_MAX_REPORT_CELL_PER_FREQ];

+} T_zPS_LTE_P_ScellMeasResult;

+

+typedef struct 

+{ 

+    SHORT       sSinrInt;           //ȡֵ·¶Î§ -20~40

+    WORD        wSinrDec;           //ȡֵ·¶Î§ 0~9     

+} T_zPS_LTE_P_SinrResult;

+

+typedef struct 

+{ 

+    SHORT       sRssiInt;             //ȡֵ·¶Î§ -128~-4£¬ÕûÊý²¿·Ö

+    WORD        wRssiDec;             //ȡֵ·¶Î§ 0~9£¬Ð¡Êý²¿·Ö

+} T_zPS_LTE_P_RssiResult;

+

+typedef struct 

+{ 

+    WORD                       wNeibExistFlg;

+    WORD                       wCellNum;

+    WORD                       wRxTxRsltFlg;

+    WORD                       wSccRsltFlg;

+    DWORD                      dwServEarfcn;//·þÎñÐ¡ÇøÆµµãºÅ£¬·ÀÖ¹PSÖØÑ¡³É¹¦ºóÎóʹÓÃÖ®Ç°Ð¡Çø²âÁ¿½á¹û×öÆÀ¹À

+    

+    WORD                       wRankInd; //µ¥Ë«Á÷ָʾ£¬È¡Öµ1±íʾµ¥Á÷£¬2±íʾ˫Á÷£¬0±íʾÎÞЧ£¬

+    WORD                       wPadding;

+    

+    T_zPS_LTE_P_RxTxResult     tRxTxRslt;

+    T_zPS_LTE_P_SinrResult     tSinrRslt[ZPS_LTE_P_MAX_SINR_RESULT_NUM];

+    T_zPS_LTE_P_RssiResult     tRssiRslt[ZPS_LTE_P_MAX_RSSI_RESULT_NUM];

+    T_zPS_LTE_P_MeasResult     atResultList[ZPS_LTE_P_MAX_REPORT_CELL_PER_FREQ];

+    T_zPS_LTE_P_ScellMeasResult    atScellResult[ZPS_LTE_P_MAX_SCELL_NUM];

+} T_zPS_LTE_P_IntraMeas_Ind;

+

+/*

+ÏòЭÒéÕ»Éϱ¨ÒìÆµÐ¡ÇøµÄ²âÁ¿½á¹û

+*/

+typedef struct 

+{ 

+    WORD    wFreqNum;

+    WORD    wSpecFreqRltFg; //ȡֵΪ1ʱ±íʾ°üº¬ÁËÖ¸¶¨ÒìÆµÆµµãµÄ²âÁ¿½á¹û

+    T_zPS_LTE_P_FreqMeasResult  atFreqResultList[ZPS_LTE_P_MAX_INTER_FREQ_NUM];

+} T_zPS_LTE_P_InterMeas_Ind;

+

+/*

+Í£Ö¹EPHYµÄNCELL²âÁ¿Éϱ¨£¬SCELLµÄ²âÁ¿ÈÔÈ»¼ÌÐøÉϱ¨¡£

+*/

+typedef struct 

+{ 

+     WORD           wMsgId;

+     WORD           wPadding0;

+} T_zPS_LTE_P_AbortMeas_Req;

+

+

+/*

+EPHYÉϱ¨µÄDRX״̬

+*/

+typedef struct 

+{ 

+    /*

+    1:drx is used£¬0: no drx is used

+    */

+     WORD           wDrxState ;

+     WORD           wPadding0;

+} T_zPS_LTE_P_DrxStateInd;

+

+/**************************************************************************

+ *                           Ð¡ÇøÑ¡Ôñ¡¢Ñ°ºôÏà¹Ø½Ó¿Ú                                       *

+ **************************************************************************/

+#define  ZPS_LTE_P_MAX_NUM_OF_BAND           32

+#define  ZPS_LTE_P_MAX_NUM_OF_EARFCN_SCAN    64

+#define  ZPS_LTE_P_MAX_NUM_OF_STORED_CELL     8

+#define  ZPS_LTE_P_MAX_NUM_OF_CELL_SEARCH     8

+

+typedef struct 

+{ 

+    WORD                wPhyCellId;

+    /*

+    ¶ÔÓ¦Ð¡ÇøµÄRS½ÓÊܹ¦ÂʵÄÖµ, 0¡«97

+    */

+    WORD                wRsrp;

+    WORD                wRsrq;

+    WORD                wPadding;

+} T_zPS_LTE_P_CellSearchResult;

+

+typedef struct 

+{ 

+    DWORD          dwEarfcn;

+    WORD           wRssi;

+    WORD           wPadding;

+} T_zPS_LTE_P_FreqScanResult;

+

+typedef struct 

+{ 

+    /*

+    ij¸öƵ¶ÎµÄÆðʼƵµã, 

+    ȡֵ·¶Î§£º1830~2619¡²¶ÔÓ¦ÓÚTDDģʽ£¬²Î¼ûЭÒé36.101- Table 5.7.3-1¡³

+    */

+    DWORD          dwStartEarfcn;

+    DWORD          dwEndEarfcn;

+} T_zPS_LTE_P_FreqBand;

+

+ typedef struct 

+{ 

+     WORD                       wMsgId;

+     WORD                       wBandNum;

+     WORD                       wProcId; /* Ôö¼Ó */

+     WORD                       wFreqScanType;

+     T_zPS_LTE_P_FreqBand   atFreqBandList[ZPS_LTE_P_MAX_NUM_OF_BAND];

+} T_zPS_LTE_P_FreqScan_Req; 

+

+typedef struct 

+{ 

+     WORD                       wReportEarfcnNum;  

+     WORD                       wProcId; /* Ôö¼Ó */

+     /*

+     ȡֵ·¶Î§£º1830~2619¡²¶ÔÓ¦ÓÚTDDģʽ£¬²Î¼ûЭÒé36.101- Table 5.7.3-1¡³

+     µÈͬЭÒé²ÎÊý£ºFDL = FDL_low + 0.1(NDL - NOffs-DL)  ²Î¼ûЭÒé36.101-5.7.3

+     ²ÎÊýÓÃ;£º½«±¾´ÎƵµãɨÃ賬¹ýÃÅÏ޵ĸ÷Ƶµã£¬°´ÕÕRSSIÄÜÁ¿´Ó´óµ½Ð¡Ë³ÐòÅÅÁУ¬

+     ²¢×ª»¯ÎªÐ­Òé±ê×¼µÄFDLƵµãºÅÉϱ¨Ð­ÒéÕ»¡£

+     */

+     DWORD                       adwEarfcn[ZPS_LTE_P_MAX_NUM_OF_EARFCN_SCAN];

+} T_zPS_LTE_P_FreqScan_Cnf;

+

+typedef struct 

+{ 

+     WORD                   wMsgId;

+     /*

+     ±êÊ¶Ð¡ÇøËÑË÷µÄÐÎʽºÍËÑË÷½á¹ûÉϱ¨µÄÐÎʽ

+     1:Éϱ¨×îÇ¿Ð¡Çø£»2:Éϱ¨Ò»¸öÐ¡ÇøÁÐ±í£»3:´æ´¢Ð¡ÇøµÄËÑË÷£¬²ÉÓÃwPhyCellIdListÖÐÖ¸¶¨µÄÐ¡Çø

+     */

+     WORD                   wSearchType;

+     WORD                   wProcId;

+     WORD                   wIratFg; //1:-->2/3Gµ½4GµÄÖØÑ¡¡¢Öض¨Ïò³¡¾°Ö¸Ê¾

+     DWORD                  dwEarfcn;

+     /*

+     ´æ´¢Ð¡ÇøËÑË÷ʱ,Ö¸¶¨µÄÐ¡ÇøÁбí.½ö´æ´¢Ð¡ÇøËÑË÷ʱÓÐЧ

+     */

+     WORD                   wCellNum;

+     WORD                   wBlackCellListNum;

+     WORD                   awPhyCellIdList[ZPS_LTE_P_MAX_NUM_OF_STORED_CELL];

+     T_zPS_LTE_P_PhyCellIdRange  atBlackCellList[ZPS_LTE_P_MAX_BLACK_CELL_PER_FREQ];

+} T_zPS_LTE_P_CellSearch_Req;  

+

+/*

+EPHYÐ¡ÇøËÑË÷½á¹ûÉϱ¨

+*/

+typedef struct 

+{ 

+     WORD                         wProcId;     

+     WORD                         wCellNum;

+     DWORD                        dwEarfcn;

+     T_zPS_LTE_P_RssiResult  tRssiRslt;  /*¸ÃƵµãµÄRSSI£¬¹¤³ÌģʽɨƵÉϱ¨ÐèÇóÐÂÔö*/

+     T_zPS_LTE_P_CellSearchResult      atCellSearchResultList[ZPS_LTE_P_MAX_NUM_OF_CELL_SEARCH];

+} T_zPS_LTE_P_CellSearch_Cnf; 

+

+/*

+ÖÕÖ¹EPHYÕýÔÚ½øÐеÄÐ¡ÇøËÑË÷ÒÔ¼°ÆµµãɨÃè

+*/

+typedef struct 

+{ 

+      WORD                     wMsgId;

+      WORD                     wPadding0;

+} T_zPS_LTE_P_AbortCellSearch_Req;

+

+

+

+/*

+PSÄÚ²¿µÄÏûÏ¢£¬ÓÉPHYµÄ²Ù×÷À´´¥·¢

+ÏûÏ¢·½Ïò£ºHISR->ESIR 

+*/

+typedef struct 

+{   

+    WORD                  wDataLen;

+    WORD                  wPadding;

+    PBYTE                  pbPchData;

+} T_zPS_LTE_P_PchData_Ind;

+

+

+/**************************************************************************

+ *                             ϵͳÏûÏ¢¶ÁÈ¡Ïà¹Ø½Ó¿Ú                       *

+ **************************************************************************/

+#define    ZPS_LTE_P_MAX_NUM_OF_SI        10

+

+typedef struct 

+{ 

+    /*

+    wSiPeriodicity: ȡֵ·¶Î§:

+    ȡֵ·¶Î§£º rf8, rf16, rf32, rf64, rf128, rf256, rf512   (ÎÞÏßÖ¡µ¥Î»)

+    µÈͬЭÒé²ÎÊý£ºsi-Periodicity£¬²Î¼û²Î¼ûTS36.331-5.2.3

+    ²ÎÊýÓÃ;£º±êʾÏàÓ¦SIBµÄ½ÓÊÕ´°¿Ú³öÏÖµÄÖØ¸´ÖÜÆÚ

+    */

+    WORD          wSiPeriodicity;

+    /*

+    wSiIndex ȡֵ·¶Î§£º 1¡«32

+    µÈͬЭÒé²ÎÊý£º n£¬²Î¼û²Î¼ûTS36.331£­5.2.3£¬ 6.2.2

+    ²ÎÊýÓÃ;£ºÎªSIÏûÏ¢¶ÔÓ¦µÄnÖµ£¬ÓÃÓÚ¼ÆËãÿ¸öSIBµÄ´°¿ÚÆðʼʱ¼äµã£¨²Î¼û36331-5.2.3ЭÒéÃèÊö£©£¬

+    ´ÓÏûÏ¢½á¹¹ÉÏ¿´£¬Ã¿¸öSIBµÄ´°¿Ú³¤¶ÈÊÇÏàͬµÄ£¬Ö»ÐèÒª¸ù¾ÝSIBµÄϱê¾Í¿ÉÒÔÍÆËã³öÿ¸ö´°¿ÚµÄÆðʼλÖá£

+    for the concerned SI message, determine the number n which corresponds to the order of entry 

+    in the list of SI messages configured by schedulingInfoList in SystemInformationBlockType1;

+    2> determine the integer value x = (n - 1)*w, where w is the si-WindowLength;

+    2> the SI-window starts at the subframe #a, where a = x mod 10, in the radio frame for which 

+    SFN mod T = FLOOR(x/10), where T is the si-Periodicity of the concerned SI message; 

+    */

+    WORD          wSiIndex;

+} T_zPS_LTE_P_SiSchedInfo;

+

+/*

+RRCÇëÇóEPHY¶ÁÈ¡SIB1(PHY¸ù¾ÝÐèÒª¶ÁÈ¡MIB)£¬

+×¢£ºÊÕµ½´ËÇëÇóºó£¬EPHYÁ¢¼´Í£Ö¹Ö®Ç°µÄϵͳÏûÏ¢µ÷¶È£¬²¢¿ªÊ¼¶ÁÈ¡SIB1¡£MIBµÄ¶ÁÈ¡ÓÉÎïÀí²ã×Ô¼ºÈ·¶¨¡£

+*/

+ typedef struct 

+{ 

+    WORD                wMsgId; 

+    WORD                wSiRequestForHO;

+    WORD                wProcId;    

+    /*

+    ÐèÒª¶ÁÈ¡SIµÄÎïÀíÐ¡ÇøID

+    */

+    WORD                wPhyCellId;

+    DWORD               dwEarfcn;

+    //WORD                wPadding;

+} T_zPS_LTE_P_ReadSib1_Req;

+

+/*

+RRCÇëÇóEPHYÍ£Ö¹ËùÓÐϵͳÐÅÏ¢µÄ¶ÁÈ¡

+*/

+typedef struct 

+{ 

+    WORD                     wMsgId;

+    WORD                     wPadding1;

+} T_zPS_LTE_P_AbortSiRead_Req;

+

+/*

+ÇëÇóEPHY¸ù¾ÝÏ·¢µÄµ÷¶ÈÐÅÏ¢¶ÁÈ¡ÏàÓ¦µÄSI

+*/

+typedef struct 

+{ 

+   WORD                         wMsgId;

+   WORD                         wPadding;

+   DWORD                        dwEarfcn;

+

+   WORD                         wSubFrameAssign;  

+   WORD                         wSpecialSubFramePatterns;

+   WORD                         wReadMode;

+   WORD                         wPhyCellId;

+   /*

+   wSiWindowLen£ºÈ¡Öµ·¶Î§£ºms1, ms2, ms5, ms10, ms15, ms20, ms40 (ºÁÃ뵥λ), 

+   ±íÕ÷ij¸öSI¿ÉÄÜ´æÔÚµÄʱ¼ä´°µÄ³¤¶È£¬Õâ¸öÕâ¸öʱ¼ä´°ÄÚµÄ×ÓÖ¡ÓпÉÄܳÐÔØSIÒ²¿ÉÄܲ»³ÐÔØSI£¬

+   UEÐèÒªÔÚ´°ÄÚ³ÖÐø¼ì²âÖ±µ½½â³öÕýÈ·µÄSIΪֹ£¬´°ÄڵijÐÔØSIµÄPDSCHÐèÒª²ÉÓÃHARQ¹ý³Ì£¬

+   µ«ÎÞÐèÏòÍøÂç²à·´À¡ACK/NACK¡£Ò»¸ö´°¿ÚÄÚ½ö½ö»á³ÐÔØ1¸öSIµÄÐÅÏ¢¡£

+   */

+   WORD                         wSiWindowLen;

+   /*

+   ָʾ±¾´ÎSIµ÷¶ÈÐèÒª¶ÁÈ¡µÄSI¸öÊý

+   */

+   WORD                         wSiSchedNum;

+   /*

+   ÿ¸öÄ¿±êSIµÄʱ¼ä·Ö²¼ÐÅÏ¢£¬ÓÃÓÚ¼ÆËãSIµÄ½ÓÊÕʱ¼ä´°

+   */

+  T_zPS_LTE_P_SiSchedInfo       atSiSchedInfoList[ZPS_LTE_P_MAX_NUM_OF_SI];

+} T_zPS_LTE_P_SchedSi_Req;  

+

+/*

+EPHY·´À¡¸øÐ­ÒéÕ»µÄSIBÐÅÏ¢Êý¾Ý¸ñʽ

+*/

+typedef struct 

+{ 

+       /*

+       wReadResultȡֵ·¶Î§£º0£ºÓÐЧϵͳÏûÏ¢£¬ 1£ºÔ¤Áô

+       ±êʾµ±Ç°bufferÖеÄÊý¾ÝÊÇ·ñΪSIBÊý¾Ý¡£¸Ã²ÎÊýÓпÉÄÜÀ©Õ¹ÎªCRCÐÅÏ¢£»  

+       ĿǰЭÒéÕ»Ô¤ÆÚPHYÉϱ¨µÄÊý¾Ý×ÜÊÇCRC okµÄ£»Èç¹ûCRC fail Ôò²»ÒªÉϱ¨¡£

+       */

+       WORD                  wReadResult;

+       WORD                  wDlBandWidth;

+       WORD                  wProcId; /* Ôö¼Ó */

+       /*

+       ±êʾµ±Ç°bufferÖеÄSIBÊý¾Ý³¤¶È, 0¡«2Kbyte

+       */

+       WORD                 wDataLen;

+       PBYTE                 pbSiData;

+        T_zPS_LTE_P_SinrResult  tSinrRslt; /*¸ÃÐ¡ÇøµÄSINR£¬¹¤³ÌģʽɨƵÉϱ¨ÐèÇóÐÂÔö*/

+} T_zPS_LTE_P_SiData_Ind;

+

+/*

+EPHY¶ÁÈ¡MIBʧ°ÜºóÉϱ¨´ËÏûÏ¢

+µ±PHYÊÕµ½¶ÁÈ¡SIB1µÄÇëÇóºó£¬×Ô¶¯Ñ¡Ôñ½øÐÐMIBµÄ¶ÁÈ¡£¬Èç¹û¶à´Î£û³õ²½Ô¼¶¨Îª3´Î£¬ ¼´Ô¼3*40ms£ý

+¶ÁÈ¡MIBʧ°Üºó£¬PHYÓ¦¸ÃÍ£Ö¹MIBµÄ¶ÁÈ¡³¢ÊÔ£¬Éϱ¨´íÎó¸øÐ­ÒéÕ»£¬ÓÉЭÒéջѡÔñÆäËûÐ¡Çø½øÐг¢ÊÔ¡£

+*/

+typedef struct 

+{ 

+    WORD                  wProcId;

+    WORD                  wPadding;

+} T_zPS_LTE_P_PbchReadFail_Ind;

+/**************************************************************************

+ *                                                 ÅäÖÃÏà¹Ø½Ó¿Ú                                             *

+ **************************************************************************/

+#define   ZPS_LTE_P_MAX_N1PAN_NUM                   4

+#define   ZPS_LTE_P_MAX_SRS_CFG_NUM                 3

+#define   ZPS_LTE_P_MAX_CSI_MEAS_SF_PATTERN_NUM     2

+#define   ZPS_LTE_P_MAX_N3PAN_NUM                   4

+#define   ZPS_LTE_P_MAX_N1PANLIST_NUM               2

+ 

+typedef struct 

+{ 

+    DWORD                        dwDlEarfcn;

+    DWORD                        dwUlEarfcn;

+    WORD                         wPhyCellId;

+    WORD                         wDlBandWidth;

+    WORD                         wUlBandWidth;

+    WORD                         wPadding;

+} T_zPS_LTE_P_PhyCellInfo;  

+

+typedef struct 

+{ 

+  /*

+  wPowerRampStep:

+  ȡֵ·¶Î§£ºdB0, dB2,dB4, dB6

+  µÈͬЭÒé²ÎÊý£º321.5.1.1 powerRampingStep

+  ²ÎÊýÓÃ;£ºÉÏÐз¢ËÍpreamble¹¦Âʵ÷Õû²½³¤£¬ÓÃÓÚÖØ·¢preamble¹ý³ÌÖе÷Õû·¢É书ÂÊ

+  */

+  WORD                       wPowerRampStep;

+  /*

+  ȡֵ·¶Î§£º{dBm-120, dBm-118, dBm-116, dBm-114,dBm-112, dBm-110, dBm-108, 

+  dBm-106, dBm-104, dBm-102, dBm-100, dBm-98, dBm-96, dBm-94,    dBm-92, dBm-90}

+  µÈͬЭÒé²ÎÊý£º321.5.1.1 preambleInitialReceivedTargetPower

+  ²ÎÊýÓÃ;£ºRRCÅäÖÃÏÂÀ´µÄ³õʼpreamble¹¦ÂÊ£¬ÓÃÓÚ¼ÆËãpreamble·¢É书ÂÊ

+  */

+  WORD                       wPreamInitialRecvTargetPower;

+  /*

+  ȡֵ·¶Î§£º{n3, n4, n5, n6, n7, n8, n10, n20, n50, n100, n200}

+  µÈͬЭÒé²ÎÊý£º321.5.1.1 preambleTransMax

+  ²ÎÊýÓÃ;£ºpreamble×î´óÖØ´«´ÎÊý£¬ÖØ´«´ÎÊý³¬¹ý´ËÊýÖµÔòÐèÒªÉϱ¨´íÎó£¬ÖØÐ·¢ÆðËæ»ú½ÓÈë¹ý³Ì¡£

+  */

+  WORD                       wPreamTransMax;

+  /*

+  ȡֵ·¶Î§£º{ sf2, sf3, sf4, sf5, sf6, sf7, sf8, sf10}

+  µÈͬЭÒé²ÎÊý£º321.5.1.1 ra-ResponseWindowSize

+  ²ÎÊýÓÃ;£º¼ì²âRARÐÅϢʱ¼ä´°³¤¶È¡£ÓÃÓÚ·¢ËÍpreambleºóÔÚÖ¸¶¨µÄʱ¼äÄÚ¼ì²âÊÇ·ñÓжÔÓ¦µÄRARÐÅÏ¢£¬

+  ²¢ÅжϽÓÊÕ·¢ËÍpreamble¹ý³Ì£¨msg1£©ÊÇ·ñ³É¹¦£¬³¬¹ý´Ë¶Îʱ¼äÒÀ¾ÉûÓÐÏàÓ¦µÄRARÐÅÏ¢£¬ÔòÅжϷ¢ËÍpreamble¹ý³Ìʧ°Ü¡£

+  ÐèÖØÐ·¢ËÍ¡£

+  */

+  WORD                       wRaResponseWinSize;

+  /*

+  ȡֵ·¶Î§£ºINTEGER 1~8

+  µÈͬЭÒé²ÎÊý£º321.5.1.1 maxHARQ-Msg3Tx.

+  ²ÎÊýÓÃ;£º¾ºÕù½â¾öÖз¢ËÍmsg3ʱ£¬µ÷ÓÃHARQ¹ý³Ì×î´óÖØ´«´ÎÊý¡£

+  */

+  WORD                       wMaxHarqMsg3Tx;

+  /*

+  ȡֵ·¶Î§£ºINTEGER (0..837)

+  µÈͬЭÒé²ÎÊý£º211.5.7.2  RACH_ROOT_SEQUENCE£¨Logical root sequence number£©

+  ²ÎÊýÓÃ;£ºZCÐòÁÐÁãÏà¹ØÇøÓòÂß¼­¸ùÖµ¡£ÓÃÓÚ²éÕÒÎïÀí¸ùÖµ£¬×÷ΪÆäÖÐÒ»¸ö²ÎÊý£¬¼ÆËãµ±Ç°Ð¡Çø²úÉúµÄpreambleÐòÁС£

+  */

+  WORD                       wRootSeqIdx;

+  /*

+  ȡֵ·¶Î§£ºINTEGER 0~63

+  µÈͬЭÒé²ÎÊý£º211.5.7.1  prach-ConfigurationIndex

+  ²ÎÊýÓÃ;£ºÐ­Òéջָʾµ±Ç°PHY¿ÉÓõÄprach resource¡£ÓÃÓÚ×ÊÔ´Ñ¡Ôñ£¬ÒÔ¼°»ñÈ¡preambleµ±Ç°ËùÓøñʽ¡£

+  */

+  WORD                       wPrachConfigIdx;

+  /*

+  ȡֵ·¶Î§£º1Ϊ¸ßËÙָʾ£¨ÏÞÖÆÐ¡Çø£©£¬0Ϊ·Ç¸ßËÙ£¨·ÇÏÞÖÆÐ¡Çø£©

+  µÈͬЭÒé²ÎÊý£º211.5.7.2  High-speed-flag 

+  ²ÎÊýÓÃ;£º±êÖ¾µ±Ç°Ð¡ÇøÀàÐÍ£¨¸ßËÙÐ¡Çø»¹ÊǷǸßËÙÐ¡Çø£©¡£

+  */

+  WORD                       wHighSpeedFlag;

+  /*

+  ȡֵ·¶Î§£ºINTEGER (0..15)

+  µÈͬЭÒé²ÎÊý£º211.5.7.2  NCS configuration

+  ²ÎÊýÓÃ;£ºÐòÁÐÉú³ÉÖеÄÑ­»·ÒÆÎ»±í¸ñË÷Òý¡£²éѯµ±Ç°Ð¡ÇøÐòÁÐÉú³ÉËùÓõÄÑ­»·ÒÆÎ»Öµ£¬ÓÃÓÚÉú³ÉpreambleÐòÁС£

+  */

+  WORD                       wZeroCorrelZoneConfig;

+  /*

+  ȡֵ·¶Î§£ºINTEGER (0..94)

+  µÈͬЭÒé²ÎÊý£º211.5.7.1  prach-FrequencyOffset£¬ 

+  ²ÎÊýÓÃ;£ºprach resourceÔÚOFDM·ûºÅÉÏÆµÓòÉÏµÄÆ«ÒÆÖµ¡£ÓÃÓÚ¼ÆËãprach resourceµÚÒ»¸öÎïÀí×ÊÔ´¿éÆðʼλÖà £¬

+  */

+  WORD                       wPrachFreqOffset;

+

+  /*

+  ȡֵ·¶Î§£º4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64

+  µÈͬЭÒé²ÎÊý£º 

+  ²ÎÊýÓÃ;£ºËæ»ú½ÓÈëǰµ¼¸öÊý

+  */

+  WORD                       wNumOfRAPreambles;

+  /*

+  ȡֵ·¶Î§£º4, 8, 12, 16 ,20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60

+  µÈͬЭÒé²ÎÊý£º 

+  ²ÎÊýÓÃ;£ºËæ»ú½ÓÈëǰµ¼×éAµÄ¸öÊý

+  */

+  WORD                       wSizeOfRAPinGroupA;

+  /*

+  ȡֵ·¶Î§£º56¡¢144¡¢208¡¢256

+  µÈͬЭÒé²ÎÊý£º 

+  ²ÎÊýÓÃ;£ºËæ»úǰµ¼×éAµÄÏûÏ¢³¤¶È

+  */

+  WORD                       wMsgSizeGroupA;

+  

+

+  /*

+  ȡֵ·¶Î§£ºÈ¡ÖµÎª0µ½7£¬·Ö±ð¶ÔÓ¦minusinfinity, dB0, dB5, dB8, dB10, dB12, dB15, dB18£¬µ¥Î»ÊÇdB

+  µÈͬЭÒé²ÎÊý£º 

+  ²ÎÊýÓÃ;£ºÓÃÓÚ½øÐÐǰµ¼Ñ¡Ôñ

+  */

+  WORD                       wPwrOffsetGroupB;

+  /*

+  ȡֵ·¶Î§£º {sf8, sf16, sf24, sf32, sf40, sf48, sf56, sf64}

+  µÈͬЭÒé²ÎÊý£º321.5.1.1  mac-ContentionResolutionTimer

+  ²ÎÊýÓÃ;£º¾ºÕùËæ»ú½ÓÈë¹ý³ÌÖмì²âmsg4ʱ¼ä´°¿Ú´óС¡£

+  ÓÃÓÚÔÚ·¢ËÍmsg3ºó¿ªÊ¼µÄmsg4¼ì²â£¬Ã¿´ÎÖØ·¢msg3£¬ÐèÒªÖØÐÂÆô¶¯´Ë¼ÆÊ±Æ÷¡£

+  */

+  WORD                       wConResoTimer;

+  WORD                       wPadding;

+} T_zPS_LTE_P_PhyRaConfig; 

+

+typedef struct 

+{ 

+  /*

+  ȡֵ·¶Î§£º 1~4 

+  ²ÎÊýÓÃ;£ºÒ»¸öʱ϶ÄÚPRBËùÕ¼×Ó´ø¸öÊý£¬ÓÃÓÚ¼ÆËãPUSCHµÄʱƵ×ÊԴλÖᣠ   

+  */

+  WORD                          wNsb;

+  /*

+  ȡֵ·¶Î§£º 0£¬1

+  µÈͬЭÒé²ÎÊý£ºÎÞ¡£

+  ²ÎÊýÓÃ;£ºÌøÆµÄ£Ê½£º0Ϊ×ÓÖ¡¼ä£¬1Ϊ×ÓÖ¡ÄÚºÍ×ÓÖ¡¼ä£¬ÓÃÓÚ¼ÆËãPUSCHµÄʱƵ×ÊԴλÖá£

+  */

+  WORD                          wHoppingMode;

+  /*

+    ȡֵ·¶Î§£º 0~98 £¨TS331-860/850¸Ã·¶Î§Îª0~98£©

+    µÈͬЭÒé²ÎÊý£º ¡£

+    ²ÎÊýÓÃ;£ºÌøÆµÆ«ÒÆ£¬ÒÔRBΪµ¥Î»£¬ÓÃÓÚ¼ÆËãPUSCHµÄʱƵ×ÊԴλÖᣠ 

+  */

+  WORD                          wPuschHoppingOffset;

+  /*

+    ȡֵ·¶Î§£º 0£¬1

+    µÈͬЭÒé²ÎÊý£ºÎÞ¡£

+    ²ÎÊýÓÃ;£ºPUSCH 64QAMµ÷ÖÆÊ¹ÄܱêÖ¾£¬1ΪENABLE£¬0ΪDISABLE¡£  

+  */

+  WORD                          wEnable64Qam;

+  /*

+  ȡֵ·¶Î§£º 0£¬1

+  µÈͬЭÒé²ÎÊý£ºÎÞ¡£

+  ²ÎÊýÓÃ;£º²Î¿¼ÐźŵÄÐòÁÐ×éÌø±ä£¨Sequence-group hopping£©Ê¹ÄܱêÖ¾£¬

+  1ΪENABLE£¬0ΪDISABLE£¬ÓÃÓÚ¼ÆËãPUSCHºÍPUCCH²Î¿¼ÐźÅÐòÁС£

+  */

+  WORD                          wGroupHoppingEnable;

+  /*

+     ȡֵ·¶Î§£º 0 ~ 29

+     µÈͬЭÒé²ÎÊý£º¦¤SS¡£

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãPUSCH²Î¿¼ÐźŵÄÐòÁÐÒÆÎ»Í¼Ñù £¬¼Ì¶øµÃµ½Ê±Ï¶ µÄ²Î¿¼ÐźŵĻùÐòÁÐ×éÐòºÅ ¡£

+    PUSCHµÄÐòÁÐÒÆÎ»Í¼ÑùÊÇÔÚPUCCHµÄÐòÁÐÒÆÎ»Í¼Ñù ÉÏ¼ÓÆ«ÒƦ¤SS£¬²Î¼ûЭÒé36.211-870£¬µÚ5.5.1.3½Ú¡£  

+  */

+  WORD                          wGroupAssignPusch;

+  /*

+     ȡֵ·¶Î§£º 0£¬1

+     µÈͬЭÒé²ÎÊý£ºÎÞ¡£

+     ²ÎÊýÓÃ;£º²Î¿¼ÐźŵÄÐòÁÐÌø±ä£¨sequence hopping£©Ê¹ÄܱêÖ¾£¬

+  1ΪENABLE£¬0ΪDISABLE£¬ÓÃÓÚ¼ÆËãʱ϶ µÄ»ùÐòÁÐ×éÖеĻùÐòÁÐÐòºÅ ¡£²Î¼ûЭÒé36.211-870£¬µÚ5.5.1.4½Ú.  

+  */

+  WORD                          wSeqHoppingEnable;

+  /*

+     ȡֵ·¶Î§£º0~7

+     µÈͬЭÒé²ÎÊý£ºÎÞ¡£

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËã²Î¿¼Ðźš£²Î¼ûЭÒé36.211-870£¬µÚ5.5.2.1.1½Ú¡£  

+  */

+  WORD                          wCyclicShift;

+} T_zPS_LTE_P_PuschConfigComm; 

+

+/*

+PUSCHÐŵÀרÓÃÅäÖòÎÊýÐÅÏ¢£¬ÓÃÓÚACK/RI/CQIµÄ±àÂëËÙÂÊÆ¥Åä¡£¿É²Î¼ûЭÒé36.212-870£¬µÚ5.5.2.6½Ú¡£

+*/

+typedef struct 

+{ 

+  /*

+     ȡֵ·¶Î§£º 0~15

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£º²Î¼ûЭÒé36.213-870£¬µÚ8.6.3½Ú¡£    

+  */

+  WORD                          wBetaOffsetAckIndex;

+  /*

+     ȡֵ·¶Î§£º 0~15

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£º²Î¼ûЭÒé36.213-870£¬µÚ8.6.3½Ú¡£    

+  */

+  WORD                          wBetaOffsetRiIndex;

+  /*

+     ȡֵ·¶Î§£º 0~15

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£º²Î¼ûЭÒé36.213-870£¬µÚ8.6.3½Ú¡£    

+  */

+  WORD                          wBetaOffsetCqiIndex;

+  WORD                          wPadding;

+  WORD                          wBetaOffsetMcFlag;

+  WORD                          wBetaOffsetAckIndexMc;

+  

+  WORD                          wBetaOffsetRiIndexMc;

+  WORD                          wBetaOffsetCqiIndexMc;

+  

+  WORD                          wGroupHoppingDisabledFlag;

+  WORD                          wDmrsWithOccActivatedFlag;

+} T_zPS_LTE_P_PuschConfigDedi;

+

+/*

+PUCCHÐŵÀ¹«¹²ÅäÖòÎÊý£¬¿É½áºÏÏÂÐÐPDCCHʹÓõÄÎïÀí×ÊÔ´ÐÅÏ¢½øÐÐPUCCHÐŵÀ·ûºÅÊý¾ÝÉú³É¼°ÎïÀí×ÊÔ´Ó³É䣬

+¿É²Î¼û36.211-870£¬µÚ5.4½Ú¼°36.213-870£¬µÚ10.1½Ú¡£

+*/

+typedef struct 

+{ 

+  /*

+     ȡֵ·¶Î§£º 1£¬2£¬3

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£ºÓÃÓÚPUCCH¡¡format 1,1a,1bµÄ²ÎÊýcyclic shift  ¼°·¢ËÍ×ÊÔ´ µÄ¼ÆË㣬Ïêϸ²Î¼û36.211ЭÒéµÄ5.4½Ú¡£

+  */

+  WORD                         wDeltPucchShift;

+  /*

+     ȡֵ·¶Î§£º0~98 

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£º±íʾPUCCH format 2,2a,2b¸ñʽÏ£¬Ð¡ÇøPUCCHÐŵÀÕ¼ÓõÄPRBÊýÄ¿£¬¶ÔÓÚUEÕâ¸ö²ÎÊýÓÃÓÚ¼ÆËãcyclic shift  £¬

+  Ïêϸ²Î¼û36.211ЭÒéµÄ5.4.2½Ú¡£  

+  */

+  WORD                         wNrbCqi;

+

+  WORD                         wNcsAn;

+  WORD                         wN1PucchAn;

+} T_zPS_LTE_P_PucchConfigComm;

+

+typedef struct 

+{

+    WORD                         wN3PucchAnListNum;

+    WORD                         wTwoAntennaPortActivatedPucchFormat3Tpye;

+    

+    WORD                         wN3PucchAnList[ZPS_LTE_P_MAX_N3PAN_NUM];

+     

+    WORD                         wN3PucchAnListP1Num;

+    WORD                         wPadding1;

+    

+    WORD                          wN3PucchAnListP1[ZPS_LTE_P_MAX_N3PAN_NUM];

+} T_zPS_LTE_P_PucchFormat3;

+

+typedef struct 

+{ 

+    WORD                         wNum;

+    WORD                         wPadding;

+    WORD                         wList[ZPS_LTE_P_MAX_N1PAN_NUM];

+} T_zPS_LTE_P_N1PucchAnCs;

+

+typedef struct 

+{ 

+    WORD                         wN1PucchAnCsTpye;

+    WORD                         wN1PucchAnCsListNum;

+    T_zPS_LTE_P_N1PucchAnCs       tN1PucchAnCsList[ZPS_LTE_P_MAX_N1PANLIST_NUM]; 

+}T_zPS_LTE_P_PucchChnlSele;

+

+typedef struct 

+{ 

+  WORD                          wAckNackRepetitionInd;

+  WORD                          wRepetitionFactor;

+  WORD                          wN1PucchAnRep;

+  WORD                          wTddAckNackFeedbackMode;

+  WORD                          wPucchFormatFlag;

+  WORD                          wPadding1;

+  

+  T_zPS_LTE_P_PucchFormat3      tPucchFormat3;

+  T_zPS_LTE_P_PucchChnlSele     tPucchChnlSele;

+

+  WORD                          wTwoAntennaPortActivatedFormat1a1bFlag;

+  WORD                          wN1PucchAnRepP1Flag;

+  WORD                          wN1PucchAnRepP1;

+  WORD                          wSimultaneousPucchPuschFlag;

+  WORD                          wN1PucchAnCsListP1Num;//0±íʾ¹Ø±Õ¹¦ÄÜtxDiv-PUCCH1b-ChSelect-r11

+  WORD                          wPadding2;

+  WORD                          awN1PucchAnCsListP1[ZPS_LTE_P_MAX_N1PUCCH_AN_CSLISTP1_NUM];//Ó¦¸Ã¼Ó¸öºê

+} T_zPS_LTE_P_PucchConfigDedi;

+

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º0,1

+     µÈͬЭÒé²ÎÊý£º¿ØÖÆÓòÎÊý£¬Ð­ÒéÉÏûÓд˲ÎÊý¡£

+     ²ÎÊýÓÃ;£º1Ϊsetup£¬¾ÍÊÇÅäÖÃSRS×ÊÔ´£» 0Ϊrelease£¬¾ÍÊÇÒªÊͷŵ±Ç°µÄSRS×ÊÔ´£¨ºóÃæµÄ²ÎÊý¾ÍÊÇÎÞЧֵÁË£©£¬

+  ÊÍ·Å×ÊÔ´ºó£¬PHY²»ÐèÒª·´À¡¸øÐ­ÒéÕ»ÊÍ·ÅÍê³ÉµÄÏûÏ¢    

+    */

+    

+   WORD                         wCtrlFlag;   

+  /*

+     ȡֵ·¶Î§£º0,1,2,3,4,5,6,7

+     µÈͬЭÒé²ÎÊý£ºCsrs

+     ²ÎÊýÓÃ;£º¸ù¾Ý²ÎÊýCsrs£¬ BsrsºÍÉÏÐдø¿íN(UL,RB) ²é±í¿ÉÈ·¶¨SRSƵÓòÆðʼλÖúʹø¿íµÄ¼ÆËã²ÎÊýmsrsºÍNb ¡£

+  Ïêϸ²Î¼û36.211ЭÒéµÄ5.5.3.2½Ú¡£  

+  */

+  WORD                          wSrsBandWidthConfig;

+  /*

+     ȡֵ·¶Î§£º0~15

+     µÈͬЭÒé²ÎÊý£ºsrsSubframeConfiguration

+     ²ÎÊýÓÃ;£º´Ë²ÎÊýΪcell specific subframe configuration¡¡Ë÷Òý£¬¸ù¾Ý´ËË÷Òý²é36.211ЭÒéµÄ±í5.5.3.3-2£¬

+  ¿ÉµÃ²ÎÊýT_SFCºÍ ¦¤SFC£¬  ÓÃÓÚÈ·¶¨CELLÔÚÄÄЩ×ÓÖ¡½ÓÊÕUEµÄSRS¡£Ïêϸ²Î¼û36.211ЭÒéµÄ5.5.3.3½Ú¡£  

+  */

+  WORD                          wSrsSubFrameConfig;

+  /*

+     ȡֵ·¶Î§1£ºÔÊÐíÔÚͬһ×ÓÖ¡´«ÊäACK/NACKºÍSRS£¬0£º²»ÔÊÐí

+     µÈͬЭÒé²ÎÊý£ºSimultaneous-AN-and-SRS

+     ²ÎÊýÓÃ;£ºÔÚÉÏÐз¢ËÍPUCCHÇé¿öÏ£¬ÓÃÓÚÈ·¶¨ACK/NACKºÍSRSÊÇ·ñ¿ÉÔÚͬһ×ÓÖ¡·¢ËÍ  

+  */

+  WORD                          wAckNackSrsSimulTrans;

+  /*

+     ȡֵ·¶Î§£º0,1

+     µÈͬЭÒé²ÎÊý£ºsrsMaxUpPts

+     ²ÎÊýÓÃ;£º¶ÔÓÚUpPTS£¬µ±²ÎÊýΪ1ʱ£¬Ê¹ÄÜ µÄÖØÅ䣬µ±²ÎÊýΪ0ʱ£¬½ûÖ¹ ÖØÅä¡£

+  Ïêϸ²Î¼û36.211ЭÒéµÄ5.5.3.2¡£  

+  */

+  WORD                          wSrsMaxUpPts;

+  WORD                          wPadding;

+} T_zPS_LTE_P_SrsUlConfigComm;

+

+/*

+SRSרÓÃÅäÖòÎÊýÐÅÏ¢£¬°üÀ¨UEÌØ¶¨µÄʱƵ²ÎÊý¼°ÓÃÓÚSRS·ûºÅÉú³ÉµÄ²ÎÊýµÈ¡£

+*/

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º0,1

+     µÈͬЭÒé²ÎÊý£º¿ØÖÆÓòÎÊý£¬Ð­ÒéÉÏûÓд˲ÎÊý¡£

+     ²ÎÊýÓÃ;£º1Ϊsetup£¬¾ÍÊÇÅäÖÃSRS×ÊÔ´£» 0Ϊrelease£¬¾ÍÊÇÒªÊͷŵ±Ç°µÄSRS×ÊÔ´£¨ºóÃæµÄ²ÎÊý¾ÍÊÇÎÞЧֵÁË£©£¬

+  ÊÍ·Å×ÊÔ´ºó£¬PHY²»ÐèÒª·´À¡¸øÐ­ÒéÕ»ÊÍ·ÅÍê³ÉµÄÏûÏ¢    

+    */

+  WORD                          wCtrlFlag;

+  /*

+     ȡֵ·¶Î§£º0,1,2,3

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£º¸ù¾Ý²ÎÊýCsrs£¬B_SRS ºÍÉÏÐдø¿íN(UL,RB) ²é±í¿ÉÈ·¶¨SRSƵÓòÆðʼλÖúʹø¿íµÄ¼ÆËã²ÎÊým(SRS,b) ºÍNb ¡£

+  Ïêϸ²Î¼û36.211ЭÒéµÄ5.5.3.2½Ú¡£  

+  */

+  WORD                          wSrsBandWidthConfig;

+  /*

+     ȡֵ·¶Î§£º 0,1,2,3

+     µÈͬЭÒé²ÎÊý£ºsrs-HoppingBandwidth¡¡ 

+     ²ÎÊýÓÃ;£ºB_SRS  ºÍ b_hopÒ»ÆðÈ·¶¨SRSÊÇ·ñÐèÒªÌøÆµ¡£ÏêϸÃèÊö²Î¼û36.211ЭÒéµÄ5.5.3.2½Ú¡£  

+  */

+  WORD                          wSrsHoppingBandWidth;

+  /*

+     ȡֵ·¶Î§£º0~23

+     µÈͬЭÒé²ÎÊý£ºfreqDomainPosition  

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãSRSµÄƵÓòÆðʼλÖã¬ÏêϸÃèÊö²Î¼û36.211ЭÒéµÄ5.5.3.2½Ú¡£  

+  */

+  WORD                          wFreqDomainPos;

+  /*

+     ȡֵ·¶Î§£º0 ,1

+     µÈͬЭÒé²ÎÊý£ºDuration

+     ²ÎÊýÓÃ;£ºÐ­ÒéÕ»Óô˲ÎÊýÅäÖÃUEµÄSRSÊǵ¥´Î·¢ËÍ£¬»¹ÊÇÖÜÆÚ·¢ËÍ£¬0-µ¥´Î·¢ËÍ£»1-ÖÜÆÚ·¢ËÍ¡£  

+  */

+  WORD                          wDuration;

+  /*

+     ȡֵ·¶Î§£º0~1023 

+     µÈͬЭÒé²ÎÊý£º Isrs

+     ²ÎÊýÓÃ;£ºÀûÓô˲ÎÊý£¬²é36.213ЭÒéµÄ±í8.2-1£¬¿ÉµÃ²ÎÊýTsrsºÍToffset£¬

+  ÔÙÀûÓÃTsrsºÍToffset¿É¼ÆËã³öUEÐèÒª·¢ËÍSRSµÄ×ÓÖ¡ºÅ¡£  

+  */

+  WORD                          wSrsConfigIndex;

+  /*

+     ȡֵ·¶Î§£º0~1

+     µÈͬЭÒé²ÎÊý£ºtransmissionComb¡¡ Ktc

+     ²ÎÊýÓÃ;£º´Ë²ÎÊýÓÃÓÚ¼ÆËãSRSƵÓòÆðʼλÖã¬ÏêϸÃèÊö²Î¼û36.211ЭÒéµÄ5.5.3.2½Ú¡£  

+  */

+  WORD                          wTransComb;

+  /*

+     ȡֵ·¶Î§£º0~7

+     µÈͬЭÒé²ÎÊý£º n(cs,SRS)

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãSRSµÄcyclic shift  £¬ÏêϸÃèÊö¼û36.211ЭÒéµÄ5.5.3.1½Ú¡£  

+  */

+  WORD                          wCyclicShift;

+  WORD                          wSrsAntennaPort;

+  WORD                          wPadding1;

+} T_zPS_LTE_P_SrsUlConfigDedi;  

+

+/*

+ÉÏÐй¦ÂÊ¿ØÖÆÏà¹ØµÄ¹«¹²ÅäÖòÎÊý£¬º­¸ÇÁËËùÓÐÉÏÐÐÐŵÀ¼°SRS£¬Ö÷Òª°üÀ¨Ð¡ÇøÌض¨µÄ¿ª»·¹¦¿Ø³õÖµ£¬

+PUCCHÖв»Í¬formatÏà¶Ôformat1aµÄdeltaÖµ¼°Â·Ëð²¹³¥ÏµÊýµÈ²ÎÊý¡£

+*/

+typedef struct 

+{ 

+  /*     ȡֵ·¶Î§£ºÕæÊµÖµ·¶Î§[-126,24] dBm

+  PSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+126£¬²ÎÊý·¶Î§£º[0£¬150]

+  */

+  WORD                          wP0NominalPusch;

+  /*

+       ȡֵ·¶Î§£ºÕæÊµÖµÎª£º{0, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}

+  PSÏ·¢µÄ²ÎÊýÖµ=ÕæÊµÖµ*10£¬ ²ÎÊý·¶Î§£º[0£¬4£¬5£¬6£¬7£¬8£¬9£¬10]

+  */

+  WORD                          wAlpha;

+  /*

+  ÕæÊµÖµÎª[-127£¬-96],  PSÏ·¢µÄ²ÎÊýÖµÎªÕæÊµÖµÈ¡·´  

+  */

+  WORD                          wP0NominalPucch;

+  /*

+       ȡֵ·¶Î§£º0£ºdeltaF-2;   1£ºdeltaF0;     2£ºdeltaF2;    0xFF£ºÎÞЧ

+     deltaF-2 ´ú±í -2db£¬ deltaF0 ´ú±í0db£¬ ÒÔ´ËÀàÍÆ

+  */

+  WORD                          wDeltaFPucchFormat1;

+  /*

+       ȡֵ·¶Î§£º0£ºdeltaF1;    1£ºdeltaF3;     2£ºdeltaF5;    0xFF£ºÎÞЧ

+  */

+  WORD                          wDeltaFPucchFormat1b;

+  /*

+       ȡֵ·¶Î§£º0£ºdeltaF-2;   1£ºdeltaF0;     2£ºdeltaF1;    3£ºdeltaF2

+  */

+  WORD                          wDeltaFPucchFormat2;

+  /*

+       ȡֵ·¶Î§£º0£ºdeltaF-2;   1£ºdeltaF0;     2£ºdeltaF2;    0xFF£ºÎÞЧ

+  */

+  WORD                          wDeltaFPucchFormat2a;

+  /*

+       ȡֵ·¶Î§£º0£ºdeltaF-2;   1£ºdeltaF0;     2£ºdeltaF2;    0xFF£ºÎÞЧ

+  */

+  WORD                          wDeltaFPucchFormat2b;

+  /*

+       ȡֵ·¶Î§£º[-1~6]  PSÏ·¢µÄ²ÎÊýÖµ=ÕæÊµÖµ+1£¬²ÎÊý·¶Î§£º[0~7]

+  */

+  WORD                          wDeltaPreamMsg3;

+  WORD                          wDeltaFPucchFormat31bCSFg;

+  WORD                          wDeltaFPucchFormat3;

+  WORD                          wDeltaFPucchFormat1bCS;

+} T_zPS_LTE_P_UlPowerCtrlComm; 

+

+/*

+ÉÏÐй¦ÂÊ¿ØÖÆÏà¹ØµÄרÓÃÅäÖòÎÊý£¬º­¸ÇÁËËùÓÐÉÏÐÐÐŵÀ¼°SRS£¬Ö÷Òª°üÀ¨UEÌØ¶¨µÄ¿ª»·¹¦¿Ø³õÖµ£¬

+ÊÇ·ñ½øÐÐMCSÏà¹ØµÄ¹¦Âʵ÷ÖÆ£¬ÊÇ·ñ²ÉÓÃÀÛ¼ÓµÄTPC commandµ÷ÕûµÈÐÅÏ¢¡£

+*/

+typedef struct 

+{ 

+    /*

+       ȡֵ·¶Î§£º[-126,24]

+  PSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+126£¬²ÎÊý·¶Î§£º[0£¬150]    

+    */

+  WORD                          wP0UePusch;

+  /*

+  ȡֵ·¶Î§£º

+  0 corresponds to value 0 corresponding to state "disabled".  

+  1 corresponds to value 1.25 corresponding to "enabled".

+  */

+  WORD                          wDeltaMcsEnabled;

+  /*

+       ȡֵ·¶Î§£º1£ºEnable; 0:Disable

+  */

+  WORD                          wAccumulationEnabled;

+  /*

+       ȡֵ·¶Î§£º[-8£¬7]

+  PSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+8£¬²ÎÊý·¶Î§£º[0£¬15]  

+  */

+  WORD                          wP0UePucch;

+  /*

+       ȡֵ·¶Î§£º0~15

+  For Ks=1.25, the actual parameter value is pSRS-Offset value - 3. 

+  For Ks=0, the actual parameter value is -10.5 + 1.5*pSRS-Offset value. See TS 36.213 [23, 5.1.3.1].  

+  */

+  WORD                          wPsrsOffset;

+  /*

+       ȡֵ·¶Î§£ºfc0, fc1, fc2, fc3, fc4, fc5, fc6, fc7, fc8, fc9, fc11, fc13, fc15, fc17, fc19¡£È¡Öµ0xFFʱΪÎÞЧֵ

+  See TS 36.331 [5.5.3.2]    fc0 ´ú±í k =0£¬fc1 ´ú±í k =1 

+       µÈͬЭÒé²ÎÊý£ºÎÞ

+       ²ÎÊýÓÃ;£ºÓÃ×÷RSRP²âÁ¿Ê±µÄÂ˲¨Æ÷ϵÊý£¬ÓÃ×÷¼ÆËãPL  

+  */

+  WORD                          wFilterCoefficient;

+  WORD                          wDeltaTxDOffsetListPucchCtrlFlag;

+  WORD                          wDeltaTxDOffsetListPucchFormat1;

+

+  WORD                          wDeltaTxDOffsetListPucchFormat1a1b;

+  WORD                          wDeltaTxDOffsetListPucchFormat22a2b;

+  WORD                          wDeltaTxDOffsetListPucchFormat3;

+  WORD                          wPsrsOffsetApCtrlFlag;

+

+  WORD                          wPsrsOffsetAp;

+  WORD                          wPadding1;

+} T_zPS_LTE_P_UlPowerCtrlDedi;  

+

+/*

+ÏÂÐÐSPSÅäÖÃÐÅÏ¢£¬¸ù¾Ý´ËÅäÖýøÐÐÏÂÐÐSPSµ÷¶È¡£

+²Î¼û36.321.850µÄ5.10.1½Ú¡¢36.331.850µÄ6.3.2½ÚµÄSPS-Config¡£

+*/

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º0£¬1

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºSPS½¨Á¢»òÕßÊͷŵÄÃüÁîָʾ    

+    */

+  WORD                        wCtrlFlag; 

+  /*

+     ȡֵ·¶Î§£º[1£¬8]

+     µÈͬЭÒé²ÎÊý£ºnumberOfConfSPS-Processes

+     ²ÎÊýÓÃ;£ºSPS½ø³ÌÊýÁ¿  

+  */

+  WORD                        wSpsProcessNum;

+  /*

+     ȡֵ·¶Î§£ºsf10, sf20, sf32, sf40, sf64, sf80, sf128, sf160, sf320, sf640£¬È¡ÖµÎª0xFFFFʱΪÎÞЧ

+     µÈͬЭÒé²ÎÊý£ºsemiPersistSchedIntervalDL

+     ²ÎÊýÓÃ;£ºÏÂÐÐSPSµ÷¶È¼ä¸ô

+  */

+  WORD                        wSpsIntervalDl;          

+  /*

+     ȡֵ·¶Î§£º[1£¬4]

+     µÈͬЭÒé²ÎÊý£ºn1-PUCCH-AN-PersistentList

+     ²ÎÊýÓÃ;£ºÏÂÐÐSPSµÄHARQ·´À¡×ÊÔ´ÁбíÖеÄ×ÊÔ´ÊýÁ¿£¬Óɸ߲ãÅäÖ㬹²ÓÐ4¸ö·´À¡×ÊÔ´¡£

+  ¾ßÌåʹÓÃÄĸöÓÉSPS DCIÖеÄTPCÓòָʾ¡£²Î¼û36.213.860µÄ9.2½Ú¡£  

+  */

+  WORD                        wN1PAPNum;

+  /*

+     ȡֵ·¶Î§£º[0~2047]

+     µÈͬЭÒé²ÎÊý£ºn1-PUCCH-AN-PersistentList

+     ²ÎÊýÓÃ;£ºÏÂÐÐSPSµÄHARQ·´À¡×ÊÔ´ÁÐ±í£¬Óɸ߲ãÅäÖᣲμû36.213.860µÄ9.2½Ú¡£  

+  */

+  WORD                        awN1PucchAnPersistentList[ZPS_LTE_P_MAX_N1PAN_NUM];

+  WORD                        wTwoAntennaPortActivatedCtrlFlag;

+  WORD                        wN1PAPNumP1;

+  WORD                        awN1PucchAnPersistentP1List[ZPS_LTE_P_MAX_N1PAN_NUM];

+} T_zPS_LTE_P_SpsConfigDl;  

+

+/*

+ÉÏÐÐSPSÅäÖÃÐÅÏ¢£¬¸ù¾Ý´ËÅäÖýøÐÐÉÏÐÐSPSµ÷¶È¡£

+²Î¼û36.321.850µÄ5.10.2½Ú¡¢36.331.850µÄ6.3.2½ÚµÄSPS-Config¡£

+*/

+typedef struct 

+{ 

+    /*

+    wCtrlFlag: 1Ϊsetup, 0Ϊrelease

+     ȡֵ·¶Î§£º0£¬1

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºSPS½¨Á¢»òÕßÊͷŵÄÃüÁîָʾ    

+    */

+  WORD               wCtrlFlag;

+  /*

+     ȡֵ·¶Î§£º2£¬3£¬4£¬8

+     µÈͬЭÒé²ÎÊý£ºsemiPersistSchedIntervalUL

+     ²ÎÊýÓÃ;£ºUEÔÚÖ¸¶¨´ÎÊýµÄ¿Õ´«Êý¾ÝºóÒþʽÊÍ·ÅSPSÅäÖÃ

+  */

+  WORD               wImplicitReleaseAfter;

+  /*

+     ȡֵ·¶Î§£ºsf10, sf20, sf32, sf40, sf64, sf80, sf128, sf160, sf320, sf640£¬È¡ÖµÎª0xFFFFʱΪÎÞЧ

+     µÈͬЭÒé²ÎÊý£ºsemiPersistSchedIntervalUL

+     ²ÎÊýÓÃ;£ºÉÏÐÐSPSµ÷¶È¼ä¸ô

+  */

+  WORD               wSpsIntervalUl;

+  /*

+     ȡֵ·¶Î§£ºÕæÊµÖµ·¶Î§£º[-126£¬24]£¬×¢£ºPSÏ·¢µÄ²ÎÊýÖµÎªÕæÊµÖµ+126¡£²ÎÊýȡֵ·¶Î§[0£¬150]

+     µÈͬЭÒé²ÎÊý£ºp0-NominalPUSCH-Persistent£¨36.331£©£¬P0,NOMINAL_PUSCH (0)£¨36.213£©

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãPUSCH·¢Ë͹¦ÂÊ£¬²Î¼û36.213µÄ5.1.1.1½Ú¡£  

+  */

+  WORD               wP0NominalPuschPersistent;

+  /*

+     ȡֵ·¶Î§£ºÕæÊµÖµ·¶Î§£º[-8£¬7]dB£¬×¢£ºPSÏ·¢µÄ²ÎÊýÖµÎªÕæÊµÖµ+8¡£²ÎÊýȡֵ·¶Î§[0£¬15]

+     µÈͬЭÒé²ÎÊý£ºp0-UE-PUSCH-Persistent£¨36¡£331£©£¬P0,UE; PUSCH (0) £¨36.213£©

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãPUSCH·¢Ë͹¦ÂÊ£¬²Î¼û36.213µÄ5.1.1.1½Ú¡£  

+  */

+  WORD               wP0UePuschPersistent;

+  /*

+     ȡֵ·¶Î§£º0£¬1

+     µÈͬЭÒé²ÎÊý£ºtwoIntervalsConfig

+     ²ÎÊýÓÃ;£ºÁ½ÖÖÉÏÐÐSPSµ÷¶È¼ä¸ô£¬ÒÔ±ÜÃâÉÏÐÐSPSÐÂÊý¾Ý·¢ËͺÍͬ²½HARQÖØ´«µÄ³åÍ»¡£  

+  */

+  WORD               wTwoIntervalsConfig;    

+} T_zPS_LTE_P_SpsConfigUl; 

+

+/*

+DRXÅäÖÃÐÅÏ¢£¬¸ù¾Ý´ËÅäÖýøÐÐÁ¬½Ó̬DRXµ÷¶È´¦Àí£¬¼´Åж¨Active timeºÍNon-active timeµÄ½øÈëʱ»ú¡£

+²Î¼û36.321.850µÄ5.7½Ú¡¢36.331.850µÄ6.3.2½ÚµÄDRX-Config¡£

+*/

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º0£¬1

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÆô¶¯»òÍ£Ö¹Á¬½Ó̬DRXµ÷¶È´¦Àí

+    */

+  WORD               wCtrlFlag;

+  /*

+  ´¦ÓÚOn durationµÄʱ³¤£¬ÓÉPDCCH×ÓÖ¡µÄ¸öÊýÀ´ºâÁ¿¡£

+     ȡֵ·¶Î§£ºpsf1, psf2, psf3, psf4, psf5, psf6,psf8, psf10, psf20, psf30, psf40,psf50, 

+    psf60, psf80, psf100, psf200

+     µÈͬЭÒé²ÎÊý£ºonDurationTimer

+     ²ÎÊýÓÃ;£º´¦ÓÚOn durationµÄʱ³¤£¬ÔÚ´ËÆÚ¼äPHYÐèÒª¼à²âPDCCH¡£Ò²±íʾÿ´ÎDRX»½ÐѺóµÄ×îСactiveʱ¼ä¡£  

+  */

+  WORD               wOnDurationTimer;

+  /*

+     psf0, psf1, psf2, psf3, psf4, psf5, psf6, psf8, psf10, psf20, psf30, psf40, psf50, psf60, 

+     psf80, psf100, psf200, psf300, psf500, psf750, psf1280, psf1920, psf2560¡£ÓÉPDCCH×ÓÖ¡µÄ¸öÊýÀ´ºâÁ¿¡£

+     µÈͬЭÒé²ÎÊý£ºdrx-InactivityTimer

+     ²ÎÊýÓÃ;£º¶¨ÒåÁËÊÕµ½Ò»´ÎPDCCHµ÷¶ÈÉÏ¡¢ÏÂÐÐд«Êäºó£¬ÐèÒª¼ÌÐø¼à²âPDCCHµÄʱ¼ä¡£  

+  */

+  WORD               wDrxInactivityTimer;

+  /*

+     ȡֵ·¶Î§£ºpsf1, psf2, psf4, psf6, psf8, psf16, psf24, psf33¡£ÓÉPDCCH×ÓÖ¡µÄ¸öÊýÀ´ºâÁ¿¡£

+     µÈͬЭÒé²ÎÊý£ºdrx-RetransmissionTimer

+     ²ÎÊýÓÃ;£º¶¨ÒåÁËÕë¶ÔÏÂÐÐHARQÖØ´«£¬ÐèÒª¼à²âPDCCH£¨ÏÂÐÐÖØ´«µ÷¶È£©µÄʱ¼ä¡£  

+  */

+  WORD               wDrxRetransTimer; 

+  /*

+     ȡֵ·¶Î§£º1~16¡£ÎªwShortDrxCycleµÄ±¶Êý¡£

+     µÈͬЭÒé²ÎÊý£ºdrxShortCycleTimer

+     ²ÎÊýÓÃ;£º¶¨ÒåÁ˶ÌDRXÖÜÆÚ¶¨Ê±Æ÷£¬ÔÚwDrxInactivityTimer³¬Ê±ºÍÊÕµ½DRXÃüÁDRX Command MAC control element£©Ê±£¬Æô¶¯´Ë¶¨Ê±Æ÷¡£

+  wDrxShortCycleTimer¶¨Ê±Æ÷³¬Ê±£¬½øÈ볤DRXÖÜÆÚ´¦Àí¡£  

+  */

+  WORD               wDrxShortCycleTimer;

+  /*

+     ȡֵ·¶Î§£º£¨µ¥Î»Îª×ÓÖ¡Êý£©£º10¡¢20¡¢32¡¢40¡¢64¡¢80¡¢128¡¢160¡¢256¡¢320¡¢512¡¢640¡¢1024¡¢1280¡¢2048¡¢2560

+     µÈͬЭÒé²ÎÊý£ºlongDRX-CycleStartOffset

+     ²ÎÊýÓÃ;£º¶¨ÒåÁ˳¤DRXÖÜÆÚÖµ£¬ÔÚÓ¦Óó¤DRXÖÜÆÚʱ£¬¸ù¾Ý³¤DRXÖÜÆÚºÍÆ«ÒÆÀ´È·¶¨Æô¶¯bOnDurationTimer¶¨Ê±Æ÷µÄʱ»ú¡£  

+  */

+  WORD               wLongDrxCycle;

+  /*

+     ȡֵ·¶Î§£º0~2559 ×ÓÖ¡

+     µÈͬЭÒé²ÎÊý£ºlongDRX-CycleStartOffset

+     ²ÎÊýÓÃ;£º¶¨ÒåÁ˳¤DRXÖÜÆÚºÍ¶ÌDRXÖÜÆÚµÄactive time½øÈëµÄʱ¼äÆ«ÒÆÖµ£¬¸ù¾ÝÖÜÆÚºÍÆ«ÒÆÀ´È·¶¨Æô¶¯bOnDurationTimer¶¨Ê±Æ÷µÄʱ»ú¡£

+  Õâ¸ö²ÎÊý²¢·ÇÖ»ÓÐ long drx»áÓõ½£¬short drxÒ²»áÓõ½  

+  */

+  WORD               wLongDrxCycleStartOffset;

+  /*

+     ȡֵ·¶Î§£ºsf2, sf5, sf8, sf10, sf16, sf20, sf32, sf40, sf64, sf80, sf128, sf160, sf256, sf320, sf512, sf640 ×ÓÖ¡¡£

+  ûÓÐÅäÖöÌDRXÖÜÆÚʱ£¬È¡ÖµÎª0xFFFF¡£

+     µÈͬЭÒé²ÎÊý£ºshortDRX-Cycle

+     ²ÎÊýÓÃ;£º¶¨ÒåÁ˶ÌDRXÖÜÆÚÖµ£¬ÔÚÆô¶¯Á˶ÌDRXÖÜÆÚ¶¨Ê±Æ÷bDrxShortCycleTimerÆÚ¼ä£¬

+  ¸ù¾Ý¶ÌDRXÖÜÆÚºÍÆ«ÒÆ£¨Í¬³¤DRXÆ«ÒÆ£©À´È·¶¨Æô¶¯bOnDurationTimer¶¨Ê±Æ÷µÄʱ»ú¡£  

+  */

+  WORD               wShortDrxCycle;    

+} T_zPS_LTE_P_DrxConfig;  

+

+/*

+PDCCH¹¦¿ØÅäÖÃÐÅÏ¢,PHYÊÕµ½PSÅäÖõÄPDCCHÐŵÀÉϵÄTPC¿ØÖÆÐÅÏ¢ºó£¬

+¶ÔºóÐøµÄPUCCH»òPUSCHµÄ´«Ê书ÂʽøÐÐÏàÓ¦Ôö¼Ó»ò¼õСµÄµ÷Õû¡£

+*/

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º1Ϊsetup, 0Ϊrelease

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾Æô¶¯»òÊÍ·Å»ùÓÚTPCµÄ¹¦¿Ø    

+    */

+  WORD               wCtrlFlag;

+  /*

+     ȡֵ·¶Î§£º1ΪDCI format3, 0ΪDCI format3A

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾ÎïÀí²ã£¬Ê¹ÓÃformat3£¬»¹ÊÇformate3a  

+  */

+  WORD               wFormat3Or3A;

+  /*

+     ȡֵ·¶Î§£º00001 - FFF3

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºRNTI for power control using DCI format 3/3A, see TS 36.212 [22].  

+  */

+  WORD               wTpcRnti;

+  /*

+     ȡֵ·¶Î§£º

+    DCI format 3:  1~15

+    DCI format 3A: 1~31

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾ÔÚformat3 »ò 3aÖУ¬Ê¹ÓõÄbitλÖã¬×÷ΪTPCÃüÁ

+  

+  */

+  WORD               wTpcIndex;

+} T_zPS_LTE_P_TpcPdcchConfig; 

+

+/*

+ÌìÏßרÓÃÅäÖÃÐÅÏ¢

+*/

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º1~7  ·Ö±ð¶ÔÓ¦7ÖÖģʽ£¬È¡Öµ0xFFʱÎÞЧ

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾ÏÂÐд«Êäģʽ    

+    */

+  WORD               wTransMode;

+  WORD               wCBRestricBitLen; 

+  WORD               wUlTransModeR10 ;

+  WORD               wUlFourAntennaPortActivateR10 ;

+  /*

+    awCBRestricBit:  CodebookSubsetRestricµÄbit£¬×î´ó109bit

+     ȡֵ·¶Î§£º

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÓÃÀ´ÏÞÖÆÔÚ½øÐÐPMI,RI¼ÆËãʱ£¬ÐèÒª³¢ÊÔµÄcodebook  

+  */

+  WORD               awCBRestricBit[8];

+  /*

+     ȡֵ·¶Î§£º1Ϊsetup, 0Ϊrelease   ×¢£ºsetupʱ£¬bUeTransAntSelect²ÎÊýÓÐЧ

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾ÊÇ·ñ½øÐÐUE·¢ÉäÌìÏßÑ¡Ôñ  

+  */

+  WORD               wUeTransAntCtrlFlag;

+  /*

+     ȡֵ·¶Î§£º0ΪCLOSELOOP£¬1ΪOPENLOOP

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÈç¹û½øÐÐUE·¢ÉäÌìÏßÑ¡Ôñ£¬ ָʾʹÓÿª»·£¬»¹ÊDZջ·µÄ·½Ê½  

+  */

+  WORD               wUeTransAntSelect;

+} T_zPS_LTE_P_AntenInfoDedi;  

+

+/*

+UE SRµ÷¶ÈÇëÇóµÄÅäÖòÎÊýÐÅÏ¢

+*/

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º 0£¬1

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º1Ϊsetup, 0Ϊrelease£¬Æô¶¯ºÍ¹Ø±ÕSR¹ý³Ì    

+    */

+    WORD                wCtrlFlag;

+    /*

+     ȡֵ·¶Î§£º0~155

+     µÈͬЭÒé²ÎÊý£ºIsr . See TS 36.213 [23,10.1].

+     ²ÎÊýÓÃ;£ºÓÃÓÚ²é±í¼ÆËãSRµÄ·¢ËÍÖÜÆÚ£ûms£ýºÍÖÜÆÚÄÚµÄsubframe offset¡£

+    ¼ÆËã·½·¨²Î¼û£ºTS 36.213 [23,10.1].    

+    */

+    WORD                wSrConfigIndex;

+    /*

+     ȡֵ·¶Î§£º 0~2047

+     µÈͬЭÒé²ÎÊý£º ¡² TS 36.213 [23, 10.1]¡³

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËã³ÐÔØSRµÄPUCCHµÄʱƵ×ÊԴλÖã¬×¢£ºÖ»ÓÐ postive SRÓÃÕâ¸ö²ÎÊý¼ÆËã×ÊԴλÖã¬

+    negtive SR Ö±½Ó²ÉÓà £û±¾ÎĵµµÄ½Ó¿ÚÃüÃûΪwN1PucchAn:£ý    

+    */

+    WORD                wSrPucchResourceIndex;

+    /*

+     ȡֵ·¶Î§£º4, 8, 16, 32, 64£¬0xFFΪÎÞЧֵ

+     µÈͬЭÒé²ÎÊý£ºdsr-TransMax in TS 36.321 [6, 5.4.4].

+     ²ÎÊýÓÃ;£º±íÕ÷SRµÄ×î´óÖØ´«´ÎÊý£¬Èç¹ûSRµÄ·¢ËÍ´ÎÊý´ïµ½Õâ¸öÊýÖµ£¬ÔòÐèÒª×Ô¶¯Í£Ö¹SRµÄ·¢ËÍ¡£    

+    */

+    WORD                wDsrTransMax;

+    WORD                wSrPucchResourceIndexP1Flag;

+    WORD                wSrPucchResourceIndexP1;

+} T_zPS_LTE_P_SrConfig;

+

+typedef struct

+{

+    WORD                                wRadioFrameAllocPeriod;

+    WORD                                wRadioFrameAllocOffst;

+    WORD                                wSubframeAllocType;

+    WORD                                wPadding0;

+    WORD                                awFrameBitStr[2];

+} T_zPS_LTE_P_MbsfnSubframeConfig;

+

+typedef struct 

+{  

+    WORD                                wMbsfnSubframeConfigNum;

+    WORD                                wPadding;

+    T_zPS_LTE_P_MbsfnSubframeConfig     tMbsfnSubframeConfig[ZPS_LTE_P_MAX_MBSFN_SUBFRAME_CFG_NUM];

+}T_zPS_LTE_P_MbsfnSubframeConfigList;

+

+typedef struct 

+{ 

+    WORD                                wMeasSubframePatternType;

+    WORD                                wPadding;

+    T_zPS_LTE_P_MeasSubframePattern     tMeasSubframePatternPcell;

+} T_zPS_LTE_P_MeasSubframePatternPcell;

+

+typedef struct 

+{ 

+    WORD                                wCsiRsFlag;

+    WORD                                wAntennaPortsCount;

+    WORD                                wResourceConfig;

+    WORD                                wSubframeConfig;

+    

+    WORD                                wPc;

+    WORD                                wZeroTxPowerCsiRsFlag;

+    

+    WORD                                wZeroTxPowerResourceConfigList;

+    WORD                                wZeroTxPowerSubframeConfig;

+} T_zPS_LTE_P_CsiRsConfig;

+

+typedef struct 

+{ 

+    WORD                                wSrsAntennaPortAp;

+    WORD                                wSrsBandWidthConfigAp;

+    WORD                                wFreqDomainPosAp;

+    WORD                                wTransCombAp;

+    

+    WORD                                wCyclicShiftAp;

+    WORD                                wPadding;

+} T_zPS_LTE_P_SrsConfigAp; 

+

+typedef struct 

+{ 

+    WORD                                wCtrlFlag;

+    WORD                                wSrsConfigIndexAp;

+    WORD                                wSrsConfigApDciFormat4Num;

+    WORD                                wPadding0;

+    

+    T_zPS_LTE_P_SrsConfigAp             tSrsConfigAp[ZPS_LTE_P_MAX_SRS_CFG_NUM];

+

+    WORD                                wSrsActivateApCtrlFlag;

+    WORD                                awPadding1;

+    

+    T_zPS_LTE_P_SrsConfigAp             tSrsConfigApDciFormat0;

+    T_zPS_LTE_P_SrsConfigAp             tSrsConfigApDciFormat1a2b2c;

+} T_zPS_LTE_P_SrsUlConfigDediAp;

+

+typedef struct 

+{

+    WORD                                wP0NominalPusch;

+    WORD                                wAlpha;    

+} T_zPS_LTE_P_UplinkPwrCntlCommonSCell; 

+

+typedef struct 

+{ 

+    WORD                                wCrossSchedulingCellInfoInd;

+    WORD                                wCifPresence;

+    WORD                                wOtherCellSchedulingCellIdId;

+    WORD                                wOtherCellSchedulingPdschStart;

+} T_zPS_LTE_P_CrossSchedulingConfig; 

+

+typedef struct 

+{ 

+    WORD                                wP0UePusch;

+    WORD                                wDeltaMcsEnabled;

+    WORD                                wAccumulationEnabled;

+    WORD                                wPsrsOffset;

+

+    WORD                                wPsrsOffsetAp;

+    WORD                                wFilterCoefficient;

+    WORD                                wPathlossReferenceLinking;

+    WORD                                wPadding;

+} T_zPS_LTE_P_UlPowerCtrlDediSCell;

+

+typedef struct 

+{ 

+    WORD                                wCqiPucchResourceIndex;

+    WORD                                wCqiPucchResourceIndexP1;

+    

+    WORD                                wCqiPmiConfigIndex;

+    WORD                                wCqiFormatIndrPeriodicType;

+    

+    WORD                                wWideBandCsiRptMode;     

+    WORD                                wSubbandCqiK;

+    

+    WORD                                wSubbandCqiPeriodicityFactor;

+    WORD                                wRiConfigIndex;   

+    

+    WORD                                wSimulAckNackAndCQI;

+    WORD                                wCqiMask; 

+    WORD                                wCsiConfigIndexFlag;   

+    WORD                                wCqiPmiConfigIndex2;

+    WORD                                wRiConfigIndex2;

+    WORD                                wPadding;

+} T_zPS_LTE_P_CqiReportPeriodicConfig; 

+

+typedef struct 

+{ 

+    WORD                                wCqiReportModeAperiodic;

+    WORD                                wNomPdschRsEpreOffset;

+    WORD                                wPmiRiRpt; 

+    WORD                                wCqiReportPeriodicFlag;

+

+    T_zPS_LTE_P_CqiReportPeriodicConfig tCqiReportPeriodic;

+} T_zPS_LTE_P_CqiReportConfigSCell; 

+

+typedef struct 

+{ 

+    WORD                                wDlBandWidth; 

+    WORD                                wAntennaPortsCount ; 

+

+    T_zPS_LTE_P_MbsfnSubframeConfigList tMbsfnSubframeConfigList;

+

+    WORD                                wPhichDuration;

+    WORD                                wPhichResource;

+    WORD                                wDlReferSignalPower;

+    WORD                                wPb;

+

+    WORD                                wTddConfigCtrlFlag;

+    WORD                                wSubFrameAssign;

+    WORD                                wSpecialSubFramePatterns;

+    WORD                                wUlConfigCtrlFlag;

+

+    DWORD                               dwUlEarfcn;

+    WORD                                wUlBandWidth;

+    WORD                                wAdditionalSpectrumEmission;

+    WORD                                wPeMax; 

+    WORD                                wPadding1;

+

+    T_zPS_LTE_P_UplinkPwrCntlCommonSCell    tUplinkPwrCntlCommonSCell;

+    T_zPS_LTE_P_SrsUlConfigComm             tSrsUlConfigComm;

+    

+    WORD                                wUlCpLen;

+    WORD                                wPrachConfigIndex;

+

+    T_zPS_LTE_P_PuschConfigComm         tPuschConfigComm;

+} T_zPS_LTE_P_SCellConfigComm; 

+

+typedef struct 

+{ 

+    WORD                                wAntenInfoDediFlag;

+    WORD                                wCrossSchedulingConfigFlag;

+    WORD                                wCsiRsConfigFlag;

+    WORD                                wUlPowerCtrlDediSCellFlag;

+    

+    WORD                                wCqiReportConfigSCellFlag;

+    WORD                                wPadding0;

+

+    T_zPS_LTE_P_AntenInfoDedi           tAntenInfoDedi; 

+    T_zPS_LTE_P_CrossSchedulingConfig   tCrossSchedulingConfig;

+    T_zPS_LTE_P_CsiRsConfig             tCsiRsConfig;

+    

+    WORD                                wPa;

+    WORD                                wGroupHoppingDisabledFlag;

+    WORD                                wDmrsWithOccActivatedFlag; 

+    WORD                                wPadding1;

+

+    T_zPS_LTE_P_UlPowerCtrlDediSCell    tUlPowerCtrlDediSCell;  

+    T_zPS_LTE_P_CqiReportConfigSCell    tCqiReportConfigSCell;  

+    T_zPS_LTE_P_SrsUlConfigDedi         tSrsUlConfigDedi  ;

+    T_zPS_LTE_P_SrsUlConfigDediAp       tSrsUlConfigDediAp; 

+} T_zPS_LTE_P_SCellConfigDedi;

+

+typedef struct 

+{ 

+    WORD                                wSCellIndex;

+    WORD                                wSCellIdFlag;

+    WORD                                wSCellPci; 

+    WORD                                wPadding; 

+    DWORD                               dwDlEarfcn;

+    WORD                                wSCellCommonCfgFlag;

+    WORD                                wSCellDedicateCfgFlag;

+    

+    T_zPS_LTE_P_SCellConfigComm       tSCellCommonCfg;   

+    T_zPS_LTE_P_SCellConfigDedi         tSCellDedicateCfg;

+} T_zPS_LTE_P_SCellAddModConfig;

+

+typedef struct 

+{  

+    WORD                                wSCellToReleaseNum;

+    WORD                                wSCellToAddModNum;

+    WORD                                wSCellToReleaseList[ZPS_LTE_P_MAX_SCELL_NUM];

+    T_zPS_LTE_P_SCellAddModConfig       tSCellToAddModList[ZPS_LTE_P_MAX_SCELL_NUM];

+} T_zPS_LTE_P_SCellConfig;

+

+typedef struct 

+{ 

+    WORD               wCqiReportAPeriodicFlag;

+    WORD               wCqiReportModeAperiodic;

+    WORD               wAPeriodicCsiTriggerFlag;

+    WORD               wAPeriodicCsiTrigger;

+    

+    WORD               wNomPdschRsEpreOffset;

+    WORD               wCqiReportPeriodicFlag;

+

+    T_zPS_LTE_P_CqiReportPeriodicConfig     tCqiReportPeriodic;

+

+    WORD               wPmiRiRpt; 

+    WORD               wCsiSubframePatternConfigFlag;

+

+    T_zPS_LTE_P_MeasSubframePattern         atCsiMeasSubframeSet[ZPS_LTE_P_MAX_CSI_MEAS_SF_PATTERN_NUM];

+    WORD               wSimultaneousAckNackAndCqiFormat3Flg;

+    WORD               wPadding;

+} T_zPS_LTE_P_CqiReportConfig; 

+

+

+

+typedef struct{

+    DWORD                              dwM_TMSI;

+    WORD                                wMmec;

+    WORD                                wPadding;

+}T_zPS_LTE_P_S_TMSI;

+

+typedef struct{

+    WORD                           wNum;

+    WORD                           awList[21];

+}T_zPS_LTE_P_IMSI;

+

+typedef struct 

+{

+    WORD                         wImsiExistFlg;/*ָʾIMSIÊÇ·ñ´æÔÚ£¬È¡Öµ1:IMSI´æÔÚ£»0:IMSI²»´æÔÚ*/

+    WORD                         wSTmsiExistFlg;/*ָʾS-TMSIÊÇ·ñ´æÔÚ£¬È¡Öµ1:S-TMSI´æÔÚ£»0:S-TMSI²»´æÔÚ*/

+

+    T_zPS_LTE_P_IMSI        tImsi;

+    T_zPS_LTE_P_S_TMSI    tSTmsi;

+} T_zPS_LTE_P_UeId;  

+

+/**************************************************************************

+ * RRCÅäÖÃEPHY IDLE̬ÎÞÏß×ÊÔ´²ÎÊý£¬Ö÷Òª°üº¬Í¨ÓÃÅäÖÃÐÅÏ¢                   *

+ **************************************************************************/

+typedef struct 

+{ 

+    WORD                              wMsgId;

+    /*

+     ȡֵ·¶Î§£º1~32

+     µÈͬЭÒé²ÎÊý£ºAdditionalSpectrumEmission

+     ²ÎÊýÓÃ;£ºrelated to IE AdditionalSpectrumEmission are defined in TS 36.101 [42, table 6.2.4-1]¡£

+    ΪÁ˼õÉÙLTE UEÉÏÐÐ¶ÔÆäËûϵͳµÄ¹¦ÂʸÉÈÅ£¬UE¿ÉÒÔÔÚ×î´ó·¢Ë͹¦ÂʵĻù´¡ÉÏ£¬°Ñ×î´ó·¢Ë͹¦ÂʼõСndb£¬

+    n¸ù¾ÝAdditionalSpectrumEmission²é±íµÃµ½¡£    

+    */

+    WORD                              wAdditionalSpectrumEmission;

+    /*

+     ȡֵ·¶Î§£º[-30..33)  , PSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+30£¬²ÎÊýȡֵ·¶Î§£º0~63

+     µÈͬЭÒé²ÎÊý£ºPEMAX

+     ²ÎÊýÓÃ;£ºÐ­ÒéÕ»ÅäÖõÄUE×î´ó·¢É书ÂÊ    

+    */

+    WORD                              wPeMax;

+    /*

+     ȡֵ·¶Î§£º0~6

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºTDDµÄUL/DL×ÓÖ¡ÅäÖÃÀàÐÍ    

+    */

+    WORD                              wSubFrameAssign;

+    

+

+    /*

+     ȡֵ·¶Î§£º0~8

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºTDDµÄÌØÊâ×ÓÖ¡µÄpattern    

+    */

+    WORD                              wSpecialSubFramePatterns;

+    /*

+     ȡֵ·¶Î§£º0ΪLEN1£¨normal cyclic prefix£©£¬1ΪLEN2£¨extended cyclic prefix£©

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÉÏÐÐÑ­»·Ç°×º³¤¶È    

+    */

+    WORD                              wUlCpLen;

+    /*

+     ȡֵ·¶Î§£º32£¬64£¬128£¬256£¨ms£©

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÄ¬ÈϵÄѰºôÖÜÆÚ    

+    */

+    WORD                              wDefaultPageCycle;

+    /*

+     ȡֵ·¶Î§£º0~1023

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºUE_ID£¬Ñ°ºô¼ÆËãµÈÐèҪʹÓã¬ÓÃÓÚÇø·Ö²»Í¬UE    

+    */

+    WORD                              wUeId;

+    /*

+     ȡֵ·¶Î§£ºÕæÊµÖµÎª{fourT, twoT, oneT, halfT, quarterT, oneEightT,onSixteenthT, oneThirtySecondT}, 

+    T´ú±íѰºôÖÜÆÚ£¬PSÏ·¢µÄ²ÎÊýÖµ·¶Î§Îª0~7£¬·Ö±ð¶ÔÓ¦ÒÔÉÏ8ÖÖȡֵ¡£

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãѰºôʱ»úµÄ²ÎÊý    

+    */

+    WORD                              wNb;

+    /*

+     ȡֵ·¶Î§£º[-60£¬50]dbm , PSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+60£¬²ÎÊýȡֵ·¶Î§£º0~110

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÏÂÐвο¼ÐźŹ¦ÂÊ

+    */

+    WORD                              wDlReferSignalPower ;

+    /*

+     ȡֵ·¶Î§£º0~3

+     µÈͬЭÒé²ÎÊý£ºPb 

+     ²ÎÊýÓÃ;£ºPDSCHÐ¡ÇøÏà¹Ø²ÎÊý£¬ÓÃÓÚÏÂÐй¦ÂʼÆË㣬TS 36.213 [23, Table 5.2-1]

+    */

+    WORD                              wPb;

+    /*

+     ȡֵ·¶Î§£º1, 2, 3, 4, 6, 8, 10, 20

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºEPHY¼ì²âµ½N310´Îʧ²½ºó£¬Éϱ¨ZPS_LTE_P_OUT_OF_SYNC_IND_EvÏûÏ¢¸øEURRC    

+    */

+    WORD                              wN310;

+    /*

+     ȡֵ·¶Î§£º1, 2, 3, 4, 5, 6, 8, 10

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºEPHY¼ì²âµ½N311´Îͬ²½ºó£¬Éϱ¨ZPS_LTE_P_RECOVERY_SYNC_IND_EvÏûÏ¢¸øEURRC    

+    */

+    WORD                              wN311;

+    /*

+     ȡֵ·¶Î§£º1£¬Ö¸Ê¾EPHYפÁô£»0£¬Ö¸Ê¾EPHY²»½øÐÐפÁô

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º×¤Áôָʾ£¬Ö¸Ê¾UEÊÇ·ñפÁôµ½¸ÃÏûÏ¢Ö¸¶¨µÄÐ¡Çø¡£

+    1 ±íʾÒÔ±¾ÏûÏ¢ÖеÄcell Ϊ·þÎñÐ¡Çø£¬±¾ÏûÏ¢»á´¥·¢PHYµÄפÁôÐ¡ÇøºÍ×´Ì¬Ç¨ÒÆ£» 

+    0£¬ÔòÈÏΪ¸ÃÏûÏ¢Ö»ÊÇÓÃÓÚ²ÎÊýµÄ¸üУ¬·þÎñÐ¡Çø²»ÐèÒª¸Ä±ä¡£    

+    */

+    WORD                              wCampInd;

+

+#ifdef BTRUNK_SUPPORT

+    WORD                              wSupportBtrunking;

+    WORD                              wTpchCycle;

+    WORD                              wFrameNum;

+    WORD                              wSubFrameNum;

+#endif

+

+

+    T_zPS_LTE_P_PhyCellInfo           tPhyCellInfo;

+    T_zPS_LTE_P_PhyRaConfig           tPhyRaConfig;

+    T_zPS_LTE_P_PuschConfigComm       tPuschConfigComm;

+    T_zPS_LTE_P_PucchConfigComm       tPucchConfigComm ;

+    T_zPS_LTE_P_SrsUlConfigComm       tSrsUlConfigComm;

+    T_zPS_LTE_P_UlPowerCtrlComm       tUlPowerCtrlComm;

+    T_zPS_LTE_P_MbsfnSubframeConfigList     tMbsfnSubframeConfigList;

+    

+    T_zPS_LTE_P_UeId                        tUeId;

+    DWORD    dwCellId; //sib1ÖÐÐ¡Çøid

+    DWORD    dwPLMN; /* µ±Ç°Ð¡ÇøµÄÖ÷PLMN,PS°´ÕÕMCC1 MCC2 MCC3 MNC1 MNC2 MNC3 Æ´½Ó³É¾ßÌåµÄ5λ»ò6λ(MNC3¿ÉÄÜûÓÐ)Ê®½øÖÆÊý×Ö

+                                    ¾ÙÀý:PLMNΪ46000£¬ÔòdwPLMNÖµ¾ÍµÈÓÚËÄÍòÁù;PLMNΪ460001£¬ÔòdwPLMNÖµ¾ÍµÈÓÚËÄÊ®ÁùÍòÁãÒ»*/

+    

+} T_zPS_LTE_P_CommonConfig_Req; 

+

+/**************************************************************************

+ * RRCÅäÖÃEPHY CONNECT̬ÎÞÏß×ÊÔ´²ÎÊý£¬Ö÷Òª°üº¬Í¨ÓÃÒÔ¼°×¨ÓÃÅäÖÃÐÅÏ¢£¬      *

+ * ÎïÀí²ã½ÓÊÕµ½¸ÃÏûÏ¢ÒԺ󣬿ÉÒÔ¿ªÊ¼½øÐÐÉÏÏÂÐÐÊý¾ÝÐŵÀµÄ½ÓÊÕ               *

+ **************************************************************************/

+typedef struct 

+{ 

+    WORD                              wMsgId;

+    /*

+    1£ºÖØÅäÖã¬0£ºÅäÖÃ

+    */

+    WORD                              wReConfigFlag;  //ÐÂÔö²ÎÊý  

+    /*

+     ȡֵ·¶Î§£º 1£ºTTI°ó¶¨£» 0£º·ÇTTI°ó¶¨

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÉÏÐд«ÊäTTI°ó¶¨Ö¸Ê¾    

+    */

+    WORD                              wTtiBundlingInd;

+    /*

+     ȡֵ·¶Î§£ºn1, n2, n3, n4, n5, n6, n7, n8, n10, n12, n16, n20, n24, n28

+    ȡֵ0xFFʱΪÎÞЧ£¬ n´ú±í·¢ËÍ´ÎÊý£»

+     µÈͬЭÒé²ÎÊý£ºmaxHARQ-Tx

+     ²ÎÊýÓÃ;£ºHARQ½ø³Ì×î´ó·¢ËÍ´ÎÊý    

+    */

+    WORD                              wMaxHarqTx;

+    /*

+     ȡֵ·¶Î§£º{ -6, -4.77, -3, -1.77, 0, 1, 2, 3} dB

+    PSÏ·¢µÄ²ÎÊýµÄȡֵΪ{0£¬1£¬2£¬3£¬4£¬5£¬6£¬7}£¬·Ö±ð¶ÔÓ¦ÉÏÊöÕæÊµÖµ

+     µÈͬЭÒé²ÎÊý£º 

+     ²ÎÊýÓÃ;£ºÏÂÐй¦ÂÊ¿ØÖÆÊ¹ÓòÎÊý£¬TS 36.213 [5.2]     

+    */

+    WORD                              wPa;

+                        

+    /*

+     ȡֵ·¶Î§£º0~7

+     ²ÎÊýÓÃ;£ºSR·¢ËÍ×èÖ¹¶¨Ê±Æ÷,±ÜÃâÒ»¶Îʱ¼äÄÚÆµ·±·¢ËÍSR     

+    */

+    WORD                              wSrProhibitTimer;

+    /*

+     ȡֵ·¶Î§£º1~FFF3

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºSPS C RNTI ȡֵ    

+    */

+    WORD                              wSpsCRnti;

+    WORD                              wPadding;

+

+    T_zPS_LTE_P_SpsConfigDl           tSpsConfigDl ;

+    T_zPS_LTE_P_SpsConfigUl           tSpsConfigUl ;

+    T_zPS_LTE_P_DrxConfig             tDrxConfig;

+    T_zPS_LTE_P_PuschConfigDedi       tPuschConfigDedi;

+    T_zPS_LTE_P_PucchConfigDedi       tPucchConfigDedi;

+    T_zPS_LTE_P_SrsUlConfigDedi       tSrsUlConfigDedi;

+    T_zPS_LTE_P_UlPowerCtrlDedi       tUlPowerCtrlDedi;

+    T_zPS_LTE_P_TpcPdcchConfig        tTpcPdcchConfigPucch;

+    T_zPS_LTE_P_TpcPdcchConfig        tTpcPdcchConfigPusch;

+    T_zPS_LTE_P_CqiReportConfig       tCqiReporting;

+    T_zPS_LTE_P_AntenInfoDedi         tAntenInfoDedi;

+    T_zPS_LTE_P_SrConfig              tSrConfig;

+    T_zPS_LTE_P_TimerConfig           tTimerConfig;

+    WORD                            wCifPresence;

+    WORD                            wAdditionalSpectrumEmissionCaType;

+    WORD                            wAdditionalSpectrumEmissionPCell;

+    WORD                            wScellDeactivationTimer;

+

+    T_zPS_LTE_P_MeasSubframePatternPcell    tMeasSubframePatternPcell;

+    T_zPS_LTE_P_CsiRsConfig                 tCsiRsConfig;

+    T_zPS_LTE_P_SrsUlConfigDediAp           tSrsUlConfigDediAp;

+    T_zPS_LTE_P_SCellConfig                 tSCellConfig;

+} T_zPS_LTE_P_DedicatedConfig_Req; 

+

+/**************************************************************************

+RRCÅäÖÃEPHY CONNECT̬ÎÞÏß×ÊÔ´²ÎÊý£¬Ö÷Òª°üº¬Í¨ÓÃÒÔ¼°×¨ÓÃÅäÖÃÐÅÏ¢

+Ö÷ÒªÓÃÓÚÇл»³¡¾°.ÒªÇóEPHYͬ²½Ä¿±êÐ¡Çø£¬Í¬²½³É¹¦»òʧ°Üºó£¬·µ»ØÇл»È·ÈÏÏûÏ¢*

+**************************************************************************/

+typedef struct 

+{ 

+    WORD                              wMsgId;

+    /*

+     ȡֵ·¶Î§£º 1£ºTTI°ó¶¨£» 0£º·ÇTTI°ó¶¨

+     µÈͬЭÒé²ÎÊý£ºttiBundling£¬²Î¼ûTS 36.331 6.3.2 MAC-MainConfig field descriptions

+     ²ÎÊýÓÃ;£ºÏÂÐÐTTI°ó¶¨Ö¸Ê¾£¬±íÕ÷ÏÂÐÐÊý¾ÝµÄACK/NACK·´À¡ÊÇ·ñ²ÉÓÃTTI bunding ģʽ£¬

+    ½ö½öÊÊÓÃÓÚÏÂÐÐ×ÓÖ¡ÊýÄ¿´óÓÚÉÏÐÐ×ÓÖ¡ÊýÄ¿µÄ²»¶Ô³ÆÅäÖã¨2£¬3£¬4£¬5£©¡£²Î¼ûTS 36.213-10.1    

+    */

+    WORD                              wTtiBundingInd;

+    /*

+     ȡֵ·¶Î§£º0x0001 ¡« 0xFFF3£¬²Î¼ûTS 36.321-7.1

+     µÈͬЭÒé²ÎÊý£ºC-RNTI

+     ²ÎÊýÓÃ;£ºCell RNTI£¬ÓÃÓÚÏÂÐÐÁ´Â·µÄ¼ÓÈųõʼÐòÁÐÑ¡Ôñ£¬

+    ³ÐÔØÆÕͨÏÂÐÐÊý¾ÝµÄPDSCHÐŵÀ¶ÔÓ¦µÄPDCCH ÐŵÀDCIÊý¾ÝCRCµÄ¼ÓÑÚ´¦Àí£¬    

+    */

+    WORD                              wCRnti;

+    /*

+     ȡֵ·¶Î§£º0x0001 ¡« 0xFFF3£¬²Î¼ûTS 36.321-7.1

+     µÈͬЭÒé²ÎÊý£ºSemi-Persistent-Schedule RNTI    

+    */

+    WORD                              wSpsCRnti;

+    /*

+     ȡֵ·¶Î§£º1¡«32

+     µÈͬЭÒé²ÎÊý£ºAdditionalSpectrumEmission£¬²Î¼ûTS 36.331 6.3.4

+     ²ÎÊýÓÃ;£ºÆµÆ×·¢Ë͹¦ÂÊÏÞÖÆ£¬ÓÃÓÚÏÞÖÆUEµÄ×î´ó·¢Ë͹¦ÂÊÒÔ¼°¶ÔƵ´øÍâµÄ¹¦ÂʸÉÈÅ£¿£¿

+    ²Î¼ûTS 36.101 [42, table 6.2.4-1]    

+    */

+    WORD                              wAdditionalSpectrumEmission;

+    /*

+     ȡֵ·¶Î§£ºn1, n2, n3, n4, n5, n6, n7, n8, n10, n12, n16, n20, n24, n28£¬È¡Öµ0xFFʱΪÎÞЧ

+     µÈͬЭÒé²ÎÊý£ºmaxHARQ-Tx£¬²Î¼ûTS 36.331 6.3.2 MAC-MainConfig field descriptions

+     ²ÎÊýÓÃ;£ºÖ¸¶¨±¾´ÎRRCÁ¬½ÓÉÏÐÐHARQµÄ×î´ó·¢ËÍ´ÎÊý¡£    

+    */

+    WORD                              wMaxHarqTx;

+    /*

+     ȡֵ·¶Î§£º[-60£¬50]dbm , PSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+60 ¶ÔÓ¦0¡«110

+     µÈͬЭÒé²ÎÊý£ºreferenceSignalPower£¬²Î¼û TS 36.331  6.3.2 PDSCH-Config

+     ²ÎÊýÓÃ;£ºÏÂÐвÎÊýÐźŵŦÂÊ´óС£¬ÓÃÓÚ·ËðµÄ¹À¼ÆºÍ·¢Ë͹¦ÂʵļÆËã¡£    

+    */

+    WORD                              wDlReferSignalPower;

+    /*

+     ȡֵ·¶Î§£º{0£¬1£¬2£¬3£¬4£¬5£¬6£¬7} ¶ÔÓ¦ÕæÊµÖµÎª{ -6, -4.77, -3, -1.77, 0, 1, 2, 3} dB

+     µÈͬЭÒé²ÎÊý£ºPa ,²Î¼û TS 36.331  6.3.2 PDSCH-Config

+     ²ÎÊýÓÃ;£ºPDSCHרÓÃÅäÖòÎÊý Pa, UEÌØ¶¨²ÎÊý£¬ see TS 36.213 [23, 5.2]. 

+    Value dB-6 corresponds to -6 dB, dB-4dot77 corresponds to -4.77 dB etc    

+    */

+    WORD                              wPa;

+    /*

+     ȡֵ·¶Î§£º0~3

+     µÈͬЭÒé²ÎÊý£ºPb £¬²Î¼û TS 36.331  6.3.2 PDSCH-Config

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãÏÂÐй¦ÂÊ·ÖÅä£¬Ð¡ÇøÌØ¶¨²ÎÊý£¬ see TS 36.213 [23, Table 5.2-1].    

+    */

+    WORD                              wPb;

+    /*

+     ȡֵ·¶Î§£º0~6

+     µÈͬЭÒé²ÎÊý£ºÎÞ£¬²Î¼û TS36.211-4.2£¬ Table 4.2-2

+     ²ÎÊýÓÃ;£ºTDDµÄUL/DL×ÓÖ¡ÅäÖÃÀàÐÍ    

+    */

+    WORD                              wSubFrameAssign;  

+    /*

+     ȡֵ·¶Î§£º0¡«8

+     µÈͬЭÒé²ÎÊý£ºÎÞ£¬²Î¼û TS36.211-4.2£¬ Table 4.2-1

+     ²ÎÊýÓÃ;£ºTDD ÌØÊâ×ÓÖ¡µÄÅäÖÃÀàÐÍ    

+    */

+    WORD                              wSpecialSubFramePatterns;  

+    /*

+     ȡֵ·¶Î§£ºPSÏ·¢µÄ²ÎÊýÖµÔÚÕæÊµÖµÉÏ+30£¬²ÎÊýȡֵ·¶Î§£º0~63£¬

+     µÈͬЭÒé²ÎÊý£ºP-Max£¬see TS 36.331 6.3.2 

+     ²ÎÊýÓÃ;£ºÐ¡ÇøÔÊÐíµÄUE×î´ó·¢É书ÂÊ[-30~33£©dbm]

+    */

+    WORD                              wPeMax;

+    /*

+     ȡֵ·¶Î§£º0ΪLEN1£¬1ΪLEN2

+     µÈͬЭÒé²ÎÊý£ºUL-CyclicPrefixLength£¬²Î¼ûTS36.331 6.3.2 RadioResourceConfigCommon

+     ²ÎÊýÓÃ;£ºÉÏÐÐÑ­»·Ç°×º³¤¶È    

+    */

+    WORD                              wUlCpLen;

+    /*

+     ȡֵ·¶Î§£º0ΪÕý³££¬1ΪÀ©Õ¹

+     µÈͬЭÒé²ÎÊý£ºPHICH-Duration£¬²Î¼û TS 36.331 - 6.3.2 PHICH-Config

+     ²ÎÊýÓÃ;£ºPHICH·Ö²¼·ûºÅµÄ¸öÊý£¬ÓÃÓÚ¼ÆËãPHICHÐŵÀµÄ×ÊÔ´Ó³Éä, see TS 36.211 [21, Table 6.9.3-1]. 

+    Õâ¸ö²ÎÊý³ÐÔØÔÚMIBÖУ¬Ò»°ãÇé¿öÏÂÓÉPHY×Ô¼º¶ÁÈ¡£» Çл»Ê±ÍøÂç²àÖ÷¶¯Ï·¢£»    

+    */

+    WORD                              wPhichDuration;

+    /*

+     ȡֵ·¶Î§£º²ÎÊýȡֵΪ0£¬1£¬2£¬3·Ö±ð¶ÔÓ¦ÕæÊµÖµ{1/6£¬1/2£¬1£¬2}

+     µÈͬЭÒé²ÎÊý£ºphich-Resource£¬²Î¼û TS 36.331 - 6.3.2 PHICH-Config

+     ²ÎÊýÓÃ;£º Ng,ÓÃÓÚ¼ÆËãPHICH ×é¸öÊý£¬ see TS 36.211 [21, 6.9]. 

+    Value oneSixth corresponds to 1/6, half corresponds to 1/2 and so on. 

+    Õâ¸ö²ÎÊý³ÐÔØÔÚMIBÖУ¬Ò»°ãÇé¿öÏÂÓÉPHY×Ô¼º¶ÁÈ¡£» Çл»Ê±ÍøÂç²àÖ÷¶¯Ï·¢    

+    */

+    WORD                              wPhichResource;

+    /*

+     ȡֵ·¶Î§£º1£¬2£¬4£¬È¡ÖµÎª0xFFÊÇΪÎÞЧֵ

+     µÈͬЭÒé²ÎÊý£ºantennaPortsCount£¬²Î¼ûTS 36.331-6.3.2  AntennaInfo

+     ²ÎÊýÓÃ;£ºÌìÏß¹«¹²ÅäÖÃÐÅÏ¢£¬Ö¸¶¨Ð¡ÇøµÄÌìÏß¶Ë¿ÚÊý    

+    */

+    WORD                              wAntennaPortsCount;

+

+    /*

+     ȡֵ·¶Î§£º0~7

+     ²ÎÊýÓÃ;£ºSR·¢ËÍ×èÖ¹¶¨Ê±Æ÷,±ÜÃâÒ»¶Îʱ¼äÄÚÆµ·±·¢ËÍSR     

+    */

+    WORD                              wSrProhibitTimer;

+    /*

+     ȡֵ·¶Î§£ºÕæÊµÖµÎª{fourT, twoT, oneT, halfT, quarterT, oneEightT,onSixteenthT, oneThirtySecondT}, 

+    T´ú±íѰºôÖÜÆÚ£¬PSÏ·¢µÄ²ÎÊýÖµ·¶Î§Îª0~7£¬·Ö±ð¶ÔÓ¦ÒÔÉÏ8ÖÖȡֵ¡£Èç¹ûSIB2Ϊ¿Õ£¬È¡0-fourT

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÓÃÓÚ¼ÆËãѰºôʱ»úµÄ²ÎÊý    

+    */

+    WORD                              wNb;

+    /*

+     ȡֵ·¶Î§£º32£¬64£¬128£¬256£¨ms£©;Èç¹ûSIB2Ϊ¿Õ£¬È¡×î´óÖµ256

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÄ¬ÈϵÄѰºôÖÜÆÚ    

+    */

+    WORD                              wDefaultPageCycle;

+    /*

+     ȡֵ·¶Î§£º0~1023

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºUE_ID£¬Ñ°ºô¼ÆËãµÈÐèҪʹÓã¬ÓÃÓÚÇø·Ö²»Í¬UE    

+    */

+    WORD                              wUeId;

+    

+    T_zPS_LTE_P_PhyCellInfo             tPhyCellInfo;

+    T_zPS_LTE_P_SpsConfigDl             tSpsConfigDl ;

+    T_zPS_LTE_P_SpsConfigUl             tSpsConfigUl ;

+    T_zPS_LTE_P_DrxConfig               tDrxConfig;

+    T_zPS_LTE_P_PhyRaConfig             tPhyRaConfig;

+    T_zPS_LTE_P_PuschConfigComm         tPuschConfigComm;

+    T_zPS_LTE_P_PucchConfigComm         tPucchConfigComm ;

+    T_zPS_LTE_P_SrsUlConfigComm         tSrsUlConfigComm;

+    T_zPS_LTE_P_UlPowerCtrlComm         tUlPowerCtrlComm;

+    T_zPS_LTE_P_PuschConfigDedi         tPuschConfigDedi;

+    T_zPS_LTE_P_PucchConfigDedi         tPucchConfigDedi;

+    T_zPS_LTE_P_SrsUlConfigDedi         tSrsUlConfigDedi;

+    T_zPS_LTE_P_UlPowerCtrlDedi         tUlPowerCtrlDedi;

+    T_zPS_LTE_P_TpcPdcchConfig          tTpcPdcchConfigPucch;

+    T_zPS_LTE_P_TpcPdcchConfig          tTpcPdcchConfigPusch;

+    T_zPS_LTE_P_CqiReportConfig         tCqiReporting;

+    T_zPS_LTE_P_AntenInfoDedi           tAntenInfoDedi;

+    T_zPS_LTE_P_SrConfig                tSrConfig;

+    T_zPS_LTE_P_TimerConfig             tTimerConfig;

+    T_zPS_LTE_P_MbsfnSubframeConfigList tMbsfnSubframeConfigList;//Èç¹ûSIB2Ϊ¿Õ£¬ÁÐ±í³¤¶ÈÈ¡0£¬ºöÂÔÁбíÄÚÈÝ

+    WORD                                wCifPresence;

+    WORD                                wAdditionalSpectrumEmissionCaType;

+    WORD                                wAdditionalSpectrumEmissionPCell;

+    WORD                                wScellDeactivationTimer;

+    T_zPS_LTE_P_MeasSubframePatternPcell    tMeasSubframePatternPcell;

+    T_zPS_LTE_P_CsiRsConfig             tCsiRsConfig;

+    T_zPS_LTE_P_SrsUlConfigDediAp       tSrsUlConfigDediAp;

+    T_zPS_LTE_P_SCellConfig             tSCellConfig ;

+    WORD         wT304; //T304ʱ³¤£¬µ¥Î»ms

+    WORD         wPadding;

+

+} T_zPS_LTE_P_Handover_Req;

+

+/*

+EPHYÉϱ¨ECERÇл»½á¹ûָʾ

+*/

+typedef struct 

+{ 

+     /*

+     ȡֵ·¶Î§£º1:Çл»³É¹¦   0£ºÇл»Ê§°Ü

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º±¨¸æÐ­ÒéÕ»PHYÊÇ·ñ¿ÉÒÔÓëÄ¿±êÐ¡Çø»ñȡͬ²½£¬ 

+    Ò»°ãÇé¿öÏ£¬PHYÒѾ­»ñÈ¡ÁËÄ¿±êÐ¡ÇøµÄÖ¡±ß½ç£¬Ö±½Ó±¨¸æ³É¹¦¼´¿É¡£     

+     */

+     WORD       wResult;

+     WORD       wPadding;

+} T_zPS_LTE_P_Handover_Cnf,T_zPS_LTE_P_ListeningHo_Cnf;

+

+/*

+RRCÁ¬½Ó״̬£¬PHYÒ»Ö±¼à²âÎÞÏßÁ´Â·µÄÐźÅÖÊÁ¿£¬µ±Âú×ãʧ²½Ìõ¼þʱ£¬Éϱ¨Ð­ÒéÕ»Á´Â·Ê§²½¡£

+ÐèÒª½øÒ»²½Ã÷ȷһϣº

+upon receiving N310 consecutive "out-of-sync" indications from lower layers 

+while neither T300, T301, T304 nor T311 is running:

+2>    start timer T310;

+N310´Îʧ²½ÓÉPHY¸ºÔð¼ÆÊý£»

+T300, T301, T304 nor T311 is running:˵Ã÷´¦ÓÚRRCÁ¬½Ó½¨Á¢¡¢Öؽ¨¿ªÊ¼Ð¡ÇøËÑË÷¡¢Öؽ¨¡¢Çл»¹ý³ÌÖС£

+ÎïÀí²ãÐèҪȷ¶¨ÕâЩ״̬¡£ÕâЩ״̬ʱ£¬ÎïÀí²ã²»ÐèҪͳ¼ÆºÍÉϱ¨Ê§²½¡£

+½¨ÒéÎïÀí²ãÔÚ´ÓÕâЩÔÝ̬½øÈëCOMM̬Õâ¸öÎȶ¨Ì¬ºó£¬¶Ôʧ²½¼ÆÊýÇåÁãһϡ£

+

+typedef struct 

+{ 

+} T_zPS_LTE_P_OutOfSyc_Ind;

+*/

+

+/*

+RRCÁ¬½Ó״̬£¬PHY½øÈëʧ²½×´Ì¬ºó£¬ÈÔÈ»ÐèÒªÒ»Ö±¼à²âÎÞÏßÁ´Â·µÄÐźÅÖÊÁ¿£¬

+µ±Âú×ã»Ö¸´Í¬²½Ìõ¼þʱ£¬Éϱ¨Ð­ÒéÕ»Á´Â·»Ö¸´Í¬²½¡££¨À뿪Á¬½Ó̬ºó£¬Ê§²½×´Ì¬ÒªÇå³ý£©

+

+typedef struct 

+{ 

+} T_zPS_LTE_P_RecoverySync_Ind;

+*/

+

+/*

+ÔÚRRC½¨Á¢¹ý³ÌÖУ¬ÈôÒòÁ¬½Ó±»¾Ü¡¢T300³¬Ê±¡¢·¢ÉúÐ¡ÇøÖØÑ¡µÈÒòËØ£¬µ¼Ö½¨Á´Ê§°Ü£¬

+Ôò·¢Ë͸ÃÏûÏ¢RESETÎïÀí²ã¡£

+*/

+typedef struct 

+{  

+    WORD                          wMsgId; 

+    WORD                          wPadding1;

+} T_zPS_LTE_P_MAC_Reset_Req;

+

+/*

+ECER֪ͨEPHYÊÍ·Å×ÊÔ´¼°ÅäÖã¬Í£Ö¹Ñ°ºô£¬À뿪פÔú״̬

+*/

+typedef struct 

+{ 

+     WORD                          wMsgId;

+     /* ¸Ã×ֶαíʾÊÍ·Å×ÊÔ´µÄͬʱ£¬ÊÇ·ñÐèÒªÊÍ·ÅRF

+       wRelRfFlg = 1±íʾÐèÒª·ÅÉ䯵£¬

+       wRelRfFlg = 0±íʾ²»ÐèÒªÊÍ·ÅÉ䯵£¬½öÊÍ·Å×ÊÔ´*/

+     WORD                          wRelRfFlg; 

+     

+     /* ¸Ã×ֶαíʾÔÚÊÍ·ÅÎïÀí²ãÅäÖÃʱ£¬ÊÇ·ñÐèÒª±£Áô·þÎñÐ¡Çø¶¨Ê±ÐÅÏ¢£¬ÔÚwRelRfFlg==0ʱÓÐЧ

+       wKeepServCellFlg = 0±íʾÐèÒªÊÍ·ÅËùÓÐ×ÊÔ´ÅäÖã¬

+       wKeepServCellFlg = 1±íʾ²»ÐèÒªÊÍ·ÅÐ¡ÇøÐÅÏ¢£¬ÓÃÓÚÁ¬½Ó̬»Øidleʱ¿ìËÙפÁô*/

+     WORD                          wKeepServCellFlg; 

+     WORD                          wPadding; 

+} T_zPS_LTE_P_Rel_Req;

+

+/*

+EPHY´¦ÀíÍêZPS_LTE_P_REL_REQ_EvÏûÏ¢ºó·´À¡´ËÈ·ÈÏÏûÏ¢

+

+typedef struct 

+{ 

+} T_zPS_LTE_P_Rel_Cnf;

+*/

+

+

+

+/**************************************************************************

+ *                                              EUMACÓëEPHYµÄ½Ó¿Ú                                         *

+ **************************************************************************/

+

+typedef struct 

+{ 

+     WORD                     wMsgId;

+     /*

+     ȡֵ·¶Î§£ºINTEGER (0..15)£¬È±Ê¡Ê±£¬Ìîд0xFF

+     µÈͬЭÒé²ÎÊý£º321.5.1.2 ra-PRACH-MaskIndex (PRACH Mask Index)

+     ²ÎÊýÓÃ;£ºÍøÂç²àÃ÷È·Ö¸¶¨preamble·¢ËÍprach resource selectionÐÅÏ¢¡£     

+     */

+     WORD                     wRaPrachMaskIndex;

+     /*

+     ȡֵ·¶Î§£ºINTEGER (0..63) £¬È±Ê¡Ê±£¬Ìîд0xFF

+     µÈͬЭÒé²ÎÊý£º321.5.1.2 ra-PreambleIndex (Random Access Preamble)

+     ²ÎÊýÓÃ;£ºÍøÂç²àÃ÷È·Ö¸¶¨preamble·¢ËÍÐòÁÐIDÐÅÏ¢¡£     

+     */

+     WORD                     wPreamId;

+     /*

+     ȡֵ·¶Î§£ºËæ»ú½ÓÈëµÄÀàÐÍ£¬0±íʾ·Ç¾ºÕùËæ»ú½ÓÈ룬

+    1±íʾ¾ºÕù½â¾öÉÏÐз¢ËÍÄÚÈÝΪC-RNTI¿ØÖÆÐÅÔª£¬2±íʾUL CCCHÊý¾Ý;

+    3 ±íʾ×ÔÖ÷Çл»µÄ״̬±¨¸æ£»4 ±íʾ¼¯ÈºLTE UL CCCHÉÏÊý¾Ý£¬²»ÐèÒªMSG4.

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÐ­ÒéÕ»¸æÖªÎïÀí²ãµ±Ç°·¢ÆðµÄËæ»ú½ÓÈë¹ý³ÌµÄÀàÐÍ¡£     

+     */

+     WORD                     wRaType;

+      /*

+     ȡֵ·¶Î§£º

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º DZÔÚµÄÏûÏ¢³¤¶È£¬ÓÃÓÚPHYÈ·¶¨Ç°µ¼×éA/B¡£

+     */    

+     WORD                     wMsgSize;

+     /*

+     ȡֵ·¶Î§£ºËæ»ú½ÓÈë¹ý³ÌÓÉË­·¢Æð£¬0±íʾÉϲãЭÒéÕ»·¢Æð£¬1±íʾÎïÀí²ã·¢Æð

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º±íÊ¾Ëæ»ú½ÓÈë¹ý³Ì·¢ÆðÕß¡£

+     */

+     WORD                     wInitRA;

+     /*

+     ȡֵ·¶Î§£ºÊÇ·ñresetÏà¹ØµÄ²ÎÊý£¬Èç·¢Ë͹¦ÂÊ£¬Ç°µ¼·¢ËͼÆÊý¡£1ΪRESET£¬0Ôò²»ÐèÒªRESET

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º±íʾÊÇ·ñÖØÖÃËæ»ú½ÓÈë¹ý³ÌÏà¹Ø²ÎÊý¡£

+     */

+     WORD                     wResetPara;

+     /*

+     20100309  added by hongjb 

+    Èç¹ûÊÇPDCCHÃüÁî·¢ÆðµÄËæ»ú½ÓÈë¹ý³Ì£¬

+    °Ñ10.1.4ÏûÏ¢ÖеÄ×ÓÖ¡ºÅÔÙ·¢¸øPHY,

+    ·ñÔòÏ·¢ÎÞЧֵ0XFFFF    ÓÐЧ×ÓÖ¡ºÅ·¶Î§0-10240

+     */           

+     WORD                     wSubFN;

+} T_zPS_LTE_P_Access_Req;

+

+typedef struct 

+{ 

+    /*

+    1:·Ç¾ºÕù½ÓÈë³É¹¦   

+    2:¾ºÕù½ÓÈë³É¹¦

+    3:¾ºÕù¶¨Ê±Æ÷³¬Ê±Ê§°Ü

+    4:ǰµ¼·¢ËÍ´ïµ½×î´óÖµ:preamble_trans_counter = preambleTransMax+1

+    */

+     WORD                     wResult;

+     WORD                     wPreamCnt;

+     /*

+     ȡֵ·¶Î§£ºBIT STRING (SIZE (16))

+     µÈͬЭÒé²ÎÊý£º331.6.3.6 C-RNTI

+     ²ÎÊýÓÃ;£º¾ºÕù½â¾ö³É¹¦T-CRNTIÉý¼¶ºó£¬PHY½«CRNTIÉϱ¨¸øPS¡£Ã»ÓÐCRNTIÉϱ¨Ê±£¬Ð´Èë0xFFFF¡£      

+     */

+     WORD                     wCRnti;

+     WORD                     wPadding;

+} T_zPS_LTE_P_Access_Cnf;

+

+typedef struct 

+{ 

+   WORD               wMsgId;

+    /*    2010309ÐÂÔö²ÎÊý

+    ×ÓÖ¡ºÅ£¬ÓÐЧֵ0-10240£¬ÎÞЧֵΪ0XFFFF

+    ÕâÀïдÈëÊÕµ½ÏÂÐÐMSG4Êý¾ÝʱµÄ×ÓÖ¡ºÅ

+    */

+   WORD              wSubFN;   

+} T_zPS_LTE_P_AbortAccess_Req;

+

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º0~15£¬ 0xFFΪÎÞЧֵ

+     µÈͬЭÒé²ÎÊý£º321.5.1.2 ra-PRACH-MaskIndex (PRACH Mask Index)

+     ²ÎÊýÓÃ;£ºÍøÂç²àÃ÷È·Ö¸¶¨preamble·¢ËÍprach resource selectionÐÅÏ¢    

+    */

+     WORD                     wRaPrachMaskIndex;

+     /*

+     ȡֵ·¶Î§£ºINTEGER (0..63)

+     µÈͬЭÒé²ÎÊý£º321.5.1.2 ra-PreambleIndex (Random Access Preamble)

+     ²ÎÊýÓÃ;£ºÍøÂç²àÃ÷È·Ö¸¶¨preamble·¢ËÍÐòÁÐIDÐÅÏ¢¡£     

+     */

+     WORD                     wPreamId;

+     //WORD                   wPadding;   2010309  ½Ó¿ÚÎĵµÉ¾³ý

+      /*    2010309ÐÂÔö²ÎÊý

+      ×ÓÖ¡ºÅ£¬ÓÐЧֵ0-10240£¬ÎÞЧֵΪ0XFFFF

+     ÊÕµ½PDCCHÃüÁîʱµÄ×ÓÖ¡ºÅ

+      */

+      WORD                    wSubFN;   

+      WORD                    wPadding;

+} T_zPS_LTE_P_MacInitRa_Req;

+

+/*

+psά»¤TA Timer£¬Ä¿Ç°MAC½öÔÚTA TIMER³¬Ê±Í£Ö¹Ê±£¬·¢ËÍZPS_LTE_P_TA_TIMER_STOP_IND_EvÏûÏ¢¡£

+PHYÊÕµ½ZPS_LTE_P_TA_CMD_REQ_Ev£¬ÈÏΪTA TIMERÖØÐÂÆô¶¯

+*/

+typedef struct 

+{ 

+     WORD                     wMsgId;

+     /*

+     ȡֵ·¶Î§£º0£¬1¡£0£º6¸öbit£¬TA¿ØÖÆÐÅÔªÖÐÊÕµ½£»

+    1£º11¸öbit, Ëæ»ú½ÓÈëÏìÓ¦ÖÐÊÕµ½¡£

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£º±íʾTAÖ¸ÁîÀ´Ô´¡£     

+     */

+     WORD                     wTACmdType;

+     /*

+     ȡֵ·¶Î§£ºÔÚËæ»ú½ÓÈëÏìÓ¦ÖУ¬³¤¶ÈΪ11¸ö±ÈÌØ£»ÔÚTA¿ØÖÆÐÅÔªÖУ¬³¤¶ÈΪ6¸ö±ÈÌØ¡£

+     µÈͬЭÒé²ÎÊý£ºTiming Advance Command£¬RARÖеÄTA»òÕßMAC¿ØÖÆÐÅÔª

+     ²ÎÊýÓÃ;£ºÊ±¼äͬ²½ÃüÁîÖµ     

+     */

+     WORD                     wTimeAdvance;

+

+     /*  20120101  ²ÎÊýÐÞ¸Äȡֵ·¶Î§Îª0~10240, Ö¡ºÅ*10+×ÓÖ¡ºÅ

+     ȡֵ·¶Î§£º0~10240

+     µÈͬЭÒé²ÎÊý£º

+     ²ÎÊýÓÃ;£ºPSÊÕµ½TAÖµµÄʱ¼ä£¬¸Ãʱ¼ä֪ͨ¸øPHY£¬

+    ÓÃÓÚPHYÈ·¶¨TAµÄ½ÓÊÕʱ¼äµÚN×ÓÖ¡ÒÔÈ·±£ÔÚµÚN+6×ÓÖ¡µ÷ÕûÉÏÐз¢ËͶ¨Ê±¡£     

+     */

+     WORD                     wSubFN;

+} T_zPS_LTE_P_TaCmd_Req;

+

+/*

+MAC֪ͨEPHYÖ´ÐÐDRXÃüÁî

+>Í£Ö¹On Duration TimerºÍDRX inactivity Timer¡£

+>Èç¹ûÅäÖÃÁ˶ÌDRXÖÜÆÚ£¬Ôò¿ªÊ¼Æô¶¯¶ÌDRXÖÜÆÚ£¬ÇÒÆô¶¯¶ÌDRXÖÜÆÚ¶¨Ê±Æ÷£»

+·ñÔòÆô¶¯³¤DRXÖÜÆÚ¡£¶ÌDRXÖÜÆÚ¶¨Ê±Æ÷³¬Ê±£¬½øÈ볤DRXÖÜÆÚ´¦Àí¡£

+*/

+typedef struct 

+{ 

+    WORD                            wMsgId;

+    WORD                            wPadding1;

+} T_zPS_LTE_P_DrxCmd_Req;

+

+typedef struct 

+{ 

+    WORD                        wMsgId;

+    /*

+     ȡֵ·¶Î§£º0Ϊֹͣ,1ΪÔËÐÐ

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºTA¶¨Ê±Æ÷ÓÉPSά»¤£¬PSÏòEPHY֪ͨTA¶¨Ê±Æ÷Í£Ö¹µÄÔ­Òò¡£

+    */

+    WORD                        wCause;

+} T_zPS_LTE_P_TATimerStop_Ind;

+

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º11bit

+     µÈͬЭÒé²ÎÊý£º321.4.2.3 timing advance command TA

+     ²ÎÊýÓÃ;£ºRARÕýÈ·½âÂëºó£¬½«TAÐÅÏ¢·¢Ë͸øMAC¡£ÓÃÓÚµ÷ÕûÉÏÐд«Êäʱ¼ä¡£

+    */

+       WORD                  wTACmd;

+        /*

+        20100309   ÐÂÔö²ÎÊý by hongjb

+      EPHYÊÕµ½Ëæ»ú½ÓÈëÏìӦʱµÄ×ÓÖ¡ºÅ0-10240£¬0XFFFFΪÎÞЧֵ

+        */

+       WORD                  wSubFN;

+} T_zPS_LTE_P_RaResponse_Ind;

+

+typedef struct 

+{ 

+    /*

+     ȡֵ·¶Î§£º0~499

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾MAC PDU BUF³ØÖеÄBUFµÄindex£¬Ò²¾ÍÊÇHARQ½ø³Ì¶ÔÓ¦µÄbufferµØÖ·    

+    */

+       //WORD                  wMacPduBufIndex; 

+       WORD                  wSubFN;

+       /*

+     ȡֵ·¶Î§£º1£¬2

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾´Ë´ÎÓм¸¸ö´«Êä¿é       

+       */

+

+       WORD                  wTbNum;

+       WORD                  awMacPduBufIndex[ZPS_LTE_P_MAX_TB_NUM]; 

+

+       WORD                  awMacPduLen[ZPS_LTE_P_MAX_TB_NUM];

+       /*

+     ȡֵ·¶Î§£ºTBD

+     µÈͬЭÒé²ÎÊý£ºÎÞ

+     ²ÎÊýÓÃ;£ºÖ¸Ê¾Ã¿¸öMAC PDU´æ·ÅµÄµØÖ·       

+       */

+

+       PBYTE                  apbMacPduData[ZPS_LTE_P_MAX_TB_NUM];

+} T_zPS_LTE_P_DlSchData_Ind;

+

+/*KangShuJie Start*/

+

+/******************************************************

+   ·½Ïò:L1E->EPHY

+   ¹¦ÄÜ:³õʼ»¯É䯵(²¢·Ç¹¤×÷)£¬Çå¿ÕÎïÀí²ã×ÊÔ´ºÍͬ²½ÐÅÏ¢¡£ÓÃÓÚ¿ª»úÉ䯵³õʼ»¯ºÍ½øÈë·ÉÐÐģʽ¡£

+   ÏûÏ¢£ºLTE_P_RESET_REQ_EV

+   ½á¹¹:T_zPS_LTE_P_Reset_Req

+******************************************************/

+typedef struct{

+    WORD       wMsgId;

+    WORD       wPadding;

+}T_zLTE_P_Reset_Req;

+/******************************************************

+   ·½Ïò:EPHY->L1E

+   ¹¦ÄÜ:¶ÔLTE_P_RESET_REQ_EvµÄÏìÓ¦ÏûÏ¢¡£Ìæ´úLTEµ¥Ä£Ê±¶¨ÒåµÄZPS_LTE_P_SWITCH_RF_CNF_Ev

+   ÏûÏ¢:LTE_P_RESET_CNF_Ev. 

+   ½á¹¹:NULL

+******************************************************/

+

+/******************************************************

+    ·½Ïò:EPHY->L1E

+    ¹¦ÄÜ:LTEΪÖ÷µÄʱºò,EPHYÉϱ¨¿ÕÏÐʱ¼ä,Ŀǰ½öÓÃÓÚIDLE̬Ï£¬²¢ÇÒÉϱ¨µÄ¿ÕÏÐʱ¼äÒѾ­¿Û³ýÁËEPHYÓÃÓÚ

+         ͬƵºÍÒìÆµ²âÁ¿ËùʹÓõÄʱ¼äºÍEPHY¹Ø±ÕÉ䯵ËùºÄ·ÑµÄʱ¼ä

+    ÏûÏ¢:LTE_P_INACTIVE_TIME_IND_EV

+    ½á¹¹:T_zLTE_P_InactiveTime_Ind

+******************************************************/

+typedef struct 

+{ 

+    WORD       wGapStartSfn;       /*¿ÕÏÐʱ¼äµÄ¿ªÊ¼Ö¡ºÅ*/

+    WORD       wGapStartSubframe;  /*¿ÕÏÐʱ¼äµÄ¿ªÊ¼×ÓÖ¡ºÅ*/

+    WORD       wGapStartTs;        /*¿ÕÏÐʱ¼äµÄ¿ªÊ¼TSÆ«ÒÆ*/

+    WORD       wGapMsLen;          /*¿ÕÏÐʱ¼äµÄºÁÃë¼¶³¤¶È*/ 

+    WORD       wGapTsLen;          /*¿ÕÏÐʱ¼äÖв»×ã1MSµÄTS³¤¶È*/ 

+    WORD       wPadding;

+} T_zLTE_P_InactiveTime_Ind;

+

+/******************************************************

+    ·½Ïò:L1E->EPHY

+    ¹¦ÄÜ:ÉèÖÃEPHYÖ÷¸¨Ä£Ê½

+    ÏûÏ¢:LTE_P_SET_MODE_REQ_EV

+    ½á¹¹:T_zLTE_P_SetMode_Req

+******************************************************/

+typedef struct 

+{ 

+    WORD     wMsgId;

+    WORD     wIsMaster; /*1:ÉèÖÃΪÖ÷ģʽ;0:ÉèÖÃΪ¸¨Ä£Ê½*/

+} T_zLTE_P_SetMode_Req;

+/**************************************************************************

+    ·½Ïò:L1E->EPHY

+    ¹¦ÄÜ:LTEÖ÷ģʽÏÂCONNECTED̬£¬L1E½«µ±Ç°µÄ²âÁ¿GAPģʽÅäÖøøÎïÀí²ã²¢Ö¸Ê¾GAPÐòÁÐÖÐÄÇЩGAPÓÃÓÚLTEµÄ²âÁ¿

+    ÏûÏ¢:LTE_P_IRAT_MEAS_GAP_CONFIG_REQ_EV

+    ½á¹¹:T_zLTE_P_IratMeasGapConfig_Req

+ **************************************************************************/

+typedef struct

+{

+    WORD                wMsgId;

+    WORD                wActive;        /* GAPµÄ¼¤»îָʾ£¬0±íʾȥ»î£¬1±íʾ¼¤»î */

+    WORD                wStartSfn;        /* GAPÐòÁÐÄ£ÐÍµÄÆðʼSFNºÅ */

+    WORD                wStartSubframe;    /* GAPÐòÁÐÄ£ÐÍµÄÆðʼ×ÓÖ¡ºÅ */

+    WORD                wLength;        /* GAPµÄ³¤¶È£¬µ¥Î»ÊÇ×ÓÖ¡£¨ms£©,Ŀǰ¹Ì¶¨Îª6ms */

+    WORD                wPeriod;        /* GAPµÄÖØ¸´ÖÜÆÚ£¬µ¥Î»ÊÇ×ÓÖ¡£¨ms£©*/

+    WORD                wLteGapPeriod;    /* ÓÃÓÚLTE²âÁ¿µÄGAPÖØ¸´ÖÜÆÚ£¬µ¥Î»ÊÇ×ÓÖ¡£¨ms£©´Ó±¾ÅäÖõÄbStartSfn¡¢wStartSubframe¹æ¶¨µÄGAP¿ªÊ¼£¬Ã¿¸ôwLteGapPeriodµÄGAPÊÇÓÃÓÚLTE²âÁ¿µÄ*/

+    WORD                wPadding;

+}T_zLTE_P_IratMeasGapConfig_Req;

+

+/*KangShuJie End*/

+

+

+/**************************************************************************

+ *                                              Óû§ÃæÏà¹Ø½Ó¿Ú                                         *

+ **************************************************************************/

+

+/*

+PHYÊÕµ½ÉÏÐÐÊÚȨʱÔÚMACµ÷¶ÈÐÅÏ¢BUF£¨¼´PS-PHY½»»»Çø£©Öдæ·ÅÉÏÐе÷¶ÈÐÅÏ¢£¬

+²¢²úÉúMACÉÏÐе÷¶ÈÖжϴ¥·¢PS´ÓMACµ÷¶ÈÐÅÏ¢BUFÖÐÈ¡×ß´ËÉÏÐе÷¶ÈÐÅÏ¢Ö´ÐÐMACÉÏÐд¦ÀíÁ÷³Ì¡£

+ÿ¸ö×ÓÖ¡Öжϣ¬Ò²ÐèҪͨ¹ý´Ëº¯ÊýָʾMAC£¬½øÐÐÿ¸ö×ÓÖ¡µÄЭÒé´¦Àí£¨Èç¹ûûÓÐÉÏÐе÷¶È£¬ÔòÊÚȨÀàÐÍΪ0£©

+*/

+#define ZPS_LTE_P_MAX_CELL_NUM   2

+typedef struct

+{

+    WORD        wCellIndex;

+    WORD        wPucchTrans;

+    WORD        wUlSchedType[2];

+    WORD        wUlGrantTbSize[2]; 

+    WORD	    wIsSpsActivated;

+    WORD        wPowerHeadRoomType1;

+    WORD        wPathLoss;

+    WORD        wPowerBackoff;

+    WORD        wPowerHeadRoomType2;

+    WORD        wPcmaxC;

+    PBYTE       pbUlDataPtr[2];

+}T_zPS_LTE_P_UlSchedInfoInd;

+

+typedef struct 

+{ 

+    WORD     wUlSchInfoCnt;

+    WORD     wPadding;

+    PBYTE    pbUlCtrlInfoPtr;

+    T_zPS_LTE_P_UlSchedInfoInd      tUlSchInfoArray[ZPS_LTE_P_MAX_CELL_NUM];

+} T_zPS_LTE_P_ExtendedUlSchedInfoInd;

+

+

+/*

+µ±ÓÐÉÏÐÐÊÚȨÓÃÓÚÐÂÊý¾Ý·¢ËÍ£¬PS×éÖ¡ºó»áÏòMACµ÷¶ÈÐÅÏ¢BUFдÈëÉÏÐз¢ËÍ¿ØÖÆÏûÏ¢£¬

+²¢´¥·¢EDCPÓ²¼þ£¬°áÔËÊý¾Ýµ½¶ÔÓ¦HARQ ramÖС£

+µ±Ã»ÓÐÉÏÐÐÊÚȨÓÃÓÚÐÂÊý¾Ý·¢ËÍÇÒÓÐSR´¥·¢Ê±£¬Í¨¹ý´Ë½Ó¿Ú´¥·¢ÎïÀí²ãµÄSR·¢Ë͹ý³Ì¡£

+*/

+

+typedef struct

+{

+    WORD        wCellIndex;

+    WORD        wPadding;

+    WORD        wSendType[2];

+    WORD        wDataValid[2];

+    WORD        wDataSendSize[2];

+    PBYTE       pbDataSrc[2];

+} T_zPS_LTE_P_UlDataSendCtrlInfo;

+

+typedef struct 

+{ 

+    T_zPS_LTE_P_UlDataSendCtrlInfo    atUlDataSendCtrlInfoArray[ZPS_LTE_P_MAX_CELL_NUM];

+    WORD                                        wUlDataSendCtrlInfoCnt;

+    WORD                                        wPadding;

+} T_zPS_LTE_P_ExtendedUlDataSendCtrlInfo;

+

+

+/*

+PHY³É¹¦½âÂëÏÂÐÐÊý¾Ýºó£¬½«µÃµ½ÕâЩÊý¾ÝµÄÀàÐÍ£¬³¤¶È£¬´æ·ÅλÖõÈÐÅÏ¢£¬

+ÕâЩÐèҪ֪ͨPSÒÔ±ã¶ÔÕâЩÊý¾Ý×÷ºóÐøµÄ´¦Àí¡£

+PHYÐèÒª¸ù¾ÝRNTIÀàÐÍÇø·ÖÊý¾ÝµÄÀàÐÍ£¬PHYÒ²ÐèҪά»¤»·Ðλº³åÇøµÄË÷Òý¡£

+*/

+typedef struct 

+{ 

+    WORD                      wSubFN;

+    WORD                      wTbNum;

+    WORD                      awBufIndex[ZPS_LTE_P_MAX_TB_NUM];

+    WORD                      awTbLen[ZPS_LTE_P_MAX_TB_NUM];

+    PBYTE                     apbMacPduData[ZPS_LTE_P_MAX_TB_NUM];

+} T_zPS_LTE_P_DlDataRecvCtrlInfo;

+

+

+typedef struct

+{

+    WORD     wStartSysFrameNum;

+    WORD     wStartSubFrameNum;

+    WORD     wSleepTimeLen;

+    WORD     wPadding;

+}T_zPS_LTE_P_SleepTime_Ind;

+

+typedef struct

+{

+    WORD    wMsgId;

+    WORD    wKeepAwakeTime;/*µ¥Î»MS£¬ÎïÀí²ã»½ÐÑÆäTPU£¬²¢´ÓÊÕµ½¸ÃÐÅÏ¢¿ªÊ¼ÐèÒª±£³ÖÆäTPU wKeepAwakeTime MSÄÚ²»ÒªÔٴνøÈë˯Ãß*/

+}T_zPS_LTE_P_Wakeup_Req;

+

+/* ÓÃÓÚ±£´æ½âÂëºóµÄ SI ETWS PCH Êý¾ÝµÄ³¤¶ÈºÍ PROID */

+typedef struct

+{

+    WORD    wDlBandWidth; /*Ð¡ÇøÏÂÐдø¿í£¬Éϱ¨sib1ºÍSIʱÌîд*/

+    WORD     wPadding;

+    T_zPS_LTE_P_SinrResult  tSinrRslt; /*¸ÃÐ¡ÇøµÄSINR£¬¹¤³ÌģʽɨƵÉϱ¨ÐèÇóÐÂÔö*/

+    WORD    wTblen;

+    WORD    wProcId; /* ÓÃÓÚϵͳÏûÏ¢Éϱ¨Ê±µÄÎÕÊÖÐÅÏ¢ */

+    PBYTE    pbDlSiPCHData;

+}T_zPS_LTE_P_DlSiPCHDataRecvCtrlInfo;

+

+typedef struct 

+{ 

+    WORD                    wMsgId;

+    WORD                    wActDeactSCellInfo;

+    WORD                    wSubFN;

+    WORD                    wPadding;

+}T_zPS_LTE_P_SCELL_Ctrl_Req;

+

+typedef struct 

+{ 

+    WORD        wNotifcRptCoeff;

+    WORD        wNotifcOffset;

+    WORD        wNotifcSfIndx;

+    WORD        wPadding;

+}T_zPS_LTE_P_MbmsNotifcCfg;

+

+typedef struct 

+{ 

+    WORD                        wMbsfnAreaId;

+    WORD                        wNonMbsfnRegnLen; 

+    WORD                        wNotifcInd;

+    WORD                        wMcchRptPeriod;

+    WORD                        wMcchOffset;

+    WORD                        wMcchModiPeriod;

+    WORD                        wSfAllocInfo;

+    WORD                        wSigMCS;   

+}T_zPS_LTE_P_McchCfgInfo;

+

+typedef struct 

+{ 

+    WORD                        wMsgId;

+    WORD                        wMcchNum;

+    T_zPS_LTE_P_McchCfgInfo     atMcchCfgList[Z_LTE_MAX_MBSFN_AREA_NUM_IN_CELL];

+    T_zPS_LTE_P_MbmsNotifcCfg   tNotifcCfg;

+}T_zPS_LTE_P_McchCfgReq;

+

+typedef struct 

+{ 

+    WORD        wSfAllocEnd;

+    WORD        wDataMCS;

+    WORD        wMsp;

+    WORD        wPadding;

+}T_zPS_LTE_P_PmchCfg;

+

+typedef struct 

+{ 

+	WORD     				wPmchCfgNum;

+	WORD     				wPadding;

+	T_zPS_LTE_P_PmchCfg    	tPmchCfg[Z_LTE_P_MAX_PMCH_NUM];

+	DWORD                   dwUsedLochIdList[Z_LTE_P_MAX_PMCH_NUM];

+}T_zPS_LTE_P_PmchInfoList;

+

+typedef struct 

+{ 

+    WORD                                    wMsgId;

+    WORD                                    wMbsfnAreaId;

+    WORD                                    wCommSfAllocPeriod;

+    WORD                                    wPadding;

+    T_zPS_LTE_P_MbsfnSubframeConfigList     tCommSfAlloc;

+    T_zPS_LTE_P_PmchInfoList                tPmchInfoList;

+}T_zPS_LTE_P_MtchCfgReq;

+

+typedef struct 

+{ 

+    WORD        wMsgId;

+    WORD        wMbsfnAreaId;

+    DWORD       dwUsedLochIdList[Z_LTE_P_MAX_PMCH_NUM];

+}T_zPS_LTE_P_MtchMaskSetReq;

+

+typedef struct 

+{ 

+    WORD        wMbsfnAreaId;

+    WORD        wRelMcch;

+    WORD        wRelMtch;

+    WORD        wPadding;

+}T_zPS_LTE_P_PmchRelInfo;

+

+typedef struct 

+{ 

+    WORD                        wMsgId;

+    WORD                        wRelNum;

+    T_zPS_LTE_P_PmchRelInfo     atPmchRelList[Z_LTE_MAX_MBSFN_AREA_NUM_IN_CELL];

+}T_zPS_LTE_P_PmchRelReq;

+

+typedef struct 

+{ 

+    WORD        wLochId;

+    WORD        wEndSf;

+}T_zPS_LTE_P_PmchSI;

+

+typedef struct 

+{ 

+    WORD                    wMsgId;

+    WORD                    wMbsfnAreaId;

+    WORD                    wPmchIndex;

+    WORD                    wMsiNum;

+    T_zPS_LTE_P_PmchSI      tMsiList[Z_LTE_P_MAX_SESSION_NUM_IN_PMCH];

+}T_zPS_LTE_P_Msi_Req;

+

+typedef struct 

+{ 

+	WORD	  	wSubFN;

+	WORD	  	wBufIndex;

+	WORD  		wMbsfnAreaId;

+	WORD  		wPmchIndex;

+	WORD	  	wMcch;

+	WORD	  	wTbLen;

+	PBYTE  		pbMCHPduData;

+}T_zPS_LTE_P_MCHRecvCtrlInfo;

+

+#ifdef BTRUNK_SUPPORT

+typedef struct 

+{ 

+     /*±ØÑ¡²ÎÊý*/

+    WORD                          wSpsIntervalDl; 

+    WORD                          wSpsRnti;

+

+    WORD                          wSetupFg;

+    /*ÓÉbSetupFgʹÄÜ*/

+    WORD                          wMCS;

+    WORD                          wVRBassignmentflag;

+    WORD                          wOffset;

+    WORD                          wIRV; 

+    WORD                          wPadding;

+}T_zPS_LTE_P_BtrunkSpsConfigDl;

+

+typedef struct 

+{ 

+    WORD        wMsgId;

+    WORD        wSelfHoFg;

+    WORD        wSubFrameAssign;

+    WORD        wSpecialSubFramePatterns;

+    WORD        wAntennaPortsCount;

+    WORD        wDlEarfcn;

+    WORD        wUlEarfcn;

+    WORD        wPhyCellId;

+    WORD        wGrnti;

+

+    WORD        wBlerEnable;

+    WORD        wBlerTrigger;

+    WORD        wcqiProhibitTimer;

+

+    WORD        wBtrunkPa;

+    WORD        wEnableSpsFg;

+    T_zPS_LTE_P_BtrunkSpsConfigDl   tBrunkSpsConfigDl;

+    WORD        wBandWidth;    // ȡֵ{6, 15, 25, 50, 75, 100}£¬È¡0xFFFFʱ,ÎïÀí²ãÑØÓÃÔ­Ð¡ÇøµÄÏÂÐдø¿í

+    WORD        wPadding;

+}T_zPS_LTE_P_Btrunk_Ttch_ConfigInfo;

+

+typedef struct 

+{ 

+    WORD        wMsgId;

+    WORD        wCfgType;

+    WORD        wPadding;

+    WORD        wGrnti; 

+}T_zPS_LTE_P_Grnti_Config;

+

+typedef struct 

+{ 

+    WORD        wMsgId;

+    WORD        wPadding;

+}T_zPS_LTE_P_Dedicated_Rel;

+

+typedef struct 

+{ 

+    WORD        wMsgId;

+    WORD        wPadding;

+}T_zPS_LTE_P_BtrunkConfig_Rel;

+

+typedef struct 

+{ 

+    WORD        wMsgId;

+    WORD        wPadding;

+    WORD        wCQI;   

+    WORD        wMCS;

+} T_zPS_LTE_P_BTUNK_CQI_IND;

+

+typedef struct 

+{ 

+   WORD         wDataLen;

+   WORD         wPadding;

+   PBYTE        pbBTPchData;

+} T_zPS_LTE_P_TPchData_Ind;

+

+#endif //ENDIF BTRUNK_SUPPORT

+typedef struct 

+{

+    WORD       wMsgId;

+    WORD       wCmd;      /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ */

+    WORD       wMode;     /* 0±íʾÉèÖã¬1±íʾ²éѯ */

+    WORD       wVal1Fg;   /* ±íʾVal1/Val2ÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ */

+    WORD       wVal2Fg;

+    WORD       wPadding;

+    DWORD      dwVal1;    /* ²ÎÊý1/²ÎÊý2£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö */

+    DWORD      dwVal2;

+}T_zPS_LTE_P_Zepcg_Req; 

+

+typedef struct 

+{

+    WORD       wCmd;      /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ£¬bMode=0/1¶¼ÓÐЧ */

+    WORD       wMode;     /* 0±íʾÉèÖöÔÓ¦µÄÏìÓ¦£¬´Ëʱ£¬ºóÐø²ÎÊýbRsltÓÐЧ£¬bVal2Fg£¬bVal1£¬bVal2¾ùÎÞЧ

+                         1±íʾ²éѯ¶ÔÓ¦µÄÏìÓ¦£¬´Ëʱ£¬ºóÐø²ÎÊýbRsltÎÞЧ£¬bVal2Fg£¬bVal1£¬bVal2¾ùÓÐЧ */

+    WORD       wRslt;     /* ±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü  wMode=0ʱÓÐЧ */

+    WORD       wVal1Fg[Z_ZEPCG_PARAM_NUM]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/

+    

+    LONG       dwVal[Z_ZEPCG_PARAM_NUM];   /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/

+

+}T_zPS_LTE_P_Zepcg_Cnf; 

+

+typedef struct {

+

+    WORD       wMsgId;

+    WORD       wPadding;

+    WORD       wSim1Act;/*0-È¥»î,1-¼¤»î*/

+    WORD       wSim2Act;/*0-È¥»î,1-¼¤»î*/

+}T_zPS_LTE_P_CardSwitch_Req;

+

+

+typedef struct {

+

+    WORD       wResult;/*0-Z_SUCC,1-Z_FAIL*/

+    WORD       wPadding;

+}T_zPS_LTE_P_CardSwitch_Cnf;

+

+typedef struct 

+{ 

+    SHORT   sIslandThresh;//¹ÂµºÃÅÏÞĬÈÏ-4

+    WORD    wPadding;

+} T_zPS_LTE_Island_Ind;

+

+/*ƵµãƵ¶ÎÅäÖýṹ*/

+typedef struct

+{

+    WORD     wSupported;    /* ¸ÃƵ¶ÎÊÇ·ñÖ§³Ö0:²»Ö§³Ö,1:Ö§³Ö */

+    WORD     wDlStratHz;    /* ÏÂÐÐÆðʼƵÂÊ µ¥Î»ÊÇ  100K HZ */

+    WORD     wDlEndHz;    /* ÏÂÐÐÆðʼƵÂÊ µ¥Î»ÊÇ  100K HZ */

+    WORD     wDuplexMode;   /* ¸ÃƵ¶ÎË«¹¤Ä£Ê½0:ÎÞЧֵ1:FDD,2:TDD */

+    DWORD    dwMinDlEarfcn;  /* ×îСÏÂÐÐÆµµã */

+    DWORD    dwMaxDlEarfcn;  /* ×î´óÏÂÐÐÆµµã */

+    WORD     wUlStratHz;    /* ÉÏÐÐÆðʼƵÂÊ µ¥Î»ÊÇ  100K HZ */

+    WORD     wUlEndHz;    /* ÉÏÐÐÆðʼƵÂÊ µ¥Î»ÊÇ  100K HZ */

+    DWORD    dwMinUlEarfcn;  /* ×îСÉÏÐÐÆµµã */

+    DWORD    dwMaxUlEarfcn;  /* ×î´óÉÏÐÐÆµµã */    

+}T_zPS_LTE_P_EutraBandInfo;

+

+typedef struct

+{

+    WORD                       wMsgId;

+    WORD                       wPadding;

+    T_zPS_LTE_P_EutraBandInfo  atEutraBandInfo[66];/*Êý×éÓëBAND¶ÔÓ¦£¬atEutraBandInfo[1]±£´æµÄÊÇBAND1µÄÐÅÏ¢£¬ÒÔ´ËÀàÍÆ*/

+    /*    ȡֵҪÓë cpu_r7\platform\ps\src\com\inc\nvparam_ps.h ÖеÄZ_MAX_LTE_BAND_NUMºêÖµÒ»Ö     */

+}T_zPS_LTE_P_EutraBandInfoList;

+

+

+/*==============================================================================

+    PS->EPHY

+    ʼþ£ºLTE_P_RPI_SET_REQ_EV

+    ¹¦ÄÜ:

+        ÉèÖÃEPHYʹÓõÄ×î´ó·¢É书ÂʵÄRPI VAULE

+==============================================================================*/

+typedef struct 

+{ 

+    WORD                  wRpi;  /* ÓÃÓÚË÷ÒýPUMAXµÄRPIµµÎ»£¬·¶Î§0/1/2 */

+    WORD                  wPad;

+}T_zPS_LTE_P_RpiSetReq;

+

+

+#define ZPS_LTE_P_RPI_SUPPORT_MAX_BAND         (BYTE)12

+

+

+

+/*==============================================================================

+    PS->EPHY

+    ʼþ£ºLTE_P_RPI_CFG_REQ_EV

+    ¹¦ÄÜ:

+        ÅäÖÃLTEÏÂ12¸öBAND£¬Ã¿¸öBANDÏÂRPIºÍPUMAXµÄÓ³Éä¹ØÏµ£¬ÆäÖÐRPI·¶Î§0~2

+==============================================================================*/

+typedef struct 

+{ 

+    T_zBandRpiCfg       tLteBandRpiCfg[ZPS_LTE_P_RPI_SUPPORT_MAX_BAND];

+}T_zPS_LTE_P_RpiCfgReq;

+

+

+/*=======================================================================

+    OTDOA¶¨Î»¹¦ÄÜÐÂÔöPS-EPHY½Ó¿Ú(START)

+========================================================================*/

+#define OTDOA_MAX_NEIGHBOUR_CELL_CFG_NUM    8

+#define OTDOA_MAX_NEIGHBOUR_CELL_MEAS_NUM    8

+

+

+typedef struct

+{

+    WORD    wPrsBandWidth; 

+    WORD    wPrsConfIdx; 

+    WORD    wPrsSubFrameNum;

+    WORD    wPrsMutSeqPerd; 

+    WORD    wPOString;

+    WORD    wPadding;	

+}T_zPS_LTE_P_PrsInfo;

+

+typedef struct  

+{

+    DWORD    dwEarfcn;

+    WORD      wPci;

+    WORD      wAntennaConfig; 

+    WORD      wCpLen;  

+    WORD      wPrsInfoFg; 

+    T_zPS_LTE_P_PrsInfo    tPrsInfo;

+}T_zPS_LTE_P_OTDOA_RefCellCfg;

+

+

+typedef struct 

+{

+    DWORD    dwEarfcn;

+    WORD      wPci;

+    WORD      wAntennaConfig; 

+    WORD      wCpLen;       

+    WORD      wPrsInfoFg;  

+    T_zPS_LTE_P_PrsInfo    tPrsInfo; 

+    WORD      wSlotNumOffset; 

+    WORD      wSubFrameOffset; 

+    WORD      wExptRstd;   

+    WORD      wExptRstdUncertainty;

+}T_zPS_LTE_P_OTDOA_NCellCfg;

+

+

+typedef struct 

+{

+    WORD    wNCellNum;  

+	WORD    wPadding;

+    T_zPS_LTE_P_OTDOA_NCellCfg    tOtdoaNCell[OTDOA_MAX_NEIGHBOUR_CELL_CFG_NUM];

+}T_zPS_LTE_P_OTDOA_NCellCfgList;

+

+

+typedef struct  

+{

+    DWORD   bErrResolution :2; 

+    DWORD   bErrVal :5; 

+    DWORD   bErrNumSamples: 3; 

+    DWORD   bPading :22; 

+}T_zPS_LTE_P_OTDOA_MeasQua;

+

+

+typedef struct

+{

+    DWORD    dwEarfcn;

+    WORD      wPci;

+    WORD      wSFN;

+    T_zPS_LTE_P_OTDOA_MeasQua    tRefQua;

+}T_zPS_LTE_P_OTDOA_RefMeasInfo;

+

+typedef struct

+{

+    DWORD    dwEarfcn;

+    WORD      wPci;

+    WORD      wRstd; 

+    T_zPS_LTE_P_OTDOA_MeasQua    tRstdQua;

+}T_zPS_LTE_P_OTDOA_NCellMeasInfo;

+

+

+typedef struct

+{

+    DWORD    wNCellNum;

+    T_zPS_LTE_P_OTDOA_NCellMeasInfo    tNCellMeasInfo[OTDOA_MAX_NEIGHBOUR_CELL_MEAS_NUM];

+}T_zPS_LTE_P_OTDOA_NCellMeasList;

+

+

+typedef struct  

+{

+    WORD    wMsgId;

+    WORD    wPeriodMeasFg;

+    WORD    wRptTimerLen;

+    WORD    wPading;

+    T_zPS_LTE_P_OTDOA_RefCellCfg      tOtdoaRefCell;

+    T_zPS_LTE_P_OTDOA_NCellCfgList    tOtdoaNCellList;

+}T_zPS_LTE_P_OtdoaConfig_Req;

+

+

+

+typedef struct  

+{

+    T_zPS_LTE_P_OTDOA_RefMeasInfo      tRefMeasInfo;

+    T_zPS_LTE_P_OTDOA_NCellMeasList    tNCellMeasList;

+}T_zPS_LTE_P_OtdoaMeas_Rlt;

+

+

+typedef struct  

+{

+    WORD    wMsgId;

+    WORD    wPading;

+}T_zPS_LTE_P_OtdoaMeas_Abort;

+

+

+/*=======================================================================

+    OTDOA¶¨Î»¹¦ÄÜÐÂÔöPS-EPHY½Ó¿Ú(END)

+========================================================================*/

+

+

+

+/*=======================================================================

+    230AÐÂÔöPS-EPHY½Ó¿Ú(START)

+========================================================================*/

+typedef struct

+{

+    WORD   CurUtcYear;

+	WORD   CurUtcMonth;

+	WORD   LastUtcYear;

+	WORD   LastUtcMonth;

+	WORD   FactoryCaliUtcYear;

+	WORD   FactoryCaliUtcMonth;

+	SINT32 C0;

+    WORD   Cnt;

+}T_C0CaliInfo;  //PHY->PS

+

+typedef struct

+{

+	WORD            Year;

+	WORD            Month;

+    T_C0CaliInfo    tC0CaliInfo;

+}T_zPs_Phy_UtcInfo; //PS SAVE IRAM

+

+

+/* PHY-->PS */

+typedef struct {

+    DWORD     dwMCS;

+    DWORD     dwAckCnt;

+    DWORD     dwNackCnt;

+}T_zPs_Phy_UlParam;

+

+

+

+

+/*=======================================================================

+    230A¹¦ÄÜÐÂÔöPS-EPHY½Ó¿Ú(END)

+========================================================================*/

+

+

+

+

+

+

+#ifndef _OS_WIN

+

+/***************************************************************************************************************************************

+New Define

+***************************************************************************************************************************************/

+

+/*ºË¼äͬ²½FLAG  */

+#define CTRL_INFO_INTER_CORE_SYNC_ADDR    IRAM_BASE_ADDR

+

+/* SRAMÔ¤Áô10K(ÒÑʹÓÃ8576×Ö½Ú)ÓÃÓÚPSÓëEPHY½»»¥PCH/SI/ETWS/ULGRANT*/

+

+#define CTRL_INFO_PS_EPHY_ADDR_BASE    IRAM_BASE_ADDR_LTE

+

+#define ZPS_LTE_GET_ULSCHEDIND_PTR              CTRL_INFO_PS_EPHY_ADDR_BASE   //mac

+

+#define CTRL_INFO_LTE_ULSCHEDIND_ADDR    ZPS_LTE_GET_ULSCHEDIND_PTR   //PHY

+ 

+#define CTRL_INFO_LTE_ULDATASEND_ADDR                (sizeof(T_zPS_LTE_P_ExtendedUlSchedInfoInd) + ZPS_LTE_GET_ULSCHEDIND_PTR)

+#define CTRL_INFO_LTE_ULSRSEND_ADDR                (sizeof(T_zPS_LTE_P_ExtendedUlDataSendCtrlInfo)*8 + CTRL_INFO_LTE_ULDATASEND_ADDR)

+

+//#ifdef LTE_R10_DEFAULT_SUPPORT

+//#define CTRL_INFO_LTE_LARGEDLMACPDUBUF_IDXOUT_ADDR                (sizeof(T_zPS_LTE_P_ExtendedUlDataSendCtrlInfo) + CTRL_INFO_LTE_ULDATASEND_ADDR)

+//#else

+//#define CTRL_INFO_LTE_LARGEDLMACPDUBUF_IDXOUT_ADDR                (sizeof(T_zPS_LTE_P_UlDataSendCtrlInfo) + CTRL_INFO_LTE_ULDATASEND_ADDR)

+//#endif

+

+/*largeDLMacPduBuf*/

+#define CTRL_INFO_LTE_LARGEDLMACPDUBUF_IDXOUT_ADDR                ((4>>CPU_SHIFT) + CTRL_INFO_LTE_ULSRSEND_ADDR)

+

+#define CTRL_INFO_LTE_LARGEDLMACPDUBUF_IDXIN_ADDR          ((2>>CPU_SHIFT) + CTRL_INFO_LTE_LARGEDLMACPDUBUF_IDXOUT_ADDR)

+

+#define ZPS_LTE_GET_FREE_LARGEPDU_IDXARRAY_PTR   ((4>>CPU_SHIFT) + CTRL_INFO_LTE_LARGEDLMACPDUBUF_IDXOUT_ADDR)

+

+/*smallDlMacPduBuf*/

+

+#define CTRL_INFO_LTE_SMALLDLMACPDUBUF_IDXOUT_ADDR            (((Z_EUMAC_DL_LARGEPDU_BUF_NUM*2)>>CPU_SHIFT)    + ZPS_LTE_GET_FREE_LARGEPDU_IDXARRAY_PTR)

+

+#define CTRL_INFO_LTE_SMALLDLMACPDUBUF_IDXIN_ADDR          ((2>>CPU_SHIFT) + CTRL_INFO_LTE_SMALLDLMACPDUBUF_IDXOUT_ADDR)

+

+#define ZPS_LTE_GET_FREE_SMALLPDU_IDXARRAY_PTR   ((4>>CPU_SHIFT) + CTRL_INFO_LTE_SMALLDLMACPDUBUF_IDXOUT_ADDR)

+

+//#define DATA_BUF_LTE_PCH_ADDR             (((Z_EUMAC_DL_SMALLPDU_BUF_NUM * 2)>>CPU_SHIFT) + ZPS_LTE_GET_FREE_SMALLPDU_IDXARRAY_PTR)

+//ZPS_LTE_GET_FREE_SMALLPDU_IDXARRAY_PTR֮ǰ´æµÄÊÇС¿éµÄË÷Òý£¬ÏÖÔÚ¸ÄΪС¿éÔ¤ÉêÇëµÄС¿éµØÖ·

+

+#define DATA_BUF_LTE_PCH_ADDR             (((Z_EUMAC_DL_SMALLPDU_PRE_MALLOC_MAX * 4)>>CPU_SHIFT) + ZPS_LTE_GET_FREE_SMALLPDU_IDXARRAY_PTR)

+

+#define DATA_BUF_LTE_SI_BUF0_ADDR         ((Z_LTE_P_MAX_PCH_BUF_SIZE>>CPU_SHIFT) + DATA_BUF_LTE_PCH_ADDR)

+#define DATA_BUF_LTE_SI_BUF1_ADDR         ((Z_LTE_P_MAX_SI_BUF_SIZE>>CPU_SHIFT) + DATA_BUF_LTE_SI_BUF0_ADDR)

+#ifdef BTRUNK_SUPPORT

+#define DATA_BUF_LTE_TPCH_ADDR            ((Z_LTE_P_MAX_SI_BUF_SIZE >>CPU_SHIFT)+ DATA_BUF_LTE_SI_BUF1_ADDR) 

+#define DATA_BUF_LTE_ETWS_ADDR            ((Z_LTE_P_MAX_PCH_BUF_SIZE>>CPU_SHIFT) + DATA_BUF_LTE_TPCH_ADDR)

+#else

+#define DATA_BUF_LTE_ETWS_ADDR            ((Z_LTE_P_MAX_SI_BUF_SIZE>>CPU_SHIFT) + DATA_BUF_LTE_SI_BUF1_ADDR)

+#endif

+

+#define IND_MSG_LTE_ISLAND_ADDR                       ((Z_LTE_P_MAX_SI_BUF_SIZE>>CPU_SHIFT) + DATA_BUF_LTE_ETWS_ADDR)

+#define CTRL_INFO_LTE_SUBFRAMENUM_ADDR    (sizeof(T_zPS_LTE_Island_Ind) + IND_MSG_LTE_ISLAND_ADDR)

+

+#define CTRL_INFO_LTE_HARQBUF_ADDR        (sizeof(UINT32) + CTRL_INFO_LTE_SUBFRAMENUM_ADDR)  //³¤¶È64×Ö½Ú£¬12»ò16¸öÏÂÐÐLTE HARQ BUF BLOCK ADDR£¬Ã¿¸öBLOCK´óС128KB

+

+#define CTRL_INFO_UTC_TIME_ADDR           ((Z_LTE_P_HARQ_BUF_SIZE>>CPU_SHIFT) + CTRL_INFO_LTE_HARQBUF_ADDR) //sizeof(T_zPs_Phy_UtcInfo)

+

+#define CTRL_INFO_UL_PARAM_ADDR           (sizeof(T_zPs_Phy_UtcInfo) + CTRL_INFO_UTC_TIME_ADDR) //sizeof(T_zPs_Phy_UlParam)

+

+

+

+/**************************************************************************

+ *        PSµÄPDU BUFÕ¼ÓÃDDR ¿Õ¼ä                                   *

+ **************************************************************************/

+#define MACPDU_BUF_LTE_DDR_ADDR            (ICP_DATA_BASE_ADDR<<CPU_SHIFT)

+

+/* Á¬Ðø86¸öÏÂÐÐMAC PDU BUF(´ó¿é)    */

+#define DATA_BUF_LTE_LARGE_DLMACPDUBUF_ADDR      MACPDU_BUF_LTE_DDR_ADDR

+

+/*Á¬Ðø8¸öÉÏÐÐMAC PDU BUF  8*9696 Byte ,ÒÔ80KB¼ÆËã*/

+#define DATA_BUF_LTE_ULMACPDUBUF0_ADDR    (DATA_BUF_LTE_LARGE_DLMACPDUBUF_ADDR + 0xC6F00)//9472*86+256

+

+/* ÉÏÐÐPDCP PDU BUF ½öPSʹÓà ---¸ÄΪ¶¯Ì¬ÉêÇ룬²»ÐèÒª */

+//#define DATA_BUF_LTE_ULPDCPPDUBUF_ADDR     (DATA_BUF_LTE_ULMACPDUBUF0_ADDR + 0x13000) //9696*8+256

+//#define DATA_BUF_LTE_DLPDCPSDUBUF_ADDR     (DATA_BUF_LTE_ULPDCPPDUBUF_ADDR + 0x1E100)//15*8200B+16B(padding)

+

+#define DATA_BUF_LTE_ULMACPDUBUF0_END_ADDR    (DATA_BUF_LTE_ULMACPDUBUF0_ADDR + 0x13000) //9696*8+256

+

+

+//#endif //#if defined(_CHIP_ZX297520) || defined(_CHIP_ZX2804)??

+

+/* ÏÂÐÐPDCP SDU BUF */

+#define DATA_BUF_LTE_DLRLCSDUBUF_ADDR        DATA_BUF_LTE_ULMACPDUBUF0_END_ADDR

+//#define DATA_BUF_LTE_DLRLCSDUBUF_ADDR      (DATA_BUF_LTE_ULMACPDUBUF0_ADDR + 0x12900)

+#define DATA_BUF_LTE_LOGOUTPUT_1SBUF0_ADDR  (DATA_BUF_LTE_DLRLCSDUBUF_ADDR + 0xC400)

+#define DATA_BUF_LTE_LOGOUTPUT_1SBUF1_ADDR  (DATA_BUF_LTE_LOGOUTPUT_1SBUF0_ADDR + 0x1000)

+#define DATA_BUF_LTE_LOGOUTPUT_100MSBUF0_ADDR (DATA_BUF_LTE_LOGOUTPUT_1SBUF1_ADDR + 0x1000)

+#define DATA_BUF_LTE_LOGOUTPUT_100MSBUF1_ADDR (DATA_BUF_LTE_LOGOUTPUT_100MSBUF0_ADDR + 0x7850)

+#define DATA_BUF_LTE_LOGOUTPUT_40MSBUF0_ADDR  (DATA_BUF_LTE_LOGOUTPUT_100MSBUF1_ADDR + 0x7850)

+#define DATA_BUF_LTE_LOGOUTPUT_40MSBUF1_ADDR  (DATA_BUF_LTE_LOGOUTPUT_40MSBUF0_ADDR + 0x1518)

+#define DATA_BUF_LTE_LOGOUTPUT_40MSBUF2_ADDR  (DATA_BUF_LTE_LOGOUTPUT_40MSBUF1_ADDR + 0x1518)

+#define DATA_BUF_LTE_LOGOUTPUT_40MSBUF3_ADDR  (DATA_BUF_LTE_LOGOUTPUT_40MSBUF2_ADDR + 0x1518)

+

+#define ZPS_PHY_LTE_VALID_START_BUFFER_ADDR   DATA_BUF_LTE_LARGE_DLMACPDUBUF_ADDR

+#define ZPS_PHY_LTE_VALID_END_BUFFER_ADDR     DATA_BUF_LTE_ULMACPDUBUF0_END_ADDR - 4

+//#define ZPS_PHY_LTE_VALID_END_BUFFER_ADDR     Z_UPLINK_LTE_PDCP_PDU_BASE_ADDR

+

+#define DATA_PS_EPHY_UL_DATA_PROTECT_FLAG_ADDR  (ZPS_PHY_LTE_VALID_END_BUFFER_ADDR)

+

+/* ÏÂÐÐÊý¾ÝÀàÐÍ*/

+#define  ZPS_LTE_DLDATATYPE_PCH        1

+#define  ZPS_LTE_DLDATATYPE_SI0        2

+#define  ZPS_LTE_DLDATATYPE_SI1        4

+#define  ZPS_LTE_DLDATATYPE_PDU        8

+#define  ZPS_LTE_DLDATATYPE_ETWS       16

+

+#ifdef BTRUNK_SUPPORT

+#define ZPS_LTE_GET_TPCHBUF_PTR                 (PBYTE) DATA_BUF_LTE_TPCH_ADDR

+#endif

+    

+#define ZPS_LTE_GET_HFN (*(volatile UINT32 *)(CTRL_INFO_LTE_SUBFRAMENUM_ADDR))

+

+#define ZPS_LTE_SET_PS_EPHY_UL_DATA_PROTECT_FLAG (*(volatile UINT32 *)(DATA_PS_EPHY_UL_DATA_PROTECT_FLAG_ADDR) = 0x5a5a5a5a)

+

+#define ZPS_PHY_INTER_CORE_SYNC_FLAG   (*(volatile UINT32 *)(CTRL_INFO_INTER_CORE_SYNC_ADDR))

+

+

+#endif//#ifndef _OS_WIN

+

+#endif  /*_PS_EPHY_INTERFACE_H*/

diff --git a/pub/include/ps_phy/ps_phy_nv.h b/pub/include/ps_phy/ps_phy_nv.h
new file mode 100644
index 0000000..5bc1ddc
--- /dev/null
+++ b/pub/include/ps_phy/ps_phy_nv.h
@@ -0,0 +1,231 @@
+/*****************************************************************************

+ *°æ±¾ËùÓÐ (C)2009ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £ºps_phy_nv½Ó¿Ú¶¨Òå

+ *  ÎļþÃû    £ºps_phy_nv.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£ºLTEЭÒéÕ»ÓëLTEÎïÀí²ãÖ®¼äATÃüÁî¸ÄNVÖµ½Ó¿Ú

+ *  ʵÏÖ¹¦ÄÜ£ºATÃüÁî½á¹¹Ìå

+ *  ×÷Õß        £º

+ *  °æ±¾        £ºV1.0

+ *  Íê³ÉÈÕÆÚ£º2015-11-09

+ *  ÆäËü˵Ã÷£ºÐ½¨  

+ *****************************************************************************/

+#ifndef    _PS_PHY_NV_H

+#define    _PS_PHY_NV_H

+

+/**************************************************************************

+ *                        Í·Îļþ°üº¬                                      *

+ **************************************************************************/

+

+

+/**************************************************************************

+ *                          ºê¶¨Òå                                           *

+ **************************************************************************/

+#define AT_NV_SIZE_WORD_PER_MODE        32

+

+/**************************************************************************

+ *                         È«¾ÖÊý¾Ý½á¹¹ÉùÃ÷                                *

+ **************************************************************************/

+

+/* AT+ZSET="csiup"[[<csiupflag>],[<wPading>]] */

+typedef struct

+{

+    WORD wFlg;  /* 1:ÏòÉÏÈ¡Õû£»elseÏòÏÂÈ¡Õû */

+    WORD wPading;

+}T_zPS_LTE_P_NV_CSI_UPCALC;

+

+/* AT+ZSET="csrhobandflg"[[<csrhobandflg>],[<wPading1>],[<wPading2>],[<wPading3>]]*/

+typedef struct

+{

+    WORD wFlg;  /* 1:Åжϴø¿í£»else²»Åжϴø¿í */

+    WORD wPading[3]; /*wPading[0]=1ʱ±íʾ½øÐвâÁ¿Öµ²¹³¥(²¹³¥µÄ´óСÓÉwPading[1]¾ö¶¨); wPading[0]=2±íʾ¸¨Ä£Ò»Ö±Æô¶¯²âÁ¿*/

+}T_zPS_LTE_P_NV_CSR_HANDOVER;

+

+/* AT+ZSET="dlparaflg"[[<dlparaflg>],[<wPading>]] */

+typedef struct

+{

+    WORD wFlg; /* 1:cfo Â˲¨Òò×ÓΪ0.2(¸ßÌúÐŵÀ)£¬else 0.05 */

+    WORD wPading;

+}T_zPS_LTE_P_NV_DL_CFO;

+

+/* AT+ZSET="ulparafixtamode"[[<ulparafixtamode>],[<wPading>]] */

+typedef struct

+{

+    WORD wFlg; /* 1:°²ÀûÒDZífixta ·½Ê½£¬else °²½ÝÂ×ÒDZífixta·½Ê½ */

+    WORD wPading;

+}T_zPS_LTE_P_NV_ANLI_ANJIELUN_ULFIXTA;

+

+/* AT+ZSET="ulpara711flg"[[<ulpara711flg>],[<wPading>]] */

+typedef struct

+{

+    WORD wFlg; /* 1:711 ¸ß¼¶×®¿ª£¬else 711 ¸ß¼¶×®¹Ø */

+    WORD wPading;

+}T_zPS_LTE_P_NV_711STUBFLAG;

+

+/* AT+ZSET="csrpssbinflg"[[<csrpssbinflg>],[<wPading1>],[<wPading2>],[<wPading3>]]*/

+typedef struct

+{

+    WORD wFlg;  /* 1:PssʹÓÃ3·bin£»else PssʹÓÃ1·bin*/

+    WORD wPading[3];

+}T_zPS_LTE_P_NV_CSR_PSSBIN;

+

+/* AT+ZSET="csiiot"[[<csiiotflg>],[<wPading>]]*/

+typedef struct

+{

+    WORD wFlg;  /* 1´ò¿ªIot²¹¶¡£»0¹Ø±Õ*/

+    WORD wPading;

+}T_zPS_LTE_P_NV_CSI_IOT;

+

+/* AT+ZSET="rfparaflag"[[<rfparaflag1>],[<rfparaflag2>],[<wPading1>],[<wPading2>]]*/

+typedef struct

+{

+    WORD wFlg;  /*0:Double Ant;1:Single Main Ant;2:SIngle Aux Ant*/

+    WORD wAutoSingleAntEn; /*0:Enable Auto SIngle Ant;1:Disable Auto Single Ant*/

+    WORD wRFICM0GcfFlag;  /*1:GCF Version; else:FAHUO Version*/

+    WORD wPading;

+}T_zPS_LTE_P_NV_RFC_CFG;

+

+/* AT+ZSET="UlpowerAdapter"[[<UlpowerAdapterflg>],[<wPading>]]*/

+typedef struct

+{

+    WORD wFlg;  /* 1´ò¿ªIot²¹¶¡£»0¹Ø±Õ*/

+    WORD wPading;

+}T_zPS_LTE_P_NV_UL_Power_Adapter_FLAG;

+

+typedef struct

+{

+    WORD wPBackoff;	

+    WORD wMaxBackoff ;

+    WORD wTup;

+    WORD wTdown;

+    WORD wStepTimer;

+}T_zPS_LTE_P_UL_MaxPower_Backoff;

+

+typedef struct

+{

+    /* UlMaxpowerBackoff*/

+    T_zPS_LTE_P_UL_MaxPower_Backoff     UlMaxpowerBackoff[2];

+}T_zPS_LTE_P_NV_UL_MaxPower_Backoff_FLAG;

+

+typedef struct

+{

+    WORD  wStrayAMPREnable;

+    WORD  wStrayAMPRValue;

+    WORD  wImsi[3];

+    WORD  padding;

+}T_zPS_LTE_P_NV_STRAY_AMPR;

+

+

+

+typedef struct

+{

+    T_zPS_LTE_P_NV_CSI_UPCALC tCsiUpCalc;

+    T_zPS_LTE_P_NV_CSR_HANDOVER tCsrHandoverFlag;

+    T_zPS_LTE_P_NV_DL_CFO  tCfoFilterFlag;

+    T_zPS_LTE_P_NV_ANLI_ANJIELUN_ULFIXTA tAnliAnjielunFixTaMode;

+    T_zPS_LTE_P_NV_711STUBFLAG t711StubFlg;

+    T_zPS_LTE_P_NV_CSR_PSSBIN tCsrPssBinFlag;

+    T_zPS_LTE_P_NV_CSI_IOT tCsiIot;

+    T_zPS_LTE_P_NV_RFC_CFG tRfcParaCfg;

+	T_zPS_LTE_P_NV_UL_Power_Adapter_FLAG tUlpowerAdapterFlg;

+    WORD wPsmTest;/*AT+ZSET="PSM_TEST"[,<n>] Ê¡µç²âÊÔ¿ª¹Ø£¬0:¹Ø±Õ£¬1:´ò¿ª,ĬÈÏΪ0*/

+    WORD wCat;/*AT+ZLTECATÉèÖÃÎïÀí²ãÖ§³ÖµÄCAT, ȡֵ1-8£¬Ä¬ÈÏΪ4,ÄÚ²¿ÃüÁî²»¶ÔÍ⿪·Å*/

+    WORD voltePowerSave;

+    WORD wphyCfgFlg;/*AT+ZSET="phyCfg"[,<n>]ÎïÀí²ã¹¦ÄÜÅäÖã¬bit1:²âÁ¿²ßÂÔ´ò¿ª£¬bit2:ѰºôÏÂÒÆ´ò¿ª£¬bit3:RFµ¥ÌìÏß½ÓÊÕ¿ª¹Ø,bitλ 0:¹Ø±Õ£¬1:´ò¿ª£¬Ä¬ÈÏ0*/

+    T_zPS_LTE_P_NV_UL_MaxPower_Backoff_FLAG tUlMaxpowerBackoffFlg;

+    T_zPS_LTE_P_NV_STRAY_AMPR   tUlNvStrayAmpr;

+

+}T_zPS_P_ATNV_LTE;

+

+

+typedef struct

+{

+	WORD wValue;/*bitmapÀàÐÍ,ĬÈÏֵΪ0*/

+	WORD wPading[3];

+}T_zPS_P_ATNV_LTEA;

+

+/*AT+ZSET="w_instrument",[[<wValue>],[<wPading1>],[<wPading2>],[<wPading3>]] */

+typedef struct

+{

+	WORD wValue;/*bitmapÀàÐÍ,ĬÈÏֵΪ0*/

+	WORD wPading[3];

+}T_zPS_P_NV_W_INSTRUMENT;

+

+/*AT+ZSET="w_phyfunc",[[<wValue>],[<wPading1>],[<wPading2>],[<wPading3>]]*/

+typedef struct

+{

+	WORD wValue;

+	WORD wL1wAtRfcAuxChTest;  //WÎïÀí²ãµ¥¸¨Â·²âÊÔģʽ¿ª¹Ø

+    WORD wL1wGsmIntfCSF;//WÒÖÖÆGSM¸ÉÈÅCSFÂ˲¨¿ª¹Ø

+    WORD wPading;

+}T_zPS_P_NV_W_PHYFUNC;

+

+/*AT+ZSET="tds_instrument",[[<wValue>],[<wPading1>],[<wPading2>],[<wPading3>]] */

+typedef struct

+{

+	WORD wValue;

+	WORD wPading[3];

+}T_zPS_P_NV_TDS_INSTRUMENT;

+

+/*AT+ZSET="tds_phyfunc",[[<wValue>],[<wPading1>],[<wPading2>],[<wPading3>]]*/

+typedef struct

+{

+	WORD wValue;

+	WORD wPading[3];

+}T_zPS_P_NV_TDS_PHYFUNC;

+

+typedef struct

+{

+	T_zPS_P_NV_W_INSTRUMENT tWInstrument;//wÒDZíÀà¿ØÖÆ¹¦ÄÜ

+	T_zPS_P_NV_W_PHYFUNC tWPhyfunc;//wÎïÀí²ãµ÷ÊÔÀà¿ØÖÆ¹¦ÄÜ

+}T_zPS_P_ATNV_W;

+

+

+typedef struct

+{

+	T_zPS_P_NV_TDS_INSTRUMENT tTdsInstrument;//tds ÒDZíÀà¿ØÖÆ¹¦ÄÜ

+	T_zPS_P_NV_TDS_PHYFUNC tTdsPhyfunc;//tds ÎïÀí²ãµ÷ÊÔÀà¿ØÖÆ¹¦ÄÜ

+    WORD shangDongPsmFlag; /* AT+ZSET="SHANDONG_PSM"[,<n>] ɽ¶«¶¨Öư汾Ïà¹Ø¿ØÖÆ,1´ò¿ª£¬0¹Ø±Õ */

+    WORD wPadding; 

+}T_zPS_P_ATNV_TD;

+

+/*AT+ZSET="com_phyfunc",[[<wValue>],[<wPading1>],[<wPading2>],[<wPading3>]]*/

+typedef struct

+{

+	WORD wValue;

+	WORD wModelType;//ÐͺŻúÀàÐÍ

+	WORD wPading[2];

+}T_zPS_P_NV_COMMON_PHYFUNC;

+

+typedef struct

+{

+	T_zPS_P_NV_COMMON_PHYFUNC tComPhyFunc;//¸÷ÖÆÊ½¹«¹²¿ØÖƹ¦ÄÜ

+    WORD mtnetTestFlag;    /* AT+ZSET="MTNET_TEST"[,<n>] ÈëÍø²âÊÔ¿ØÖÆ£¬1´ò¿ª£¬0 ¹Ø±Õ */

+    WORD wCmccChipTest;/*AT+ZSET="CMCC_CHIP_TEST"[,<n>] ÖÐÒÆÐ¾Æ¬ÈÏÖ¤ÖмȲ»·ûºÏЭÒéÒ²²»·ûºÏÍⳡµÄ´¦Àí¿ª¹Ø£¬0:¹Ø±Õ£¬1:´ò¿ª,ĬÈÏ0*/

+}T_zPS_P_ATNV_COMMON;

+

+

+typedef struct

+{

+    T_zPS_P_ATNV_LTE tAtNvLte;

+    WORD wLtePading[AT_NV_SIZE_WORD_PER_MODE+13 - (sizeof(T_zPS_P_ATNV_LTE)/sizeof(WORD))];

+    

+    T_zPS_P_ATNV_LTEA tAtNvLtea;

+    WORD wLteaPading[AT_NV_SIZE_WORD_PER_MODE-13 - (sizeof(T_zPS_P_ATNV_LTEA)/sizeof(WORD))];

+    

+    T_zPS_P_ATNV_W tAtNvW;

+    WORD wWPading[AT_NV_SIZE_WORD_PER_MODE - (sizeof(T_zPS_P_ATNV_W)/sizeof(WORD))];

+    

+    T_zPS_P_ATNV_TD tAtNvTd;

+    WORD wTdPading[AT_NV_SIZE_WORD_PER_MODE - (sizeof(T_zPS_P_ATNV_TD)/sizeof(WORD))];

+

+    T_zPS_P_ATNV_COMMON tAtNvCom;

+    WORD wComPading[AT_NV_SIZE_WORD_PER_MODE - (sizeof(T_zPS_P_ATNV_COMMON)/sizeof(WORD))];

+   

+}T_zPS_P_ATNV;

+/**************************************************************************

+ *                         È«¾Ö±äÁ¿ÉùÃ÷                                *

+ **************************************************************************/

+

+

+#endif  /*_PS_PHY_NV_H*/

diff --git a/pub/include/ps_phy/psevent.h b/pub/include/ps_phy/psevent.h
new file mode 100644
index 0000000..ff9a9a4
--- /dev/null
+++ b/pub/include/ps_phy/psevent.h
@@ -0,0 +1,5148 @@
+/*****************************************************************************

+ *°æ±¾ËùÓÐ (C)2007ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £ºPUB

+ *  ÎļþÃû    £ºpsEvent.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£º

+ *  ʵÏÖ¹¦ÄÜ£ºÐ­ÒéÕ»Èí¼þʼþºÅ¶¨Òå

+ *  ×÷Õß    £º

+ *  °æ±¾    £º

+ *  Íê³ÉÈÕÆÚ£º

+ *  ÆäËü˵Ã÷£º

+ *

+ * Ð޸ļǼºÅ        ÈÕÆÚ            ÐÞ¸ÄÈË                ÐÞ¸ÄÄÚÈÝ

+    1            2008.02.23            ½­ºè            1)ЭÒéÕ»ÐèÒªºÍCOMNEON´úÂ뻥ͨ£¬ÆäʼþºÅ¶¨ÒåΪ16λ¡£¹ÊÏÞÖÆÐ­ÒéջʼþºÅÓÐЧ·¶Î§ÎªµÍ16λ¡£

+    2            2008.05.14            ½­ºè            1)Ôö¼ÓÁËSCIÓëURRC/CCÖ®¼äµÄʼþºÅ¶¨Òå

+    3            2008.05.15            ½­ºè            1)Ôö¼ÓÁËCCÓëURRC¼äµÄʼþºÅ¶¨Òå:GMMAS_CALLTYPENOTIFYREQ_EV

+    4            2008.05.19            ½­ºè            1Ôö¼ÓTAFÓëL1G¼äµÄʼþºÅ¶¨Òå

+    5            2008.05.29            ½­ºè            1)Ôö¼ÓGSM²âÊÔÄ£¿é¼äʼþºÅ

+    6            2008.06.05            ½­ºè            1)Ôö¼ÓGVAR_SCI_GETREQ_EV¡¢GVAR_SCI_GETCNF_EV¡¢CSCI_CONFIGREL_EV

+    7           2008.06.12          ½­ºè            1)Ôö¼ÓATIÓëCSD¼äµÄʼþºÅ¶¨Òå

+    8           2008.06.12          ½­ºè            1)Ϊ֧³Ö˫죬Ôö¼ÓÁË£º

+                                                            LLGMM_USERDATAPRESENT_EV;

+                                                            GMMAS_ASSIGNREQ_EV¡¢GMMAS_INFOREQ_EV¡¢GMMAS_SUSPENDIND_EV

+                                                            CPDI_SENDDATAIND_EV£»

+                                                            SM_PDCP_RATACTIND_EV¡¢SM_PDCP_RATACTRSP_EV¡¢SM_PDCP_RATDEACTIND_EV¡¢

+                                                            SM_PDCP_RATSEQIND_EV¡¢SM_PDCP_RATSEQRSP_EV¡¢SM_PDCP_READYIND_EV£»

+                                                            SNSM_RATDEACTRSP_EV£»

+                                                            UMMAS_PLMNLISTREJ_EV¡¢UMMAS_PCHPRE_REQ¡¢UMMAS_ABORTHPPLMNREQ_EV¡¢

+                                                            UMMAS_UPDATEPARAMREQ_EV¡¢UMMAS_INACTIVEREQ_EV¡¢UMMAS_INACTIVECNF_EV¡¢  

+                                                            UMMAS_RATCHNIND_EV¡¢UMMAS_HOSTARTIND_EV¡¢UMMAS_CCOSTARTIND_EV   

+    9           2008.06.14          ½­ºè            1)Ôö¼ÓTOOL_NGMAC_PMO_REQ_EV¡¢TOOL_NGMAC_PSI_REQ_EV¶¨Òå

+                                                    2)¸üÃû£ºUMMAS_PCHPRE_REQ £½¡·UMMAS_PCHPREREQ_EV

+    10          2008.06.16          ËïÒÔÀ×          1)Ôö¼ÓSNDCP-SMÖ®¼äʼþºÅ

+                                                    2)Ôö¼ÓGSMA²âÊÔʼþºÅ:GVAR_GSMA_GETREQ_EV¡¢GVAR_GSMA_GETCNF_EV

+    11          2008.06.17          ÕÅÅô³Ì          1)Ϊ֧³Ö˫죬Ôö¼ÓÁËURRC-GRR¡¢URRCÄÚ²¿¡¢URRC-PHYÖ®¼äʼþºÅ

+    12          2008.06.18          ÕÅÅô³Ì          1)Ôö¼ÓUMMAS_TRYHPPLMNCNF_EV

+    13          2008.06.18          ½­ºè            1)ÐÞ¸ÄÁËURRC-GRRÖ®¼äʼþºÅÃû³Æ

+    14          2008.06.19          ÍõÀò            1)Ôö¼ÓSNSM_READYIND_EV,ɾ³ýSNSM_RATDEACTRSP_EV

+    15          2008.06.20          ËïȪ            1)Ôö¼ÓTOOL_L1SIMU_DCCHFAIL_CFG_EV

+    16          2008.06.20          ÕÅÅô³Ì          1)Ôö¼ÓURRCGRR_CAMPONCELLCNF_EV¡¢URRCGRR_CAMPONCELLIND_EV

+    17          2008.06.30          Ç®¿¡            1)Ôö¼ÓNGMACʼþºÅ:

+                                                        TOOL_NGMAC_ULTBF_EST_CFG_EV  ¡¢TOOL_NGMAC_DLTBF_EST_CFG_EV     

+                                                        TOOL_NGMAC_ULTBF_REL_CFG_EV ¡¢TOOL_NGMAC_DLTBF_REL_CFG_EV     

+                                                        TOOL_NGMAC_PKTTSRECFG_REQ_EV  ¡¢TOOL_NGMAC_PKTTBFREL_REQ_EV     

+                                                        TOOL_NGMAC_PKTPDCHREL_REQ_EV  ¡¢TOOL_NGMAC_PKTCCC_REQ_EV        

+                                                        TOOL_NGMAC_PKTCCO_REQ_EV ¡¢TOOL_NGMAC_PKTNCD_REQ_EV        

+                                                        TOOL_NGMAC_PKTPOLL_REQ_EV  ¡¢TOOL_NGMAC_PKTPWRCTRLTA_REQ_EV  

+                                                        TOOL_NGMAC_PKTPRACHPARA_REQ_EV ¡¢TOOL_NGMAC_PKTSCD_REQ_EV        

+                                                        TOOL_NGMAC_PKTQUENOTI_REQ_EV    ¡¢TOOL_NGMAC_PKTACCREJ_REQ_EV     

+                                                        NGMAC_TOOL_PKTMEARPT_EV¡¢NGMAC_TOOL_PKTMOBTBFSTA_EV      

+                                                        NGMAC_TOOL_PKTPSISTA_EV  ¡¢NGMAC_TOOL_PKTPAUSE_EV          

+                                                        NGMAC_TOOL_PKTEMEARPT_EV  ¡¢NGMAC_TOOL_PKTADDMSRAC_EV       

+                                                        NGMAC_TOOL_PKTCCN_EV ¡¢NGMAC_TOOL_PKTSISTA_EV          

+                                                    2)Ôö¼ÓNGRLCʼþºÅ:

+                                                        TOOL_NGRLC_ULTBF_EST_CFG_EV    ¡¢TOOL_NRLC_PUAN_REQ_EV            

+                                                        TOOL_NGRLC_DLTBF_CFG_EV            ¡¢NGRLC_TOOL_DLTBF_HALF_IND_EV    

+                                                        NGRLC_TOOL_DLTBF_FINAL_IND_EV    ¡¢NGRLC_TOOL_ULTBF_HALF_IND_EV    

+                                                        NGRLC_TOOL_ULTBF_FINAL_IND_EV    ¡¢TOOL_NGRLC_ULTBF_REL_EV            

+                                                        NGRLC_TOOL_ULTBF_FAI_IND_EV

+                                                    3)À©Õ¹ÁËNGMACʼþ·¶Î§£º50-¡·100

+    18          2008.07.02          ½¯Õ×´º          1)MMIAÓë´æ´¢¹ÜÀíÄ£¿éµÄʼþºÅµÄǰ׺°´AP-MMIAʼþºÅǰ׺

+                                                    2)MMIAÓë´æ´¢¹ÜÀíÄ£¿éµÄʼþºÅµÄ·¶Î§ÓÉÔ­À´µÄMMIA-NASÒÆµ½AP-MMIA

+    19          2008.07.03          ½­ºè            1)Ôö¼ÓÉèÖÃNUMAC¡¢NURLCÓ¦´ð¿ØÖÆÏûÏ¢:

+                                                        TEST_URLCACKCTRL_UTRAN_EV¡¢TEST_UMACACKCTRL_UTRAN_EV

+    20          2008.07.19          ½­ºè            1)Ôö¼ÓTOOL_L1SIMU_SYSINFOFAIL_CFG_EV¡¢

+                                                        GMAC_GET_BLOCKS_EV¡¢GMAC_ACK_BLOCKS_EV¡¢TOOL_NGMAC_PKTPGREQ_REQ_EV

+                                                    2)ÐÞ¸ÄNGRLCʼþºÅ¶¨Òå

+    21          2008.07.22          ½­ºè            1)Ôö¼ÓGSMÄ£ÄâʼþºÅ·¶Î§ºê¶¨Ò壺EVENT_PS_GSM_SIMU_BEGIN/EVENT_PS_GSM_SIMU_END

+    22          2008.07.25          ÅËÀÚ            1)Ôö¼ÓÓëTCÏà¹ØÊ¼þºÅ¶¨Òå

+    23          2008.08.13          ½­ºè            1)Ôö¼ÓÁËUMCR-GPHYÖ®¼äµÄʼþºÅ·¶Î§¶¨Òå

+                                                    2)½«UMCRÓëGSM²âÁ¿Ïà¹ØÊ¼þºÅ¶¨ÒåÒÆÈëUMCR-GPHY·¶Î§ÄÚ

+                                                    3)Ôö¼ÓÁËURRAÄ£¿éµÄ¶¨Ê±Æ÷ʼþºÅ¶¨Òå

+    24          2008.08.14          ÕÅÅô³Ì          1)Ôö¼ÓÁËURRC-GRR¼äURRCGRR_HOINFOCNF_EV¡¢URRCGRR_HOINFOIND_EV

+                                                    2)Ôö¼ÓÁ˺¯ÊýÐÅÁî¸ú×ÙʼþºÅ·¶Î§ºÍURRCÐÅÁî¸ú×ÙʼþºÅ¶¨Òå

+    25          2008.08.15          ÌÀÔ±¦          1)Ôö¼ÓURRCINTRA_RADIOLINKFAIL_IND_EVÏûÏ¢

+    26          2008.08.18          ÍõÀò            1)Ôö¼ÓL1SIMUʼþºÅ£º

+                                                        L1SIMU_TOOL_RXLEVREQ_CFG_EV         

+                                                        L1SIMU_TOOL_SYNCREQ_CFG_EV          

+                                                        L1SIMU_TOOL_SYSREQ_CFG_EV              

+                                                        L1SIMU_TOOL_IDLEMODEREQ_CFG_EV         

+                                                        L1SIMU_TOOL_NCELLRXLEVIND_CFG_EV    

+                                                        L1SIMU_TOOL_SCELLRXLEVIND_CFG_EV    

+                                                        L1SIMU_TOOL_MEAS_REPORT_CFG_EV

+                                                        L1SIMU_TOOL_DLTBFRELIND_EV

+                                                        L1SIMU_TOOL_ULTBFRELIND_EV

+                                                    2)Ôö¼ÓNGMACʼþºÅ£ºTOOL_NGMAC_CTRLBLOCK_REQ_EV                                                            

+                                    ʯ×ÚÀ¤          1)Ôö¼ÓURRAÓëTD PHYÖ®¼äʼþºÅ¶¨Òå

+                                                    2)Ôö¼ÓL1G-GSMAÖ®¼äʼþºÅ¶¨Òå

+                                    ×ÞÑÞ            1)Ôö¼ÓGMMAS_CCSYNCIND_GSM_EVʼþºÅ

+                                    ÕŽ¡            1)Ôö¼ÓNLAPDMºÍTRSÖ®¼äÓÃÓÚ²»Í¬SAPI¼äÏûÏ¢·¢ËͺÍÒì³£²âÊÔµÄʼþºÅ¶¨Òå

+                                                        NLAPDM_L2_DATA_IND_EV

+                                                        NLAPDM_TOOL_SABM_IND_EV   

+                                                        TOOL_NLAPDM_UA_RSP_EV     

+                                                        NLAPDM_TOOL_SABM_COR_IND_EV    

+                                                        TOOL_NLAPDM_UA_COR_RSP_EV        

+                                                        TOOL_NLAPDM_EXCEPT_DATA_EV          

+                                                        NLAPDM_TOOL_I_IND_EV    

+                                    ׿Խ            1)Ôö¼ÓURRC_FUNC_SUSPENDMEASREQ_EV  

+    27          2008.08.20          ʯ×ÚÀ¤          1)Ôö¼ÓL1GÐÅÁî¸ú×ÙʼþºÅ¶¨Ò壺L1G_ST_....

+                                                    2)Ôö¼ÓURRA-GPHYʼþºÅ·¶Î§¶¨Òå     

+    28          2008.08.30          ½ª²¨            1)ÓÉÓÚ´¦Àí¸ÕפÁôÄ³Ð¡Çø1SÄÚ²»ÄܶԲâÁ¿¸üºÃµÄÐ¡Çø½øÐÐÖØÑ¡£¬Ôö¼ÓUCSR_TCAMP1S_EXPIRY_EV

+                                    Ç®¿¡            2)Ôö¼ÓGSMÐÅÁî¸ú×ÙʼþºÅ¶¨Òå¡£                                                    

+    29          2008.09.03          ½­ºè            1)L1G_GSMA_EVENT_BASE/L1G_GSMA_EVENT_END ÐÞ¸ÄΪ£ºL1G_DM_EVENT_BASE/L1G_DM_EVENT_END

+                                                    2)L1G˫ģÏûϢǰ׺¸ü¸ÄΪ£ºL1G_DM_

+                                                    3)Ôö¼ÓÁËL1G_DM_TDD_CELL_MEAS_REQ

+                                                    4)Ôö¼ÓÁËL1SIMU_TOOL_TAFIND_EV¡¢L1SIMU_TOOL_TAFREQ_EV

+    30          2008.09.16          ÍõÀò            1)Ôö¼Ó3Gʱ,UMMÏòRBCÅäÖÃѰºôµÄÇëÇóʼþºÅ£º

+                                                        UMMAS_PAGEREQ_EV         

+    31          2008.09.19          ½­ºè            1)SDLÈÎÎñºÍÆÕͨÈÎÎñ¼äÏûÏ¢¶¨ÒåͳһÔÚSIG_CODE.HÖУ¬ÏÂÁкêÃû±»ÒÆ×ߣº

+                                                        L1G_DM_DEACT_UMTS_REQ¡¢L1G_DM_DEACT_GSM_CNF

+                                                        L1G_DM_TDD_CELL_MEAS_REQ¡¢L1G_UTRAN_MEAS_PERIOD_IND

+                                                    2)ɾ³ýÁË£º

+                                                        L1G_DM_EVENT_BASE¡¢L1G_DM_EVENT_END

+                                                        P_GSM_INACT_TIME_REQ_EV¡¢P_ABORT_GSM_GAP_REQ_EV¡¢P_UMTS_IDLE_PERIOD_REPMODE_REQ_EV

+    32          2008.09.22          ÍõС½ø          1)Ôö¼ÓAP_MMIA_SMSABORTMOREQ_EV¡¢MMIASMS_ABORTMOREQ_EV

+    33            2008.10.10            ÍõÀò            1)Ôö¼ÓUMMAS_PWRONREQ_EV

+    34          2008.10.15          Íõ¾´Ò¢          1)Ôö¼ÓNGMACʼþºÅ:

+                                                        NGMAC_TOOL_CCF_IND_EV

+    35          2008.10.24          ʯ×ÚÀ¤          1)Ôö¼ÓL1SIMUʼþºÅ£º

+                                                        L1SIMU_TOOL_ASYNC_HO_REQ_CFG_EV¡¢

+                                                        L1SIMU_TOOL_SYNC_HO_REQ_CFG_EV

+    36          2008.11.05          ½­ºè            1)ÐÞ¸ÄËùÓÐZ_ǰ׺Ϊ

+    37          2008.11.13          ÍõÀò            1)Ôö¼ÓGMM_TPOWEROFF_EXPIRY_EV:2G¹Ø»ú¼à¿ØÈ¥»îÁ÷³Ì¶¨Ê±Æ÷

+    38          2008.11.17          ÑîÎÄÇ¿          1)È¡ÏûÏûÏ¢NGRLC_START_TIMER_EV(²»ÔÙʹÓÃ)

+                                                    2)Ôö¼Ó ÏûÏ¢NGRLC_TOOL_DLTBF_FAI_IND_EV¡¢TOOL_NGRLC_BEGINTESTMODE_EV¡¢NGRLC_TOOL_PDANNOTIFY_EV

+    39          2008.11.27          ¸ßÏè            1)Ôö¼ÓCUMAC_GETTVBOCMPIND_EV£¬ÒÔ֪ͨUMCRÄ£¿é²ÉÑùÍê³É£¬¿ÉÒÔ½øÐÐÏà¹ØÆÀ¹ÀºÍ±¨¸æ¡£

+                                    ΤÓñÕä          1)Ôö¼ÓP_GSM_MEAS_DONE_REQ_EV

+    40          2008.11.28          ׿Խ            1)ɾ³ýÁËMAC²âÁ¿²¿·ÖÐÅÁî¸ú×ÙÏûÏ¢URRC_FUNC_SUSPENDMEASREQ_EV,URRC_FUNC_TVMEASREQ_EV,URRC_FUNC_QUAMEASREQ_EV,URRC_FUNC_UEINTERMEASREQ_EV,

+                                                       URRC_FUNC_RESUMEMEASREQ_EV,URRC_FUNC_MACRPT_EV,URRC_FUNC_TVDISTRIBUTE_EV,URRC_FUNC_QUADISTRIBUTE_EV,URRC_FUNC_UEINTERDISTRIBUTE_EV

+    41          2008.12.10          ½¯Õ×´º          1)Ôö¼ÓUMMAS_ABORTCNF_EV

+    42          2008.12.29          ½­ºè            1)Ϊ֧³Ö½Å±¾¿ØÖÆCSDÒµÎñ£¬Ôö¼ÓTEST_TAFDATAIND_UTRAN_EV

+                                    ¸ßÏè148725      1)ÐÞ¸ÄSM¶¨Ê±Æ÷ʼþºÅ¶¨Òå

+                                                    2)Ôö¼ÓMMIASM_PDPAUTOACTIND_EV

+    43          2008.12.31            ×ÞÑÞ            1)Ôö¼ÓÁËCC¶¨Ê±Æ÷ʼþºÅ £ºCC_TMMCONN_EXPIRY_EV ¼à¿ØMMÁ¬½ÓµÄ½¨Á¢

+    44          2009.02.10          ÑîÔÊ            1)Ôö¼ÓÁËMMÄ£¿é¶¨Ê±Æ÷ÏûÏ¢£ºMM_T3231_EXPIRY_EV¡¢MM_T3232_EXPIRY_EV

+    45          2009.02.12          ½­ºè            1)TAFÓëL1GÏûÏ¢¶¨ÒåÒÆÈëSIG_CODE.H£¬É¾³ýTAF_L1GÏûÏ¢·¶Î§

+                                                    2)Ôö¼ÓTAFº¯ÊýÐÅÁî¸ú×ÙÏûÏ¢£ºTAF_FUNC_L1GDATAREQ_EV

+    46          2009.02.16          ÍõС½ø          1)UMMÐÂÔöATÃüÁIMSI¼¤»îÈ¥»îÇëÇó¡¢¶ÔÁ½¸öÓòͬʱ½øÐÐÈ¥»îµÄÇëÇó¡¢ÉèÖÃGPRS×Ô¶¯¸½×ÅÇëÇó£¬

+                                                      Ôö¼ÓÏûÏ¢¶¨Ò壺AP_MMIA_ZATTSETREQ_EV¡¢AP_MMIA_ZATTQUERYREQ_EV¡¢

+                                                      AP_MMIA_ZGAATSETREQ_EV¡¢AP_MMIA_ZGAATQUERYREQ_EV¡¢

+                                                      AP_MMIA_ZATTQUERYCNF_EV¡¢AP_MMIA_ZGAATQUERYCNF_EV

+    47          2009.02.19          Ëﳤ½­          1)MM/GMM/CC£­RRCÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºGMMAS_CSRABRELIND_EV;

+                                                    2)URRC - ÄÚ²¿ÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºURRCINTRA_ABORTCFGREQ_EV;

+                                                    3)UMAC - URRC ÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºCUMAC_ACTTIMENOTIFY_REQ_EV£»

+    48          2009.02.21          ×ÞÑÞ            1)Ö§³ÖMODIFY¹ý³Ì£¬Ôö¼ÓCCÓëTAFʼþºÅ¶¨Ò壺

+                                                      CCTAF_PEND_REQ_EV¡¢CCTAF_RESUME_REQ_EV¡¢CCTAF_MODIFYBC_REQ_EV¡¢CCTAF_MODIFYBC_CNF_EV         

+                                                    2)Ôö¼ÓCC¶¨Ê±Æ÷ʼþºÅ¶¨Ò壺

+                                                        CC_TRELTAF_EXPIRY_EV  

+                                                        CC_TCONNTAF_EXPIRY_EV 

+                                                        CC_TSYNCIND_EXPIRY_EV 

+                                                        CC_TMODIFYBC_EXPIRY_EV

+    49          2009.02.24          ½»¶            1)Ϊ֧³ÖUSAT¹¦ÄÜ£¬Ôö¼ÓMMIAÓëATI/UICCÖ®¼äʼþºÅ¶¨Ò壺

+                                                        AP_MMIA_USAT_ENVELOPREQ_EV   

+                                                        AP_MMIA_USAT_ENVELOPCNF_EV   

+                                                        AP_MMIA_USAT_TERMNLRSPREQ_EV  

+                                                        AP_MMIA_USAT_TERMNLPROFREQ_EV

+                                                        AP_MMIA_USAT_PROCMDIND_EV    

+                                                        AP_UICC_USAT_ENVELOPREQ_EV   

+                                                        AP_UICC_USAT_ENVELOPCNF_EV   

+                                                        AP_UICC_USAT_TERMNLRSPREQ_EV  

+                                                        AP_UICC_USAT_TERMNLPROFREQ_EV

+                                                        AP_UICC_USAT_COMMONCNF_EV    

+                                                        AP_UICC_USAT_PROVCMDIND_EV    

+   50           2009.03.05          ÍõС½ø          1)UICCNOCARDIND²»ÔÙÉϱ¨¸øATI£¬ËùÒÔɾ³ýAP_MMIA_UICCNOCARDIND_EV

+   51           2009.03.10          ½­ºè            Ôö¼ÓÖ§³ÖCBS¹¦ÄÜ

+                                                    1)Ôö¼ÓMMIA-ATI¡¢MMIA-CBSÖ®¼äʼþºÅ¶¨Ò壺

+                                                        AP_MMIA_CBS_CSCBSETREQ_EV                                                     

+                                                        AP_MMIA_CBS_CSCBREADREQ_EV  

+                                                        AP_MMIA_CBS_SAVINGSETREQ_EV 

+                                                        AP_MMIA_CBS_RESTORESETREQ_EV

+                                                        AP_MMIA_CBS_CSCBREADCNF_EV  

+                                                        AP_MMIA_CBS_TCBMIND_EV      

+                                                        AP_MMIA_CBS_PCBMIND_EV      

+                                                        AP_MMIA_CBS_TCBMLISTCNF_EV  

+                                                        AP_MMIA_CBS_PCBMLISTCNF_EV  

+                                                        AP_MMIA_CBS_TCBMREADCNF_EV  

+                                                        AP_MMIA_CBS_PCBMREADCNF_EV 

+                                                        MMIACBS_ACTIVATEREQ_EV

+                                                        MMIACBS_ACTIVATECNF_EV

+                                                        MMIACBS_DATAIND_EV

+                                                    2)CBSÏà¹ØATÃüÁî¶ÔÓ¦ÏûÏ¢´ÓAP-MMIA SMS²¿·Ö¶¨ÒåÖÐɾ³ý£º

+                                                        AP_MMIA_SMSCSCBREQ_EV

+                                                        AP_MMIA_SMSCSASREQ_EV

+                                                        AP_MMIA_SMSCRESREQ_EV

+                                                        AP_MMIA_SMSTCBMIND_EV

+                                                        AP_MMIA_SMSTCBMREADCNF_EV

+                                                        AP_MMIA_SMSCSCBCNF_EV

+                                                        AP_MMIA_SMSCSASCNF_EV

+                                                        AP_MMIA_SMSCRESCNF_EV

+                                                        AP_MMIA_SMSTCBMLISTCNF_EV

+                                                    3)CBSÓëURBCµÄÖ®¼äµÄʼþºÅ¶¨Òå:

+                                                        CBSAS_NODRXREQ_EV                 

+                                                        CBSAS_DRXRSVREQ_EV

+                                                        CBSAS_STOPREQ_EV 

+                                                        CBSAS_PCHCELLINFOIND_EV 

+                                                    4)CBSÓëUMMÖ®¼äµÄʼþºÅ¶¨ÒåµÄ¶¨Òå:

+                                                        UMMCBS_STARTREQ_EV

+                                                        UMMCBS_STOPREQ_EV

+                                                        UMMCBS_CELLINFOIND_EV

+                                                    5)CBS¶¨Ê±Æ÷ÏûϢʼþºÅµÄ¶¨Òå:

+                                                        CBS_TSCHEDCHECK_EXPIRY_EV

+                                                    6)Ôö¼ÓURBCÓëURLCÖ®¼ä½Ó¿Ú¶¨Ò壺

+                                                        CURLC_CBSRBCONFIGREQ_EV

+                                                    7)Ôö¼ÓURBCÓëPHYÖ®¼ä½Ó¿Ú¶¨Ò壺

+                                                        P_CBS_NODRX_REQ_EV

+                                                        P_CBS_DRX_REQ_EV

+                                                        P_ADD_MODIFY_CBS_REQ_EV

+                                                        P_STOP_CBS_REQ_EV

+   52           2009.03.20          ÍõС½ø          1)Ôö¼ÓÖ§³ÖATÃüÁ+ZUSTAT,+ZURDY,+ZUSLOT,+ZPINSTAT

+                                                        AP_MMIA_UICCCOMMANDREQ_EV

+                                                        AP_MMIA_UICCCOMMANDQUERYCNF_EV

+   53           2009.03.23          ÍõС½ø          1)Ôö¼ÓÏûÏ¢£º

+                                                        AP_MMIA_USAT_LOCINFOCNF_EV

+                                                        AP_MMIA_USAT_LOCINFOREQ_EV

+   54           2009.03.31          ½»¶            1)Ôö¼ÓÖ§³Ö¹¤³Ìģʽ£º

+                                                        AP_MMIA_EM_CELLINFOREQ_EV      

+                                                        AP_MMIA_EM_CELLINFOQUERYREQ_EV 

+                                                        AP_MMIA_EM_LOCKCELLREQ_EV      

+                                                        AP_MMIA_EM_HOINFOREQ_EV        

+                                                        AP_MMIA_EM_HOINFOQUERYREQ_EV   

+                                                        AP_MMIA_EM_CELLINFOIND_EV      

+                                                        AP_MMIA_EM_CELLINFOQUERYCNF_EV 

+                                                        AP_MMIA_EM_HOINFOIND_EV        

+                                                        AP_MMIA_EM_HOINFOQUERYCNF_EV   

+                                                        MMIAUMM_EM_LOCKCELLREQ_EV

+                                                        MMIAUMM_EM_LOCKCELLCNF_EV

+                                                        MMIAAS_EM_CELLINFOREQ_EV 

+                                                        MMIAAS_EM_HOINFO_REQ     

+                                                        MMIAAS_EM_UCELLINFOIND_EV

+                                                        MMIAAS_EM_UHOINFOIND_EV  

+                                                        UMMAS_LOCKCELLREQ_EV

+                                                        UMMAS_UNLOCKCELLREQ_EV

+                                                        UMMAS_LOCKCELLCNF_EV

+                                                        MMIA_EM_HOINFO_EXPIRY_EV

+                                                        UMCR_EM_CELLINFO_EXPIRY_EV

+   55           2009.04.02          ΤÓñÕä           1)ÐÞ¸ÄÐźÅÇ¿¶ÈÉϱ¨·½Ê½£¬Ôö¼Ó£º

+                                                        AP_MMIA_RXLEVREQ_EV         

+                                                        AP_MMIA_ZRPTRXLEVREQ_EV     

+                                                        AP_MMIA_ZRPTRXLEVQUERYREQ_EV

+                                                        AP_MMIA_RXLEVCNF_EV         

+                                                        AP_MMIA_ZRPTRXLEVIND_EV     

+                                                        AP_MMIA_ZRPTRXLEVQUERYCNF_EV

+                                                        MMIAAS_RPTRXLEV_REQ_EV  

+                                                        MMIAAS_QUERYRXLEV_REQ_EV

+                                                        MMIAAS_RPTRXLEV_IND_EV  

+                                                        MMIAAS_QUERYRXLEV_IND_EV  

+                                                       ɾ³ý:

+                                                        MMIAMCR_RPTPRDREQ_EV

+                                                        MMIAMCR_RSSIIND_EV

+                                                        AP_MMIA_CSQEXEREQ_EV

+                                                        AP_MMIA_ZSQSETREQ_EV

+                                                        AP_MMIA_ZSQQUERYREQ_EV

+                                                        AP_MMIA_ZSQIND_EV

+                                                        AP_MMIA_CSQEXECNF_EV

+                                                        AP_MMIA_ZSQQUERYCNF_EV

+    56          2009.04.13          ½­ºè             1)ΪÔö¼ÓL1GÓëPHYÖ®¼ä˫ģʼþºÅ¶¨Ò壺

+                                                        P_UMTS_IDLE_PERIOD_REPMODE_REQ_EV

+                                                        P_GSM_INACT_TIME_REQ_EV          

+                                                        P_ABORT_GSM_GAP_REQ_EV           

+                                                     2)ºô½ÐÐÅÏ¢Éϱ¨£º

+                                                        AP_MMIA_CCPROCINFOIND_EV

+                                                        MMIACC_PROCINFOIND_EV

+                                                     3)Ϊ±ÜÃⲻͬ½á¹¹¶ÔӦͬÃûÏûÏ¢£¬Ôö¼Ó£º

+                                                        TEST_UURLCDATAIND_UTRAN_EV

+                                                        TEST_UURLCCONFIGREQ_UTRAN_EV

+    57          2009.05.08          ½ª²¨             1)Ôö¼ÓUMCRͬUCSRÖ®¼ä֪ͨÁÚÇø¸ü¸ÄµÄURRCÄÚ²¿Ê¼þºÅ:

+                                                        URRCINTRA_NEIBCELLCHGIND_EV                                                      

+    58          2009.05.11          ½ª²¨             1)ɾ³ýUCSRͬGSMAÖ®¼äµÄʼþºÅ

+                                                        URRCGRR_CAMPONCELLREQ_EV

+                                                        URRCGRR_CAMPONCELLCNF_EV

+                                                        URRCGRR_CAMPONCELLIND_EV

+                                                        URRCGRR_CAMPONCELLRSP_EV

+                                                     2)Ôö¼ÓUCSRͬGSMAÖ®¼äµÄʼþºÅ

+                                                        URRCGRR_CELLRESELREQ_EV

+                                                        URRCGRR_ANYCELLRESELREQ_EV

+                                                        URRCGRR_CELLRESELIND_EV

+                                                        URRCGRR_CELLRESELREJ_EV

+

+    59          2009.05.19          ½¯Õ×´º           1)Ôö¼ÓUMMͬGSMAÖ®¼äµÄʼþºÅ

+                                                        UMMAS_GSMSRVNOTIFYREQ_EV

+    60          2009.05.20          Ëﳤ½­           1)URLC - URRC ÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºCURLC_CONFIGCNF_EV£»

+                                                                   ɾ³ýÏûÏ¢ºÅCURLC_STOPREQ_EV£»

+                                                     2)URRC/CC£­SCIÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºCSCI_CONFIGCNF_EV£»

+                                                     3)PDCP£­URRCÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºCPDCP_CONFIGCNF_EV£»

+                                                     2)URRC - ÄÚ²¿ÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºURRCINTRA_FACHCFGREQ_EV£»

+                                                                                  URRCINTRA_FACHCFGIND_EV;

+                                                     3)UMAC - URRC ÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£ºCUMAC_CONTINUEREQ_EV£»

+

+    61          2009.5.22            ËïÒÔÀ×         1)Ôö¼ÓGSMA¶¨Ê±Æ÷µÄʼþºÅ¶¨Òå

+                                                        GSMA_PROCTIMER_EXPIRY_EV

+                                                        GSMA_INACTTIMER_EXPIRY_EV

+                                                        

+    62          2009.06.04          ʷѧºì          1)PDCP£­URRC ÏûÏ¢ºÅ¶¨ÒåÔö¼Ó£º

+                                                        CPDCP_RELOCREJ_EV

+                                                        CPDCP_RELOCCOMPIND_EV 

+                                                        CPDCP_RELOCFAILIND_EV

+                                                        CPDCP_DLPDUSIZECHANGEREQ_EV

+                                                        CPDCP_DLPDUSIZECHANGECNF_EV

+                                                        CPDCP_ROHCTARGETMODEREQ_EV

+                                                    2)PDCP£­URRC ÏûÏ¢ºÅ¶¨Òåɾ³ý£º

+                                                        CPDCP_RELOCCOMPREQ_EV

+

+    63          2009.06.22          ΤÓñÕä          1)ÐÂÔöMACUL->MACDLÏûÏ¢£º

+                                                        CUMAC_NOTIFYDLPERIODREPORTREQ_EV

+                                                    2)ɾ³ýÒÔÏÂÏûÏ¢£º

+                                                        CUMAC_MEASRELREQ_EV             

+                                                        CUMAC_MEASREPORTIND_EV          

+                                                        CUMAC_PERIODMEASDELNOTIFYREQ_EV 

+                                                        CUMAC_GETTVBOCMPIND_EV          

+                                                    3)ÐÂÔöRRCÓëUMAC½Ó¿ÚÏûÏ¢£º

+                                                        CUMAC_TRAFFICMEASREQ_EV         

+                                                        CUMAC_QUANLITYMEASREQ_EV        

+                                                        CUMAC_INTERNALMEASREQ_EV        

+                                                        CUMAC_TVMEASRELREQ_EV           

+                                                        CUMAC_QMEASRELREQ_EV            

+                                                        CUMAC_UEMEASRELREQ_EV           

+                                                        CUMAC_TVMEASRESUMEREQ_EV        

+                                                        CUMAC_TVMEASSUSPENDREQ_EV       

+                                                        CUMAC_DLMEASSUSPENDREQ_EV       

+                                                        CUMAC_DLMEASRESUMEREQ_EV        

+                                                        CUMAC_ADDTVMEASREPORTREQ_EV     

+                                                        CUMAC_ADDQMEASREPORTREQ_EV      

+                                                        CUMAC_ADDUEMEASREPORTREQ_EV     

+                                                        

+65         2009.06.23       ÑîÔÊ                    1)Ôö¼ÓGMM¶¨Ê±Æ÷³¬Ê±Ê¼þºÅ¶¨Ò壺        

+                                                        GMM_TWSPN_EXPIRY_EV 

+                                                        GMM_TWCRS_EXPIRY_EV 

+                                                        GMM_TWTRG_EXPIRY_EV 

+

+66          2009.06.24      ½­ºè                    1)ÐÞ¸ÄTEST_GVAR_XXXΪGVAR_XXX

+                                                    2)ÖØÐÂÕûÀíÁ˲âÊÔÏûϢʼþ¶¨Ò巶Χ   

+                                                    3)Ôö¼ÓÁËNCBSÏà¹ØÏûÏ¢¶¨Ò壺£¨½ªéª£©

+                                                         TEST_UCBSSCHEDCFG_UTRAN_EV          

+                                                         TEST_UCBSDATAREQ_UTRAN_EV 

+                                                         TEST_UCBSOUTPUTEND_UTRAN_EV 

+                                                         TEST_UCBSUMAC_TFSCFG_UTRAN_EV       

+                                                         TEST_UCBSUMAC_SFNINFO_UTRAN_EV     

+                                                         TEST_UURLCDATACNF_UTRAN_EV     

+                                                         TOOL_L1SIMU_CBSBLK_START_EV 

+                                                         TOOL_L1SIMU_CBSFSTBLK_REQ_EV 

+                                                         TOOL_L1SIMU_CBSOTHERBLK_REQ_EV  

+

+67         2009.06.29     QIANJUN155488             1)Ôö¼ÓÓû§ÃæÐÅÁî¸ú×ÙαÏûÏ¢¶¨Òå

+                                                        ATIPDI_DATAREQ_TRACE_EV            

+                                                        UPDI_DATAREQ_TRACE_EV              

+                                                        SN_DATA_REQ_TRACE                      

+                                                        SN_UNITDATA_REQ_TRACE                  

+                                                        LL_DATA_REQ_TRACE                      

+                                                        LL_UNITDATA_REQ_TRACE                  

+                                                        LLC_GET_NEXT_PDU_TRACE_EV          

+                                                        GMAC_GET_BLOCKS_TRACE_EV           

+                                                        GMAC_ACK_BLOCKS_TRACE_EV           

+                                                        PDCP_UPDATA_TRACE_EV               

+                                                        URLC_GETBO_TRACE_EV                

+                                                        URLC_SENDPDU_TRACE_EV              

+                                                        UMAC_TFCSEL_TRACE_EV               

+                                                        PH_MAC_DATA_IND_TRACE                  

+                                                        PH_RLC_DATA_IND_TRACE                  

+                                                        MAC_RLC_DATA_IND_TRACE                 

+                                                        RLC_DATA_IND_TRACE                     

+                                                        RLC_UNITDATA_IND_TRACE                 

+                                                        LL_DATA_IND_TRACE                      

+                                                        LL_UNITDATA_IND_TRACE                  

+                                                        SN_DATA_IND_TRACE                      

+                                                        SN_UNITDATA_IND_TRACE                  

+                                                        UPDI_DATAIND_TRACE_EV              

+                                                        ATIPDI_DATAIND_TRACE_EV            

+                                                        UUMAC_DATAIND_TRACE_EV             

+                                                        PDCP_DOWNDATA_TRACE_EV             

+                                                        TAF_COUNTER_TRACE_EV               

+                                                        TAF_RLP_XID_ULFRAME_TRACE_EV       

+                                                        TAF_RLP_XID_DLFRAME_TRACE_EV       

+                                                        TAF_RLP_SABM_ULFRAME_TRACE_EV      

+                                                        TAF_RLP_SABM_DLFRAME_TRACE_EV      

+                                                        TAF_RLP_UA_ULFRAME_TRACE_EV        

+                                                        TAF_RLP_UA_DLFRAME_TRACE_EV        

+                                                        TAF_RLP_DISC_ULFRAME_TRACE_EV      

+                                                        TAF_RLP_DISC_DLFRAME_TRACE_EV      

+                                                        TAF_RLP_DM_ULFRAME_TRACE_EV        

+                                                        TAF_RLP_DM_DLFRAME_TRACE_EV        

+                                                        TAFL1G_DATA_IND_TRACE_EV           

+                                                        TAFL1G_DATA_REQ_TRACE_EV           

+                                                        TAF_FUNC_UURLCDATAIND_EV            

+                                                        TAF_FUNC_UURLCDATAREQ_EV  

+68          2009.7.2           ½»¶                1)Ϊ֧³ÖÖÐÒÆËæEÐÐATÃüÁÔö¼ÓÏÂÁÐÏûÏ¢£º

+                                                        AP_UICC_PINENABLEQUERYREQ_EV

+                                                        AP_UICC_PINENABLEQUERYCNF_EV

+                                                        AP_UICC_PINSTATQUREYREQ_EV

+                                                        AP_UICC_PINSTATQUREYCNF_EV

+                                                        AP_UICC_CARDMODEREQ_EV

+                                                        AP_UICC_CARDMODECNF_EV

+                                                        AP_MMIA_SETPINAPPLREQ_EV

+                                                        AP_MMIA_SETPINAPPLCNF_EV

+                                                        AP_MMIA_PINAPPLREADREQ_EV

+                                                        AP_MMIA_PINAPPLREADCNF_EV

+                                                        AP_MMIA_CPINREQ_EV

+                                                        AP_MMIA_CPINREADREQ_EV

+                                                        AP_MMIA_CPINREADCNF_EV

+                                                        AP_MMIA_CARDMODEREQ_EV

+                                                        AP_MMIA_CARDMODECNF_EV

+                                                        AP_MMIA_MODEREQ_EV

+                                                        AP_MMIA_MODECNF_EV

+69          2009.7.15       ½­ºè                    1)ÒÆ¶¯L1G_ST_EVENT·¶Î§µ½SIGTRACE_EVENT·¶Î§ÄÚ

+                                                    2)Ôö¼ÓGVAR_CBS_GETREQ_EV¡¢GVAR_CBS_GETCNF_EV

+70          2009.7.17       Áõµ¤                    1)Ôö¼ÓURRC-URLCµÄʼþºÅ:

+                                                      CURLC_SETDATANOTIFYMODE_EV

+                                                      CURLC_PCHULDATATRREQ_EV

+71          2009.7.21       ½»¶                    1)ɾ³ý£º

+                                                          AP_MMIA_ZBDMDSETREQ_EV      

+                                                          AP_MMIA_ZBDMDQUERYREQ_EV    

+                                                          AP_MMIA_ZBDMDQUERYCNF_EV

+                                                    2)ÐÂÔö£º

+                                                          AP_MMIA_ZACTSETREQ_EV      

+                                                          AP_MMIA_ZACTQUERYREQ_EV    

+                                                          AP_MMIA_ZACTQUERYCNF_EV                

+                                                          AP_MMIA_MODEQRYREQ_EV

+                                                          AP_MMIA_MODEQRYCNF_EV

+                                                          AP_MMIA_MODESETREQ_EV                                                                        

+72          2009.7.23       ÍõÀò                    1)Ôö¼Ó£¬UMCRÔÚ½øÈë·ÉÐÐģʽʱ£¬Í¨ÖªURRCA½øÈë¿ÕÏеÄÏûÏ¢£º

+                                                          P_GSM_MEAS_TONULL_REQ_EV

+73          2009.7.28       ΤÓñÕä                  1)Ö§³ÖÈý°æÐб꣬Ôö¼ÓURRCÄÚ²¿Ê¼þºÅURBC-UMCR: URRCINTRA_DRXCHGIND_EV

+                                                    Ôö¼ÓUMCR-URRCAµÄʼþºÅ: P_GSM_MEAS_DRX_CHANGE_REQ_EV

+74          2009.7.28       ʷѧºì                  1)Ôö¼ÓNPDCP_EVENT_BASE¡¢NPDCP_EVENT_END

+                                                    2)Ôö¼ÓNPDCPʼþºÅ£º

+                                                           CPDCP_CONFIGREQ_UTRAN_EV

+                                                           CPDCP_RELEASEREQ_UTRAN_EV

+                                                           NPDCP_DATAREQ_UTRAN_EV

+                                                           NPDCP_DATAIND_UTRAN_EV

+                                                           TEST_NPDCP_DATAERRIND_UTRAN_EV

+                                                           TEST_NPDCP_DATACNF_UTRAN_EV

+75          2009.8.11        ÍõÀò                   CC/SM/SS²¿·ÖÓëATIÓÅ»¯½Ó¿ÚÐÞ¸Ä

+                                                     1)Ôö¼ÓºÍÐÞ¸ÄCCÄ£¿éÓÅ»¯ºóµÄʼþºÅ AP_MMIAÖ®¼ä

+                                                         Ôö¼Ó£ºAP_MMIA_CCQUERYREQ_EV/AP_MMIA_RINGIND_EV/AP_MMIA_CRINGIND_EV/AP_MMIA_CCWAIND_EV

+                                                             AP_MMIA_MOCALLSSNOTIFY_EV/AP_MMIA_MTCALLSSNOTIFY_EV/AP_MMIA_CCQUERYCNF_EV/AP_MMIA_CLIPIND_EV

+                                                             AP_MMIA_CRIND_EV/AP_MMIA_CCSETREQ_EV/AP_MMIA_COLPIND_EV/MMIACC_CSTAQUERYREQ_EV

+                                                             MMIACC_CSTASETREQ_EV/MMIACC_CSTAQUERYCNF_EV/AP_MMIA_MODTOMULTMEDIARSP_EV

+                                                             AP_MMIA_MODTOMULTMEDIAIND_EV/MMIACC_MODTOMULTMEDIARSP_EV/MMIACC_MODTOMULTMEDIAIND_EV

+                                                         ɾ³ý£ºAP_MMIA_CRLPSETREQ_EV/AP_MMIA_CRLPQUERYREQ_EV/AP_MMIA_CHSNSETREQ_EV/AP_MMIA_CHSNQUERYREQ_EV

+                                                             AP_MMIA_ETBMSETREQ_EV/AP_MMIA_ETBMQUERYREQ_EV

+                                                             AP_MMIA_CCSETREQ_EV/AP_MMIA_CCSETUPIND_EV/AP_MMIA_CCCOMMANDCNF_EV/AP_MMIA_SSNOTIFYIND_EV

+                                                             AP_MMIA_CHSNQUERYCNF_EV/AP_MMIA_DSQUERYCNF_EV/AP_MMIA_ETBMQUERYCNF_EV/AP_MMIA_CRLPQUERYCNF_EV

+                                                             AP_MMIA_CCCAUSEQUERYREQ_EV/AP_MMIA_CCCAUSEQUERYCNF_EV

+                                                             

+                                                     2)Ôö¼ÓºÍÐÞ¸ÄSMÄ£¿éÓÅ»¯ºóµÄʼþºÅ AP_MMIAÖ®¼ä

+                                                         ɾ³ý£º AP_MMIA_SMQUERYREQ_EV¡¢AP_MMIA_SMHANDLEREQ_EV¡¢AP_MMIA_SMANSREQ_EV

+                                                              AP_MMIA_SMPDPADDRREQ_EV¡¢AP_MMIA_SMNEGQOSREQ_EV¡¢AP_MMIA_SMMODEMMOREQ_EV¡¢

+                                                              AP_MMIA_SMMODEMANSREQ_EV¡¢AP_MMIA_SMCAUSEREQ_EV¡¢AP_MMIA_SMCANCELREQ_EV¡¢

+                                                              AP_MMIA_SMQUERYPDPINFOREQ_EV¡¢AP_MMIA_SMQUERYCNF_EV¡¢AP_MMIA_SMHANDLECNF_EV¡¢

+                                                              AP_MMIA_SMANSCNF_EV¡¢AP_MMIA_SMPDPADDRCNF_EV¡¢AP_MMIA_SMNEGQOSCNF_EV¡¢

+                                                              AP_MMIA_SMMODEMMOCNF_EV¡¢AP_MMIA_SMMODEMANSCNF_EV¡¢AP_MMIA_SMCAUSECNF_EV¡¢

+                                                              AP_MMIA_SMMTDEACTIVATEIND_EV¡¢AP_MMIA_SML2PIND_EV¡¢AP_MMIA_SMQUERYPDPINFOCNF_EV

+                                                         Ôö¼Ó£ºAP_MMIA_SMREADREQ_EV¡¢AP_MMIA_SMQUERYPDPSTATUSREQ_EV¡¢AP_MMIA_SMQUERYACTCIDREQ_EV¡¢

+                                                               AP_MMIA_SMQUERYDEFCIDREQ_EV¡¢AP_MMIA_SMQUERYPDPADDRREQ_EV¡¢AP_MMIA_SMQUERYNEGQOSREQ_EV¡¢

+                                                               AP_MMIA_SMQUERYNEGEQOSREQ_EV¡¢AP_MMIA_SMQUERYCAUSEREQ_EV¡¢AP_MMIA_SMACTDEACTREQ_EV¡¢

+                                                               AP_MMIA_SMMODREQ_EV¡¢AP_MMIA_SMMTACTANSREQ_EV¡¢AP_MMIA_SMIPPDPACTREQ_EV¡¢

+                                                               AP_MMIA_SMOPENCHRSP_EV¡¢AP_MMIA_SMQUERYIDLECHRSP_EV¡¢AP_MMIA_SMGETPCORSP_EV¡¢

+                                                               AP_MMIA_SMQUERYPDPSTATUSCNF_EV¡¢AP_MMIA_SMQUERYACTCIDCNF_EV¡¢AP_MMIA_SMQUERYDEFCIDCNF_EV¡¢

+                                                               AP_MMIA_SMQUERYPDPADDRCNF_EV¡¢AP_MMIA_SMQUERYNEGQOSCNF_EV¡¢AP_MMIA_SMQUERYNEGEQOSCNF_EV¡¢

+                                                               AP_MMIA_SMQUERYCAUSECNF_EV¡¢AP_MMIA_SMACTDEACTCNF_EV¡¢AP_MMIA_SMMODCNF_EV¡¢

+                                                               AP_MMIA_SMCGEVIND_EV¡¢AP_MMIA_SMIPPDPACTCNF_EV¡¢AP_MMIA_SMOPENCHIND_EV¡¢

+                                                               AP_MMIA_SMCLOSECHIND_EV¡¢AP_MMIA_SMQUERYIDLECHIND_EV¡¢AP_MMIA_SMGETPCOIND_EV¡¢

+                                                               AP_MMIA_SMCONNECTIND_EV¡¢AP_MMIA_SMNOCARRIERCNF_EV 

+                                                               

+                                                     3)Ôö¼ÓºÍÐÞ¸ÄSSÄ£¿éÓÅ»¯ºóµÄʼþºÅ AP_MMIAÖ®¼ä

+                                                         ɾ³ý£ºAP_MMIA_CAAPTESTREQ_EV/AP_MMIA_CFCSQUERYREQ_EV/AP_MMIA_CPPSEXEREQ_EV/AP_MMIA_CFCSTESTREQ_EV

+                                                             AP_MMIA_CAAPQUERYREQ_EV/AP_MMIA_CPPSEXECNF_EV/AP_MMIA_CFCSQUERYCNF_EV/AP_MMIA_CFCSTESTCNF_EV

+                                                         Ôö¼Ó£ºAP_MMIA_COLRQUERYREQ_EV/AP_MMIA_COLRQUERYCNF_EV

+                                                         ÆÁ±ÎÔÝδʵÏÖ¹¦ÄܵÄʼþºÅ£ºAP_MMIA_CAEMLPPSETREQ_EV  /AP_MMIA_CAEMLPPQUERYREQ_EV /AP_MMIA_CFCSSETREQ_EV

+                                                                                 AP_MMIA_CAAPSETREQ_EV/AP_MMIA_CAEMLPPQUERYCNF_EV /AP_MMIA_CAAPQUERYCNF_EV 

+                                                                                 AP_MMIA_CAAPTESTCNF_EV 

+                                

+                                                     4)Ôö¼ÓIMEI/IMSI²éѯºÍ֤ʵµÄÏûϢʼþºÅ AP_MMIAÖ®¼ä

+                                                         AP_MMIA_QUERYIMSIREQ_EV/AP_MMIA_QUERYIMEIREQ_EV/AP_MMIA_QUERYIMSICNF_EV/AP_MMIA_QUERYIMEICNF_EV

+        

+                                                     5)Ôö¼ÓºÍÐÞ¸ÄSSÄ£¿éÓÅ»¯µÄʼþºÅ MMIASSÖ®¼ä,¶¨Ê±Æ÷ÏûÏ¢

+                                                         Ôö¼Ó:MMIASS_COLRREADREQ_EV/MMIASS_ABORTREQ_EV/MMIASS_COMMONCNF_EV/SS_WAIT_TIMER_EXPIRY_EV

+                                                              MMIASS_CUSDMTIND_EV

+

+                                                         ɾ³ý:MMIASS_CAEMLPPSETREQ_EV/MMIASS_CAEMLPPREADREQ_EV/MMIASS_CPWDSETCNF_EV/MMIASS_CCFCSETCNF_EV

+                                                              MMIASS_CCWASETCNF_EV/MMIASS_CAEMLPPSETCNF_EV/MMIASS_CAEMLPPREADCNF_EV/MMIASS_FORWARDCHECK_IND_EV 

+                                                              SS_T5000_EXPIRY_EV/MMIASS_CUSDUNSCNF_EV

+             

+                                                     6)Ôö¼ÓºÍÐÞ¸ÄSMÄ£¿éÓÅ»¯µÄʼþºÅ MMIASMÖ®¼ä,¶¨Ê±Æ÷ÏûÏ¢

+                                                         ɾ³ý:

+                                                           MMIASM_PDPSTATUSREQ_EV¡¢MMIASM_NEGQOSREQ_EV¡¢MMIASM_PDPADDRREQ_EV¡¢

+                                                           MMIASM_CAUSEREQ_EV¡¢MMIASM_PDPACTREJ_EV¡¢MMIASM_QUERYPDPINFOREQ_EV¡¢

+                                                           MMIASM_PDPDEACTIVATEIND_EV¡¢MMIASM_PDPSTATUSCNF_EV¡¢MMIASM_NEGQOSCNF_EV¡¢

+                                                           MMIASM_PDPADDRCNF_EV¡¢MMIASM_CAUSECNF_EV¡¢MMIASM_QUERYPDPINFOCNF_EV

+                                                           SM_ATHRELEASE_EXPIRY_EV¡¢AP_MMIA_SMQUERYCAUSECNF_EV¡¢AP_MMIA_SMQUERYCAUSEREQ_EV

+                                                        Ôö¼Ó:

+                                                           MMIASM_QUERYNEGQOSREQ_EV¡¢MMIASM_QUERYNEGEQOSREQ_EV¡¢MMIASM_QUERYACTCIDREQ_EV¡¢

+                                                           MMIASM_QUERYPDPSTATUSREQ_EV¡¢MMIASM_QUERYPDPADDRREQ_EV¡¢MMIASM_QUERYPDPCAUSEREQ_EV¡¢

+                                                           MMIASM_MTACTANSREQ_EV¡¢MMIASM_IPPDPACTREQ_EV¡¢MMIASM_OPENCHRSP_EV¡¢

+                                                           MMIASM_QUERYIDLECHRSP_EV¡¢MMIASM_GETPCORSP_EV¡¢MMIASM_QUERYNEGQOSCNF_EV¡¢

+                                                           MMIASM_QUERYNEGEQOSCNF_EV¡¢MMIASM_QUERYACTCIDCNF_EV¡¢MMIASM_QUERYPDPSTATUSCNF_EV¡¢

+                                                           MMIASM_QUERYPDPADDRCNF_EV¡¢MMIASM_QUERYPDPCAUSECNF_EV¡¢MMIASM_CGEVIND_EV¡¢

+                                                           MMIASM_IPPDPACTCNF_EV¡¢MMIASM_OPENCHIND_EV¡¢MMIASM_CLOSECHIND_EV¡¢

+                                                           MMIASM_QUERYIDLECHIND_EV¡¢MMIASM_GETPCOIND_EV¡¢MMIASM_COMMONCNF_EV¡¢

+                                                           MMIASM_CONNECTIND_EV¡¢MMIASM_NOCARRIERCNF_EV

+                                                           SM_AUTOANSMTACT_EXPIRY_EV

+                                                    7)Ôö¼ÓAP_MMIA_CAUSEQUERYREQ_EV, AP_MMIA_CAUSEQUERYCNF_EV

+                                                       ɾ³ýAP_MMIA_SMSABORTMOREQ_EV/AP_MMIA_ABORTSEARCHPLMNREQ_EV

+  

+76          2009.9.10       ºÎ½¨Î°        1)Ôö¼ÓLTEÖÆÊ½ÏÂÏà¹ØµÄʼþºÅ

+                                       ½»¶            2)½«AP_MMIA_EVENT_UICC_ENDºêÖµÔö¼Ó1

+   

+77          2009.9.16       Ó鱗        ½«SIG_CODE.HÖÐÔ­À´²¿·ÖSDLÏûÏ¢£¨ÕâЩÏûÏ¢µÄÔ´ºÍĿǰģ¿é¶¼¸ÄΪÁËÆÕͨÈÎÎñ£©µÄ¶¨Ò壬¸ÄΪÆÕͨÈÎÎñÏûÏ¢µÄ¶¨Òå

+

+78          2009.9.27        ÍõС½ø            ΪʵÏÖ´æ´¢¹ÜÀí¹¦ÄÜÔö¼ÓÈçÏÂÏûÏ¢:

+                                                            AP_MMIA_SMSCPMSTESTREQ_EV,AP_MMIA_SMSZMENAREQ_EV,AP_MMIA_SMSCPMSTESTCNF_EV,

+                                                            AP_MMIA_CPBSTESTREQ_EV,AP_MMIA_CPBRSETENDCNF_EV,AP_MMIA_CPBSTESTCNF_EV,

+                                                            AP_MMIA_PBPREFMSGSTOREQ_EV,AP_MMIA_PBPREFMSGSTOTESTREQ_EV,AP_MMIA_PBTPMRUPDATEREQ_EV,

+                                                            AP_MMIA_PBMEMCAPAREQ_EV,AP_MMIA_PBMTPARAIND_EV,AP_MMIA_PBEMERNUMLISTIND_EV,

+                                                            AP_MMIA_PBSTOSETREQ_EV,AP_MMIA_PBSTOTESTREQ_EV,AP_MMIA_PBFINDINDEXENDCNF_EV,

+                                                            AP_MMIA_PBPREFMSGSTOCNF_EV,AP_MMIA_PBPREFMSGSTOTESTCNF_EV,AP_MMIA_PBCOMMONCNF_EV  ,

+                                                            AP_MMIA_PBINITCMPLTIND_EV,AP_MMIA_ZPBICIND_EV,

+

+79          2009.9.28        ΤÓñÕä           ±ÜÃâ3GÖ÷ģʽÏ£¬¸ø³öGAPºó£¬ÓÖ·¢ÆðËæ»ú½ÓÈë¹ý³Ì¶øµ¼ÖµÄÉäÆµÍ¬ÇÀ¶øÔö¼ÓµÄÏûÏ¢:

+                                                            CUMAC_URRCAMEASSUSPENDREQ_EV

+                                                             CUMAC_URRCAMEASRESUMEREQ_EV

+                                                            P_GSM_RACH_ACTIVE_CNF_EV  

+80          2009.9.28        ½ª²¨           Ôö¼ÓUSIRÖÜÆÚÐÔ½ÓÊÕϵͳÐÅÏ¢µÄ¶¨Ê±Æ÷³¬Ê±Ê¼þºÅ:

+                                                            USIR_TIMER_R_EXPIRY_EV

+

+81           2009.9.28          ³Â¹â»ª    1)AP-MMIA SMSÏûÏ¢ºÅ¶¨Ò壬Ôö¼Ó

+                                                             AP_MMIA_CPMSTESTREQ_EV

+                                                             AP_MMIA_CPMSTESTCNF_EV

+                                                             AP_MMIA_SMSZPBICIND_EV  

+82           2009.9.28          ½¯Õ×´º    1)Ôö¼ÓUMM/GSMA½Ó¿ÚÏûÏ¢UMMAS_TBFRELEASEIND_EV

+                                                            2)Ôö¼ÓUMM¶¨Ê±Æ÷ÏûÏ¢UMM_TLIST_EXPIRY_EV

+

+83          2009.9.28            ½»¶                  1¡¢Ôö¼Ó»ñÈ¡PSDEVÊý¾ÝʼþºÅ

+                                                                   GVAR_UICC_DEV_GETREQ_EV 

+                                                                   GVAR_UICC_DEV_GETCNF_EV 

+                                                                   2¡¢Ôö¼Ó¹Ø¿¨È·ÈÏÏûÏ¢£ºAP_UICC_PWROFFCNF_EV

+                                                                   3¡¢È¡Ïû¹Ø¿¨¶¨Ê±Æ÷ÏûÏ¢£ºUICC_TIMER_EXPIRY_EV

+84          2009.9.29            ½»¶                  1¡¢Ôö¼ÓPBʼþºÅ

+                                                                            AP_MMIA_PBSTOTESTCNF_EV 

+85          2009.9.30            ʯ×ÚÀ¤              1¡¢AP-MMIA¼äʼþºÅÒÑʹÓÃÁË510¸ö£¬ÐèÔö¼ÓAP_MMIA_EVENT_BASEµÄ¿Õ¼ä£¬´Ó500£­>600

+

+86          2009.10.19          ÑîÔÊ       1¡¢ Ôö¼ÓMM¶¨Ê±Æ÷³¬Ê±Ê¼þºÅ¶¨Ò壺      MM_TWRRR_EXPIRY_EV

+87          2009.10.27           Ç®¿¡       1)Ϊ֧³ÖEGPRS,Ôö¼Ó2GÍø²àÄ£ÄâʼþºÅNGMAC_NGRLC_EPDAN_IND_EV,

+                                               NGRLC_NGRLC_PUAN_REQ_EV,NGRLC_FILL_DATA_QUEUE_REQ_EV,L1SIMU_NGRLC_DATA_IND_EV

+88          2009.10.27           ÍõС½ø    ËæEÐУ¬Ôö¼ÓʼþºÅ:

+                                           AP_MMIA_CCMTCRSP_EV,AP_MMIA_CONNIND_EV,AP_MMIA_ORIGIND_EV,

+                                           AP_MMIA_CONFIND_EV,AP_MMIA_CENDIND_EV,MMIACC_DISCCNF_EV

+                                           

+89         2009.11.09          ÑîÔÊ      1¡¢Ôö¼ÓÁËMMIAºÍUMMÖ®¼äÔö¼ÓSYSCONFIGÏà¹ØÏûÏ¢ºê¶¨Ò壺

+                                                               MMIAUMM_SYSCONFIGREQ_EV¡¢MMIAUMM_COMMONCNF_EV£»

+                                                          2¡¢Ôö¼ÓÁËUMMºÍASÖ®¼äϵͳÅäÖÃÏûÏ¢ºê¶¨Ò壺

+                                                               UMMAS_UPDATESYSCONFIGREQ_EV ¡£ 

+90          2009.11.12           ½ª²¨/Ëﳤ½­      ×Óϵͳ·½°¸ÐÞ¸Ä

+                                           1.USIR_TBCCHMOD_EXPIRY_EV,UCSR_TBARGSMCELL_EXPIRY_EV

+                                           2.URRCº¯ÊýÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨ÒåÖÐÔö¼ÓÏûÏ¢ºÅ:

+                                                URRC_FUNC_RELSCCPCHSTOPMACREQ_EV

+                                                URRC_FUNC_RESUMEFACHCFGREQ_EV

+91        2009.11.17           ³Â¹â»ª

+                                           MMIA£­SMSÏûÏ¢ºÅ¶¨ÒåÖÐÐÂÔö£ºMMIASMS_COMMONCNF_EV

+

+92       2009.11.17           ÍõС½ø    ËæEÐУ¬Ôö¼ÓʼþºÅ:

+                                           AP_MMIA_CCMTCRSP_EV,AP_MMIA_CONNIND_EV,AP_MMIA_ORIGIND_EV,

+                                           AP_MMIA_CONFIND_EV,AP_MMIA_CENDIND_EV,MMIACC_DISCCNF_EV

+

+93       2009.11.18           ÑîÎÄÇ¿    Ôö¼ÓEDGEÖ§³ÖµÄÏà¹ØÊ¼þºÅ:

+                                          TOOL_NGRLC_MODE_CFG_REQ_EV£¬NGRLC_TOOL_UL_DATABLOCK_IND_EV £¬

+                                          TOOL_NGRLC_DUMMYBLOCK_REQ_EV £¬DOWNLINK_DUMMY_BLOCK_REQ_EV£¬

+                                          TOOL_NGRLC_DOWNLINKBLOCK_REQ_EV 

+94      2009.12.14           ÑîÔÊ Ôö¼Ó¼à¿ØÑ°ºôµÄ¶¨Ê±Æ÷ÏûÏ¢ºÅ:(CQNJ00137720) 

+                                         GMM_TPAGE_EXPIRY_EV, MM_TWPGR_EXPIRY_EV;

+ 

+95       2009.12.16           ÍõС½ø    1)Ôö¼ÓËæEÐÐÏà¹ØÊ¼þºÅ:

+                                          MMIACC_CLOSEVOICECHNLIND_EV,MMIACC_OPENVOICECHNLIND_EV,AP_MMIA_PBSFINDINDEXCNF_EV

+                                          AP_MMIA_PBSFINDINDEXENDCNF_EV,AP_MMIA_PBSEDITCNF_EV,AP_MMIA_PBSCPBRTESTCNF_EV,

+                                          AP_MMIA_PBSCPBWTESTCNF_EV,AP_MMIA_PBCNUM_CNF,AP_MMIA_PBCLCKSTATUSCNF_EV

+                                          AP_MMIA_PBSFINDINDEXREQ_EV,AP_MMIA_PBSEDITREQ_EV,AP_MMIA_PBCNUM_REQ

+                                          AP_MMIA_PBCLCKSETREQ_EV,AP_MMIA_PBSCPBRTESTREQ_EV,AP_MMIA_PBSCPBWTESTREQ_EV

+                                          AP_MMIA_PBUICCOKIND_EV,AP_MMIA_SCPBRSETCNF_EV   ,AP_MMIA_SCPBRSETENDCNF_EV

+                                          AP_MMIA_SCPBRTESTCNF_EV,AP_MMIA_SCPBWTESTCNF_EV  ,AP_MMIA_CNUMCNF_EV       

+                                          AP_MMIA_SCPBRSETREQ_EV ,AP_MMIA_SCPBRTESTREQ_EV,AP_MMIA_SCPBWTESTREQ_EV

+                                          AP_MMIA_SCPBWSETREQ_EV ,AP_MMIA_CNUMREQ_EV     ,AP_UICC_CRSM_CNF_EV

+                                          AP_UICC_COMMONCNF_EV,

+                                        2)ÐÞ¸ÄPB,UICCʼþºÅ·¶Î§Öµ:

+                                          AP_MMIA_PB_RSP_EVENT,AP_MMIA_EVENT_PB_END

+                                          AP_MMIA_EVENT_UICC_END,AP_UICC_EVENT_END

+ 

+96          2009.12.07            ³ÂÎÄ              Ôö¼Ó¶ÁдIMEIµÄʼþºÅTEST_SET_NV_DATA_IMEI_EV

+                                                    Ôö¼ÓCRSMÃüÁîʼþºÅAP_UICC_CRSM_REQ_EV

+                                                    Ôö¼ÓUICCÄ£¿éµÄͨÓÃʼþºÅ AP_UICC_COMMONCNF_EV

+

+97       2010.01.05          ΤÓñÕä  Ôö¼ÓURRCINTRA_GETSERVCELLINFO_EV,ÒÔ±ãÔÚMSGTRACEÖÐÏÔÊ¾ÊµÊ±Ð¡ÇøÐÅÏ¢           

+

+98          2010.01.08       Ëïºóɽ     Ôö¼ÓPDIµãµÆºÍÏúÁ¿Í³¼Æ¶¨Ê±Æ÷³¬Ê±Ê¼þºÅ¶¨Ò壺

+                                        PDI_SWITCHLEDTIMER_EXPIRY_EV£¬

+                                        PDI_WAITDNSACKTIMER_EXPIRY_EV£¬

+                                        PDI_WAITZSSACKTIMER_EXPIRY_EV£¬

+

+99       2010.01.09           ÍõС½ø    1)Ôö¼ÓÏúÁ¿Í³¼ÆÏà¹ØÊ¼þºÅ:

+                                                AP_MMIA_SELL_STAT_SWITCHSETREQ_EV,AP_MMIA_SELL_STAT_SWITCHQUERYREQ_EV,AP_MMIA_SELL_STAT_UDPINFOQUERYREQ_EV

+                                                AP_MMIA_SELL_STAT_TESTSENDREQ_EV,AP_MMIA_SELL_STAT_DOMAINSETREQ_EV,AP_MMIA_SELL_STAT_DOMAINQUERYREQ_EV,

+                                                AP_MMIA_SELL_STAT_CRCSETREQ_EV,AP_MMIA_SELL_STAT_CRCQUERYREQ_EV,AP_MMIA_SELL_STAT_DEBUGSETREQ_EV,

+                                                AP_MMIA_SELL_STAT_DEBUGQUERYREQ_EV,AP_MMIA_SELL_STAT_PORTSETREQ_EV,AP_MMIA_SELL_STAT_PORTQUERYREQ_EV,

+                                                AP_MMIA_SELL_STAT_TRITYPEQUERYREQ_EV,AP_MMIA_SELL_STAT_DNSCNTQUERYREQ_EV,AP_MMIA_SELL_STAT_SWITCHQUERYCNF_EV,

+                                                AP_MMIA_SELL_STAT_UDPINFOQUERYCNF_EV,AP_MMIA_SELL_STAT_DOMAINQUERYCNF_EV,AP_MMIA_SELL_STAT_CRCQUERYCNF_EV,

+                                                AP_MMIA_SELL_STAT_DEBUGQUERYCNF_EV,AP_MMIA_SELL_STAT_PORTQUERYCNF_EV,AP_MMIA_SELL_STAT_TRITYPEQUERYCNF_EV,

+                                                AP_MMIA_SELL_STAT_DNSCNTQUERYCNF_EV,MMIASM_CIDDEACTIND_EV,MMIAPDI_SELLSTAT_STARTSENDPACKETIND_EV,

+                                                MMIAPDI_SELLSTAT_ABORTIND_EV,MMIA_SELLSTAT_ONEPDP_EXPIRY_EV,MMIA_SELLSTAT_SUMPDP_EXPIRY_EV,

+                                                MMIA_SELLSTAT_REG_EXPIRY_EV

+                                            ÐÞ¸ÄAP_MMIA_UICC_RSP_EVENT£¬AP_MMIA_EM_RSP_EVENT

+                                          2) Ôö¼ÓZIMGE,ZGIIDFʼþºÅ

+                                          AP_MMIA_ZIMGREQ_EV,AP_MMIA_ZGIIDFREQ_EV,AP_MMIA_ZIMGCNF_EV,AP_MMIA_ZGIIDFCNF_EV

+                                          3)´æ´¢ÁоÙÏûÏ¢µÄ֪ͨÏûÏ¢

+                                          AP_MMIA_PBCPBRIND_EV,AP_MMIA_PBCPBFIND_EV,AP_MMIA_PBSCPBRIND_EV,AP_MMIA_PBCMGLIND_EV

+ 

+100        2010.01.21       ʯ×ÚÀ¤     ½«UMCR-UPHY¸ÄΪUMACÉÏÏÂÐÐÁ½¶Î£¬Í¬Ê±½«ÏÂÁÐÏûÏ¢IDµÄ»ùµØÖ·¶¨Òå´ÓUMCR-UPHY¸ÄΪUMAC_DL-UPHY£º

+                                         P_QUALITY_MEAS_REQ_EV 

+                                          P_UE_INTERNAL_MEAS_REQ_EV  

+                                          P_QUALITY_MEAS_IND_EV

+                                         P_UE_INTERNAL_MEAS_IND_EV 

+

+101        2010.02.05      ³ÂÎÄ        Ôö¼ÓUICCʼþºÅ

+                                       UICC_CARDDETECT_EXPIRY_EV

+                                       AP_UICC_UICCUNSYNCIND_EV

+

+102        2010.02.20      ÕÅÅô³Ì        Ôö¼ÓL1TʼþºÅ

+                                       P_ABORT_FREQ_SCAN_CNF_EV,P_ABORT_CELL_SEARCH_CNF_EV,P_BCH_RELEASE_CNF_EV,

+                                      P_CAMPON_A_CELL_CNF_EV,P_CHECK_RF_IND_EV£¨´¦ÀíÉ䯵³åÍ»£©,P_DPCH_CFG_FINAL_EV£¨¸ÃÏûÏ¢²»·¢µ½DPRAM£©,

+                                      P_DPCH_REL_CNF_EV,P_REL_SCCPCH_CNF_EV,P_STOP_PAGING_CNF_EV,P_STOP_CBS_CNF_EV

+                                      P_REL_HSDPA_CNF_EV,P_REL_HSUPA_CNF_EV,P_ACTIVE_IND_EV£¨´¦Àí¼¤»îʱ¼äµ½£©

+                                      P_RACH_PRCEDURE_CNF_EV,P_ERUCCH_PRCEDURE_CNF_EV

+

+103         2010.02.20    YANGYUN  ÐÞ¸ÄÖÆÊ½¼äÖØÑ¡£¬Ìí¼ÓʼþºÅ£º

+                                        UMMAS_CELLRESSTARTIND_EV

+

+104        2010.03.09       ʯ×ÚÀ¤     ÐÞ¸ÄL1TµÄÈýÌõÏûÏ¢ID£º

+                                         P_DPCH_CFG_FINAL_EV¸ÄΪP_L1_RESOURCE_CFG_FINAL_EV 

+                                         P_RACH_PRCEDURE_CNF_EV¸ÄΪP_RACH_PROCEDURE_CNF_EV

+                                          P_ERUCCH_PRCEDURE_CNF_EV¸ÄΪP_ERUCCH_PROCEDURE_CNF_EV

+

+101     2010 .03.11     ׿Խ/ºÎ«‘    Ôö¼ÓÏûÏ¢£º

+                                       URRCINTRA_GETNCELLINFO_EV

+                                       MSGTRACEPS_CELLDISPLAYREQ_EV

+                                       GRR_GETSCELL_INFO_EV

+                                      GRR_CELLINFOLISTIND_EV 

+

+102     2010 .03.12     ËïȪ    Ôö¼ÓÏûÏ¢£º

+                                       MMIASS_USSDCANCELREQ_EV

+

+103     2010 .03.17     ³Â¹â»ª    Ôö¼ÓSMS¶¨Ê±Æ÷ʼþºÅ£º

+                                     SMS_TWSI_EXPIRY_EV  

+  

+104     2010.3.30       ×ÞÑÞ     Ôö¼Ó2GÏÂTCHÊÍ·ÅʱGSMAÉϱ¨¸øCCµÄÏûÏ¢

+                                    GMMAS_CCTCHRELIND_GSM_EV

+

+105     2010 .04.04     ½ª²¨    ÐÞ¸ÄÁбí¹ý³Ìʱ³¤Ïà¹ØÐÞ¸Ä

+                                      ½«PS_UMMAS_ABORTPLMNREQ_EV ÐÞ¸ÄΪ UMMAS_STOPPLMNLISTREQ_EV

+                                      ½«UMMAS_ABORTCNF_EV ÐÞ¸ÄΪ UMMAS_ABORTHPPLMNCNF_EV

+                                     Ôö¼Ó³¬Ê±ÏûÏ¢: UMM_TPLMNLIST_EXPIRY_EV  

+

+106    2010 .04.06     ½ª²¨    Ôö¼ÓURRCÄÚ²¿Ê¼þºÅ£º

+                                     URRCINTRA_SENDBUFESTREQ_EV

+                                     URRCINTRA_ABORTCCOREQ_EV 

+ 

+107    2010 .04.13     ½ª²¨    Ð޸ı»BAR´¦ÀíÏà¹Ø£¬Ôö¼ÓÁ½¸öʼþºÅ

+                                     URRCINTRA_BARRESUMEIND_EV

+                                     UCSR_TBARFREQ_EXPIRY_EV

+

+108    2010 .04.23     ½»¶    ÐÞ¸ÄSUBMODE,Ôö¼ÓʼþºÅ

+                                     MMIAAS_SUBMODEIND_EV

+

+ 109    2010 .04.24     ËÕá°    Ôö¼ÓUMAC-ULÏòUMAC-DL֪ͨÏÂÐÐÅäÖõı仯

+                                     CUMAC_ACTDLCFG_EV 

+

+110     2010.04.29      ½¯Õ×´º    Ôö¼ÓUMM¶ÔMMIAËÑÍøÇëÇóµÄ»Ø¸´£¬Ê¼þºÅ

+                                     MMIAUMM_SEARCHPLMNCNF_EV

+

+111    2010.04.30      ½¯Õ×´º    ɾ³ý UMM_TPROC_EXPIRY_EV

+                                 Ôö¼Ó UMM_TUICCINIT_EXPIRY_EV

+                                      UMM_TCAMP_EXPIRY_EV    

+                                      UMM_TDETACH_EXPIRY_EV  

+

+ 112    2010 .05.04     ʯ×ÚÀ¤    Ôö¼ÓR7Ö§³Ö

+ 

+ 113   2010.05.14     Éòº®  Ôö¼ÓGSMA֪ͨUCSR2GפÁô³É¹¦µÄָʾ

+                                    URRCGRR_GSMCAMPSUCCIND_EV

+

+ 114      2010.05.20     ʯ×ÚÀ¤  UICCÏûÏ¢ÒѾ­³¬³öÔ­ÓеÄÇø¼ä£¬Õ¼ÓÃÁËÆäËûÄ£¿éµÄÏûÏ¢Çø¼ä£¬µ÷ÕûUICCµÄÏûÏ¢Çø¼ä

+

+115        2010.05.22    ÑîÔÊ  Ôö¼ÓCS¡¢PS¸½×Å״̬²éѯÏûÏ¢

+                                      MMIAUMM_CGATTQUERYREQ_EV

+                                     MMIAUMM_ZATTQUERYREQ_EV

+                                    MMIAUMM_CGATTQUERYCNF_EV

+                                    MMIAUMM_ZATTQUERYCNF_EV 

+

+116        2010.05.25   ÑîÔÊ  Ôö¼ÓUMM֪ͨGMMÖÆÊ½¸ü¸Ä³É¹¦ÏûÏ¢

+                                     UMM_RATCHNIND_EV

+

+ 117    2010 .05.24     ÍõС½ø    Ôö¼ÓAP_MMIA_ESMTFADTESTREQ_EV

+                                      AP_MMIA_ESMTFADTESTCNF_EV

+

+ 118    2010 .05.29     ³ÂÎÄ    Ôö¼Ó£º

+                                 AP_UICC_ACTIVEORDEACTIVEFILEREQ_EV¡¢AP_UICC_ACTIVEORDEACTIVEFILECNF_EV

+

+119      2010.06.07      ʯ×ÚÀ¤  ÐÞ¸ÄÉϱ¨MSGTRACE·þÎñÐ¡ÇøºÍÁÚÇøµÄ·½Ê½

+                                      Ôö¼Ó£ºMSGTRACEPS_SCELLINFOIND_EV£¨·þÎñÐ¡ÇøÐÅÏ¢£©¡¢MSGTRACEPS_NCELLINFOIND_EV£¨ÁÚÇøÐÅÏ¢£©

+                                      ɾ³ýÔ­ÓеÄÏûÏ¢£º

+                                      URRCINTRA_GETSERVCELLINFO_EV

+                                      GRR_GETSCELL_INFO_EV 

+                                      GRR_CELLINFOLISTIND_EV 

+                                      URRCINTRA_GETNCELLINFO_EV 

+

+120        2010.06.08   ÍõС½ø  ΪUSATÃüÁîÔÚ90 00ʱÔö¼ÓÖ÷¶¯Éϱ¨ÏûÏ¢

+                                     AP_UICC_NOPROCNOTIFYIND_EV, AP_MMIA_USAT_NOPROCNOTIFYIND_EV

+

+121       2010.06.08      ʯ×ÚÀ¤  ½«RRAT_RXSTAT_IND¡¢RRMI_RXSTAT_IND¡¢RR_EM_HO_INFO_IND¡¢RR_EM_CELL_INFO_IND

+                                                     ÒÆµ½PSEVENT.HÖÐÈ¥

+121       2010.07.02      ÍõÀò£¨Ó¦¸ßÏè148604ÒªÇóÐ޸ģ©  Ôö¼Ó

+                                       P_BLIND_UARFCN_INTER_FREQ_MEAS_IND_EV¡¢

+ 

+122       2010.07.08      ʯ×ÚÀ¤ ½«P_RESEL_GSMCELL_START_REQ_EV¡¢P_RESEL_GSMCELL_START_CNF_EVÌæ»»Îª

+                                   P_TD_RF_REL_REQ_EV¡¢P_TD_RF_REL_CNF_EV

+                                 ½«P_RESEL_GSMCELL_SUCC_REQ_EV¡¢P_RESEL_GSMCELL_SUCC_CNF_EVºÍ

+                                   P_TD_CLOSE_REQ_EV¡¢P_TD_CLOSE_IND_EVÌæ»»Îª

+                                   P_TD_RESET_REQ_EV¡¢P_TD_RESET_CNF_EV

+                                 ÐÂÔöP_TD_RF_RESUME_REQ¡¢P_ABORT_GSM_GAP_CNF_EV

+

+123       2010.07.08      ¸ßÏè   È¥³ýÏûÏ¢¶¨ÒåP_INTER_FREQ_BLIND_MEAS_IND_EV

+

+124    2010 .07.10     ¹Ë±¦³É    Ôö¼Ó£º

+                                 SM_PDCP_HCMODIND_EV

+

+125       2010.07.10      ΤÓñÕä Ôö¼ÓRRCÄÚ²¿Ê¼þºÅ£ºURRCINTRA_CHANGECAMPONTYPE_EV   CSR֪ͨ

+                                 MCR ÈÎÒâפÁôתºÏÊÊפÁô»òÕßÊǺÏÊÊתÈÎÒâ

+

+126       2010.07.10      ÕÔÕñ»ÔÔö¼ÓÏûÏ¢:

+                                      MMIAESM_ABORTREQ_EV

+

+127       2010.07.10    ÕÔÕñ»Ôɾ³ýÏûÏ¢MMIAESM_MTEPSBEARERACT_CNF_EV

+                                 

+128       2010.07.10      ÍõС½øÔö¼Ó £º

+                          AP_UICC_EFSTATUSQUERYREQ_EV, AP_UICC_EFSTATUSMODIFYREQ_EV

+                          AP_UICC_EFSTATUSQUERYCNF_EV,AP_UICC_EFSTATUSMODIFYCNF_EV

+

+129       2010.07.10     ÕÔÕñ»ÔÔö¼ÓÏûÏ¢:

+                                      AP_MMIA_PBCHGINDEXIND_EV

+                                      AP_MMIA_CHGINDEXIND_EV

+

+130       2010.07.10    ÕÔÕñ»ÔΪ×Û²âÔö¼ÓÏûÏ¢AP_MMIA_AUTOSTARTREQ_EV

+

+131       2010.08.18    ÕÔÕñ»ÔÔö¼ÓÏûÏ¢AP_MMIA_CGEQOSSETREQ_EV¡¢AP_MMIA_CGEQOSQUERYREQ_EV

+                                                                     AP_MMIA_CGEQOSQUERYCNF_EV¡¢AP_MMIA_CGEQOSRDPREQ_EV

+                                                                     AP_MMIA_CGEQOSRDPCNF_EV¡¢MMIAESM_QUERYPDPADDRCNF_EV

+                              ɾ³ýÏûÏ¢MMIAESM_ABORTREQ_EV¡¢AP_MMIA_ESMQOSQUERYREQ_EVºÍAP_MMIA_ESMQOSQUERYCNF_EV

+                              µ÷ÕûMMIAºÍATIÏûÏ¢Çø¼ä            

+

+132       2010.08.26    ÑîÔÊ  Ôö¼ÓÏûÏ¢£ºUMMAS_UPDATELTEACT_EV¡¢MMIAUMM_SETLTEACT_REQ_EV

+

+133        2010.09.13  ÕÔÕñ»Ô  Ôö¼ÓÏûÏ¢AP_MMIA_ZEACTSETREQ_EV¡¢AP_MMIA_ZEACTREADREQ_EVºÍ

+                                            AP_MMIA_ZEACTREADCNF_EV

+

+134       2010.09.14    ³Â¹â»ª  Ôö¼ÓÏûÏ¢GMMAS_SAPI3RELIND_EV

+

+135       2010.09.25    ÍõС½ø  ½â¾ö֪ͨSTMËø¿¨ºÍ½âËø£¬Ôö¼ÓÏûÏ¢AP_UICC_CARDLOCKSTATUSIND_EV

+

+136       2010.09.27    ÀîÎľ²  Ôö¼Ó¡¢µ÷ÕûLTEÏà¹ØÏûÏ¢

+

+137      2010.10.18    Ëﳤ½­ È¥µôÏûÏ¢ºÅ£ºP_CBS_NODRX_REQ_EV¡¢ P_CBS_DRX_REQ_EVµÄ¶¨Ò壻

+                                  ºóÃæµÄÏûÏ¢µÄʼþºÅÍ¬Ê±Ç°ÒÆ£¬ÓУºP_ADD_MODIFY_CBS_REQ_EV¡¢P_STOP_CBS_REQ_EV¡¢P_L1_RESOURCE_CFG_FINAL_EV¡¢

+                                   P_ADD_HSUPA_REQ_EV¡¢P_REL_HSUPA_REQ_EV¡¢P_PLCCH_ADD_MODIFY_REQ_EV

+

+137      2010.10.28    ΤÓñÕä   Ôö¼ÓÏûÏ¢UMCR_TBSIC_EXPIRY_EVÖ§³ÖTD϶ÔGSMÐ¡ÇøÍ¬²½ÐÅÏ¢µÄÓÐЧÆÚά»¤

+138      2010.10.29    ÁõÒí    Ôö¼ÓÏûÏ¢£ºUMMAS_UPDATESCANUEBANDFG_EV¡¢UMMAS_SCANUEBANDIND_EV

+                                ɾ³ýÏûÏ¢£ºUCSR_TFREQSCAN_EXPIRY_EV

+                                

+139       2010.11.05   YANGYUN Ôö¼ÓUMM_CELLNOCHANGEIND_EV

+

+140       2010.11.15   YANGYUN Ôö¼Ó CM_RRCRELIND_EVÏûÏ¢

+

+141      2010.11.29    ÀîÎľ²    ÐÞ¸ÄESM_EPDCP_EVENT_BASEµÄºê¶¨Òå

+

+142      2010.11.30    ÍõС½ø  ½â¾ö¿¨³õʼ»¯¹ý³ÌÖйػú»ØÏÔ´íÎóÎÊÌ⣬Ôö¼ÓÏûÏ¢ AP_UICC_PWROFFIND_EV

+                               PSDEVÐ޸ķ½°¸£¬Ôö¼ÓÏûÏ¢ AP_UICC_WRITEITEMIND_EV,AP_UICC_UPDATEITEMREQ_EV,AP_UICC_UPDATEITEMCNF_EV

+

+143      2010.12.1     ÕÔÕñ»Ô  Ôö¼ÓÏûÏ¢GVAR_ATMEM_DEV_GETREQ_EV¡¢GVAR_ATMEM_DEV_GETCNF_EV¡¢GVAR_NV_DEV_GETREQ_EV¡¢

+                               GVAR_NV_DEV_GETCNF_EV

+

+144      2010.12.15  ʷѧºì  ɾ³ýROHCµÄ¶¨Ê±Æ÷ÏûÏ¢ROHC_FO2IRTIMER_EXPIRY_EV¡¢ROHC_SO2IRTIMER_EXPIRY_EV£¬

+                                 Ôö¼ÓÒ»¸öÓÉSO¡¢FOµ½IRµÄ¶¨Ê±Æ÷ÏûÏ¢£ºROHC_IRTIMER_EXPIRY_EV

+

+145      2010.12.30 Ëﳤ½­  µ¥¶ÀµÄÐ¡Çø¸üйý³Ì£¬ÊÕµ½Á½ÌõTI²»Í¬µÄCUCÏûÏ¢µÄ´¦Àí£¬Ðèɾ³ý£º

+                                URRCINTRA_ABORTCFGREQ_EV

+

+146      2010.12.31     ׿±Ø²¨  CQNJ00240340    PSEVENT.HÖÐÓÐЩʼþºÅ¶¨ÒåËæ×Ű汾µÄÑݽøÒѾ­²»ÔÙʹÓÃ

+

+147      2010.12.31 ÍõС½ø ΪÔö¼Ó¿¨SEARCH¹¦ÄÜ£¬Ôö¼ÓÏûÏ¢ AP_UICC_PREPERSONRECSEARCHREQ_EV,AP_UICC_PREPERSNRECSRCHCNF_EV

+

+148      2011.1.28   ÕÔÕñ»ÔÔö¼ÓÏûÏ¢MMIASM_DISCONNECTREQ_EV¡¢AP_MMIA_DISCONNECTREQ_EV

+

+149      2011.1.30      ׿±Ø²¨  EC 614000686090     ½«MMIA£­SMÏûÏ¢ºÅ¶¨Òå°´ÊÇ·ñ

+                                ¶ÔÓ¦ATÃüÁî·ÖÀ࣬µ÷ÕûMMIASM_ABORTREQ_EVµÈ3ÌõÏûÏ¢µÄȡֵ

+150      2011.2.11 ÍõС½ø Ôö¼ÓÏûÏ¢AP_UICC_VERIFYPIN2REQ_EV£¬AP_UICC_VERIFYPIN2CNF_EV

+

+151      2011.01.25 ÕÔÕñ»ÔÔö¼ÓÏûÏ¢

+ AP_MMIA_CAOCSETREQ_EV ¡¢AP_MMIA_CAOCQRYREQ_EV¡¢AP_MMIA_CACMQRYREQ_EV¡¢AP_MMIA_CAMMQRYREQ_EV 

+ AP_MMIA_CPUCQRYREQ_EV¡¢AP_MMIA_CCWEQRYREQ_EV¡¢AP_MMIA_CACMSETREQ_EV¡¢AP_MMIA_CAMMSETREQ_EV 

+ AP_MMIA_CPUCSETREQ_EV¡¢AP_MMIA_CCWESETREQ_EV¡¢AP_MMIA_CAOCSETCNF_EV¡¢AP_MMIA_CAOCQRYCNF_EV 

+ AP_MMIA_CACMQRYCNF_EV¡¢AP_MMIA_CAMMQRYCNF_EV¡¢AP_MMIA_CPUCQRYCNF_EV¡¢AP_MMIA_CCWEQRYCNF_EV 

+ AP_MMIA_CCCMIND_EV¡¢AP_MMIA_CCWVIND_EV¡¢MMIACC_CCMQUERYREQ_EV¡¢MMIACC_CCMQUERYCNF_EV

+ MMIACC_CCWVIND_EV¡¢MMIACC_NOTIFYAOCTIMERIND_EV

+

+152      2011.03.01  ÕÔÕñ»Ô Ôö¼ÓÏûÏ¢AP_UICC_ZPUKREQ_EV¡¢AP_MMIA_ZPUKREQ_EV

+

+153      2011.3.2 ÍõС½ø Ôö¼Ó¼Æ·Ñ¹¦ÄÜ£¬Ôö¼ÓÏûÏ¢AP_UICC_INCREASEACMFAILIND_EV£¬

+                          AP_UICC_INCREASEREQ_EV£¬AP_UICC_RESETACMREQ_EV

+                  ¼Æ·Ñ¹¦ÄÜYUZHIMING²¹³ä  CC_TACMUPD_EXPIRY_EV ,CC_TCDUR_EXPIRY_EV

+

+154      2011.3.10 ZHANGCHONG  ͬ²½LTEÐÞ¸Ä

+

+155      2011.3.16 ʯ×ÚÀ¤  ÃüÃûÐÞ¸Ä

+

+156      2011.3.16 ʯ×ÚÀ¤  

+                         1£©Ôö¼ÓGSM PS HOÏûÏ¢id

+                         2£©Ôö¼Ó¶àÄ£Ïà¹ØÏûÏ¢idºÍASCÏà¹ØÏûÏ¢

+

+156      2011.3.16 ʯ×ÚÀ¤  

+                         1£©Ôö¼Ó¿ìËÙ˯ÃßÏûÏ¢CPDCP_SCRI_IND_EV/CPDCP_ULDATA_TRANSFER_REQ_EV

+

+157      2011.04.02   ÕÔÕñ»Ô

+                         1) ΪR9Éý¼¶Ôö¼ÓÏûÏ¢

+

+158      2011.04.23  ÕÔÕñ»Ô

+                         Õë¶ÔUICCÓÅ»¯£¬É¾³ýÎÞÓõÄÏûÏ¢AP_MMIA_UICC_INFO_REQ_EV ¡¢

+                         AP_MMIA_UICC_INFO_CNF_EV¡¢AP_MMIA_PIN_STATE_IND_EV

+ 

+159      2011.05.03  ÕÔÕñ»ÔΪ3GÃûƬ¼ÐÔö¼ÓÏûÏ¢AP_MMIA_ZCPBQ_SET_REQ_EV¡¢AP_MMIA_ZCPBQ_QUERY_REQ_EV

+                         AP_MMIA_ZEER_READ_REQ_EV¡¢AP_MMIA_ZCPBQ_SET_CNF_EV¡¢AP_MMIA_ZCPBQ_QUERY_CNF_EV

+                         AP_MMIA_ZEER_READ_CNF_EV¡¢AP_MMIA_PB_READ_CAPA_REQ_EV¡¢AP_MMIA_PB_READ_SET_NUM_REQ_EV¡¢

+                         AP_MMIA_PB_READ_LAST_EXT_ERR_REQ_EV¡¢AP_MMIA_PB_READ_CAPA_CNF_EV¡¢AP_MMIA_PB_READ_SET_NUM_CNF_EV¡¢

+                         AP_MMIA_PB_READ_LAST_EXT_ERR_CNF_EV

+160      2011.05.31  ʷѧºì

+                     Ôö¼ÓROHCv2¶¨Ê±Æ÷ÏûÏ¢ºÅÇø¶Î,Ôö¼ÓROHCv2_T_IR_EXPIRY_EVÏûÏ¢ºÅ

+

+161      2011.06.14  ÕÔÕñ»Ô

+                     Ôö¼Ó´¦Àí+ZIMIµÄÏûÏ¢AP_MMIA_SET_IMSI_REQ_EV

+

+162      2011.06.16  ËÎÑÇÅô

+                     Ôö¼ÓGMM¼à¿ØMSÖ÷¶¯ÇëÇóÊÍ·ÅÁ´½Ó¶¨Ê±Æ÷Z_GMM_Twrel³¬Ê±µÄÏûÏ¢GMM_T_WREL_EXPIRY_EV

+		             EC614000821119£ºGMMÄ£¿éÊÍ·ÅRRCÁ¬½ÓÔö¼ÓÎÕÊÖ¹ý³Ì£¬Ôö¼Ó¶¨Ê±Æ÷Twrel¼à¿Ø´Ë¹ý³Ì£¬Í¬Ê±ÐèÒªÔö¼Ó¶¨Ê±Æ÷³¬Ê±ÏûÏ¢

+163      2011.06.20  ¹ù·å

+                     EC614000815619£ºCM²ãÔÚUMM»»Íø¹ý³ÌÖÐÓÐÒµÎñÁ÷³Ì£¬²»¶ÏµÄ·¢ÆðCM_EST£»Í¨¹ý¶¨Ê±Æ÷À´¿ØÖÆÖØ·¢´ÎÊý

+

+ 164      2011.06.14  ÕÔÕñ»Ô

+                      Ôö¼ÓÏûÏ¢AP_MMIA_CS_SRV_IND_EV

+                      

+165     2011.06.30 Ëﳤ½­Ôö¼ÓPA+Éý¼¶ÐÞ¸Ä

+                      1£©URBC_UPHY_RSP_EVENTÓëURBC_UPHY_EVENT_BASEÖ®¼äµÄÆ«ÒÆÓÉ20±äΪ30£»

+		2£©Ôö¼ÓÏûÏ¢ºÅCSCI_UNRECOVER_ERR_EV£¬URRC_EFACH_CFG_IND_EV£¬CUMAC_CELL_RESEL_REQ_EV£¬CUMAC_HSPA_EPCH_CFG_REQ_EV£¬

+		CUMAC_UPDATE_ERNTI_REQ_EV£¬CUMAC_FACH_CFG_IND_EV£¬CUMAC_CELL_RESEL_CNF_EV£¬P_HSPA_PLUS_FACH_REQ_EV£¬P_HSPA_PLUS_PCH_REQ_EV

+		P_HSPA_PLUS_FACH_REL_REQ_EV£¬P_HSPA_PLUS_PCH_REL_REQ_EV£¬P_EFACH_UPDATE_RNTI_REQ_EV£¬P_CELL_RESEL_REQ_EV£¬P_CELL_RESEL_CNF_EV£¬P_SYNC_CMD_RESP_EV,

+		P_HSPA_PLUS_FACH_REL_CNF_EV,P_HSPA_PLUS_FACH_REL_CNF_EV

+		3£©P_DL_DPCH_SETUP_MODIFY_CNF_EV¸ÄÃûΪP_DL_RL_SETUP_MODIFY_CNF_EV

+

+ 166  2011.7.1 ¹Ë±¦³ÉÔö¼ÓÄ£ÄâPSIÏûÏ¢SIMULPSI_CONFIG_EV

+

+ 167  2011.7.7 ÕÔÕñ»ÔÔö¼Ó¶ÔCSѰºôµÄÓ¦´ðÏûÏ¢AP_MMIA_CS_SRV_RSP_EV

+ 168  2011.7.15 ÕÅÅô³ÌÔö¼ÓÖ§³ÖLTE±³¾°ËÑË÷¹¦ÄÜÐÂÔöµÄʼþºÅ

+      AP_MMIA_BGPLMNSEL_SETREQ_EV¡¢AP_MMIA_BGPLMNSEL_QUERYCNF_EV¡¢AP_MMIA_BGPLMNSEL_QUERYREQ_EV

+      MMIA_UMM_BGPLMNSEL_REQ_EV

+      UMM_ASC_TRY_BGPLMN_REQ_EV¡¢UMM_ASC_ABORT_BGPLMN_REQ_EV¡¢UMM_ASC_ABORT_BGPLMN_CNF_EV¡¢UMM_ASC_TRY_BGPLMN_REJ_EV¡¢UMM_ASC_TRY_BGPLMN_CNF_EV

+      ASC_LTE_TRY_BGPLMN_REQ_EV¡¢ASC_LTE_ABORT_BGPLMN_REQ_EV¡¢ASC_LTE_ABORT_BGPLMN_CNF_EV¡¢ASC_LTE_TRY_BGPLMN_REJ_EV¡¢ASC_LTE_TRY_BGPLMN_CNF_EV

+169  2011.7.18 Ëﳤ½­ Õë¶Ô614000878724 ɾ³ýÈçÏÂÏûÏ¢ºÅ

+    AS_LTE_TD_CSHO_REQ_EV¡¢AS_LTE_TD_CSHO_CNF_EV¡¢AS_LTE_TD_CSHO_REJ_EV

+170  2011.7.28 ½ª²¨ Õë¶Ô614000920283 Ôö¼ÓÈçÏÂÏûÏ¢ºÅ

+    ASC_LTE_LOCK_CELL_REQ_EV¡¢ASC_LTE_UNLOCK_CELL_REQ_EV¡¢ASC_LTE_LOCK_CELL_CNF_EV

+171  2011.8.2 ÅËÀÚ Ôö¼ÓÏûÏ¢ºÅUURLC_PDCP_DATA_IND_EV

+172  2011.8.2 Ëﳤ½­ ÏûÏ¢ºÅ¶¨ÒåÖØ¸´ÁË£¬ÐèҪɾ³ýÏûÏ¢ºÅCUMAC_RESEL_REQ_EV£¬CUMAC_RESEL_IND_EV

+173  2011.8.15 ³Â¹â»ªÔö¼ÓCBSÏûÏ¢ºÅCBS_ASC_CMAS_NOTIFY_IND_EV

+174  2011.8.17 ¿µÊé½ÜÔö¼ÓCSGÏûÏ¢ºÅEURRC_CSG_PROXIMITY_IND_EV

+175  2011.8.23 ¿µÊé½Üɾ³ýLTE_P_SWITCH_RF_REQ_EV,LTE_P_START_PAGING_REQ_EV,LTE_P_SWITCH_RF_CNF_EV

+                     Ôö¼ÓLTE_P_SLEEP_TIME_IND_EV£¬LTE_P_WAKEUP_REQ_EV

+176  2011.8.23 ÕÔÕñ»ÔΪCMMB/×¼FR/Refresh/·þÎñÁбí/CCOͳ¼ÆÔö¼ÓÏûÏ¢AP_MMIA_MB_AUTH_REQ_EV¡¢

+ AP_MMIA_MB_CELL_ID_REQ_EV¡¢AP_MMIA_PSEUDO_FR_SET_REQ_EV¡¢AP_MMIA_PSEUDO_FR_QUERY_REQ_EV¡¢

+ AP_MMIA_REFRESH_REQ_EV¡¢AP_MMIA_CARD_SRV_LIST_QRY_REQ_EV¡¢AP_MMIA_MB_AUTH_CNF_EV  ¡¢

+ AP_MMIA_MB_CELL_ID_CNF_EV¡¢AP_MMIA_PSEUDO_FR_QUERY_CNF_EV¡¢AP_MMIA_CARD_SRV_LIST_QRY_CNF_EV¡¢

+ MSGTRACEPS_CELLRESORCCOCOUNT_REQ_EV

+177  2011.8.24 ΤÓñÕäÔö¼Ólte gap±¨¸æ¸øtrs

+178  2011.8.25 ÑîÔÊÔö¼ÓESM_EMM_EMERGENCY_PDN_ONLY_IND_EV,EMM_ESM_DETACH_NORMAL_IND_EV

+179  2011.8.25 ÑÔö¼ÓESM_UMM_LOCAL_DEACT_IND_EV

+180  2011.8.25 ׿±Ø²¨Ôö¼ÓCM_SM_DEACT_NON_EMERGENCY_EV

+181  2011.8.29 ½ª²¨Ôö¼ÓMSGTRACEPS_CELLRESORCCOCOUNT_REQ_EV¡¢MSGTRACEPS_CELLRESORCCO_IND_EV¡¢MMIA_AS_EM_CELLRESORCCOCOUNT_REQ_EV¡¢

+                       ASC_LTE_CMAS_NOTIFY_IND_EV¡¢EUSIR_T_ETWS_EXPIRY_EV¡¢EUSIR_T_CMAS_EXPIRY_EV

+                   ÐÞ¸ÄEURRC_ETWS_INFO_EV Ϊ EURRC_WARNING_NOTIFY_INFO_EV

+182  2011.8.29 ÓȺ£Ó¢ refresh Ôö¼Ó AP_UICC_REFRESH_REQ_EV AP_UICC_DEACTEND_IND_EV AP_UICC_FILECHANGEEND_IND_EV AP_UICC_FILECHANGE_IND_EV

+183  2011.9.15 ½ª²¨Ôö¼ÓEURRC_SI_END_FOR_HO_EV         

+184  2011.9.15 ÍõÖ¾Ôö¼ÓENBRRC_PROXIMITY_RPT_EV          

+185  2011.9.16 Ðì¿¡Ôö¼ÓGRRº¯Êý½Ó¿Ú   

+186  2011.9.16 Ëﳤ½­ÉêÇëÔö¼ÓENBRRC_UE_INFO_REQ_EV¡¢ENBRRC_UE_INFO_RSP_EV    

+187  2011.9.26 ð¿¡µ÷ÕûGRR¶¨Ê±Æ÷ÏûÏ¢ºÅ·¶Î§

+

+188  2011.10.12 lh ɾ³ýÁÚÇøÉϱ¨ºÍ·þÎñÐ¡ÇøÉϱ¨ÏûÏ¢½Ó¿Ú£¬Ôö¼ÓLTEÐ¡ÇøÐÅÏ¢Éϱ¨Ê¼þºÅ

+189  2011.10.18 ÕÔÕñ»ÔΪLTE±³¾°ËÑË÷Ôö¼ÓÏûÏ¢AP_MMIA_LTEBGPLMN_TESTREQ_EVºÍAP_MMIA_LTEBGPLMN_TESTCNF_EV

+

+190 2011.10.19 ºÎ«‘Ôö¼Ó¶¨Ê±Æ÷ʼþºÅT_DISABLE_UMTS_MEAS_EV,T_DISABLE_LTE_MEAS_EV

+191 2011.11.3 ÕÔÕñ»ÔÔö¼ÓAP_MMIA_SMSOVERIPNET_SETREQ_EV¡¢AP_MMIA_SMSOVERIPNET_QUERYREQ_EV

+                      AP_MMIA_SMSOVERIPNET_QUERYCNF_EV¡¢MMIA_UMM_SMSOVERIPNET_SETREQ_EV

+                      EC614001128873

+

+192      2011.11.4 ÕÔÕñ»ÔÔö¼ÓËæeÐа汾IccIdµÄÉϱ¨ºÍ»ú¿¨»¥ËøÐèÇó:

+                     Ôö¼ÓÏûÏ¢ZPS_ApUicc_ToReadCardReq_Ev¡¢ZPS_ApMmia_Iccid_Ind_EV¡¢ZPS_ApMmia_USAT_ToReadCardReq_Ev

+

+193      2011.11.4 ÕÔÕñ»ÔÔö¼ÓAP_MMIA_SM_DEACT_IND_EV, EC614001103133

+194      2011.11.22 ÓȺ£Ó¢Ôö¼ÓTEST_SET_NV_DATA_SPCLFUNC_EV £¬EC 614001151291

+

+195      2011.12.2  ÁºÐ¡º®Ôö¼ÓÏûÏ¢AP_MMIA_CALL_LINE_SET_REQ_EV¡¢AP_MMIA_CALL_LINE_QRY_REQ_EVºÍAP_MMIA_CALL_LINE_QUERY_CNF_EV 614001181454

+                           R9 U115¸£Öݰ汾һ»úË«ºÅÐèÇó ºÏÈë

+

+196      2011.12.26  EC617001225651,MMIAÔö¼ÓUE InfoµÄÉϱ¨,ÕÔÕñ»ÔÔö¼ÓÏûÏ¢ROADTEST_UEINFO_REQ_EV¡¢ROADTEST_UEINFO_CNF_EV

+197      2011.12.27  ËÎÑÇÅôÐÂÔöPDCP(RABM)֪ͨGMM¹ØÓÚRABÐÅÏ¢

+

+198      2012.1.5 EC617001233064Ôö¼ÓÄ£ÄâPDI·¢Ë͸øGSMAµÄÏûÏ¢PDI_GSM_DATA_REQ_EV

+199      2012.1.11   ¹Ë±¦³ÉÐÂÔöÈýÌõÏûÏ¢ÓÃÓÚÓû§ÃæÌØÊâÐÅÁî¸ú×Ù

+200      2012.03.12  ΤÓñÕä  Ôö¼ÓÏûÏ¢P_DETECT_CELL_INFO_IND_EV

+201     2012.03.27  ³ÂΰÐÂÔöLTE_P_DLSCH_DATA_TRACE_EVºÍLTE_P_ULSCH_DATA_TRACE_EVÓÃÓÚEPHYºÍEUMAC¼äµÄÉÏÏÂÐÐÊý¾ÝÐÅÁî¸ú×Ù

+

+202     2012.04.16  ºÎ«‘ÐÂÔöGRR_RRC_POWEROFF_IND_EVÏûÏ¢ÓÃÀ´Í¨ÖªGRRC(Èí)¹Ø»ú

+203     2012.05.08  Ëﳤ½­ÐÂÔöASC_TD_LOSTCOV_CAMP_SUCC_IND_EVÏûÏ¢ÓÃÓÚÆäËüÖÆÊ½¶ªÊ§¸²¸ÇÖØÑ¡µ½TD³É¹¦ºó£¬ASC֪ͨUCER±íʾ¿çÖÆÊ½ÖØÑ¡³É¹¦¡£

+204     2012.05.10  ³ÂΰÐÂÔöLTE_P_MAC_SR_REQ_EVÓÃÓÚTMTÐÅÁî¸ú×ÙSRµÄ·¢ËÍ

+205     2012.05.10  Ëﳤ½­ÐÂÔöP_UL_PHY_CH_CTRL_REQ_EvÏûÏ¢ÓÃÓÚ½øÐÐUl-DTXÅäÖÃ?

+206     2012.07.15  ÁºÐ¡º®ÐÂÔöMMIA_EUCSR_LTEINFO_REQ_EVµÈÏûÏ¢ÓÃÓÚatÃüÁîÉϱ¨×ÓÖ¡ÅäÖÃÐÅÏ¢

+207     2012.08.02  ÍõС½ø EC617001662142£¬ Ôö¼Ó

+                    AP_UICC_CCHO_REQ_EV,AP_UICC_CCHC_REQ_EV,AP_UICC_CGLA_REQ_EV,AP_UICC_CRSM_REQ_EV,

+                    AP_UICC_CCHO_CNF_EV,AP_UICC_CGLA_CNF_EV,AP_UICC_CRSM_CNF_EV,AP_UICC_USAT_FETCH_IND_EV,

+208     2012.11.06  W GROUPÐ޸ģºÐÞ¸Äpsenent end,ÔÚÔ­À´µÄ»ù´¡ÉÏÔö¼ÓÁË8000.W·ÇÎïÀí²ãÏûϢλÓÚLTEÏûÏ¢Ö®ºó£¬ÔÚ16384--end

+                    WµÄÎïÀí²ãÏûÏ¢·ÅÔÚps+6500---ps+7000µÄµØ·½£¬¶ÔÓÚTW¹²ÓÃÏûÏ¢²ÉÓÃÐÞ¸ÄÃüÃûµÄ·½Ê½TD¸ÄΪUTRA

+209     2012.11.21  ÍõС½ø EC617001860117£¬ ÖÇÄÜ»úÈȲå°ÎÐèÇó£¬Ôö¼ÓÏûÏ¢

+                    AP_UICC_MOVECARD_IND_EV AP_UICC_INSERTCARD_IND_EV

+210     2013.10.18 ΤÓñÕäÔö¼ÓATIÓëASµÄÏûÏ¢MMIA_AS_B39_INFO_IND_EV(EUMCR,UMCR->ATI)ºÍMMIA_AS_B39_INFO_REQ_EV(ATI->GRR)

+ *****************************************************************************/

+#ifndef Z_EVENTDEF_H

+#define Z_EVENTDEF_H

+

+#include "atipsevent.h"

+

+/*=====================================================================================================================

+         ÏûÏ¢Çø¼ä£º

+

+          ||______________________|__________UPHY__________|_____________________|_____________________||

+ PS_BASE                                   UPHY_BASE(+6K)                      UPHY_BASE(+6.5K)                 PS_LTE_BASE(+10K)                    PS_END(PS_LTE_END)

+  =====================================================================================================================*/

+

+/*GSM SDLÏûϢʼþºÅ·¶Î§£¬¾ßÌåµÄGSMʼþºÅ¶¨ÒåÔÚSIG_CODE.HÖУ¬½öÔÚpstestÖÐʹÓÃ*/

+#define EVENT_PS_GSM_SDL_BASE                    (DWORD)0x00010000

+#define EVENT_PS_GSM_SDL_END                     (DWORD)0xff7d0003

+

+/*LTEʼþºÅ·¶Î§*/

+#define EVENT_PS_LTE_BASE                        (DWORD)(EVENT_PS_BASE + 10000)

+#define EVENT_PS_LTE_END                         (DWORD)(EVENT_PS_BASE + 16383)

+

+/*WCDMAʼþºÅ·¶Î§*/

+#define EVENT_PS_W_BASE                        (DWORD)(EVENT_PS_BASE + 16384)

+#define EVENT_PS_W_END                         (DWORD)EVENT_PS_END

+/**************************************************PHY msg base-end start********************************************************/

+/*Õⲿ·ÖID²»ÄÜËæÒâÐ޸쬻áÓ°Ïì½Ó¿ÚÖеÄmsgidµÄÖµ£¬´Ó¶øÊ¹ÎïÀí²ãµ¼ÖÂÎóÅÐÏûÏ¢*/

+/*ЭÒéÕ»ÓëTDÎïÀí²ãÏûÏ¢·¶Î§*/

+#define PS_UPHY_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 6000)

+/*ЭÒéÕ»ÓëWCDMAÎïÀí²ãÏûÏ¢·¶Î§.TDÓëWÎïÀí²ãÏûÏ¢·¶Î§¹Ì¶¨ÔÚ6000µ½7000.ÆäÖÐǰ500ÓÃÓÚTD£¬ºó500ÓÃÓÚW*/

+#define PS_WPHY_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 6500)

+

+/*ЭÒéÕ»ÓëLTEÎïÀí²ãÏûÏ¢·¶Î§£¬±£Ö¤ÎïÀí²ãºÍЭÒéÕ»IDÆðʼֵµÍ8λȫÁ㣬±£Ö¤Ç¿ÖÆ×ª»»ÎªBYTEΪÕý³£Öµ*/

+#define LTE_PS_EUPHY_EVENT_BASE                  (DWORD)(EVENT_PS_LTE_BASE + 2544)

+#define LTE_PS_EUPHY_RSP_EVENT                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 60)

+#define LTE_PS_EUPHY_EVENT_END                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 120)

+/**************************************************PHY msg  base-end end********************************************************/

+

+/*UMM¡¢MM¡¢GMMÄÚ²¿ÏûÏ¢·¶Î§(50)*/

+#define UMM_EVENT_BASE                           (DWORD)(EVENT_PS_BASE + 2570)

+#define UMM_EVENT_END                            (DWORD)(UMM_EVENT_BASE + 49)

+

+/*SS/SMS/SM/CC/PDCPÓëMM/GMMµÄÏûÏ¢·¶Î§(50)*/

+#define CM_MM_EVENT_BASE                         (DWORD)(EVENT_PS_BASE + 2620)

+#define CM_MM_EVENT_END                          (DWORD)(CM_MM_EVENT_BASE + 49)

+

+/*UMMºÍASCµÄÏûÏ¢·¶Î§ (100)*/

+#define UMM_ASC_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 2670)

+#define UMM_ASC_RSP_EVENT                        (DWORD)(UMM_ASC_EVENT_BASE + 50)

+#define UMM_ASC_EVENT_END                        (DWORD)(UMM_ASC_EVENT_BASE + 99)

+

+/*GMMºÍASCµÄÏûÏ¢·¶Î§(100) */

+#define GMM_ASC_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 2770)

+#define GMM_ASC_RSP_EVENT                        (DWORD)(GMM_ASC_EVENT_BASE + 50)

+#define GMM_ASC_EVENT_END                        (DWORD)(GMM_ASC_EVENT_BASE + 99)

+

+/*ASCºÍUMTS ASµÄÏûÏ¢·¶Î§ (100)*/

+#define ASC_UAS_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 2870)

+#define ASC_UAS_RSP_EVENT                        (DWORD)(ASC_UAS_EVENT_BASE + 50)

+#define ASC_UAS_EVENT_END                        (DWORD)(ASC_UAS_EVENT_BASE + 99)

+

+/*ASCºÍGSM ASµÄÏûÏ¢·¶Î§(100) */

+#define ASC_GAS_EVENT_BASE                       (DWORD)(ASC_UAS_EVENT_END + 1)

+#define ASC_GAS_RSP_EVENT                        (DWORD)(ASC_GAS_EVENT_BASE + 50)

+#define ASC_GAS_EVENT_END                        (DWORD)(ASC_GAS_EVENT_BASE + 99)

+

+/*ASCºÍLTE ASµÄÏûÏ¢·¶Î§(100) */

+#define ASC_EUAS_EVENT_BASE                      (DWORD)(ASC_GAS_EVENT_END + 1)

+#define ASC_EUAS_RSP_EVENT                       (DWORD)(ASC_EUAS_EVENT_BASE + 50)

+#define ASC_EUAS_EVENT_END                       (DWORD)(ASC_EUAS_EVENT_BASE + 99)

+

+/*ASCºÍ¸÷AS¹«¹²µÄÏûÏ¢·¶Î§(100) */

+#define ASC_AS_EVENT_BASE                        (DWORD)(ASC_EUAS_EVENT_END + 1)

+#define ASC_AS_EVENT_END                         (DWORD)(ASC_AS_EVENT_BASE + 149)

+

+/*CBSºÍRRCµÄÏûÏ¢·¶Î§(30)*/

+#define CBS_RRC_EVENT_BASE                       (DWORD)(EVENT_PS_BASE + 3320)

+#define CBS_RRC_RSP_EVENT                        (DWORD)(CBS_RRC_EVENT_BASE + 20)

+#define CBS_RRC_EVENT_END                        (DWORD)(CBS_RRC_EVENT_BASE + 29)

+

+/*GMMºÍSNDCPµÄÏûÏ¢·¶Î§(25)*/

+#define GMM_SNDCP_EVENT_BASE                     (DWORD)(CBS_RRC_EVENT_END + 1)

+#define GMM_SNDCP_EVENT_END                      (DWORD)(GMM_SNDCP_EVENT_BASE + 24)

+

+/*GMMºÍPDCPµÄÏûÏ¢·¶Î§(25)*/

+#define GMM_PDCP_EVENT_BASE                      (DWORD)(GMM_SNDCP_EVENT_END + 1)

+#define GMM_PDCP_EVENT_END                       (DWORD)(GMM_PDCP_EVENT_BASE + 24)

+

+/*SMºÍPDCPµÄÏûÏ¢·¶Î§(50)*/

+#define SM_PDCP_EVENT_BASE                       (DWORD)(GMM_PDCP_EVENT_END + 1)

+#define SM_PDCP_RSP_EVENT                        (DWORD)(SM_PDCP_EVENT_BASE + 25)

+#define SM_PDCP_EVNET_END                        (DWORD)(SM_PDCP_EVENT_BASE + 49)

+

+/*SMºÍSNDCPµÄÏûÏ¢·¶Î§(50)*/

+#define SM_SNDCP_EVENT_BASE                      (DWORD)(SM_PDCP_EVNET_END + 1)

+#define SM_SNDCP_RSP_EVENT                       (DWORD)(SM_SNDCP_EVENT_BASE + 20)

+#define SM_SNDCP_EVENT_END                       (DWORD)(SM_SNDCP_EVENT_BASE + 49)

+

+/*PDIºÍGSMAµÄÏûÏ¢·¶Î§(20)*/

+#define PDI_GSMA_EVENT_BASE                      (DWORD)(SM_SNDCP_EVENT_END + 1)

+#define PDI_GSMA_RSP_EVENT                       (DWORD)(PDI_GSMA_EVENT_BASE + 10)

+#define PDI_GSMA_EVENT_END                       (DWORD)(PDI_GSMA_EVENT_BASE + 19)

+

+/*PDIºÍPDCPµÄÏûÏ¢·¶Î§(20)*/

+#define PDI_PDCP_EVENT_BASE                      (DWORD)(PDI_GSMA_EVENT_END + 1)

+#define PDI_PDCP_RSP_EVENT                       (DWORD)(PDI_PDCP_EVENT_BASE + 10)

+#define PDI_PDCP_EVENT_END                       (DWORD)(PDI_PDCP_EVENT_BASE + 19)

+

+/*PDIºÍPDCPµÄÏûÏ¢·¶Î§(10)*/

+#define PDCP_URLC_EVENT_BASE                      (DWORD)(PDI_PDCP_EVENT_END + 1)

+#define PDCP_URLC_EVENT_END                       (DWORD)(PDCP_URLC_EVENT_BASE + 9)

+

+/*TAFºÍCCÏûÏ¢·¶Î§(50)*/

+#define CC_TAF_EVENT_BASE                        (DWORD)(PDCP_URLC_EVENT_END + 1)

+#define CC_TAF_EVENT_END                         (DWORD)(CC_TAF_EVENT_BASE + 49)

+

+/*UMMºÍCBSÏûÏ¢·¶Î§(50)*/

+#define UMM_CBS_EVENT_BASE                       (DWORD)(CC_TAF_EVENT_END + 1)

+#define UMM_CBS_RSP_EVENT                        (DWORD)(UMM_CBS_EVENT_BASE + 20)

+#define UMM_CBS_EVENT_END                        (DWORD)(UMM_CBS_EVENT_BASE + 49)

+

+/*SCIºÍURRC/CCÏûÏ¢·¶Î§(30)*/

+#define AP_SCI_EVENT_BASE                        (DWORD)(UMM_CBS_EVENT_END + 1)

+#define AP_SCI_EVENT_END                         (DWORD)(AP_SCI_EVENT_BASE + 29)

+

+/*URLCºÍURRCµÄÏûÏ¢·¶Î§(60)*/

+#define URLC_URRC_EVENT_BASE                     (DWORD)(AP_SCI_EVENT_END + 1)

+#define URLC_URRC_RSP_EVENT                      (DWORD)(URLC_URRC_EVENT_BASE + 30)

+#define URLC_URRC_EVENT_END                      (DWORD)(URLC_URRC_EVENT_BASE + 59)

+

+/*UMACºÍURRCµÄÏûÏ¢·¶Î§(70)*/

+#define UMAC_URRC_EVENT_BASE                     (DWORD)(URLC_URRC_EVENT_END + 1)

+#define UMAC_URRC_RSP_EVENT                      (DWORD)(UMAC_URRC_EVENT_BASE + 40)

+#define UMAC_URRC_EVENT_END                      (DWORD)(UMAC_URRC_EVENT_BASE + 69)

+

+/*UMAC-UL/DLºÍUMAC-CµÄÏûÏ¢·¶Î§(20)*/

+#define UMAC_UMAC_EVENT_BASE                     (DWORD)(UMAC_URRC_EVENT_END + 1)

+#define UMAC_UMAC_EVENT_END                      (DWORD)(UMAC_UMAC_EVENT_BASE + 19)

+

+/*L1TºÍURRCµÄÏûÏ¢·¶Î§(60)*/

+#define L1T_URRC_EVENT_BASE                      (DWORD)(UMAC_UMAC_EVENT_END + 1)

+#define L1T_URRC_RSP_EVENT                       (DWORD)(L1T_URRC_EVENT_BASE + 30)

+#define L1T_URRC_EVENT_END                       (DWORD)(L1T_URRC_EVENT_BASE + 59)

+

+/*PDCPºÍURRCµÄÏûÏ¢·¶Î§(60)*/

+#define PDCP_URRC_EVENT_BASE                     (DWORD)(L1T_URRC_EVENT_END + 1)

+#define PDCP_URRC_RSP_EVENT                      (DWORD)(PDCP_URRC_EVENT_BASE + 30)

+#define PDCP_URRC_EVENT_END                      (DWORD)(PDCP_URRC_EVENT_BASE + 59)

+

+/*URLCºÍUMACµÄÏûÏ¢·¶Î§(20)*/

+#define URLC_UMAC_EVENT_BASE                     (DWORD)(PDCP_URRC_EVENT_END + 1)

+#define URLC_UMAC_EVENT_END                      (DWORD)(URLC_UMAC_EVENT_BASE + 19)

+

+/*L1TºÍUMACµÄÏûÏ¢·¶Î§(10)*/

+#define UMAC_L1T_EVENT_BASE                      (DWORD)(URLC_UMAC_EVENT_END + 1)

+#define UMAC_L1T_EVENT_END                       (DWORD)(UMAC_L1T_EVENT_BASE + 9)

+

+/*URRCÄÚ²¿ÏûÏ¢·¶Î§(100)*/

+#define URRC_EVENT_BASE                          (DWORD)(UMAC_L1T_EVENT_END + 1)

+#define URRC_EVENT_END                           (DWORD)(URRC_EVENT_BASE + 99)

+

+/*L1TÄÚ²¿ÏûÏ¢·¶Î§(20)*/

+#define L1T_EVENT_BASE                           (DWORD)(URRC_EVENT_END + 1)

+#define L1T_EVENT_END                            (DWORD)(L1T_EVENT_BASE + 19)

+

+/*ÎïÀí²ãÊÊÅä²ãÖ®¼äL1T/L1EÏûÏ¢·¶Î§(30)£¨²»°üº¬L1G£¬ÓëL1G½»»¥µÄÏûϢȫ²¿ÊÇSDLÏûÏ¢£¬¶¨ÒåÔÚsig_code.hÖУ©*/

+#define L1A_EVENT_BASE                           (DWORD)(L1T_EVENT_END + 1)

+#define L1A_EVENT_END                            (DWORD)(L1A_EVENT_BASE + 29)

+

+/*ЭÒéÕ»ÄÚ¶¨Ê±Æ÷³¬Ê±ÏûÏ¢·¶Î§(530)*/

+#define UMM_TIMER_EVENT_BASE                     (DWORD)(MMIA_TIMER_EVENT_END + 1)

+#define UMM_TIMER_EVENT_END                      (DWORD)(UMM_TIMER_EVENT_BASE + 49)

+

+#define MM_TIMER_EVENT_BASE                      (DWORD)(UMM_TIMER_EVENT_END + 1)

+#define MM_TIMER_EVENT_END                       (DWORD)(MM_TIMER_EVENT_BASE + 29)

+

+#define GMM_TIMER_EVENT_BASE                     (DWORD)(MM_TIMER_EVENT_END + 1)

+#define GMM_TIMER_EVENT_END                      (DWORD)(GMM_TIMER_EVENT_BASE + 29)

+

+#define CC_TIMER_EVENT_BASE                      (DWORD)(GMM_TIMER_EVENT_END + 1)

+#define CC_TIMER_EVENT_END                       (DWORD)(CC_TIMER_EVENT_BASE + 49)

+

+#define SMS_TIMER_EVENT_BASE                     (DWORD)(CC_TIMER_EVENT_END + 1)

+#define SMS_TIMER_EVENT_END                      (DWORD)(SMS_TIMER_EVENT_BASE + 19)

+

+#define SM_TIMER_EVENT_BASE                      (DWORD)(SMS_TIMER_EVENT_END + 1)

+#define SM_TIMER_EVENT_END                       (DWORD)(SM_TIMER_EVENT_BASE + 19)

+

+#define SS_TIMER_EVENT_BASE                      (DWORD)(SM_TIMER_EVENT_END + 1)

+#define SS_TIMER_EVENT_END                       (DWORD)(SS_TIMER_EVENT_BASE + 9)

+

+#define CBS_TIMER_EVENT_BASE                     (DWORD)(SS_TIMER_EVENT_END + 1)

+#define CBS_TIMER_EVENT_END                      (DWORD)(CBS_TIMER_EVENT_BASE + 9)

+

+#define UICC_TIMER_EVENT_BASE                    (DWORD)(CBS_TIMER_EVENT_END + 1)

+#define UICC_TIMER_EVENT_END                     (DWORD)(UICC_TIMER_EVENT_BASE + 19)

+

+#define URRC_TIMER_EVENT_BASE                    (DWORD)(UICC_TIMER_EVENT_END + 1)

+#define URRC_TIMER_EVENT_END                     (DWORD)(URRC_TIMER_EVENT_BASE + 79)

+

+#define URLC_TIMER_EVENT_BASE                    (DWORD)(URRC_TIMER_EVENT_END + 1)

+#define URLC_TIMER_EVENT_END                     (DWORD)(URLC_TIMER_EVENT_BASE + 19)

+

+#define UMAC_TIMER_EVENT_BASE                    (DWORD)(URLC_TIMER_EVENT_END + 1)

+#define UMAC_TIMER_EVENT_END                     (DWORD)(UMAC_TIMER_EVENT_BASE + 19)

+

+#define L1T_TIMER_EVENT_BASE                     (DWORD)(UMAC_TIMER_EVENT_END + 1)

+#define L1T_TIMER_EVENT_END                      (DWORD)(L1T_TIMER_EVENT_BASE + 19)

+

+#define PDCP_TIMER_EVENT_BASE                    (DWORD)(L1T_TIMER_EVENT_END + 1)

+#define PDCP_TIMER_EVENT_END                     (DWORD)(PDCP_TIMER_EVENT_BASE + 9)

+

+#define ROHCv1_TIMER_EVENT_BASE                  (DWORD)(PDCP_TIMER_EVENT_END + 1)

+#define ROHCv1_TIMER_EVENT_END                   (DWORD)(ROHCv1_TIMER_EVENT_BASE + 19)

+

+#define TAF_TIMER_EVENT_BASE                     (DWORD)(ROHCv1_TIMER_EVENT_END + 1)

+#define TAF_TIMER_EVENT_END                      (DWORD)(TAF_TIMER_EVENT_BASE + 19)

+

+#define GSMA_TIMER_EVENT_BASE                    (DWORD)(TAF_TIMER_EVENT_END + 1)

+#define GSMA_TIMER_EVENT_END                     (DWORD)(GSMA_TIMER_EVENT_BASE + 19)

+

+#define PDI_TIMER_EVENT_BASE                     (DWORD)(GSMA_TIMER_EVENT_END + 1)

+#define PDI_TIMER_EVENT_END                      (DWORD)(PDI_TIMER_EVENT_BASE + 19)

+

+#define ROHCv2_TIMER_EVENT_BASE                  (DWORD)(PDI_TIMER_EVENT_END + 1)

+#define ROHCv2_TIMER_EVENT_END                   (DWORD)(ROHCv2_TIMER_EVENT_BASE + 19)

+

+#define SCI_TIMER_EVENT_BASE                     (DWORD)(ROHCv2_TIMER_EVENT_END  + 1)

+#define SCI_TIMER_EVENT_END                      (DWORD)(SCI_TIMER_EVENT_BASE + 9)

+

+#define STM_TIMER_EVENT_BASE                     (DWORD)(SCI_TIMER_EVENT_END  + 1)

+#define STM_TIMER_EVENT_END                      (DWORD)(STM_TIMER_EVENT_BASE + 9)

+

+#define USAT_TIMER_EVENT_BASE                    (DWORD)(STM_TIMER_EVENT_END + 1)

+#define USAT_TIMER_EVENT_END                     (DWORD)(USAT_TIMER_EVENT_BASE + 9)

+

+#define TIMER_EVENT_END                          (DWORD)USAT_TIMER_EVENT_END

+

+/**************************************************PS msg range end********************************************************/

+

+/**************************************************UPHY msg range start********************************************************/

+/*ЭÒéÕ»ÓëTDÎïÀí²ãÏûÏ¢·¶Î§(300)*/

+#define USIR_UPHY_EVENT_BASE                     (DWORD)PS_UPHY_EVENT_BASE

+#define USIR_UPHY_RSP_EVENT                      (DWORD)(USIR_UPHY_EVENT_BASE + 20)

+#define USIR_UPHY_EVENT_END                      (DWORD)(USIR_UPHY_EVENT_BASE + 49)

+ 

+#define UCSR_UPHY_EVENT_BASE                     (DWORD)(USIR_UPHY_EVENT_END + 1)

+#define UCSR_UPHY_RSP_EVENT                      (DWORD)(UCSR_UPHY_EVENT_BASE + 20)

+#define UCSR_UPHY_EVENT_END                      (DWORD)(UCSR_UPHY_EVENT_BASE + 49)

+

+#define UMCR_UPHY_EVENT_BASE                     (DWORD)(UCSR_UPHY_EVENT_END + 1)

+#define UMCR_UPHY_RSP_EVENT                      (DWORD)(UMCR_UPHY_EVENT_BASE + 20)

+#define UMCR_UPHY_EVENT_END                      (DWORD)(UMCR_UPHY_EVENT_BASE + 49)

+

+#define URBC_UPHY_EVENT_BASE                     (DWORD)(UMCR_UPHY_EVENT_END + 1)

+#define URBC_UPHY_RSP_EVENT                      (DWORD)(URBC_UPHY_EVENT_BASE + 30)

+#define URBC_UPHY_EVENT_END                      (DWORD)(URBC_UPHY_EVENT_BASE + 49)

+

+#define UMAC_UL_UPHY_EVENT_BASE                  (DWORD)(URBC_UPHY_EVENT_END + 1)

+#define UMAC_UL_UPHY_EVENT_END                   (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 19)

+

+#define UMAC_DL_UPHY_EVENT_BASE                  (DWORD)(UMAC_UL_UPHY_EVENT_END + 1)

+#define UMAC_DL_UPHY_EVENT_END                   (DWORD)(UMAC_DL_UPHY_EVENT_BASE + 29)

+

+/*L1TÓëTDÎïÀí²ãÏûÏ¢·¶Î§*/

+#define L1T_UPHY_EVENT_BASE                      (DWORD)(UMAC_DL_UPHY_EVENT_END + 1)

+#define L1T_UPHY_RSP_EVENT                       (DWORD)(L1T_UPHY_EVENT_BASE + 20)

+#define L1T_UPHY_EVENT_END                       (DWORD)(L1T_UPHY_EVENT_BASE + 49)

+

+#define PS_UPHY_EVENT_END                        (DWORD)L1T_UPHY_EVENT_END

+/**************************************************WPHY msg range start********************************************************/

+/*ЭÒéÕ»ÓëWÎïÀí²ãÏûÏ¢·¶Î§*/

+#define WSIR_WPHY_EVENT_BASE                     (DWORD)PS_WPHY_EVENT_BASE

+#define WSIR_WPHY_RSP_EVENT                      (DWORD)(WSIR_WPHY_EVENT_BASE + 20)

+#define WSIR_WPHY_EVENT_END                      (DWORD)(WSIR_WPHY_EVENT_BASE + 49)

+ 

+#define WCSR_WPHY_EVENT_BASE                     (DWORD)(WSIR_WPHY_EVENT_END + 1)

+#define WCSR_WPHY_RSP_EVENT                      (DWORD)(WCSR_WPHY_EVENT_BASE + 20)

+#define WCSR_WPHY_EVENT_END                      (DWORD)(WCSR_WPHY_EVENT_BASE + 49)

+

+#define WMCR_WPHY_EVENT_BASE                     (DWORD)(WCSR_WPHY_EVENT_END + 1)

+#define WMCR_WPHY_RSP_EVENT                      (DWORD)(WMCR_WPHY_EVENT_BASE + 20)

+#define WMCR_WPHY_EVENT_END                      (DWORD)(WMCR_WPHY_EVENT_BASE + 49)

+

+#define WRBC_WPHY_EVENT_BASE                     (DWORD)(WMCR_WPHY_EVENT_END + 1)

+#define WRBC_WPHY_RSP_EVENT                      (DWORD)(WRBC_WPHY_EVENT_BASE + 30)

+#define WRBC_WPHY_EVENT_END                      (DWORD)(WRBC_WPHY_EVENT_BASE + 49)

+

+#define WMAC_UL_WPHY_EVENT_BASE                  (DWORD)(WRBC_WPHY_EVENT_END + 1)

+#define WMAC_UL_WPHY_EVENT_END                   (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 19)

+

+#define WMAC_DL_WPHY_EVENT_BASE                  (DWORD)(WMAC_UL_WPHY_EVENT_END + 1)

+#define WMAC_DL_WPHY_EVENT_END                   (DWORD)(WMAC_DL_WPHY_EVENT_BASE + 29)

+

+/*L1WÓëWÎïÀí²ãÏûÏ¢·¶Î§*/

+#define L1W_WPHY_EVENT_BASE                      (DWORD)(WMAC_DL_WPHY_EVENT_END + 1)

+#define L1W_WPHY_RSP_EVENT                       (DWORD)(L1W_WPHY_EVENT_BASE + 20)

+#define L1W_WPHY_EVENT_END                       (DWORD)(L1W_WPHY_EVENT_BASE + 49)

+

+#define PS_WPHY_EVENT_END                        (DWORD)L1W_WPHY_EVENT_END

+/**************************************************WPHY msg range end********************************************************/

+

+/**************************************************PS LTE msg range start********************************************************/

+/*EMMÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø(20)*/

+#define EMM_TIMER_EVENT_BASE                     (DWORD)(EVENT_PS_LTE_BASE + 1)

+#define EMM_TIMER_EVENT_END                      (DWORD)(EMM_TIMER_EVENT_BASE + 19)

+

+/*ESMÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø(20)*/

+#define ESM_TIMER_EVENT_BASE                     (DWORD)(EMM_TIMER_EVENT_END + 1)

+#define ESM_TIMER_EVENT_END                      (DWORD)(ESM_TIMER_EVENT_BASE + 19)

+

+/*EUPDCPÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø(20)*/

+#define EPDCP_TIMER_EVENT_BASE                   (DWORD)(ESM_TIMER_EVENT_END + 1)

+#define EPDCP_TIMER_EVENT_END                    (DWORD)(EPDCP_TIMER_EVENT_BASE + 19)

+

+/*EURLCÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø(10)*/

+#define EURLC_TIMER_EVENT_BASE                   (DWORD)(EPDCP_TIMER_EVENT_END + 1)

+#define EURLC_TIMER_EVENT_END                    (DWORD)(EURLC_TIMER_EVENT_BASE + 9)

+

+/*EUMACÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø(10)*/ 

+#define EUMAC_TIMER_EVENT_BASE                   (DWORD)(EURLC_TIMER_EVENT_END + 1)

+#define EUMAC_TIMER_EVENT_END                    (DWORD)(EUMAC_TIMER_EVENT_BASE + 9)

+

+/*EURRCÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø*/ 

+#define EURRC_TIMER_EVENT_BASE                   (DWORD)(EUMAC_TIMER_EVENT_END + 1)

+

+/*EUCER×ÓÄ£¿é¶¨Ê±Æ÷(20)*/

+#define EUCER_TIMER_EVENT_BASE                   (DWORD)(EURRC_TIMER_EVENT_BASE + 1)

+#define EUCER_TIMER_EVENT_END                    (DWORD)(EUCER_TIMER_EVENT_BASE + 19)

+

+/*EUMCR×ÓÄ£¿é¶¨Ê±Æ÷(20)*/

+#define EUMCR_TIMER_EVENT_BASE                   (DWORD)(EUCER_TIMER_EVENT_END + 1)

+#define EUMCR_TIMER_EVENT_END                    (DWORD)(EUMCR_TIMER_EVENT_BASE + 19)

+

+/*EUCSR×ÓÄ£¿é¶¨Ê±Æ÷(20)*/

+#define EUCSR_TIMER_EVENT_BASE                   (DWORD)(EUMCR_TIMER_EVENT_END + 1)

+#define EUCSR_TIMER_EVENT_END                    (DWORD)(EUCSR_TIMER_EVENT_BASE + 19)

+

+/*EUSIR×ÓÄ£¿é¶¨Ê±Æ÷(20)*/

+#define EUSIR_TIMER_EVENT_BASE                   (DWORD)(EUCSR_TIMER_EVENT_END + 1)

+#define EUSIR_TIMER_EVENT_END                    (DWORD)(EUSIR_TIMER_EVENT_BASE + 19)

+

+#define EURRC_TIMER_EVENT_END                    (DWORD)EUSIR_TIMER_EVENT_END 

+

+/*EMMºÍUMMÄ£¿é¼äµÄÏûÏ¢IDºÅ*/

+#define EMM_UMM_EVENT_BASE                       (DWORD)(EVENT_PS_LTE_BASE + 200)

+#define EMM_UMM_RSP_EVENT                        (DWORD)(EMM_UMM_EVENT_BASE + 19)

+#define EMM_UMM_EVENT_END                        (DWORD)(EMM_UMM_EVENT_BASE + 29)

+

+/*UMMºÍEPDCPÄ£¿éÖ®¼äµÄÏûÏ¢ID */

+#define UMM_EPDCP_EVENT_BASE                     (DWORD)(EMM_UMM_EVENT_END + 1)

+#define UMM_EPDCP_RSP_EVENT                      (DWORD)(UMM_EPDCP_EVENT_BASE  + 9)

+#define UMM_EPDCP_EVENT_END                      (DWORD)(UMM_EPDCP_EVENT_BASE  + 19)

+

+/*  CM²ãºÍESMÄ£¿é¼äÏûÏ¢IDºÅ(ÐÂÔö)*/

+#define CM_ESM_EVENT_BASE                        (DWORD)(EVENT_PS_LTE_BASE + 260)  

+#define CM_ESM_RSP_EVENT                         (DWORD)(CM_ESM_EVENT_BASE + 9)

+#define CM_ESM_EVENT_END                         (DWORD)(CM_ESM_EVENT_BASE + 19) 

+

+/*  CM²ãºÍEMMÄ£¿é¼äÏûÏ¢IDºÅ*/

+#define CM_EMM_EVENT_BASE                        (DWORD)(EVENT_PS_LTE_BASE + 280)  

+#define CM_EMM_RSP_EVENT                         (DWORD)(CM_EMM_EVENT_BASE + 9)

+#define CM_EMM_EVENT_END                         (DWORD)(CM_EMM_EVENT_BASE + 19) 

+

+/* EMMºÍESMÄ£¿é¼äÏûÏ¢IDºÅ*/

+#define ESM_EMM_EVENT_BASE                       (DWORD)(CM_EMM_EVENT_END + 1)  

+#define ESM_EMM_RSP_EVENT                        (DWORD)(ESM_EMM_EVENT_BASE + 19)

+#define ESM_EMM_EVENT_END                        (DWORD)(ESM_EMM_EVENT_BASE + 29)

+

+/*EMMºÍERRC(CER)Ä£¿é¼äÏûÏ¢IDºÅ*/

+#define EMM_ASC_EVENT_BASE                       (DWORD)(ESM_EMM_EVENT_END + 1)

+#define EMM_ASC_RSP_EVENT                        (DWORD)(EMM_ASC_EVENT_BASE + 19)

+#define EMM_ASC_EVENT_END                        (DWORD)(EMM_ASC_EVENT_BASE + 49)

+

+/*EMMºÍEUPDCPÄ£¿é¼äÏûÏ¢IDºÅ*/

+#define EMM_EPDCP_EVENT_BASE                     (DWORD)(EMM_ASC_EVENT_END + 1)

+#define EMM_EPDCP_RSP_EVENT                      (DWORD)(EMM_EPDCP_EVENT_BASE + 9)

+#define EMM_EPDCP_EVENT_END                      (DWORD)(EMM_EPDCP_EVENT_BASE + 19)

+

+/*ESMºÍUMMÄ£¿é¼äÏûÏ¢IDºÅ*/

+#define ESM_UMM_EVENT_BASE                       (DWORD)(EVENT_PS_LTE_BASE + 400)

+#define ESM_UMM_RSP_EVENT                        (DWORD)(ESM_UMM_EVENT_BASE + 19)

+#define ESM_UMM_EVENT_END                        (DWORD)(ESM_UMM_EVENT_BASE + 29)

+

+

+/* ESMºÍPDCP Ä£¿éÖ®¼äµÄÏûϢʼþ*/

+#define ESM_EPDCP_EVENT_BASE                     (DWORD)(EVENT_PS_LTE_BASE + 430)  

+#define ESM_EPDCP_RSP_EVENT                      (DWORD)(ESM_EPDCP_EVENT_BASE + 9)

+#define ESM_EPDCP_EVENT_END                      (DWORD)(ESM_EPDCP_EVENT_BASE + 19)

+

+/*EURRCºÍEPDCPÄ£¿éÖ®¼äµÄÏûϢʼþ*/

+#define EURRC_EPDCP_EVENT_BASE                   (DWORD)(EVENT_PS_LTE_BASE + 450)

+#define EURRC_EPDCP_RSP_EVENT                    (DWORD)(EURRC_EPDCP_EVENT_BASE + 25)

+#define EURRC_EPDCP_EVENT_END                    (DWORD)(EURRC_EPDCP_EVENT_BASE + 49)

+

+/*EURRCºÍEURLCÄ£¿éÖ®¼äµÄÏûϢʼþ*/

+#define EURRC_EURLC_EVENT_BASE                   (DWORD)(EURRC_EPDCP_EVENT_END + 1)

+#define EURRC_EURLC_RSP_EVENT                    (DWORD)(EURRC_EURLC_EVENT_BASE + 19)

+#define EURRC_EURLC_EVENT_END                    (DWORD)(EURRC_EURLC_EVENT_BASE + 29)

+

+/*EURRCºÍEUMACÄ£¿éÖ®¼äµÄÏûϢʼþ*/

+#define EURRC_EUMAC_EVENT_BASE                   (DWORD)(EURRC_EURLC_EVENT_END + 1)

+#define EURRC_EUMAC_RSP_EVENT                    (DWORD)(EURRC_EUMAC_EVENT_BASE + 25)

+#define EURRC_EUMAC_EVENT_END                    (DWORD)(EURRC_EUMAC_EVENT_BASE + 49)

+

+/*EURRCºÍMEL2Ä£¿éÖ®¼äµÄÏûϢʼþ*/

+#define EURRC_MEL2_EVENT_BASE                   (DWORD)(EURRC_EUMAC_EVENT_END + 1)

+#define EURRC_MEL2_RSP_EVENT                    (DWORD)(EURRC_MEL2_EVENT_BASE + 4)

+#define EURRC_MEL2_EVENT_END                    (DWORD)(EURRC_MEL2_EVENT_BASE + 6)

+

+/*SMºÍESMÄ£¿éÖ®¼äµÄÏûϢʼþ*/

+#define SM_ESM_EVENT_BASE                        (DWORD)(EVENT_PS_LTE_BASE + 750)     /*Added:KangShuJie*/

+#define SM_ESM_RSP_EVENT                         (DWORD)(SM_ESM_EVENT_BASE + 25) /*Added:KangShuJie*/

+#define SM_ESM_EVENT_END                         (DWORD)(SM_ESM_EVENT_BASE + 49) /*Added:KangShuJie*/

+

+/*EURRCÄÚ²¿ÏûϢʼþID*/

+#define EURRC_EVENT_BASE                         (DWORD)(EVENT_PS_LTE_BASE + 1000)

+#define EURRC_EVENT_END                          (DWORD)(EURRC_EVENT_BASE + 54)

+

+#define EUPDCP_EURLC_EVENT_BASE                  (DWORD)(EURRC_EVENT_END + 1)

+#define EUPDCP_EURLC_EVENT_END                   (DWORD)(EUPDCP_EURLC_EVENT_BASE + 4)

+

+/*EURRCºÍL1EÄ£¿éÖ®¼äÏûϢʼþ*/

+#define EURRC_L1E_EVENT_BASE                     (DWORD)(EVENT_PS_LTE_BASE + 1200)

+#define EURRC_L1E_RSP_EVENT                      (DWORD)(EURRC_L1E_EVENT_BASE + 20)

+#define EURRC_L1E_EVENT_END                      (DWORD)(EURRC_L1E_EVENT_BASE + 39)

+

+

+#define EUDBG_EVENT_BASE                         (DWORD)(EVENT_PS_LTE_BASE + 1400)

+#define EUDBG_EVENT_END                          (DWORD)(EUDBG_EVENT_BASE + 19)

+

+#define LPP_ECID_EVENT_BASE                             (DWORD)(EVENT_PS_LTE_BASE + 1450)

+#define LPP_ECID_EVENT_END                             (DWORD)(EVENT_PS_LTE_BASE + 1499)

+

+/*  LTE¼¯³É²âÊÔ¼ÓÈëµÄ²âÊÔÄ£¿éʹÓõÄÏûÏ¢ */

+#define TRS_ESM_EVENT_BASE                       (DWORD)(EVENT_PS_LTE_BASE + 1500)

+#define TRS_ESM_RSP_EVENT                        (DWORD)(TRS_ESM_EVENT_BASE + 9)   

+#define TRS_ESM_EVENT_END                        (DWORD)(TRS_ESM_EVENT_BASE + 29) 

+

+#define TRS_EMM_EVENT_BASE                       (DWORD)(TRS_ESM_EVENT_END + 1)

+#define TRS_EMM_RSP_EVENT                        (DWORD)(TRS_EMM_EVENT_BASE + 5)   

+#define TRS_EMM_EVENT_END                        (DWORD)(TRS_EMM_EVENT_BASE + 29) 

+

+#define ENB_EMM_ESM_EVENT_BASE                   (DWORD)(TRS_EMM_EVENT_END + 1)

+#define ENB_EMM_ESM_RSP_EVENT                    (DWORD)(ENB_EMM_ESM_EVENT_BASE + 9)   

+#define ENB_EMM_ESM_EVENT_END                    (DWORD)(ENB_EMM_ESM_EVENT_BASE + 19) 

+

+#define ENB_RRC_EMM_EVENT_BASE                   (DWORD)(ENB_EMM_ESM_EVENT_END + 1)

+#define ENB_RRC_EMM_RSP_EVENT                    (DWORD)(ENB_RRC_EMM_EVENT_BASE + 9)   

+#define ENB_RRC_EMM_EVENT_END                    (DWORD)(ENB_RRC_EMM_EVENT_BASE + 19) 

+

+#define ENB_RRC_EVENT_BASE                       (DWORD)(ENB_RRC_EMM_EVENT_END + 1)

+#define ENB_RRC_RSP_EVENT                        (DWORD)(ENB_RRC_EVENT_BASE + 25)   

+#define ENB_RRC_EVENT_END                        (DWORD)(ENB_RRC_EVENT_BASE + 34)

+

+/* LTE ¼¯³É²âÊÔÊý¾ÝÃæÔö¼ÓµÄÏûÏ¢ÆðʼºêADD BY LIUZHIPENG AT 09-12-28 */

+

+#define ENRRC_ENPDCP_EVENT_BASE                  (DWORD)(ENB_RRC_EVENT_END + 1)

+#define ENRRC_ENPDCP_RSP_EVENT                   (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 20)

+#define ENRRC_ENPDCP_EVENT_END                   (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 44) 

+/* EDCP Ó²¼þ¼ÓËÙ½Ó¿ÚÏûÏ¢ */

+#define PS_ENDCP_EVENT_BASE                      (DWORD)(ENRRC_ENPDCP_EVENT_END + 1)

+#define PS_ENDCP_RSP_EVENT                       (DWORD)(PS_ENDCP_EVENT_BASE + 9) 

+#define PS_ENDCP_EVENT_END                       (DWORD)(PS_ENDCP_EVENT_BASE + 19) 

+

+/* ENPDCPÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø*/

+#define ENPDCP_TIMER_EVENT_BASE                  (DWORD)(PS_ENDCP_EVENT_END + 1)  

+#define ENPDCP_TIMER_EVENT_END                   (DWORD)(ENPDCP_TIMER_EVENT_BASE + 19)

+

+/*EURLCÄ£¿é¶¨Ê±Æ÷³¬Ê±ÏûϢʼþºÅ¿ªÊ¼½áÊø*/

+#define ENRLC_TIMER_EVENT_BASE                   (DWORD)(ENPDCP_TIMER_EVENT_END + 1)

+#define ENRLC_TIMER_EVENT_END                    (DWORD)(ENRLC_TIMER_EVENT_BASE + 9)

+

+/* ENRRCÓëENRLCµÄÏûÏ¢¿Õ¼ä */

+#define ENRRC_ENRLC_EVENT_BASE                   (DWORD)(ENRLC_TIMER_EVENT_END + 1)

+#define ENRRC_ENRLC_RSP_EVENT                    (DWORD)(ENRRC_ENRLC_EVENT_BASE + 9)

+#define ENRRC_ENRLC_EVENT_END                    (DWORD)(ENRRC_ENRLC_EVENT_BASE + 19)

+/* ENMACÓëEPHYµÄÏûÏ¢¿Õ¼ä*/

+#define ENMAC_EPHY_EVENT_BASE                    (DWORD)(ENRRC_ENRLC_EVENT_END + 1) 

+#define ENMAC_EPHY_RSP_EVENT                     (DWORD)(ENMAC_EPHY_EVENT_BASE + 9)

+#define ENMAC_EPHY_EVENT_END                     (DWORD)(ENMAC_EPHY_EVENT_BASE + 19) 

+

+#define ENRRC_ENMAC_EVENT_BASE                   (DWORD)(ENMAC_EPHY_EVENT_END + 1) 

+#define ENRRC_ENMAC_RSP_EVENT                    (DWORD)(ENRRC_ENMAC_EVENT_BASE + 9)

+#define ENRRC_ENMAC_EVENT_END                    (DWORD)(ENRRC_ENMAC_EVENT_BASE + 19) 

+

+#define ENRRC_EPHY_EVENT_BASE                    (DWORD)(ENRRC_ENMAC_EVENT_END + 1) 

+#define ENRRC_EPHY_RSP_EVENT                     (DWORD)(ENRRC_EPHY_EVENT_BASE + 9)

+#define ENRRC_EPHY_EVENT_END                     (DWORD)(ENRRC_EPHY_EVENT_BASE + 19)

+

+#define TRS_EPHY_EVENT_BASE                      (DWORD)(ENRRC_EPHY_EVENT_END + 1)    

+#define TRS_EPHY_RSP_EVENT                       (DWORD)(TRS_EPHY_EVENT_BASE + 10)

+#define TRS_EPHY_EVENT_END                       (DWORD)(TRS_EPHY_EVENT_BASE + 19)

+

+#define TRS_ENMAC_EVENT_BASE                     (DWORD)(TRS_EPHY_EVENT_END + 1)    

+#define TRS_ENMAC_RSP_EVENT                      (DWORD)(TRS_ENMAC_EVENT_BASE + 10)

+#define TRS_ENMAC_EVENT_END                      (DWORD)(TRS_ENMAC_EVENT_BASE + 19)

+

+#define ENPDI_ENPDCP_EVENT_BASE                  (DWORD)(TRS_ENMAC_EVENT_END + 1)

+#define ENPDI_ENPDCP_RSP_EVENT                   (DWORD)(ENPDI_ENPDCP_EVENT_BASE + 10)

+#define ENPDI_ENPDCP_EVENT_END                   (DWORD)(ENPDI_ENPDCP_EVENT_BASE + 19)

+

+#define TRS_SIMULPDI_EVENT_BASE                  (DWORD)(ENPDI_ENPDCP_EVENT_END + 1)

+#define TRS_SIMULPDI_RSP_EVENT                   (DWORD)(TRS_SIMULPDI_EVENT_BASE + 10)

+#define TRS_SIMULPDI_EVENT_END                   (DWORD)(TRS_SIMULPDI_EVENT_BASE + 19)

+

+#define TRS_SIMULENPDI_EVENT_BASE                (DWORD)(TRS_SIMULPDI_EVENT_END + 1)

+#define TRS_SIMULENPDI_RSP_EVENT                 (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 10)

+#define TRS_SIMULENPDI_EVENT_END                 (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 19)

+

+/* =========================================================================

+  TRS --ΪÁËGCF²âÊÔ¶ø¶¨Òå2010/3/3 SHIFANGMING

+=========================================================================*/

+#define LTE_GCF_TRS_EVENT_BASE                   (DWORD)(TRS_SIMULENPDI_EVENT_END + 1)

+#define LTE_GCF_TRS_RSP_EVENT                    (DWORD)(LTE_GCF_TRS_EVENT_BASE + 10)

+#define LTE_GCF_TRS_EVENT_END                    (DWORD)(LTE_GCF_TRS_EVENT_BASE + 19)

+

+#define LTE_GCF_TIMER_EVENT_BASE                 (DWORD)(LTE_GCF_TRS_EVENT_END + 1)

+#define LTE_GCF_TIMER_EVENT_END                  (DWORD)(LTE_GCF_TIMER_EVENT_BASE + 19)

+

+

+/*TRSºÍENRLCÄ£¿éÖ®¼äµÄÏûϢʼþ2010/3/1 LIUHUAN*/

+#define TRS_ENRLC_EVENT_BASE                     (DWORD)(LTE_GCF_TIMER_EVENT_END + 1)

+#define TRS_ENRLC_RSP_EVENT                      (DWORD)(TRS_ENRLC_EVENT_BASE + 10)

+#define TRS_ENRLC_EVENT_END                      (DWORD)(TRS_ENRLC_EVENT_BASE + 19)

+

+#define ENPDCP_ENRLC_EVENT_BASE                  (DWORD)(TRS_ENRLC_EVENT_END + 1)

+#define ENPDCP_ENRLC_EVENT_END                   (DWORD)(ENPDCP_ENRLC_EVENT_BASE + 9)

+

+//--ENMEL2ÏûϢʼþ

+#define ENMEL2_EVENT_BASE                  (DWORD)(ENPDCP_ENRLC_EVENT_END + 1)

+#define ENMEL2_RSP_EVENT                   (DWORD)(ENRRC_ENMAC_EVENT_BASE + 5)

+#define ENMEL2_EVENT_END                   (DWORD)(ENRRC_ENMAC_EVENT_BASE + 6)

+/**************************************************PS LTE msg  range end********************************************************/

+

+

+/**************************************************PS W  msg range start********************************************************/

+

+/*WRLCºÍPDCPµÄÏûÏ¢·¶Î§(10)*/

+#define PDCP_WRLC_EVENT_BASE                      (DWORD)(EVENT_PS_W_BASE + 1)

+#define PDCP_WRLC_EVENT_END                       (DWORD)(PDCP_WRLC_EVENT_BASE + 9)

+

+

+/*WRLCºÍWRRCµÄÏûÏ¢·¶Î§(60)*/

+#define WRLC_WRRC_EVENT_BASE                     (DWORD)(PDCP_WRLC_EVENT_END + 1)

+#define WRLC_WRRC_RSP_EVENT                      (DWORD)(WRLC_WRRC_EVENT_BASE + 30)

+#define WRLC_WRRC_EVENT_END                      (DWORD)(WRLC_WRRC_EVENT_BASE + 59)

+

+/*WMACºÍWRRCµÄÏûÏ¢·¶Î§(70)*/

+#define WMAC_WRRC_EVENT_BASE                     (DWORD)(WRLC_WRRC_EVENT_END + 1)

+#define WMAC_WRRC_RSP_EVENT                      (DWORD)(WMAC_WRRC_EVENT_BASE + 40)

+#define WMAC_WRRC_EVENT_END                      (DWORD)(WMAC_WRRC_EVENT_BASE + 69)

+

+/*WMAC-UL/DLºÍWMAC-CµÄÏûÏ¢·¶Î§(20)*/

+#define WMAC_WMAC_EVENT_BASE                     (DWORD)(WMAC_WRRC_EVENT_END + 1)

+#define WMAC_WMAC_EVENT_END                      (DWORD)(WMAC_WMAC_EVENT_BASE + 19)

+

+/*L1WºÍWRRCµÄÏûÏ¢·¶Î§(60)*/

+#define L1W_WRRC_EVENT_BASE                      (DWORD)(WMAC_WMAC_EVENT_END + 1)

+#define L1W_WRRC_RSP_EVENT                       (DWORD)(L1W_WRRC_EVENT_BASE + 30)

+#define L1W_WRRC_EVENT_END                       (DWORD)(L1W_WRRC_EVENT_BASE + 59)

+

+/*PDCPºÍWRRCµÄÏûÏ¢·¶Î§(60)*/

+#define PDCP_WRRC_EVENT_BASE                     (DWORD)(L1W_WRRC_EVENT_END + 1)

+#define PDCP_WRRC_RSP_EVENT                      (DWORD)(PDCP_WRRC_EVENT_BASE + 30)

+#define PDCP_WRRC_EVENT_END                      (DWORD)(PDCP_WRRC_EVENT_BASE + 59)

+

+/*WRLCºÍWMACµÄÏûÏ¢·¶Î§(20)*/

+#define WRLC_WMAC_EVENT_BASE                     (DWORD)(PDCP_WRRC_EVENT_END + 1)

+#define WRLC_WMAC_EVENT_END                      (DWORD)(WRLC_WMAC_EVENT_BASE + 19)

+

+/*L1WºÍWMACµÄÏûÏ¢·¶Î§(10)*/

+#define WMAC_L1W_EVENT_BASE                      (DWORD)(WRLC_WMAC_EVENT_END + 1)

+#define WMAC_L1W_EVENT_END                       (DWORD)(WMAC_L1W_EVENT_BASE + 9)

+

+/*WRRCÄÚ²¿ÏûÏ¢·¶Î§(100)*/

+#define WRRC_EVENT_BASE                          (DWORD)(WMAC_L1W_EVENT_END + 1)

+#define WRRC_EVENT_END                           (DWORD)(WRRC_EVENT_BASE + 99)

+

+/*L1WÄÚ²¿ÏûÏ¢·¶Î§(20)*/

+#define L1W_EVENT_BASE                           (DWORD)(WRRC_EVENT_END + 1)

+#define L1W_EVENT_END                            (DWORD)(L1W_EVENT_BASE + 19)

+

+/*ASCºÍUMTS ASµÄÏûÏ¢·¶Î§ (100)*/

+#define ASC_WAS_EVENT_BASE                       (DWORD)(L1W_EVENT_END + 1)

+#define ASC_WAS_RSP_EVENT                        (DWORD)(ASC_WAS_EVENT_BASE + 50)

+#define ASC_WAS_EVENT_END                        (DWORD)(ASC_WAS_EVENT_BASE + 99)

+

+/*WÄÚ¶¨Ê±Æ÷³¬Ê±ÏûÏ¢·¶Î§140()*/

+

+#define WRRC_TIMER_EVENT_BASE                    (DWORD)(ASC_WAS_EVENT_END + 1)

+#define WRRC_TIMER_EVENT_END                     (DWORD)(WRRC_TIMER_EVENT_BASE + 79)

+

+#define WRLC_TIMER_EVENT_BASE                    (DWORD)(WRRC_TIMER_EVENT_END + 1)

+#define WRLC_TIMER_EVENT_END                     (DWORD)(WRLC_TIMER_EVENT_BASE + 19)

+

+#define WMAC_TIMER_EVENT_BASE                    (DWORD)(WRLC_TIMER_EVENT_END + 1)

+#define WMAC_TIMER_EVENT_END                     (DWORD)(WMAC_TIMER_EVENT_BASE + 19)

+

+#define L1W_TIMER_EVENT_BASE                     (DWORD)(WMAC_TIMER_EVENT_END + 1)

+#define L1W_TIMER_EVENT_END                      (DWORD)(L1W_TIMER_EVENT_BASE + 19)

+

+/*W²âÊÔÏûÏ¢·¶Î§(40)*/

+

+#define WSIR_TEST_EVENT_BASE                     (DWORD)(L1W_TIMER_EVENT_END + 1)

+#define WSIR_TEST_EVENT_END                      (DWORD)(WSIR_TEST_EVENT_BASE + 9)

+

+#define NWRLC_EVENT_BASE                         (DWORD)(WSIR_TEST_EVENT_END + 1)

+#define NWRLC_EVENT_END                          (DWORD)(NWRLC_EVENT_BASE + 19)

+

+#define NWMAC_EVENT_BASE                         (DWORD)(NWRLC_EVENT_END + 1)

+#define NWMAC_EVENT_END                          (DWORD)(NWMAC_EVENT_BASE + 9)

+

+/*º¯ÊýÐÅÁî¸ú×ÙÏûÏ¢·¶Î§(50)*/

+#define WRRC_FUNC_EVENT_BASE                     (DWORD)(NWMAC_EVENT_END + 1)

+#define WRRC_FUNC_EVENT_END                      (DWORD)(WRRC_FUNC_EVENT_BASE + 49)

+

+/*º¯Êý·µ»ØÖµ¸ú×ÙÏûÏ¢·¶Î§(50)*/

+#define RRC_FUNC_TRACE_BASE                     (DWORD)(WRRC_FUNC_EVENT_END + 1)

+#define RRC_FUNC_TRACE_END                      (DWORD)(RRC_FUNC_TRACE_BASE + 49)

+

+/**************************************************PS W msg  range end********************************************************/

+/* ========================================================================

+   CM-MM/GMMÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CM_EST_REQ_EV                            (DWORD)(CM_MM_EVENT_BASE + 0)

+#define CM_EST_CNF_EV                            (DWORD)(CM_MM_EVENT_BASE + 1)

+#define CM_REL_REQ_EV                            (DWORD)(CM_MM_EVENT_BASE + 2)

+#define CM_REL_IND_EV                            (DWORD)(CM_MM_EVENT_BASE + 3)

+#define CM_CANCEL_REQ_EV                         (DWORD)(CM_MM_EVENT_BASE + 4)

+#define CM_REEST_REQ_EV                          (DWORD)(CM_MM_EVENT_BASE + 5)

+#define CM_CMSRV_IND_EV                          (DWORD)(CM_MM_EVENT_BASE + 6)

+#define CM_IN_FLY_MODE_REQ_EV                    (DWORD)(CM_MM_EVENT_BASE + 7)

+#define CM_OUT_FLY_MODE_REQ_EV                   (DWORD)(CM_MM_EVENT_BASE + 8)

+#define CM_DATA_IND_EV                           (DWORD)(CM_MM_EVENT_BASE + 9)

+#define CM_RATCHG_START_IND_EV                   (DWORD)(CM_MM_EVENT_BASE + 10)

+#define CM_RATCHG_END_IND_EV                     (DWORD)(CM_MM_EVENT_BASE + 11)

+#define CM_RRC_REL_IND_EV                        (DWORD)(CM_MM_EVENT_BASE + 12)

+#define CM_SRVCC_START_IND_EV                    (DWORD)(CM_MM_EVENT_BASE + 13)

+#define CM_SRVCC_SUCC_IND_EV                     (DWORD)(CM_MM_EVENT_BASE + 14)

+#define CM_SRVCC_FAIL_IND_EV                     (DWORD)(CM_MM_EVENT_BASE + 15)

+#define CM_SM_ONLY_ONE_EPDNCON_EV                (DWORD)(CM_MM_EVENT_BASE + 16)

+#define CM_ESM_DETACH_REQ_EV                     (DWORD)(CM_MM_EVENT_BASE + 17)

+#define CM_SM_DEACT_NON_EMERGENCY_EV             (DWORD)(CM_MM_EVENT_BASE + 18)

+

+/* ========================================================================

+   UMM£­MM/GMM/EMMÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UMM_UPDATE_REQ_EV                        (DWORD)(UMM_EVENT_BASE + 0)

+#define UMM_DETACH_REQ_EV                        (DWORD)(UMM_EVENT_BASE + 1)

+#define UMM_PENDING_REQ_EV                       (DWORD)(UMM_EVENT_BASE + 2)

+#define UMM_RESUME_REQ_EV                        (DWORD)(UMM_EVENT_BASE + 3)

+#define UMM_ABORT_REQ_EV                         (DWORD)(UMM_EVENT_BASE + 4)

+#define UMM_EMERGENCY_UPDATE_REQ_EV              (DWORD)(UMM_EVENT_BASE + 5)

+#define UMM_CSEST_REQ_EV                         (DWORD)(UMM_EVENT_BASE + 6)

+#define UMM_PAGE_IND_EV                          (DWORD)(UMM_EVENT_BASE + 7)

+#define UMM_CCO_START_REQ_EV                     (DWORD)(UMM_EVENT_BASE + 8)

+#define UMM_HO_START_REQ_EV                      (DWORD)(UMM_EVENT_BASE + 9)

+#define UMM_CELL_RESEL_START_REQ_EV              (DWORD)(UMM_EVENT_BASE + 10)

+#define UMM_LU_SUCC_IND_EV                       (DWORD)(UMM_EVENT_BASE + 11)

+#define UMM_FAIL_IND_EV                          (DWORD)(UMM_EVENT_BASE + 12)

+#define UMM_RU_SUCC_IND_EV                       (DWORD)(UMM_EVENT_BASE + 13)

+#define UMM_DETACH_IND_EV                        (DWORD)(UMM_EVENT_BASE + 14)

+#define UMM_DETACH_CNF_EV                        (DWORD)(UMM_EVENT_BASE + 15)

+#define UMM_MM_CURRENT_STATE_IND_EV              (DWORD)(UMM_EVENT_BASE + 16)

+#define UMM_GMM_CURRENT_STATE_IND_EV             (DWORD)(UMM_EVENT_BASE + 17)

+#define UMM_EMERGENCY_T3412_EXPIRY_IND_EV        (DWORD)(UMM_EVENT_BASE + 18)

+#define UMM_CELL_NO_CHG_IND_EV                   (DWORD)(UMM_EVENT_BASE + 19)

+#define UMM_CS_EST_REJ_EV                        (DWORD)(UMM_EVENT_BASE + 20)

+#define UMM_CS_SRV_NOTIFY_IND_EV                 (DWORD)(UMM_EVENT_BASE + 21)

+#define UMM_CCO_END_IND_EV                       (DWORD)(UMM_EVENT_BASE + 22)

+#define UMM_HO_END_IND_EV                        (DWORD)(UMM_EVENT_BASE + 23)

+#define UMM_CELL_RESEL_END_IND_EV                (DWORD)(UMM_EVENT_BASE + 24)

+#define UMM_ATTACH_STATE_SYNC_REQ_EV             (DWORD)(UMM_EVENT_BASE + 25)

+#define UMM_CHECK_REL_RRC_REQ_EV                 (DWORD)(UMM_EVENT_BASE + 26)

+#define UMM_PS_CONTEXT_IND_EV                    (DWORD)(UMM_EVENT_BASE + 27)

+#define UMM_START_TEMPERATURE_CTRL_REQ_EV        (DWORD)(UMM_EVENT_BASE + 28)

+#define UMM_STOP_TEMPERATURE_CTRL_REQ_EV         (DWORD)(UMM_EVENT_BASE + 29)

+#define UMM_POWEROFF_IND_RV                      (DWORD)(UMM_EVENT_BASE + 30)

+#define UMM_SWITCH_CARD_END_EV                   (DWORD)(UMM_EVENT_BASE + 31)

+/* ========================================================================

+   UMM£­ASCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UMM_ASC_CAMPON_CELL_REQ_EV               (DWORD)(UMM_ASC_EVENT_BASE + 0)

+#define UMM_ASC_CAMPON_ANYCELL_REQ_EV            (DWORD)(UMM_ASC_EVENT_BASE + 1)

+#define UMM_ASC_UPDATE_PLMN_REQ_EV               (DWORD)(UMM_ASC_EVENT_BASE + 2)

+#define UMM_ASC_PLMN_LIST_REQ_EV                 (DWORD)(UMM_ASC_EVENT_BASE + 3)

+#define UMM_ASC_SWITCH_RADIO_REQ_EV              (DWORD)(UMM_ASC_EVENT_BASE + 4)

+#define UMM_ASC_TRY_HPPLMN_REQ_EV                (DWORD)(UMM_ASC_EVENT_BASE + 5)

+#define UMM_ASC_STOP_PLMN_LIST_REQ_EV            (DWORD)(UMM_ASC_EVENT_BASE + 6)

+#define UMM_ASC_PCH_PRE_REQ_EV                   (DWORD)(UMM_ASC_EVENT_BASE + 7)

+#define UMM_ASC_ABORT_HPPLMN_REQ_EV              (DWORD)(UMM_ASC_EVENT_BASE + 8)

+#define UMM_ASC_UPDATE_PARAM_REQ_EV              (DWORD)(UMM_ASC_EVENT_BASE + 9)

+#define UMM_ASC_INACTIVE_REQ_EV                  (DWORD)(UMM_ASC_EVENT_BASE + 10)

+#define UMM_ASC_PAGE_REQ_EV                      (DWORD)(UMM_ASC_EVENT_BASE + 11)

+#define UMM_ASC_LOCK_CELL_REQ_EV                 (DWORD)(UMM_ASC_EVENT_BASE + 12)

+#define UMM_ASC_UNLOCK_CELL_REQ_EV               (DWORD)(UMM_ASC_EVENT_BASE + 13)

+#define UMM_ASC_GSM_SRV_NOTIFY_REQ_EV            (DWORD)(UMM_ASC_EVENT_BASE + 14)

+#define UMM_ASC_CSG_LIST_REQ_EV                  (DWORD)(UMM_ASC_EVENT_BASE + 15)

+#define UMM_ASC_UPDATE_SYSCONFIG_REQ_EV          (DWORD)(UMM_ASC_EVENT_BASE + 16) 

+#define UMM_ASC_UPDATE_LTE_ACT_EV                (DWORD)(UMM_ASC_EVENT_BASE + 17) 

+#define UMM_ASC_UPDATE_SCAN_UE_BAND_FG_EV        (DWORD)(UMM_ASC_EVENT_BASE + 18)  

+#define UMM_ASC_UPDATE_WHITE_CSGLIST_REQ_EV      (DWORD)(UMM_ASC_EVENT_BASE + 19)

+#define UMM_ASC_STOP_CSG_LIST_REQ_EV             (DWORD)(UMM_ASC_EVENT_BASE + 20)

+#define UMM_ASC_UPDATE_AUTH_PARAM_REQ_EV         (DWORD)(UMM_ASC_EVENT_BASE + 21)

+#define UMM_ASC_SYS_CAMP_LTESUBACT_REQ_EV        (DWORD)(UMM_ASC_EVENT_BASE + 22)

+#define UMM_ASC_DELFORBIDDENLAILIST_REQ_EV       (DWORD)(UMM_ASC_EVENT_BASE + 23)

+#define UMM_ASC_HPPLMN_END_IND_EV                (DWORD)(UMM_ASC_EVENT_BASE + 24)

+#define UMM_ASC_XCELLINFO_REQ_EV                 (DWORD)(UMM_ASC_EVENT_BASE + 25)

+#define UMM_ASC_XCELLINFO_ABORT_REQ_EV           (DWORD)(UMM_ASC_EVENT_BASE + 26)

+

+#define UMM_ASC_CELL_INFO_IND_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 0)

+#define UMM_ASC_NOCELL_IND_EV                    (DWORD)(UMM_ASC_RSP_EVENT + 1)

+#define UMM_ASC_PLMN_LIST_CNF_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 2)

+#define UMM_ASC_SWITCH_RADIO_CNF_EV              (DWORD)(UMM_ASC_RSP_EVENT + 3)

+#define UMM_ASC_CNINFO_IND_EV                    (DWORD)(UMM_ASC_RSP_EVENT + 4)

+#define UMM_ASC_TRY_HPPLMN_REJ_EV                (DWORD)(UMM_ASC_RSP_EVENT + 5)

+#define UMM_ASC_PLMN_LIST_REJ_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 6)

+#define UMM_ASC_INACTIVE_CNF_EV                  (DWORD)(UMM_ASC_RSP_EVENT + 7)

+#define UMM_ASC_HO_START_IND_EV                  (DWORD)(UMM_ASC_RSP_EVENT + 9)

+#define UMM_ASC_CCO_START_IND_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 10)

+#define UMM_ASC_CELL_RESEL_START_IND_EV          (DWORD)(UMM_ASC_RSP_EVENT + 11) 

+#define UMM_ASC_HO_END_IND_EV                    (DWORD)(UMM_ASC_RSP_EVENT + 12)

+#define UMM_ASC_CCO_END_IND_EV                   (DWORD)(UMM_ASC_RSP_EVENT + 13)

+#define UMM_ASC_CELL_RESEL_END_IND_EV            (DWORD)(UMM_ASC_RSP_EVENT + 14)

+#define UMM_ASC_TRY_HPPLMN_CNF_EV                (DWORD)(UMM_ASC_RSP_EVENT + 15)

+#define UMM_ASC_ABORT_HPPLMN_CNF_EV              (DWORD)(UMM_ASC_RSP_EVENT + 16)

+#define UMM_ASC_LOCK_CELL_CNF_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 17)

+#define UMM_ASC_CSG_LIST_CNF_EV                  (DWORD)(UMM_ASC_RSP_EVENT + 18)

+#define UMM_ASC_CSG_LIST_REJ_EV                  (DWORD)(UMM_ASC_RSP_EVENT + 19)

+#define UMM_ASC_TBF_RELEASE_IND_EV               (DWORD)(UMM_ASC_RSP_EVENT + 20)

+#define UMM_ASC_SCAN_UE_BAND_IND_EV              (DWORD)(UMM_ASC_RSP_EVENT + 21)

+#define UMM_ASC_UPDATE_ACCESS_CLASS_INFO_EV      (DWORD)(UMM_ASC_RSP_EVENT + 22)

+#define UMM_ASC_CELL_UPDATE_IND_EV               (DWORD)(UMM_ASC_RSP_EVENT + 23)     /*GRR֪ͨUMM×öÐ¡Çø¸üÐÂ*/

+#define UMM_ASC_RECONST_PSRES_IND_EV             (DWORD)(UMM_ASC_RSP_EVENT + 24)

+#define UMM_ASC_SUBMODE_IND_EV                   (DWORD)(UMM_ASC_RSP_EVENT + 25)

+#define UMM_ASC_CELL_LOST_IND_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 26)

+#define UMM_ASC_CELL_RECOVERAGE_IND_EV           (DWORD)(UMM_ASC_RSP_EVENT + 27)

+#define UMM_ASC_XCELLINFO_CNF_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 28)

+#define UMM_ASC_XCELLINFO_REJ_EV                 (DWORD)(UMM_ASC_RSP_EVENT + 29)

+#define UMM_ASC_NEIGCELL_IND_EV                  (DWORD)(UMM_ASC_RSP_EVENT + 30)

+#define UMM_ASC_SCAN_CNF_EV                      (DWORD)(UMM_ASC_RSP_EVENT + 31)

+/* ========================================================================

+   MM/GMM/CC£­ASCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define GMM_ASC_EST_REQ_EV                       (DWORD)(GMM_ASC_EVENT_BASE + 0)

+#define GMM_ASC_REL_REQ_EV                       (DWORD)(GMM_ASC_EVENT_BASE + 1)

+#define GMM_ASC_DATA_REQ_EV                      (DWORD)(GMM_ASC_EVENT_BASE + 2)

+#define GMM_ASC_CALL_TYPE_NOTIFY_REQ_EV          (DWORD)(GMM_ASC_EVENT_BASE + 3)

+#define GMM_ASC_GRR_ASSIGN_REQ_EV                (DWORD)(GMM_ASC_EVENT_BASE + 4)

+#define GMM_ASC_GRR_INFO_REQ_EV                  (DWORD)(GMM_ASC_EVENT_BASE + 5)

+#define GMM_ASC_LL_ASSIGN_REQ_EV                 (DWORD)(GMM_ASC_EVENT_BASE + 6)

+#define GMM_ASC_LL_TRIGGER_REQ_EV                (DWORD)(GMM_ASC_EVENT_BASE + 7)

+#define GMM_ASC_LL_SUSPEND_REQ_EV                (DWORD)(GMM_ASC_EVENT_BASE + 8)

+#define GMM_ASC_LL_RESUME_REQ_EV                 (DWORD)(GMM_ASC_EVENT_BASE + 9)

+#define GMM_ASC_LL_UNITDATA_REQ_EV               (DWORD)(GMM_ASC_EVENT_BASE + 10)

+#define GMM_ASC_CLEAN_PEND_EST_REQ_EV            (DWORD)(GMM_ASC_EVENT_BASE + 11)

+

+#define GMM_ASC_EST_CNF_EV                       (DWORD)(GMM_ASC_RSP_EVENT + 0)

+#define GMM_ASC_EST_IND_EV                       (DWORD)(GMM_ASC_RSP_EVENT + 1)

+#define GMM_ASC_REL_IND_EV                       (DWORD)(GMM_ASC_RSP_EVENT + 2)

+#define GMM_ASC_SYNC_IND_EV                      (DWORD)(GMM_ASC_RSP_EVENT + 3)

+#define GMM_ASC_CCSYNC_IND_EV                    (DWORD)(GMM_ASC_RSP_EVENT + 4)

+#define GMM_ASC_PAGE_IND_EV                      (DWORD)(GMM_ASC_RSP_EVENT + 5)

+#define GMM_ASC_DATA_IND_EV                      (DWORD)(GMM_ASC_RSP_EVENT + 6)

+#define GMM_ASC_SUSPEND_IND_EV                   (DWORD)(GMM_ASC_RSP_EVENT + 7)

+#define GMM_ASC_GSM_CC_SYNC_IND_EV               (DWORD)(GMM_ASC_RSP_EVENT + 8)

+#define GMM_ASC_CS_RAB_REL_IND_EV                (DWORD)(GMM_ASC_RSP_EVENT + 9)

+#define GMM_ASC_GSM_CC_TCH_REL_IND_EV            (DWORD)(GMM_ASC_RSP_EVENT + 10)

+#define GMM_ASC_SAPI3_REL_IND_EV                 (DWORD)(GMM_ASC_RSP_EVENT + 11)

+#define GMM_ASC_SRVCC_START_IND_EV               (DWORD)(GMM_ASC_RSP_EVENT + 12)

+#define GMM_ASC_SRVCC_END_IND_EV                 (DWORD)(GMM_ASC_RSP_EVENT + 13)

+#define GMM_ASC_LL_UNITDATA_IND_EV               (DWORD)(GMM_ASC_RSP_EVENT + 14)

+#define GMM_ASC_LL_TRIGGER_IND_EV                (DWORD)(GMM_ASC_RSP_EVENT + 15)

+#define GMM_ASC_LL_STATUS_IND_EV                 (DWORD)(GMM_ASC_RSP_EVENT + 16)

+#define GMM_ASC_LL_USER_DATA_PRESENT_EV          (DWORD)(GMM_ASC_RSP_EVENT + 17)

+#define GMM_ASC_GSM_SM_CURR_BEAR_IND_EV          (DWORD)(GMM_ASC_RSP_EVENT + 18)

+#define GMM_ASC_UTRA_SM_CURR_BEAR_IND_EV         (DWORD)(GMM_ASC_RSP_EVENT + 19)/*WCDMA*//*¶ÔÓ¦AS²ãµÄASC_TD_CURR_BEAR_IND_EVºÍASC_W_CURR_BEAR_IND_EV*/

+#define GMM_ASC_PSHO_INFO_IND_EV                 (DWORD)(GMM_ASC_RSP_EVENT + 20)     /*LLC֪ͨGMMÇл»Ïà¹Ø¼ÓÃÜËã·¨  ASC£­>GMM*/

+#define GMM_ASC_SEND_CMP_IND_EV                  (DWORD)(GMM_ASC_RSP_EVENT + 21)

+/* ========================================================================

+   ASC£­UMTS ASÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/* ========================================================================

+   ASC£­TD ASÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*ASC->UCSR*/

+#define ASC_TD_SWITCH_RADIO_REQ_EV               (DWORD)(ASC_UAS_EVENT_BASE + 0)

+#define ASC_TD_CAMPON_CELL_REQ_EV                (DWORD)(ASC_UAS_EVENT_BASE + 1)

+#define ASC_TD_CAMPON_ANYCELL_REQ_EV             (DWORD)(ASC_UAS_EVENT_BASE + 2)

+#define ASC_TD_UPDATE_REPLMN_FAILED_LAI_IND_EV   (DWORD)(ASC_UAS_EVENT_BASE + 3)

+#define ASC_TD_PLMN_LIST_REQ_EV                  (DWORD)(ASC_UAS_EVENT_BASE + 4)

+#define ASC_TD_STOP_PLMN_LIST_REQ_EV             (DWORD)(ASC_UAS_EVENT_BASE + 5)

+#define ASC_TD_TRY_HPPLMN_REQ_EV                 (DWORD)(ASC_UAS_EVENT_BASE + 6)

+#define ASC_TD_ABORT_HPPLMN_REQ_EV               (DWORD)(ASC_UAS_EVENT_BASE + 7)

+#define ASC_TD_UPDATE_SCAN_UE_BAND_FG_EV         (DWORD)(ASC_UAS_EVENT_BASE + 8)

+#define ASC_TD_IRAT_CAMPON_REJ_EV                (DWORD)(ASC_UAS_EVENT_BASE + 9)

+#define ASC_TD_IRAT_CAMPON_CNF_EV                (DWORD)(ASC_UAS_EVENT_BASE + 10)

+#define ASC_TD_ABORT_RSP_EV                      (DWORD)(ASC_UAS_EVENT_BASE + 11)

+

+/*NAS->ASC->AS*/

+#define ASC_TD_LOCK_CELL_REQ_EV                  (DWORD)(ASC_UAS_EVENT_BASE + 12)

+#define ASC_TD_UNLOCK_CELL_REQ_EV                (DWORD)(ASC_UAS_EVENT_BASE + 13)

+#define ASC_TD_EST_REQ_EV                        (DWORD)(ASC_UAS_EVENT_BASE + 14)

+#define ASC_TD_DATA_REQ_EV                       (DWORD)(ASC_UAS_EVENT_BASE + 15)

+#define ASC_TD_REL_REQ_EV                        (DWORD)(ASC_UAS_EVENT_BASE + 16)

+#define ASC_TD_CALL_TYPE_NOTIFY_REQ_EV           (DWORD)(ASC_UAS_EVENT_BASE + 17)

+#define ASC_TD_PAGE_REQ_EV                       (DWORD)(ASC_UAS_EVENT_BASE + 18)

+#define ASC_TD_INACTIVE_REQ_EV                   (DWORD)(ASC_UAS_EVENT_BASE + 19)   

+#define ASC_TD_CLEAN_PEND_EST_REQ_EV             (DWORD)(ASC_UAS_EVENT_BASE + 20)

+#define ASC_TD_NO_DRX_REQ_EV                     (DWORD)(ASC_UAS_EVENT_BASE + 21)

+#define ASC_TD_DRX_RSV_REQ_EV                    (DWORD)(ASC_UAS_EVENT_BASE + 22)

+#define ASC_TD_STOP_REQ_EV                       (DWORD)(ASC_UAS_EVENT_BASE + 23)

+#define ASC_TD_UPDATE_CAMP_ACT_REQ_EV            (DWORD)(ASC_UAS_EVENT_BASE + 24)

+#define ASC_TD_LOSTCOV_CAMP_SUCC_IND_EV          (DWORD)(ASC_UAS_EVENT_BASE + 25)

+#define ASC_TD_UPDATE_AUTH_PARAM_REQ_EV          (DWORD)(ASC_UAS_EVENT_BASE + 26)

+#define ASC_TD_XCELLINFO_REQ_EV                  (DWORD)(ASC_UAS_EVENT_BASE + 27)

+#define ASC_TD_XCELLINFO_ABORT_REQ_EV            (DWORD)(ASC_UAS_EVENT_BASE + 28)

+

+/*UCSR->ASC */

+#define ASC_TD_SWITCH_RADIO_CNF_EV               (DWORD)(ASC_UAS_RSP_EVENT + 0)

+#define ASC_TD_IRAT_CAMPON_START_IND_EV          (DWORD)(ASC_UAS_RSP_EVENT + 1)

+#define ASC_TD_IRAT_CAMPON_REQ_EV                (DWORD)(ASC_UAS_RSP_EVENT + 2)  

+#define ASC_TD_CELL_INFO_IND_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 3)

+#define ASC_TD_TRY_HPPLMN_CNF_EV                 (DWORD)(ASC_UAS_RSP_EVENT + 4)

+

+#define ASC_TD_NOCELL_INFO_IND_EV                (DWORD)(ASC_UAS_RSP_EVENT + 5)

+#define ASC_TD_PLMN_LIST_CNF_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 6)

+#define ASC_TD_PLMN_LIST_REJ_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 7)

+#define ASC_TD_TRY_HPPLMN_REJ_EV                 (DWORD)(ASC_UAS_RSP_EVENT + 8)

+#define ASC_TD_ABORT_HPPLMN_CNF_EV               (DWORD)(ASC_UAS_RSP_EVENT + 9)

+#define ASC_TD_ABORT_IND_EV                      (DWORD)(ASC_UAS_RSP_EVENT + 10)

+#define ASC_TD_SUBMODE_IND_EV                    (DWORD)(ASC_UAS_RSP_EVENT + 11)

+#define ASC_TD_LOCK_CELL_CNF_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 12)

+#define ASC_TD_SCAN_UE_BAND_IND_EV               (DWORD)(ASC_UAS_RSP_EVENT + 13)

+

+/*UCSR->ASC or UCER->ASC*/

+#define ASC_TD_UPDATE_ACCESS_CLASS_INFO_EV       (DWORD)(ASC_UAS_RSP_EVENT + 14)

+#define ASC_TD_INACTIVE_CNF_EV                   (DWORD)(ASC_UAS_RSP_EVENT + 15) 

+#define ASC_TD_EST_CNF_EV                        (DWORD)(ASC_UAS_RSP_EVENT + 16)

+#define ASC_TD_DATA_IND_EV                       (DWORD)(ASC_UAS_RSP_EVENT + 17)

+#define ASC_TD_REL_IND_EV                        (DWORD)(ASC_UAS_RSP_EVENT + 18)

+#define ASC_TD_PAGING_IND_EV                     (DWORD)(ASC_UAS_RSP_EVENT + 19)

+#define ASC_TD_SYNC_IND_EV                       (DWORD)(ASC_UAS_RSP_EVENT + 20)

+#define ASC_TD_PCH_CELL_INFO_IND_EV              (DWORD)(ASC_UAS_RSP_EVENT + 21)

+#define ASC_TD_UURLC_DATA_IND_EV                 (DWORD)(ASC_UAS_RSP_EVENT + 22)

+#define ASC_TD_ETWS_PRIMARY_NOTIFY_IND_EV        (DWORD)(ASC_UAS_RSP_EVENT + 23)

+#define ASC_TD_ETWS_SECONDARY_NOTIFY_IND_EV      (DWORD)(ASC_UAS_RSP_EVENT + 24)

+#define ASC_TD_SRVCC_START_IND_EV                (DWORD)(ASC_UAS_RSP_EVENT + 25)

+#define ASC_TD_SRVCC_END_IND_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 26)

+#define ASC_TD_CCSYNC_IND_EV                     (DWORD)(ASC_UAS_RSP_EVENT + 27)

+#define ASC_TD_CS_RAB_REL_IND_EV                 (DWORD)(ASC_UAS_RSP_EVENT + 28)

+#define ASC_TD_CNINFO_IND_EV                     (DWORD)(ASC_UAS_RSP_EVENT + 29)

+

+/*  URBC->ASC   */

+#define ASC_TD_CURR_BEAR_IND_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 30)

+#define ASC_TD_RECONST_PSRES_IND_EV              (DWORD)(ASC_UAS_RSP_EVENT + 31)

+#define ASC_TD_CELL_LOST_IND_EV                  (DWORD)(ASC_UAS_RSP_EVENT + 32)

+#define ASC_TD_CELL_RECOVERAGE_IND_EV            (DWORD)(ASC_UAS_RSP_EVENT + 33)

+

+/*UCSR->ASC add*/

+#define ASC_TD_XCELLINFO_CNF_EV                 (DWORD)(ASC_UAS_RSP_EVENT + 34)

+#define ASC_TD_XCELLINFO_ABORT_CNF_EV           (DWORD)(ASC_UAS_RSP_EVENT + 35)

+#define ASC_TD_XCELLINFO_REJ_EV                 (DWORD)(ASC_UAS_RSP_EVENT + 36)

+

+/* ========================================================================

+   ASC£­WCDMA ASÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*ASC->WCSR*/

+#define ASC_W_SWITCH_RADIO_REQ_EV               (DWORD)(ASC_WAS_EVENT_BASE + 0)

+#define ASC_W_CAMPON_CELL_REQ_EV                (DWORD)(ASC_WAS_EVENT_BASE + 1)

+#define ASC_W_CAMPON_ANYCELL_REQ_EV             (DWORD)(ASC_WAS_EVENT_BASE + 2)

+#define ASC_W_UPDATE_REPLMN_FAILED_LAI_IND_EV   (DWORD)(ASC_WAS_EVENT_BASE + 3)

+#define ASC_W_PLMN_LIST_REQ_EV                  (DWORD)(ASC_WAS_EVENT_BASE + 4)

+#define ASC_W_STOP_PLMN_LIST_REQ_EV             (DWORD)(ASC_WAS_EVENT_BASE + 5)

+#define ASC_W_TRY_HPPLMN_REQ_EV                 (DWORD)(ASC_WAS_EVENT_BASE + 6)

+#define ASC_W_ABORT_HPPLMN_REQ_EV               (DWORD)(ASC_WAS_EVENT_BASE + 7)

+#define ASC_W_UPDATE_SCAN_UE_BAND_FG_EV         (DWORD)(ASC_WAS_EVENT_BASE + 8)

+#define ASC_W_IRAT_CAMPON_REJ_EV                (DWORD)(ASC_WAS_EVENT_BASE + 9)

+#define ASC_W_IRAT_CAMPON_CNF_EV                (DWORD)(ASC_WAS_EVENT_BASE + 10)

+#define ASC_W_ABORT_RSP_EV                      (DWORD)(ASC_WAS_EVENT_BASE + 11)

+#define ASC_W_IRAT_INACTIVE_CNF_EV              (DWORD)(ASC_WAS_EVENT_BASE + 12)

+

+/*NAS->ASC->AS*/

+#define ASC_W_EST_REQ_EV                        (DWORD)(ASC_WAS_EVENT_BASE + 13)

+#define ASC_W_DATA_REQ_EV                       (DWORD)(ASC_WAS_EVENT_BASE + 14)

+#define ASC_W_REL_REQ_EV                        (DWORD)(ASC_WAS_EVENT_BASE + 15)

+#define ASC_W_CALL_TYPE_NOTIFY_REQ_EV           (DWORD)(ASC_WAS_EVENT_BASE + 16)

+#define ASC_W_PAGE_REQ_EV                       (DWORD)(ASC_WAS_EVENT_BASE + 17)

+#define ASC_W_INACTIVE_REQ_EV                   (DWORD)(ASC_WAS_EVENT_BASE + 18)   

+#define ASC_W_CLEAN_PEND_EST_REQ_EV             (DWORD)(ASC_WAS_EVENT_BASE + 19)

+#define ASC_W_NO_DRX_REQ_EV                     (DWORD)(ASC_WAS_EVENT_BASE + 20)

+#define ASC_W_DRX_RSV_REQ_EV                    (DWORD)(ASC_WAS_EVENT_BASE + 21)

+#define ASC_W_STOP_REQ_EV                       (DWORD)(ASC_WAS_EVENT_BASE + 22)

+#define ASC_W_UPDATE_CAMP_ACT_REQ_EV            (DWORD)(ASC_WAS_EVENT_BASE + 23)

+#define ASC_W_LOSTCOV_CAMP_SUCC_IND_EV          (DWORD)(ASC_WAS_EVENT_BASE + 24)

+#define ASC_W_UPDATE_AUTH_PARAM_REQ_EV          (DWORD)(ASC_WAS_EVENT_BASE + 25)

+#define ASC_W_XCELLINFO_REQ_EV                  (DWORD)(ASC_WAS_EVENT_BASE + 26)

+#define ASC_W_XCELLINFO_ABORT_REQ_EV            (DWORD)(ASC_WAS_EVENT_BASE + 27)

+

+/*WCSR->ASC */

+#define ASC_W_SWITCH_RADIO_CNF_EV               (DWORD)(ASC_WAS_RSP_EVENT + 0)

+#define ASC_W_IRAT_CAMPON_START_IND_EV          (DWORD)(ASC_WAS_RSP_EVENT + 1)

+#define ASC_W_IRAT_CAMPON_REQ_EV                (DWORD)(ASC_WAS_RSP_EVENT + 2)  

+#define ASC_W_CELL_INFO_IND_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 3)

+#define ASC_W_TRY_HPPLMN_CNF_EV                 (DWORD)(ASC_WAS_RSP_EVENT + 4)

+#define ASC_W_IRAT_INACTIVE_REQ_EV              (DWORD)(ASC_WAS_RSP_EVENT + 5)

+

+#define ASC_W_NOCELL_INFO_IND_EV                (DWORD)(ASC_WAS_RSP_EVENT + 6)

+#define ASC_W_PLMN_LIST_CNF_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 7)

+#define ASC_W_PLMN_LIST_REJ_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 8)

+#define ASC_W_TRY_HPPLMN_REJ_EV                 (DWORD)(ASC_WAS_RSP_EVENT + 9)

+#define ASC_W_ABORT_HPPLMN_CNF_EV               (DWORD)(ASC_WAS_RSP_EVENT + 10)

+#define ASC_W_ABORT_IND_EV                      (DWORD)(ASC_WAS_RSP_EVENT + 11)

+#define ASC_W_SUBMODE_IND_EV                    (DWORD)(ASC_WAS_RSP_EVENT + 12)

+#define ASC_W_SCAN_UE_BAND_IND_EV               (DWORD)(ASC_WAS_RSP_EVENT + 13)

+

+/*WCSR->ASC or WCER->ASC*/

+#define ASC_W_UPDATE_ACCESS_CLASS_INFO_EV       (DWORD)(ASC_WAS_RSP_EVENT + 14)

+#define ASC_W_INACTIVE_CNF_EV                   (DWORD)(ASC_WAS_RSP_EVENT + 15)

+#define ASC_W_EST_CNF_EV                        (DWORD)(ASC_WAS_RSP_EVENT + 16)

+#define ASC_W_DATA_IND_EV                       (DWORD)(ASC_WAS_RSP_EVENT + 17)

+#define ASC_W_REL_IND_EV                        (DWORD)(ASC_WAS_RSP_EVENT + 18)

+#define ASC_W_PAGING_IND_EV                     (DWORD)(ASC_WAS_RSP_EVENT + 19)

+#define ASC_W_SYNC_IND_EV                       (DWORD)(ASC_WAS_RSP_EVENT + 20)

+#define ASC_W_PCH_CELL_INFO_IND_EV              (DWORD)(ASC_WAS_RSP_EVENT + 21)

+#define ASC_W_UURLC_DATA_IND_EV                 (DWORD)(ASC_WAS_RSP_EVENT + 22)

+#define ASC_W_ETWS_PRIMARY_NOTIFY_IND_EV        (DWORD)(ASC_WAS_RSP_EVENT + 23)

+#define ASC_W_ETWS_SECONDARY_NOTIFY_IND_EV      (DWORD)(ASC_WAS_RSP_EVENT + 24)

+#define ASC_W_SRVCC_START_IND_EV                (DWORD)(ASC_WAS_RSP_EVENT + 25)

+#define ASC_W_SRVCC_END_IND_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 26)

+#define ASC_W_CCSYNC_IND_EV                     (DWORD)(ASC_WAS_RSP_EVENT + 27)

+#define ASC_W_CS_RAB_REL_IND_EV                 (DWORD)(ASC_WAS_RSP_EVENT + 28)

+#define ASC_W_CNINFO_IND_EV                     (DWORD)(ASC_WAS_RSP_EVENT + 29)

+/*  WRBC->ASC   */

+#define ASC_W_CURR_BEAR_IND_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 30)

+#define ASC_W_RECONST_PSRES_IND_EV              (DWORD)(ASC_WAS_RSP_EVENT + 31)

+/*WCDMA*/

+#define ASC_W_UWRLC_DATA_IND_EV                 (DWORD)(ASC_WAS_RSP_EVENT + 32)

+/*WCSR/UCSR -> ASC*/

+#define ASC_UTRA_REDIRECT_CNF_EV                (DWORD)(ASC_WAS_RSP_EVENT + 33)

+#define ASC_UTRA_RESEL_CNF_EV                   (DWORD)(ASC_WAS_RSP_EVENT + 34)

+#define ASC_UTRA_COMPLETE_EV                    (DWORD)(ASC_WAS_RSP_EVENT + 35)

+#define ASC_W_XCELLINFO_CNF_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 36)

+#define ASC_W_XCELLINFO_ABORT_CNF_EV            (DWORD)(ASC_WAS_RSP_EVENT + 37)

+#define ASC_W_XCELLINFO_REJ_EV                  (DWORD)(ASC_WAS_RSP_EVENT + 38)

+

+/* ========================================================================

+   ASC£­GSM ASÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*ASC->GSMAÏûÏ¢*/

+#define ASC_GSM_SWITCH_RADIO_REQ_EV              (DWORD)(ASC_GAS_EVENT_BASE + 0)

+#define ASC_GSM_CAMPON_CELL_REQ_EV               (DWORD)(ASC_GAS_EVENT_BASE + 1)

+#define ASC_GSM_CAMPON_ANYCELL_REQ_EV            (DWORD)(ASC_GAS_EVENT_BASE + 2)

+#define ASC_GSM_INACTIVE_REQ_EV                  (DWORD)(ASC_GAS_EVENT_BASE + 3)

+#define ASC_GSM_PLMN_LIST_REQ_EV                 (DWORD)(ASC_GAS_EVENT_BASE + 4)

+#define ASC_GSM_STOP_PLMN_LIST_REQ_EV            (DWORD)(ASC_GAS_EVENT_BASE + 5)

+#define ASC_GSM_TRY_HPPLMN_REQ_EV                (DWORD)(ASC_GAS_EVENT_BASE + 6)

+#define ASC_GSM_ABORT_HPPLMN_REQ_EV              (DWORD)(ASC_GAS_EVENT_BASE + 7)

+#define ASC_GSM_UPDATE_PARAM_REQ_EV              (DWORD)(ASC_GAS_EVENT_BASE + 8)

+#define ASC_GSM_UPDATE_EPLMN_REQ_EV              (DWORD)(ASC_GAS_EVENT_BASE + 9)

+#define ASC_GSM_GSM_SRV_NOTIFY_REQ_EV            (DWORD)(ASC_GAS_EVENT_BASE + 10)

+#define ASC_GSM_PCHPRE_REQ_EV                    (DWORD)(ASC_GAS_EVENT_BASE + 11)

+#define ASC_GSM_UPDATE_REPLMN_FAILED_LAI_IND_EV  (DWORD)(ASC_GAS_EVENT_BASE + 12)

+#define ASC_GSM_EST_REQ_EV                       (DWORD)(ASC_GAS_EVENT_BASE + 13)

+#define ASC_GSM_DATA_REQ_EV                      (DWORD)(ASC_GAS_EVENT_BASE + 14)

+#define ASC_GSM_REL_REQ_EV                       (DWORD)(ASC_GAS_EVENT_BASE + 15)

+#define ASC_GSM_ASSIGN_REQ_EV                    (DWORD)(ASC_GAS_EVENT_BASE + 16)

+#define ASC_GSM_INFO_REQ_EV                      (DWORD)(ASC_GAS_EVENT_BASE + 17)

+#define ASC_GSM_ABORT_RSP_EV                     (DWORD)(ASC_GAS_EVENT_BASE + 18)

+

+/*ASC->GSMAµÄ,GSMAÊÊÅäLLCµÄÏûϢʼþºÅ*/

+#define ASC_LLC_ASSIGN_REQ_EV                    (DWORD)(ASC_GAS_EVENT_BASE + 19)

+#define ASC_LLC_TRIGGER_REQ_EV                   (DWORD)(ASC_GAS_EVENT_BASE + 20)

+#define ASC_LLC_SUSPEND_REQ_EV                   (DWORD)(ASC_GAS_EVENT_BASE + 21)

+#define ASC_LLC_RESUME_REQ_EV                    (DWORD)(ASC_GAS_EVENT_BASE + 22)

+#define ASC_LLC_UNITDATA_REQ_EV                  (DWORD)(ASC_GAS_EVENT_BASE + 23)

+#define ASC_SNP_GMM_SEQ_IND_EV                   (DWORD)(ASC_GAS_EVENT_BASE + 24)

+

+//ÁÚÇøÐÅÏ¢»ñÈ¡ÏûÏ¢

+#define ASC_GSM_XCELLINFO_REQ_EV                 (DWORD)(ASC_GAS_EVENT_BASE + 25)

+#define ASC_GSM_XCELLINFO_ABORT_REQ_EV           (DWORD)(ASC_GAS_EVENT_BASE + 26)

+

+/*GSMA->ASCÏûÏ¢*/

+#define ASC_GSM_SWITCH_RADIO_CNF_EV              (DWORD)(ASC_GAS_RSP_EVENT + 0)

+#define ASC_GSM_CELL_INFO_IND_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 1)

+#define ASC_GSM_NOCELL_INFO_IND_EV               (DWORD)(ASC_GAS_RSP_EVENT + 2)

+#define ASC_GSM_INACTIVE_CNF_EV                  (DWORD)(ASC_GAS_RSP_EVENT + 3)

+#define ASC_GSM_PLMN_LIST_REJ_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 4)

+#define ASC_GSM_PLMN_LIST_CNF_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 5)

+#define ASC_GSM_ABORT_IND_EV                     (DWORD)(ASC_GAS_RSP_EVENT + 6)

+#define ASC_GSM_TRY_HPPLMN_CNF_EV                (DWORD)(ASC_GAS_RSP_EVENT + 7)

+#define ASC_GSM_TRY_HPPLMN_REJ_EV                (DWORD)(ASC_GAS_RSP_EVENT + 8)

+#define ASC_GSM_ABORT_HPPLMN_CNF_EV              (DWORD)(ASC_GAS_RSP_EVENT + 9)

+#define ASC_GSM_CELL_UPDATE_IND_EV               (DWORD)(ASC_GAS_RSP_EVENT + 10)

+#define ASC_GSM_SUBMODE_IND_EV                   (DWORD)(ASC_GAS_RSP_EVENT + 11)

+#define ASC_GSM_EST_CNF_EV                       (DWORD)(ASC_GAS_RSP_EVENT + 12)

+#define ASC_GSM_REL_IND_EV                       (DWORD)(ASC_GAS_RSP_EVENT + 13)

+#define ASC_GSM_SYNC_IND_EV                      (DWORD)(ASC_GAS_RSP_EVENT + 14)

+#define ASC_GSM_CCSYNC_IND_GSM_EV                (DWORD)(ASC_GAS_RSP_EVENT + 15)

+#define ASC_GSM_SUSPEND_IND_EV                   (DWORD)(ASC_GAS_RSP_EVENT + 16)

+#define ASC_GSM_PAGE_IND_EV                      (DWORD)(ASC_GAS_RSP_EVENT + 17)

+#define ASC_GSM_EST_IND_EV                       (DWORD)(ASC_GAS_RSP_EVENT + 18)

+#define ASC_GSM_DATA_IND_EV                      (DWORD)(ASC_GAS_RSP_EVENT + 19)

+#define ASC_GSM_SAPI3_REL_IND_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 20)

+#define ASC_GSM_CCTCH_REL_IND_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 21)

+#define ASC_GSM_TBF_RELEASE_IND_EV               (DWORD)(ASC_GAS_RSP_EVENT + 22)

+#define ASC_GSM_UTRA_CSHO_ENDIND_EV                (DWORD)(ASC_GAS_RSP_EVENT + 23)

+

+#define ASC_LLC_UNITDATA_IND_EV                  (DWORD)(ASC_GAS_RSP_EVENT + 24)

+#define ASC_LLC_TRIGGER_IND_EV                   (DWORD)(ASC_GAS_RSP_EVENT + 25)

+#define ASC_LLC_STATUS_IND_EV                    (DWORD)(ASC_GAS_RSP_EVENT + 26)

+#define ASC_LLC_USER_DATA_PRESENT_EV             (DWORD)(ASC_GAS_RSP_EVENT + 27)

+#define ASC_LLC_PSHO_INFO_IND_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 28)

+

+/*GSMA->ASC->CBS (ASC͸´«)*/

+#define ASC_GSM_ETWS_NOTIFY_IND_EV               (DWORD)(ASC_GAS_RSP_EVENT + 29)

+/*AS_GSM_LTE_REDIRECT_CNF_EV/AS_GSM_TD_REDIRECT_CNF_EVµ½ASCºó£¬ÓÉASC¸øGSM¿ÕÏûϢȷÈÏ*/

+#define ASC_GSM_REDIRECT_CNF_EV                  (DWORD)(ASC_GAS_RSP_EVENT + 30)

+/*AS_GSM_LTE_RESEL_CNF_EV/AS_GSM_TD_RESEL_CNF_EVµ½ASCºó£¬ÓÉASC¸øGSM¿ÕÏûϢȷÈÏ*/

+#define ASC_GSM_RESEL_CNF_EV                     (DWORD)(ASC_GAS_RSP_EVENT + 31) 

+

+/*GSMA->ASC->SM (ASC͸´«)*/

+#define ASC_GSM_CURR_BEAR_IND_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 32)

+#define ASC_SNP_GMM_SEQ_RSP_EV                   (DWORD)(ASC_GAS_RSP_EVENT + 33)

+

+/*GSMA->ASC->SMS (ASC͸´«)*/

+#define ASC_GSM_SEND_CMP_IND_EV                  (DWORD)(ASC_GAS_RSP_EVENT + 34)

+

+#define ASC_GSM_XCELLINFO_CNF_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 35)

+#define ASC_GSM_XCELLINFO_ABORT_CNF_EV           (DWORD)(ASC_GAS_RSP_EVENT + 36)

+#define ASC_GSM_XCELLINFO_REJ_EV                 (DWORD)(ASC_GAS_RSP_EVENT + 37)

+

+/* ========================================================================

+   ASC£­LTE ASÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*ASC-->EURRC*/

+#define ASC_LTE_SWITCH_RADIO_REQ_EV              (DWORD)(ASC_EUAS_EVENT_BASE + 0)

+#define ASC_LTE_CAMPON_CELL_REQ_EV               (DWORD)(ASC_EUAS_EVENT_BASE + 1)

+#define ASC_LTE_CAMPON_ANYCELL_REQ_EV            (DWORD)(ASC_EUAS_EVENT_BASE + 2)

+#define ASC_LTE_UPDATE_PLMN_FTAI_IND_EV          (DWORD)(ASC_EUAS_EVENT_BASE + 3)

+#define ASC_LTE_PLMN_LIST_REQ_EV                 (DWORD)(ASC_EUAS_EVENT_BASE + 4)

+#define ASC_LTE_STOP_PLMN_LIST_REQ_EV            (DWORD)(ASC_EUAS_EVENT_BASE + 5)

+#define ASC_LTE_CSG_LIST_REQ_EV                  (DWORD)(ASC_EUAS_EVENT_BASE + 6)

+#define ASC_LTE_STOP_CSG_LIST_REQ_EV             (DWORD)(ASC_EUAS_EVENT_BASE + 7)

+#define ASC_LTE_TRY_HPPLMN_REQ_EV                (DWORD)(ASC_EUAS_EVENT_BASE + 8)

+#define ASC_LTE_ABORT_HPPLMN_REQ_EV              (DWORD)(ASC_EUAS_EVENT_BASE + 9)

+#define ASC_LTE_EST_REQ_EV                       (DWORD)(ASC_EUAS_EVENT_BASE + 10)

+#define ASC_LTE_EST_ABT_EV                       (DWORD)(ASC_EUAS_EVENT_BASE + 11)

+#define ASC_LTE_REL_REQ_EV                       (DWORD)(ASC_EUAS_EVENT_BASE + 12)

+#define ASC_LTE_KENB_RSP_EV                      (DWORD)(ASC_EUAS_EVENT_BASE + 13)

+#define ASC_LTE_REL_DATA_REQ_EV                  (DWORD)(ASC_EUAS_EVENT_BASE + 14)

+#define ASC_LTE_DATA_REQ_EV                      (DWORD)(ASC_EUAS_EVENT_BASE + 15)

+#define ASC_LTE_INACTIVE_REQ_EV                  (DWORD)(ASC_EUAS_EVENT_BASE + 16)

+#define ASC_LTE_UPDATE_SCAN_UE_BAND_FG_EV        (DWORD)(ASC_EUAS_EVENT_BASE + 17)

+#define ASC_LTE_DETACH_REQ_EV                    (DWORD)(ASC_EUAS_EVENT_BASE + 18)

+#define ASC_LTE_GROUP_REL_REQ_EV                 (DWORD)(ASC_EUAS_EVENT_BASE + 19) 

+#define ASC_LTE_SCANSWITCH_REQ_EV                (DWORD)(ASC_EUAS_EVENT_BASE + 20) 

+#define ASC_LTE_XCELLINFO_REQ_EV                 (DWORD)(ASC_EUAS_EVENT_BASE + 21) 

+#define ASC_LTE_XCELLINFO_ABORT_REQ_EV           (DWORD)(ASC_EUAS_EVENT_BASE + 22) 

+

+/* EURRC->ASC */

+#define ASC_LTE_SWITCH_RADIO_CNF_EV              (DWORD)(ASC_EUAS_RSP_EVENT + 0)

+#define ASC_LTE_CELL_INFO_IND_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 1)

+#define ASC_LTE_NOCELL_IND_EV                    (DWORD)(ASC_EUAS_RSP_EVENT + 2)

+#define ASC_LTE_PAGE_IND_EV                      (DWORD)(ASC_EUAS_RSP_EVENT + 3)

+#define ASC_LTE_PLMN_LIST_CNF_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 4)

+#define ASC_LTE_PLMN_LIST_REJ_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 5)

+#define ASC_LTE_CSG_LIST_CNF_EV                  (DWORD)(ASC_EUAS_RSP_EVENT + 6)

+#define ASC_LTE_CSG_LIST_REJ_EV                  (DWORD)(ASC_EUAS_RSP_EVENT + 7)

+#define ASC_LTE_TRY_HPPLMN_CNF_EV                (DWORD)(ASC_EUAS_RSP_EVENT + 8)

+#define ASC_LTE_TRY_HPPLMN_REJ_EV                (DWORD)(ASC_EUAS_RSP_EVENT + 9)

+#define ASC_LTE_ABORT_HPPLMN_CNF_EV              (DWORD)(ASC_EUAS_RSP_EVENT + 10)

+#define ASC_LTE_ABORT_IND_EV                     (DWORD)(ASC_EUAS_RSP_EVENT + 11)

+#define ASC_LTE_ETWS_PRIMARY_NOTIFY_IND_EV       (DWORD)(ASC_EUAS_RSP_EVENT + 13)

+#define ASC_LTE_ETWS_SECONDARY_NOTIFY_IND_EV     (DWORD)(ASC_EUAS_RSP_EVENT + 14)

+#define ASC_LTE_DATA_IND_EV                      (DWORD)(ASC_EUAS_RSP_EVENT + 15)

+#define ASC_LTE_EST_CNF_EV                       (DWORD)(ASC_EUAS_RSP_EVENT + 16)

+#define ASC_LTE_EST_REJ_EV                       (DWORD)(ASC_EUAS_RSP_EVENT + 17)

+#define ASC_LTE_REL_IND_EV                       (DWORD)(ASC_EUAS_RSP_EVENT + 18)

+#define ASC_LTE_ABA_IND_EV                       (DWORD)(ASC_EUAS_RSP_EVENT + 19)

+#define ASC_LTE_DRB_SETUP_IND_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 20)

+#define ASC_LTE_TRANS_FAIL_IND_EV                (DWORD)(ASC_EUAS_RSP_EVENT + 21)

+#define ASC_LTE_KENB_REQ_EV                      (DWORD)(ASC_EUAS_RSP_EVENT + 22)

+#define ASC_LTE_UE_INFO_CHANGE_IND_EV            (DWORD)(ASC_EUAS_RSP_EVENT + 23)

+#define ASC_LTE_DATA_CNF_EV                      (DWORD)(ASC_EUAS_RSP_EVENT + 24)

+#define ASC_LTE_SEC_PARA_IND_EV                  (DWORD)(ASC_EUAS_RSP_EVENT + 25)

+#define ASC_LTE_INACTIVE_CNF_EV                  (DWORD)(ASC_EUAS_RSP_EVENT + 26)

+#define ASC_LTE_ABORT_RSP_EV                     (DWORD)(ASC_EUAS_RSP_EVENT + 27)

+/*AS_LTE_TD_REDIRECT_CNF_EV/AS_GSM_TD_REDIRECT_CNF_EVµ½ASCºó£¬ÓÉASC¸øGSM¿ÕÏûϢȷÈÏ*/

+#define ASC_LTE_REDIRECT_CNF_EV                  (DWORD)(ASC_EUAS_RSP_EVENT + 28)

+/*AS_GSM_LTE_RESEL_CNF_EV/AS_GSM_TD_RESEL_CNF_EVµ½ASCºó£¬ÓÉASC¸øGSM¿ÕÏûϢȷÈÏ*/

+#define ASC_LTE_RESEL_CNF_EV                     (DWORD)(ASC_EUAS_RSP_EVENT + 29) 

+#define ASC_LTE_SRVCC_START_IND_EV               (DWORD)(ASC_EUAS_RSP_EVENT + 30)

+#define ASC_LTE_SRVCC_END_IND_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 31)

+#define ASC_LTE_CMAS_NOTIFY_IND_EV               (DWORD)(ASC_EUAS_RSP_EVENT + 32)

+#define ASC_LTE_SCAN_UE_BAND_IND_EV              (DWORD)(ASC_EUAS_RSP_EVENT + 33)

+#define ASC_LTE_CELL_LOST_IND_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 34)

+#define ASC_LTE_CELL_RECOVERAGE_IND_EV           (DWORD)(ASC_EUAS_RSP_EVENT + 35)

+#define ASC_LTE_GROUP_REL_IND_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 36)

+#define ASC_LTE_TGCCH_MSG_IND_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 37) 

+#define ASC_LTE_SCANGROUPINFO_IND_EV             (DWORD)(ASC_EUAS_RSP_EVENT + 38)

+#define ASC_LTE_SET_ACTIVEGID_IND_EV             (DWORD)(ASC_EUAS_RSP_EVENT + 39)

+#define ASC_LTE_REL_ACTIVEGID_IND_EV             (DWORD)(ASC_EUAS_RSP_EVENT + 40)

+#define ASC_LTE_XCELLINFO_CNF_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 41)

+#define ASC_LTE_XCELLINFO_ABORT_CNF_EV           (DWORD)(ASC_EUAS_RSP_EVENT + 42)

+#define ASC_LTE_XCELLINFO_REJ_EV                 (DWORD)(ASC_EUAS_RSP_EVENT + 43)

+#define ASC_LTE_NEIGCELL_IND_EV                  (DWORD)(ASC_EUAS_RSP_EVENT + 44)

+#define ASC_LTE_SCAN_CNF_EV                         (DWORD)(ASC_EUAS_RSP_EVENT + 45)

+/* ========================================================================

+   ASC£­¸÷AS¹«¹²ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*LTE->UTRAÖØÑ¡*/

+#define AS_LTE_UTRA_RESEL_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 0)

+#define AS_LTE_UTRA_RESEL_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 1)

+#define AS_LTE_UTRA_RESEL_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 2)

+

+/*LTE->UTRAÖØ¶¨Ïò*/

+#define AS_LTE_UTRA_REDIRECT_REQ_EV                (DWORD)(ASC_AS_EVENT_BASE + 3)

+#define AS_LTE_UTRA_REDIRECT_CNF_EV                (DWORD)(ASC_AS_EVENT_BASE + 4)

+#define AS_LTE_UTRA_REDIRECT_REJ_EV                (DWORD)(ASC_AS_EVENT_BASE + 5)                

+

+/*LTE->UTRA PSÇл»*/

+#define AS_LTE_UTRA_PSHO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 6)

+#define AS_LTE_UTRA_PSHO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 7)

+#define AS_LTE_UTRA_PSHO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 8)

+                                            

+/*LTE->GSMÖØÑ¡*/

+#define AS_LTE_GSM_RESEL_REQ_EV                  (DWORD)(ASC_AS_EVENT_BASE + 9)

+#define AS_LTE_GSM_RESEL_CNF_EV                  (DWORD)(ASC_AS_EVENT_BASE + 10)

+#define AS_LTE_GSM_RESEL_REJ_EV                  (DWORD)(ASC_AS_EVENT_BASE + 11)

+                                            

+/*LTE->GSMÖØ¶¨Ïò*/

+#define AS_LTE_GSM_REDIRECT_REQ_EV               (DWORD)(ASC_AS_EVENT_BASE + 12)

+#define AS_LTE_GSM_REDIRECT_CNF_EV               (DWORD)(ASC_AS_EVENT_BASE + 13)

+#define AS_LTE_GSM_REDIRECT_REJ_EV               (DWORD)(ASC_AS_EVENT_BASE + 14)

+                                            

+/*LTE->TD CSÇл»*/

+#define AS_LTE_GSM_CSHO_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 15)

+#define AS_LTE_GSM_CSHO_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 16)

+#define AS_LTE_GSM_CSHO_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 17)

+                                            

+/*LTE->GSM CCO*/

+#define AS_LTE_GSM_CCO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 18)

+#define AS_LTE_GSM_CCO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 19)

+#define AS_LTE_GSM_CCO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 20)

+                                            

+/*LTE->GSM PSÇл»*/

+#define AS_LTE_GSM_PSHO_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 21)

+#define AS_LTE_GSM_PSHO_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 22)

+#define AS_LTE_GSM_PSHO_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 23)

+                                            

+/*UTRA->LTEÖØÑ¡*/

+#define AS_UTRA_LTE_RESEL_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 24)

+#define AS_UTRA_LTE_RESEL_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 25)

+#define AS_UTRA_LTE_RESEL_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 26)

+                                            

+/*UTRA->LTEÖØ¶¨Ïò*/

+#define AS_UTRA_LTE_REDIRECT_REQ_EV                (DWORD)(ASC_AS_EVENT_BASE + 27)

+#define AS_UTRA_LTE_REDIRECT_CNF_EV                (DWORD)(ASC_AS_EVENT_BASE + 28)

+#define AS_UTRA_LTE_REDIRECT_REJ_EV                (DWORD)(ASC_AS_EVENT_BASE + 29)

+                                            

+/*UTRA->LTE PSÇл»*/

+#define AS_UTRA_LTE_PSHO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 30)

+#define AS_UTRA_LTE_PSHO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 31)

+#define AS_UTRA_LTE_PSHO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 32)

+                                            

+/*UTRA->GSMÖØÑ¡*/

+#define AS_UTRA_GSM_RESEL_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 33)

+#define AS_UTRA_GSM_RESEL_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 34)

+#define AS_UTRA_GSM_RESEL_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 35)

+                                            

+/*UTRA>GSMÖØ¶¨Ïò*/

+#define AS_UTRA_GSM_REDIRECT_REQ_EV                (DWORD)(ASC_AS_EVENT_BASE + 36)

+#define AS_UTRA_GSM_REDIRECT_CNF_EV                (DWORD)(ASC_AS_EVENT_BASE + 37)

+#define AS_UTRA_GSM_REDIRECT_REJ_EV                (DWORD)(ASC_AS_EVENT_BASE + 38)

+                                            

+/*UTRA->GSM CSÇл»*/

+#define AS_UTRA_GSM_CSHO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 39)

+#define AS_UTRA_GSM_CSHO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 40)

+#define AS_UTRA_GSM_CSHO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 41)

+                                            

+/*UTRA->GSM CCO*/

+#define AS_UTRA_GSM_CCO_REQ_EV                     (DWORD)(ASC_AS_EVENT_BASE + 42)

+#define AS_UTRA_GSM_CCO_CNF_EV                     (DWORD)(ASC_AS_EVENT_BASE + 43)

+#define AS_UTRA_GSM_CCO_REJ_EV                     (DWORD)(ASC_AS_EVENT_BASE + 44)

+                                            

+/*UTRA->GSM PSÇл»*/

+#define AS_UTRA_GSM_PSHO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 45)

+#define AS_UTRA_GSM_PSHO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 46)

+#define AS_UTRA_GSM_PSHO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 47)

+                                            

+/*UTRA->GSM Êý¾Ý°áÒÆ*/

+#define AS_UTRA_GSM_DATA_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 48)

+

+/*GSM->LTEÖØÑ¡*/

+#define AS_GSM_LTE_RESEL_REQ_EV                  (DWORD)(ASC_AS_EVENT_BASE + 49)

+#define AS_GSM_LTE_RESEL_CNF_EV                  (DWORD)(ASC_AS_EVENT_BASE + 50)

+#define AS_GSM_LTE_RESEL_REJ_EV                  (DWORD)(ASC_AS_EVENT_BASE + 51)

+

+/*GSM->LTEÖØ¶¨Ïò*/

+#define AS_GSM_LTE_REDIRECT_REQ_EV               (DWORD)(ASC_AS_EVENT_BASE + 52)

+#define AS_GSM_LTE_REDIRECT_CNF_EV               (DWORD)(ASC_AS_EVENT_BASE + 53)

+#define AS_GSM_LTE_REDIRECT_REJ_EV               (DWORD)(ASC_AS_EVENT_BASE + 54)

+                                            

+/*GSM->LTE PSÇл»*/

+#define AS_GSM_LTE_PSHO_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 55)

+#define AS_GSM_LTE_PSHO_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 56)

+#define AS_GSM_LTE_PSHO_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 57)

+                                            

+/*GSM->LTE CCO*/

+#define AS_GSM_LTE_CCO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 58)

+#define AS_GSM_LTE_CCO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 59)

+#define AS_GSM_LTE_CCO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 60)

+                                            

+/*GSM->UTRAÖØÑ¡*/

+#define AS_GSM_UTRA_RESEL_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 61)

+#define AS_GSM_UTRA_RESEL_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 62)

+#define AS_GSM_UTRA_RESEL_REJ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 63)

+                                            

+/*GSM->UTRAÖØ¶¨Ïò*/

+#define AS_GSM_UTRA_REDIRECT_REQ_EV                (DWORD)(ASC_AS_EVENT_BASE + 64)

+#define AS_GSM_UTRA_REDIRECT_CNF_EV                (DWORD)(ASC_AS_EVENT_BASE + 65)

+#define AS_GSM_UTRA_REDIRECT_REJ_EV                (DWORD)(ASC_AS_EVENT_BASE + 66)

+                                            

+/*GSM->UTRA CSÇл»*/

+#define AS_GSM_UTRA_CSHO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 67)

+#define AS_GSM_UTRA_CSHO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 68)

+#define AS_GSM_UTRA_CSHO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 69)

+                                            

+/*GSM->UTRA PSÇл»*/

+#define AS_GSM_UTRA_PSHO_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 70)

+#define AS_GSM_UTRA_PSHO_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 71)

+#define AS_GSM_UTRA_PSHO_REJ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 72)

+                                            

+/*GSM->UTRA CCO*/

+#define AS_GSM_UTRA_CCO_REQ_EV                     (DWORD)(ASC_AS_EVENT_BASE + 73)

+#define AS_GSM_UTRA_CCO_CNF_EV                     (DWORD)(ASC_AS_EVENT_BASE + 74)

+#define AS_GSM_UTRA_CCO_REJ_EV                     (DWORD)(ASC_AS_EVENT_BASE + 75)

+                                            

+/*GSM->UTRA Êý¾Ý°áÒÆ*/

+#define AS_GSM_UTRA_DATA_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 76)

+/*WCDMA PREDEF*/

+#define AS_GSM_UTRA_READ_PREDEF_CONF_REQ_EV        (DWORD)(ASC_AS_EVENT_BASE + 77)

+#define AS_GSM_UTRA_READ_PREDEF_CONF_CNF_EV        (DWORD)(ASC_AS_EVENT_BASE + 78)

+#define AS_GSM_UTRA_ABORT_READ_PREDEF_REQ_EV       (DWORD)(ASC_AS_EVENT_BASE + 79)

+#define AS_GSM_UTRA_ABORT_READ_PREDEF_CNF_EV       (DWORD)(ASC_AS_EVENT_BASE + 80)

+

+

+/*NAS->ASC->AS(UCSR EUCSR GSMA)*/

+#define AS_UPDATE_SYSCONFIG_REQ_EV               (DWORD)(ASC_AS_EVENT_BASE + 81)

+#define AS_UPDATE_WHITE_CSGLIST_REQ_EV           (DWORD)(ASC_AS_EVENT_BASE + 82)

+

+/*ASC->AS(UCSR EUCSR GSMA)*/

+#define AS_L1_RSRC_REQ_EV                        (DWORD)(ASC_AS_EVENT_BASE + 83)

+#define AS_L1_RSRC_REJ_EV                        (DWORD)(ASC_AS_EVENT_BASE + 84)

+#define AS_L1_RSRC_CNF_EV                        (DWORD)(ASC_AS_EVENT_BASE + 85)

+#define AS_L1_RSRC_FREE_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 86)

+

+/*.(UCSR EUCSR GSMA)AS->ASC*/

+#define AS_IRAT_CCO_START_IND_EV                 (DWORD)(ASC_AS_EVENT_BASE + 87)

+#define AS_IRAT_HO_START_IND_EV                  (DWORD)(ASC_AS_EVENT_BASE + 88)   

+#define AS_IRAT_CELL_RESEL_START_IND_EV          (DWORD)(ASC_AS_EVENT_BASE + 89)

+

+#define AS_LTE_GSM_CGI_REQ_EV                    (DWORD)(ASC_AS_EVENT_BASE + 90)

+#define AS_LTE_GSM_CGI_CNF_EV                    (DWORD)(ASC_AS_EVENT_BASE + 91)

+#define AS_LTE_GSM_CGI_ABORT_REQ_EV              (DWORD)(ASC_AS_EVENT_BASE + 92)

+#define AS_LTE_GSM_CGI_ABORT_CNF_EV              (DWORD)(ASC_AS_EVENT_BASE + 93)

+

+#define AS_LTE_UTRA_CGI_REQ_EV                   (DWORD)(ASC_AS_EVENT_BASE + 94)

+#define AS_LTE_UTRA_CGI_CNF_EV                   (DWORD)(ASC_AS_EVENT_BASE + 95)

+#define AS_LTE_UTRA_CGI_ABORT_REQ_EV             (DWORD)(ASC_AS_EVENT_BASE + 96)

+#define AS_LTE_UTRA_CGI_ABORT_CNF_EV             (DWORD)(ASC_AS_EVENT_BASE + 97)

+

+#define AS_LTE_TD_REDIRECT_REQ_EV                (DWORD)(ASC_AS_EVENT_BASE + 98)

+#define AS_LTE_W_REDIRECT_REQ_EV                 (DWORD)(ASC_AS_EVENT_BASE + 99)

+

+/* ========================================================================

+   CBS£­ASCÏûÏ¢ºÅµÄ¶¨Òå

+======================================================================== */

+#define CBS_ASC_NO_DRX_REQ_EV                     (DWORD)(CBS_RRC_EVENT_BASE + 0)

+#define CBS_ASC_DRX_RSV_REQ_EV                    (DWORD)(CBS_RRC_EVENT_BASE + 1)

+#define CBS_ASC_STOP_REQ_EV                       (DWORD)(CBS_RRC_EVENT_BASE + 2)

+

+#define CBS_ASC_PCH_CELL_INFO_IND_EV              (DWORD)(CBS_RRC_RSP_EVENT + 0)

+#define CBS_ASC_UURLC_DATA_IND_EV                 (DWORD)(CBS_RRC_RSP_EVENT + 1)

+#define CBS_ASC_ETWS_PRIMARY_NOTIFY_IND_EV        (DWORD)(CBS_RRC_RSP_EVENT + 2)

+#define CBS_ASC_ETWS_SECONDARY_NOTIFY_IND_EV      (DWORD)(CBS_RRC_RSP_EVENT + 3)

+#define CBS_ASC_CMAS_NOTIFY_IND_EV                (DWORD)(CBS_RRC_RSP_EVENT + 4)

+/*WCDMA*/

+#define CBS_ASC_UWRLC_DATA_IND_EV                 (DWORD)(CBS_RRC_RSP_EVENT + 5)

+

+/* ========================================================================

+   GMM£­SNDCPÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define SNP_GMM_SEQ_IND_EV                       (DWORD)(GMM_SNDCP_EVENT_BASE + 0)

+#define SNP_GMM_SEQ_RSP_EV                       (DWORD)(GMM_SNDCP_EVENT_BASE + 1)

+

+/* ========================================================================

+   GMM£­PDCPÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define PDCP_GMM_NW_REL_ANYRB_IND_EV             (DWORD)(GMM_PDCP_EVENT_BASE + 0)

+#define GMM_PDCP_RB_CHG_IND_EV                   (DWORD)(GMM_PDCP_EVENT_BASE + 1)

+

+/* ========================================================================

+   SM£­SNDCPÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define SNP_SM_ACT_IND_EV                        (DWORD)(SM_SNDCP_EVENT_BASE + 0)

+#define SNP_SM_DEACT_IND_EV                      (DWORD)(SM_SNDCP_EVENT_BASE + 1)

+#define SNP_SM_MOD_IND_EV                        (DWORD)(SM_SNDCP_EVENT_BASE + 2)

+#define SNP_SM_RAT_ACT_IND_EV                    (DWORD)(SM_SNDCP_EVENT_BASE + 3)

+#define SNP_SM_RAT_DEACT_IND_EV                  (DWORD)(SM_SNDCP_EVENT_BASE + 4)

+#define SNP_SM_RAT_SEQ_IND_EV                    (DWORD)(SM_SNDCP_EVENT_BASE + 5)

+#define SNP_SM_RAT_CHG_COMP_EV                   (DWORD)(SM_SNDCP_EVENT_BASE + 6)

+

+#define SNP_SM_ACT_RSP_EV                        (DWORD)(SM_SNDCP_RSP_EVENT + 0)

+#define SNP_SM_MOD_RSP_EV                        (DWORD)(SM_SNDCP_RSP_EVENT + 1)

+#define SNP_SM_STATUS_REQ_EV                     (DWORD)(SM_SNDCP_RSP_EVENT + 2)

+#define SNP_SM_RAT_ACT_RSP_EV                    (DWORD)(SM_SNDCP_RSP_EVENT + 3)

+#define SNP_SM_RAT_SEQ_RSP_EV                    (DWORD)(SM_SNDCP_RSP_EVENT + 4)

+#define SNP_SM_RAT_DEACT_RSP_EV                  (DWORD)(SM_SNDCP_RSP_EVENT + 5)

+

+/* ========================================================================

+   TAF£­CCÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define CC_TAF_CONNECT_REQ_EV                    (DWORD)(CC_TAF_EVENT_BASE + 0)

+#define CC_TAF_CONNECT_CNF_EV                    (DWORD)(CC_TAF_EVENT_BASE + 1)

+#define CC_TAF_CONNECT_CNF_NEG_EV                (DWORD)(CC_TAF_EVENT_BASE + 2)

+#define CC_TAF_RELEASE_REQ_EV                    (DWORD)(CC_TAF_EVENT_BASE + 3)

+#define CC_TAF_RELEASE_IND_EV                    (DWORD)(CC_TAF_EVENT_BASE + 4)

+#define CC_TAF_PEND_REQ_EV                       (DWORD)(CC_TAF_EVENT_BASE + 5)

+#define CC_TAF_RESUME_REQ_EV                     (DWORD)(CC_TAF_EVENT_BASE + 6)

+

+/* ========================================================================

+   CBS-UMMÖ®¼äµÄÏûÏ¢ºÅµÄ¶¨Òå

+======================================================================== */

+#define UMM_CBS_START_REQ_EV                     (DWORD)(UMM_CBS_EVENT_BASE + 0)

+#define UMM_CBS_STOP_REQ_EV                      (DWORD)(UMM_CBS_EVENT_BASE + 1)

+

+#define UMM_CBS_CELL_INFO_IND_EV                 (DWORD)(UMM_CBS_RSP_EVENT + 0)

+

+/* ========================================================================

+   URRC/CC£­SCIÏûÏ¢ºÅ¶¨Òå                                                       

+======================================================================== */

+#define CSCI_CONFIG_REQ_EV                       (DWORD)(AP_SCI_EVENT_BASE + 0)

+#define CSCI_CDEC_CTRL_REQ_EV                    (DWORD)(AP_SCI_EVENT_BASE + 1)

+#define CSCI_CONFIG_REL_EV                       (DWORD)(AP_SCI_EVENT_BASE + 2)

+#define CSCI_CONFIG_CNF_EV                       (DWORD)(AP_SCI_EVENT_BASE + 3)

+#define CSCI_UNRECOVER_ERR_EV                    (DWORD)(AP_SCI_EVENT_BASE + 4)

+#define CSCI_CDEC_CTRL_CNF_EV                    (DWORD)(AP_SCI_EVENT_BASE + 5)

+

+/* ========================================================================

+   URRC - ÄÚ²¿ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define URRC_READ_SYSINFO_REQ_EV                 (DWORD)(URRC_EVENT_BASE + 0)

+#define URRC_READ_SYSINFO_IND_EV                 (DWORD)(URRC_EVENT_BASE + 1)

+#define URRC_READ_SYSINFO_REJ_EV                 (DWORD)(URRC_EVENT_BASE + 2)

+#define URRC_STOP_SYSINFO_REQ_EV                 (DWORD)(URRC_EVENT_BASE + 3)

+#define URRC_READ_DYN_SIB_REQ_EV                 (DWORD)(URRC_EVENT_BASE + 4)

+#define URRC_READ_DYN_SIB_CNF_EV                 (DWORD)(URRC_EVENT_BASE + 5)

+#define URRC_SIB_MODIFIED_IND_EV                 (DWORD)(URRC_EVENT_BASE + 6)

+#define URRC_CELLUPDATE_REQ_EV                   (DWORD)(URRC_EVENT_BASE + 7)

+#define URRC_CELL_RESEL_REQ_EV                   (DWORD)(URRC_EVENT_BASE + 8)

+#define URRC_CELL_INFO_IND_EV                    (DWORD)(URRC_EVENT_BASE + 9)

+#define URRC_REL_CONN_REQ_EV                     (DWORD)(URRC_EVENT_BASE + 10)

+#define URRC_RESUME_CELL_REQ_EV                  (DWORD)(URRC_EVENT_BASE + 11)

+#define URRC_RPLMN_INFO_IND_EV                   (DWORD)(URRC_EVENT_BASE + 12)

+#define URRC_RESOURE_CFG_REQ_EV                  (DWORD)(URRC_EVENT_BASE + 13)

+#define URRC_RESOURCE_CFG_IND_EV                 (DWORD)(URRC_EVENT_BASE + 14)

+#define URRC_UPDATE_EPLMN_REQ_EV                 (DWORD)(URRC_EVENT_BASE + 15)

+#define URRC_HIGH_MOBILITY_IND                   (DWORD)(URRC_EVENT_BASE + 16)

+#define URRC_HO_FROM_UTRAN_REQ_EV                (DWORD)(URRC_EVENT_BASE + 17)

+#define URRC_HO_FROM_UTRAN_REJ_EV                (DWORD)(URRC_EVENT_BASE + 18)

+#define URRC_HO_TO_UTRAN_REQ_EV                  (DWORD)(URRC_EVENT_BASE + 19)

+#define URRC_HO_TO_UTRAN_CNF_EV                  (DWORD)(URRC_EVENT_BASE + 20)

+#define URRC_HO_TO_UTRAN_REJ_EV                  (DWORD)(URRC_EVENT_BASE + 21)

+#define URRC_CCO_FROM_UTRAN_REQ_EV               (DWORD)(URRC_EVENT_BASE + 22)

+#define URRC_CCO_FROM_UTRAN_REJ_EV               (DWORD)(URRC_EVENT_BASE + 23)

+#define URRC_CCO_TO_UTRAN_IND_EV                 (DWORD)(URRC_EVENT_BASE + 24)

+#define URRC_CCO_TO_UTRAN_REJ_EV                 (DWORD)(URRC_EVENT_BASE + 25)

+#define URRC_RADIO_LINK_FAIL_IND_EV              (DWORD)(URRC_EVENT_BASE + 26)    /*UECAPABILITYINFOÖØ´«Ê§°Üµ¼ÖÂÐ¡Çø¸üÐÂ*/

+#define URRC_NEIBCELL_CHG_IND_EV                 (DWORD)(URRC_EVENT_BASE + 27)

+#define URRC_FACH_CFG_REQ_EV                     (DWORD)(URRC_EVENT_BASE + 28)

+#define URRC_FACH_CFG_IND_EV                     (DWORD)(URRC_EVENT_BASE + 29)

+#define URRC_DRX_CHG_IND_EV                      (DWORD)(URRC_EVENT_BASE + 30)

+#define URRC_SEND_BUF_EST_REQ_EV                 (DWORD)(URRC_EVENT_BASE + 31)

+#define URRC_ABORT_RATCHG_REQ_EV                 (DWORD)(URRC_EVENT_BASE + 32)

+#define URRC_BAR_RESUME_IND_EV                   (DWORD)(URRC_EVENT_BASE + 33)

+#define URRC_CHG_CAMPON_TYPE_EV                  (DWORD)(URRC_EVENT_BASE + 34)

+#define URRC_GET_RF_REQ_EV                       (DWORD)(URRC_EVENT_BASE + 35)          /*USIR->UCSR*/

+#define URRC_GET_RF_CNF_EV                       (DWORD)(URRC_EVENT_BASE + 36)          /*UCSR->USIR*/   

+#define URRC_SYSINFO_CONTAINER_IND_EV            (DWORD)(URRC_EVENT_BASE + 37)          /*UCSR->USIR*/

+#define URRC_ETWS_CFG_REQ_EV                     (DWORD)(URRC_EVENT_BASE + 38)

+#define URRC_ETWS_CFG_END_EV                     (DWORD)(URRC_EVENT_BASE + 39)

+#define URRC_ETWS_CONTINUE_REQ_EV                (DWORD)(URRC_EVENT_BASE + 40)

+#define URRC_DRX_CHANGE_IND_EV                   (DWORD)(URRC_EVENT_BASE + 41)          /*URBC->UMCR*/

+#define URRC_EFACH_CFG_IND_EV                    (DWORD)(URRC_EVENT_BASE + 42)/*UCMR->URBC*/

+#define URRC_RBC_BUFFER_MSG_PROC_REQ_EV          (DWORD)(URRC_EVENT_BASE + 43)

+#define URRC_NEIGHBORCELL_HSSCCH_ORDER_REQ_EV    (DWORD)(URRC_EVENT_BASE + 44)

+#define URRC_OUT_OF_SYNC_EV                      (DWORD)(URRC_EVENT_BASE + 45)

+#define URRC_RESUME_IN_SYNC_EV                   (DWORD)(URRC_EVENT_BASE + 46)

+#define URRC_LBS_MEAS_IND                        (DWORD)(URRC_EVENT_BASE + 47)

+/* ========================================================================

+   URLC - URRC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CURLC_CONFIG_REQ_EV                      (DWORD)(URLC_URRC_EVENT_BASE + 0)

+#define CURLC_RELEASE_REQ_EV                     (DWORD)(URLC_URRC_EVENT_BASE + 1)

+#define CURLC_LOOP_TEST_REQ_EV                   (DWORD)(URLC_URRC_EVENT_BASE + 2)

+#define CURLC_SUSPEND_REQ_EV                     (DWORD)(URLC_URRC_EVENT_BASE + 3)

+#define CURLC_RESUME_REQ_EV                      (DWORD)(URLC_URRC_EVENT_BASE + 4)

+#define CURLC_CONTINUE_REQ_EV                    (DWORD)(URLC_URRC_EVENT_BASE + 5)

+#define UURLC_DATA_REQ_EV                        (DWORD)(URLC_URRC_EVENT_BASE + 6)

+#define CURLC_CBS_RBCONFIG_REQ_EV                (DWORD)(URLC_URRC_EVENT_BASE + 7)

+#define CURLC_SET_DATA_NOTIFY_MODE_EV            (DWORD)(URLC_URRC_EVENT_BASE + 8)

+

+#define CURLC_SUSPEND_CNF_EV                     (DWORD)(URLC_URRC_RSP_EVENT + 0)

+#define CURLC_LOOP_TEST_CNF_EV                   (DWORD)(URLC_URRC_RSP_EVENT + 1)

+#define UURLC_DATA_IND_EV                        (DWORD)(URLC_URRC_RSP_EVENT + 2)

+#define CURLC_STATUS_IND_EV                      (DWORD)(URLC_URRC_RSP_EVENT + 3)

+#define UURLC_DATA_CNF_EV                        (DWORD)(URLC_URRC_RSP_EVENT + 4)

+#define CURLC_CONFIG_CNF_EV                      (DWORD)(URLC_URRC_RSP_EVENT + 5)

+#define CURLC_PCH_ULDATA_TRANSFER_REQ_EV         (DWORD)(URLC_URRC_RSP_EVENT + 6)

+

+/* ========================================================================

+   UMAC - URRC/UMAC - UMAC_MCR ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CUMAC_CCTRCH_CONFIG_REQ_EV               (DWORD)(UMAC_URRC_EVENT_BASE + 0)

+#define CUMAC_RACH_PARA_REQ_EV                   (DWORD)(UMAC_URRC_EVENT_BASE + 1)

+#define CUMAC_RNTI_CONFIG_REQ_EV                 (DWORD)(UMAC_URRC_EVENT_BASE + 2)

+#define CUMAC_HS_CONFIG_REQ_EV                   (DWORD)(UMAC_URRC_EVENT_BASE + 3)

+#define CUMAC_HS_RESET_REQ_EV                    (DWORD)(UMAC_URRC_EVENT_BASE + 4)

+#define CUMAC_TFC_CTRL_REQ_EV                    (DWORD)(UMAC_URRC_EVENT_BASE + 5)

+#define CUMAC_CONFIG_ABORT_REQ_EV                (DWORD)(UMAC_URRC_EVENT_BASE + 6)

+#define CUMAC_ASC_PARA_REQ_EV                    (DWORD)(UMAC_URRC_EVENT_BASE + 7)

+#define CUMAC_DEL_CONFIG_REQ_EV                  (DWORD)(UMAC_URRC_EVENT_BASE + 8)

+#define CUMAC_TV_MEAS_REQ_EV                     (DWORD)(UMAC_URRC_EVENT_BASE + 9)

+#define CUMAC_Q_MEAS_REQ_EV                      (DWORD)(UMAC_URRC_EVENT_BASE + 10)

+#define CUMAC_UE_MEAS_REQ_EV                     (DWORD)(UMAC_URRC_EVENT_BASE + 11)

+#define CUMAC_TV_MEAS_REL_REQ_EV                 (DWORD)(UMAC_URRC_EVENT_BASE + 12)

+#define CUMAC_Q_MEAS_REL_REQ_EV                  (DWORD)(UMAC_URRC_EVENT_BASE + 13)

+#define CUMAC_UE_MEAS_REL_REQ_EV                 (DWORD)(UMAC_URRC_EVENT_BASE + 14)

+#define CUMAC_TV_MEAS_RESUME_REQ_EV              (DWORD)(UMAC_URRC_EVENT_BASE + 15)

+#define CUMAC_TV_MEAS_SUSPEND_REQ_EV             (DWORD)(UMAC_URRC_EVENT_BASE + 16)

+#define CUMAC_DL_MEAS_SUSPEND_REQ_EV             (DWORD)(UMAC_URRC_EVENT_BASE + 17)

+#define CUMAC_DL_MEAS_RESUME_REQ_EV              (DWORD)(UMAC_URRC_EVENT_BASE + 18)

+#define CUMAC_ADDTV_MEAS_REPORT_REQ_EV           (DWORD)(UMAC_URRC_EVENT_BASE + 19)

+#define CUMAC_ADDQ_MEAS_REPORT_REQ_EV            (DWORD)(UMAC_URRC_EVENT_BASE + 20)

+#define CUMAC_ADDUE_MEAS_REPORT_REQ_EV           (DWORD)(UMAC_URRC_EVENT_BASE + 21)

+#define CUMAC_CRC_RESULT_REQ_EV                  (DWORD)(UMAC_URRC_EVENT_BASE + 22)

+#define CUMAC_ACTTIME_NOTIFY_REQ_EV              (DWORD)(UMAC_URRC_EVENT_BASE + 23)

+#define CUMAC_CONTINUE_REQ_EV                    (DWORD)(UMAC_URRC_EVENT_BASE + 24)

+#define CUMAC_IDLE_PERIOD_EV                     (DWORD)(UMAC_URRC_EVENT_BASE + 25)

+#define CUMAC_CELL_RESEL_REQ_EV                  (DWORD)(UMAC_URRC_EVENT_BASE + 26)

+#define CUMAC_HSPA_EPCH_CFG_REQ_EV               (DWORD)(UMAC_URRC_EVENT_BASE + 27)

+#define CUMAC_UPDATE_ERNTI_REQ_EV                (DWORD)(UMAC_URRC_EVENT_BASE + 28)

+

+#define CUMAC_STATUS_IND_EV                      (DWORD)(UMAC_URRC_RSP_EVENT + 0)

+#define UUMAC_PCCH_IND_EV                        (DWORD)(UMAC_URRC_RSP_EVENT + 1)

+#define UUMAC_BCCH_IND_EV                        (DWORD)(UMAC_URRC_RSP_EVENT + 2)

+#define CUMAC_CONFIG_CHG_IND_EV                  (DWORD)(UMAC_URRC_RSP_EVENT + 3)

+#define CUMAC_ADDQ_MEAS_REPORT_IND_EV            (DWORD)(UMAC_URRC_RSP_EVENT + 4)

+#define CUMAC_ADDUE_MEAS_REPORT_IND_EV           (DWORD)(UMAC_URRC_RSP_EVENT + 5)

+#define CUMAC_ADDTV_MEAS_REPORT_IND_EV           (DWORD)(UMAC_URRC_RSP_EVENT + 6)

+#define CUMAC_TV_MEAS_REPORT_IND_EV              (DWORD)(UMAC_URRC_RSP_EVENT + 7)

+#define CUMAC_Q_MEAS_REPORT_IND_EV               (DWORD)(UMAC_URRC_RSP_EVENT + 8)

+#define CUMAC_UE_MEAS_REPORT_IND_EV              (DWORD)(UMAC_URRC_RSP_EVENT + 9)

+#define CUMAC_ERUCCH_STATUS_IND_EV               (DWORD)(UMAC_URRC_RSP_EVENT + 10)

+#define CUMAC_FACH_CFG_IND_EV                    (DWORD)(UMAC_URRC_RSP_EVENT + 11)

+#define CUMAC_CELL_RESEL_CNF_EV                  (DWORD)(UMAC_URRC_RSP_EVENT + 12)

+/* ========================================================================

+   UMAC - UL/DL   -   UMAC-CÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CUMAC_NOTIFY_DL_PERIOD_REPORT_REQ_EV     (DWORD)(UMAC_UMAC_EVENT_BASE + 0)

+

+/* ========================================================================

+   L1T - URRC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define L1T_GSM_MEAS_REQ_EV                      (DWORD)(L1T_URRC_EVENT_BASE + 0)

+#define L1T_GSM_BSIC_VERIFY_REQ_EV               (DWORD)(L1T_URRC_EVENT_BASE + 1)

+#define L1T_GSM_MEAS_DELETE_REQ_EV               (DWORD)(L1T_URRC_EVENT_BASE + 2)

+#define L1T_GSM_MEAS_RESUME_REQ_EV               (DWORD)(L1T_URRC_EVENT_BASE + 3)

+#define L1T_GSM_MEAS_SUSPEND_REQ_EV              (DWORD)(L1T_URRC_EVENT_BASE + 4)

+#define L1T_GSM_MEAS_TONULL_REQ_EV               (DWORD)(L1T_URRC_EVENT_BASE + 5)

+#define L1T_LTE_FREQ_LIST_CONFIG_REQ_EV          (DWORD)(L1T_URRC_EVENT_BASE + 6)

+#define L1T_LTE_MEAS_MASK_SET_REQ_EV             (DWORD)(L1T_URRC_EVENT_BASE + 7)

+#define L1T_TD_DCH_GAP_CONFIG_REQ_EV             (DWORD)(L1T_URRC_EVENT_BASE + 8)

+#define L1T_TD_GET_RF_REQ_EV                     (DWORD)(L1T_URRC_EVENT_BASE + 9)

+#define L1T_PLMN_END_REQ_EV                      (DWORD)(L1T_URRC_EVENT_BASE + 10)

+#define L1T_IRAT_RSRC_REQ_EV                     (DWORD)(L1T_URRC_EVENT_BASE + 11)

+

+#define L1T_GSM_MEAS_IND_EV                      (DWORD)(L1T_URRC_RSP_EVENT + 0)

+#define L1T_TD_GET_RF_CNF_EV                     (DWORD)(L1T_URRC_RSP_EVENT + 1)

+#define L1T_IRAT_RSRC_CNF_EV                     (DWORD)(L1T_URRC_RSP_EVENT + 2)

+#define L1T_LTE_MEAS_IND_EV                      (DWORD)(L1T_URRC_RSP_EVENT + 3)

+

+/* ========================================================================

+   PDCP - URRC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CPDCP_CONFIG_REQ_EV                      (DWORD)(PDCP_URRC_EVENT_BASE + 0)

+#define CPDCP_RELEASE_REQ_EV                     (DWORD)(PDCP_URRC_EVENT_BASE + 1)

+#define CPDCP_RELOC_REQ_EV                       (DWORD)(PDCP_URRC_EVENT_BASE + 2)

+#define CPDCP_RELOC_COMP_IND_EV                  (DWORD)(PDCP_URRC_EVENT_BASE + 3)

+#define CPDCP_RELOC_FAIL_IND_EV                  (DWORD)(PDCP_URRC_EVENT_BASE + 4)

+#define CPDCP_DL_PDU_SIZE_CHG_REQ_EV             (DWORD)(PDCP_URRC_EVENT_BASE + 5)

+#define CPDCP_ROHC_TARGET_MODE_REQ_EV            (DWORD)(PDCP_URRC_EVENT_BASE + 6)

+#define CPDCP_SCRI_IND_EV                        (DWORD)(PDCP_URRC_EVENT_BASE + 7)

+#define CPDCP_FD_MONITOR_REQ_EV                  (DWORD)(PDCP_URRC_EVENT_BASE + 8)

+#define CPDCP_FD_NO_DATA_CNF_EV                  (DWORD)(PDCP_URRC_EVENT_BASE + 9)

+

+

+#define CPDCP_RELOC_CNF_EV                       (DWORD)(PDCP_URRC_RSP_EVENT + 0)

+#define CPDCP_CONFIG_CNF_EV                      (DWORD)(PDCP_URRC_RSP_EVENT + 1)

+#define CPDCP_RELOC_REJ_EV                       (DWORD)(PDCP_URRC_RSP_EVENT + 2)

+#define CPDCP_DL_PDU_SIZE_CHG_CNF_EV             (DWORD)(PDCP_URRC_RSP_EVENT + 3)

+#define CPDCP_DATA_TRANSFER_REQ_EV               (DWORD)(PDCP_URRC_RSP_EVENT + 4)

+#define CPDCP_FD_NO_DATA_REQ_EV                  (DWORD)(PDCP_URRC_RSP_EVENT + 5)

+

+

+/* ========================================================================

+   URLC - UMAC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UUMAC_DATA_IND_EV                        (DWORD)(URLC_UMAC_EVENT_BASE + 0)

+#define CUMAC_HS_RESET_IND_EV                    (DWORD)(URLC_UMAC_EVENT_BASE + 2)

+#define UURLC_DL_CTRL_PDU_REQ_Ev                 (DWORD)(URLC_UMAC_EVENT_BASE + 3)

+#define UURLC_MAKE_AMDPDU_Ev                     (DWORD)(URLC_UMAC_EVENT_BASE + 4)

+

+/* ========================================================================

+   L1T - UMAC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ISR_FRAME_IND_EV                         (DWORD)(UMAC_L1T_EVENT_BASE + 0)

+

+/* ========================================================================

+   SM£­PDCPÏûÏ¢ºÅ¶¨Òå  

+======================================================================== */

+#define SM_PDCP_ACT_IND_EV                       (DWORD)(SM_PDCP_EVENT_BASE + 0)

+#define SM_PDCP_DEACT_IND_EV                     (DWORD)(SM_PDCP_EVENT_BASE + 1)

+#define SM_PDCP_MOD_IND_EV                       (DWORD)(SM_PDCP_EVENT_BASE + 2)

+#define SM_PDCP_ACT_ALREADY_IND_EV               (DWORD)(SM_PDCP_EVENT_BASE + 3)

+#define SM_PDCP_RAT_ACT_IND_EV                   (DWORD)(SM_PDCP_EVENT_BASE + 4)

+#define SM_PDCP_RAT_DEACT_IND_EV                 (DWORD)(SM_PDCP_EVENT_BASE + 5)

+#define SM_PDCP_RAT_SEQ_IND_EV                   (DWORD)(SM_PDCP_EVENT_BASE + 6)

+#define SM_PDCP_HC_MOD_IND_EV                    (DWORD)(SM_PDCP_EVENT_BASE + 7)

+#define SM_PDCP_RAT_CHG_COMP_EV                  (DWORD)(SM_PDCP_EVENT_BASE + 8)

+#define SM_PDCP_MODIFY_CNF_EV                    (DWORD)(SM_PDCP_EVENT_BASE + 9)

+

+#define SM_PDCP_STATUS_REQ_EV                    (DWORD)(SM_PDCP_RSP_EVENT + 0)

+#define SM_PDCP_RAT_ACT_RSP_EV                   (DWORD)(SM_PDCP_RSP_EVENT + 1)

+#define SM_PDCP_RAT_SEQ_RSP_EV                   (DWORD)(SM_PDCP_RSP_EVENT + 2)

+#define SM_PDCP_MODIFY_REQ_EV                    (DWORD)(SM_PDCP_RSP_EVENT + 3)

+

+/* ========================================================================

+   PDI - GSMA ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define PDI_GSM_DATA_REQ_EV                     (DWORD)(PDI_GSMA_EVENT_BASE + 0)

+

+/* ========================================================================

+   PDI - PDCP ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UPDI_DATA_REQ_EV                         (DWORD)(PDI_PDCP_EVENT_BASE + 0)

+#define UPDI_DATA_IND_EV                         (DWORD)(PDI_PDCP_EVENT_BASE + 1)

+#define CPDI_NOT_READY_IND_EV                    (DWORD)(PDI_PDCP_EVENT_BASE + 2)

+#define CPDI_READY_IND_EV                        (DWORD)(PDI_PDCP_EVENT_BASE + 3)

+#define PDI_EPDCP_DATA_REQ_EV                    (DWORD)(PDI_PDCP_EVENT_BASE + 4)

+

+/* ========================================================================

+   PDCP - URLC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UURLC_PDCP_DATA_REQ_EV                   (DWORD)(PDCP_URLC_EVENT_BASE + 0)

+#define UURLC_PDCP_DATA_IND_EV                   (DWORD)(PDCP_URLC_EVENT_BASE + 1)

+/* ========================================================================

+   PDCP - RLC ÏûÏ¢ºÅ¶¨Òå(²Î¿¼RLC - RRC)

+======================================================================== */

+

+

+/* ========================================================================

+   USIR - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_BCH_READ_REQ_EV                        (DWORD)(USIR_UPHY_EVENT_BASE + 1)

+#define P_BCH_OPEN_REQ_EV                        (DWORD)(USIR_UPHY_EVENT_BASE + 2)

+#define P_BCH_RELEASE_REQ_EV                     (DWORD)(USIR_UPHY_EVENT_BASE + 3)

+

+#define P_SFN_DECODE_IND_EV                      (DWORD)(USIR_UPHY_RSP_EVENT + 1)

+#define P_BCH_IND_EV                             (DWORD)(USIR_UPHY_RSP_EVENT + 2)

+#define P_BCH_OPEN_REJ_EV                        (DWORD)(USIR_UPHY_RSP_EVENT + 3)

+

+/* ========================================================================

+   UCSR - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_FREQUENCY_SCAN_REQ_EV                  (DWORD)(UCSR_UPHY_EVENT_BASE + 1)

+#define P_ABORT_FREQ_SCAN_REQ_EV                 (DWORD)(UCSR_UPHY_EVENT_BASE + 2)

+#define P_CELL_SEARCH_REQ_EV                     (DWORD)(UCSR_UPHY_EVENT_BASE + 3)

+#define P_ABORT_CELL_SEARCH_REQ_EV               (DWORD)(UCSR_UPHY_EVENT_BASE + 4)

+#define P_CAMPON_A_CELL_REQ_EV                   (DWORD)(UCSR_UPHY_EVENT_BASE + 5)

+#define P_TD_REL_REQ_EV                          (DWORD)(UCSR_UPHY_EVENT_BASE + 6)

+#define P_TD_RESET_REQ_EV                        (DWORD)(UCSR_UPHY_EVENT_BASE + 7)

+#define P_TD_SLEEP_REQ_EV                        (DWORD)(UCSR_UPHY_EVENT_BASE + 8)

+#define P_TD_SET_IRAT_MODE_REQ_EV                (DWORD)(UCSR_UPHY_EVENT_BASE + 9)

+

+#define P_FREQUENCY_SCAN_IND_EV                  (DWORD)(UCSR_UPHY_RSP_EVENT + 1)

+#define P_CELL_SEARCH_IND_EV                     (DWORD)(UCSR_UPHY_RSP_EVENT + 2)

+#define P_TD_RESET_CNF_EV                        (DWORD)(UCSR_UPHY_RSP_EVENT + 3)

+#define P_TD_REL_CNF_EV                          (DWORD)(UCSR_UPHY_RSP_EVENT + 4)

+

+/* ========================================================================

+   UMCR - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_INTRA_FREQ_MEAS_REQ_EV                 (DWORD)(UMCR_UPHY_EVENT_BASE + 1)

+#define P_INTER_FREQ_MEAS_REQ_EV                 (DWORD)(UMCR_UPHY_EVENT_BASE + 2)

+#define P_MEAS_REL_REQ_EV                        (DWORD)(UMCR_UPHY_EVENT_BASE + 5)

+#define P_FMO_INFO_REQ_EV                        (DWORD)(UMCR_UPHY_EVENT_BASE + 6)

+

+#define P_INTRA_FREQ_MEAS_IND_EV                 (DWORD)(UMCR_UPHY_RSP_EVENT + 1)

+#define P_INTER_FREQ_MEAS_IND_EV                 (DWORD)(UMCR_UPHY_RSP_EVENT + 2)

+#define P_BLIND_UARFCN_INTER_FREQ_MEAS_IND_EV    (DWORD)(UMCR_UPHY_RSP_EVENT + 3)

+#define P_DETECT_CELL_INFO_IND_EV                (DWORD)(UMCR_UPHY_RSP_EVENT + 4)

+#define P_SERVCELL_MEAS_IND_EV                   (DWORD)(UMCR_UPHY_RSP_EVENT + 7)

+/* ========================================================================

+   URBC - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_DL_DPCH_SETUP_MODIFY_REQ_EV            (DWORD)(URBC_UPHY_EVENT_BASE + 1)

+#define P_DL_DPCH_REL_REQ_EV                     (DWORD)(URBC_UPHY_EVENT_BASE + 2)

+#define P_UL_DPCH_SETUP_MODIFY_REQ_EV            (DWORD)(URBC_UPHY_EVENT_BASE + 3)

+#define P_UL_DPCH_REL_REQ_EV                     (DWORD)(URBC_UPHY_EVENT_BASE + 4)

+#define P_DL_TRCH_RECONFIG_REQ_EV                (DWORD)(URBC_UPHY_EVENT_BASE + 5)

+#define P_UL_TRCH_RECONFIG_REQ_EV                (DWORD)(URBC_UPHY_EVENT_BASE + 6)

+#define P_ADD_MODIFY_SCCPCH_REQ_EV               (DWORD)(URBC_UPHY_EVENT_BASE + 7)

+#define P_PAGING_REQ_EV                          (DWORD)(URBC_UPHY_EVENT_BASE + 8)

+#define P_STOP_PAGING_REQ_EV                     (DWORD)(URBC_UPHY_EVENT_BASE + 9)

+#define P_ADD_HSDPA_REQ_EV                       (DWORD)(URBC_UPHY_EVENT_BASE + 10)

+#define P_REL_HSDPA_REQ_EV                       (DWORD)(URBC_UPHY_EVENT_BASE + 11)

+#define P_REL_SCCPCH_REQ_EV                      (DWORD)(URBC_UPHY_EVENT_BASE + 12)

+#define P_ADD_MODIFY_CBS_REQ_EV                  (DWORD)(URBC_UPHY_EVENT_BASE + 13)

+#define P_STOP_CBS_REQ_EV                        (DWORD)(URBC_UPHY_EVENT_BASE + 14)

+#define P_L1_RESOURCE_CFG_FINAL_EV               (DWORD)(URBC_UPHY_EVENT_BASE + 15)

+#define P_ADD_HSUPA_REQ_EV                       (DWORD)(URBC_UPHY_EVENT_BASE + 16)

+#define P_REL_HSUPA_REQ_EV                       (DWORD)(URBC_UPHY_EVENT_BASE + 17)

+#define P_PLCCH_ADD_MODIFY_REQ_EV                (DWORD)(URBC_UPHY_EVENT_BASE + 18)

+#define P_HSPA_PLUS_FACH_REQ_EV                  (DWORD)(URBC_UPHY_EVENT_BASE + 19)

+#define P_HSPA_PLUS_PCH_REQ_EV                   (DWORD)(URBC_UPHY_EVENT_BASE + 20)

+#define P_HSPA_PLUS_FACH_REL_REQ_EV              (DWORD)(URBC_UPHY_EVENT_BASE + 21)

+#define P_HSPA_PLUS_PCH_REL_REQ_EV               (DWORD)(URBC_UPHY_EVENT_BASE + 22)

+#define P_EFACH_UPDATE_RNTI_REQ_EV               (DWORD)(URBC_UPHY_EVENT_BASE + 23)

+#define P_UL_PHY_CH_CTRL_REQ_EV                  (DWORD)(URBC_UPHY_EVENT_BASE + 24)

+

+#define P_DL_RL_SETUP_MODIFY_CNF_EV              (DWORD)(URBC_UPHY_RSP_EVENT + 1)

+#define P_IN_SYNC_IND_EV                         (DWORD)(URBC_UPHY_RSP_EVENT + 2)

+#define P_OUT_SYNC_IND_EV                        (DWORD)(URBC_UPHY_RSP_EVENT + 3)

+#define P_UL_ESTABLISH_IND_EV                    (DWORD)(URBC_UPHY_RSP_EVENT + 4)

+

+/* ========================================================================

+   UMAC_UL - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_RACH_PROCEDURE_IND_EV                  (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 0)

+#define P_DL_DATA_IND_EV                         (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 1)

+#define P_TFC_POWER_IND_EV                       (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 2)

+#define P_RACH_PROCEDURE_REQ_EV                  (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 3)

+#define P_UL_DATA_REQ_EV                         (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 4)

+#define P_ABORT_RACH_PROCEDURE_REQ_EV            (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 5)

+#define P_ERUCCH_PROCEDURE_REQ_EV                (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 6)

+#define P_ERUCCH_PROCEDURE_IND_EV                (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 7)

+#define P_ABORT_ERUCCH_PROCEDURE_REQ_EV          (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 8)

+#define P_SET_AGCH_REQ_EV                        (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 9)

+#define P_CELL_RESEL_REQ_EV                      (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 10)

+#define P_CELL_RESEL_CNF_EV                      (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 11)

+#define P_SYNC_CMD_RESP_EV                       (DWORD)(UMAC_UL_UPHY_EVENT_BASE + 12)

+/* ========================================================================

+   UMAC_DL - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_QUALITY_MEAS_REQ_EV                    (DWORD)(UMAC_DL_UPHY_EVENT_BASE + 0)

+#define P_UE_INTERNAL_MEAS_REQ_EV                (DWORD)(UMAC_DL_UPHY_EVENT_BASE + 1)

+#define P_QUALITY_MEAS_IND_EV                    (DWORD)(UMAC_DL_UPHY_EVENT_BASE + 2)

+#define P_UE_INTERNAL_MEAS_IND_EV                (DWORD)(UMAC_DL_UPHY_EVENT_BASE + 3)

+

+/* ========================================================================

+   L1T - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_UMTS_IDLE_PERIOD_REPMODE_REQ_EV        (DWORD)(L1T_UPHY_EVENT_BASE + 0)    /*µÈ¼ÛÓÚL1G_UMTS_IDLE_PERIOD_REPMODE_REQ_EV*/

+#define P_IRAT_GAP_CONFIG_REQ_EV                 (DWORD)(L1T_UPHY_EVENT_BASE + 1)    /*µÈ¼ÛÓÚL1G_L1T_GSM_INACT_TIME_IND_EV*/

+#define P_ABORT_IRAT_GAP_REQ_EV                  (DWORD)(L1T_UPHY_EVENT_BASE + 2)    /*µÈ¼ÛÓÚL1G_L1T_ABORT_GSM_GAP_REQ_EV*/

+#define P_TD_DCH_GAP_CONFIG_REQ_EV               (DWORD)(L1T_UPHY_EVENT_BASE + 3)

+#define P_CARD2_GAP_REQ_EV                       (DWORD)(L1T_UPHY_EVENT_BASE + 4) /*T_zTD_P_card2_gap_req*/

+#define P_CARD2_GAP_REL_REQ_EV                   (DWORD)(L1T_UPHY_EVENT_BASE + 5) /*T_zTD_P_card2_gap_rel_req*/

+#define P_CARD2_STOP_GAP_REQ_EV                  (DWORD)(L1T_UPHY_EVENT_BASE + 6) /*T_zTD_P_card2_stop_gap_req*/

+#define P_CARD1_SUSPEND_REQ_EV                   (DWORD)(L1T_UPHY_EVENT_BASE + 7) /*T_zTD_P_card1_suspend_req*/

+#define P_CARD1_RESUME_REQ_EV                    (DWORD)(L1T_UPHY_EVENT_BASE + 8) /*T_zTD_P_card1_resume_req*/

+#define P_TD_ZTPCG_REQ_EV                        (DWORD)(L1T_UPHY_EVENT_BASE + 9)

+

+#define P_ABORT_FREQ_SCAN_CNF_EV                 (DWORD)(L1T_UPHY_RSP_EVENT + 1)

+#define P_ABORT_CELL_SEARCH_CNF_EV               (DWORD)(L1T_UPHY_RSP_EVENT + 2)

+#define P_BCH_RELEASE_CNF_EV                     (DWORD)(L1T_UPHY_RSP_EVENT + 3)

+#define P_CAMPON_A_CELL_CNF_EV                   (DWORD)(L1T_UPHY_RSP_EVENT + 4)

+#define P_DPCH_REL_CNF_EV                        (DWORD)(L1T_UPHY_RSP_EVENT + 5)

+#define P_REL_SCCPCH_CNF_EV                      (DWORD)(L1T_UPHY_RSP_EVENT + 6)

+#define P_STOP_PAGING_CNF_EV                     (DWORD)(L1T_UPHY_RSP_EVENT + 7)

+#define P_STOP_CBS_CNF_EV                        (DWORD)(L1T_UPHY_RSP_EVENT + 8)

+#define P_REL_HSDPA_CNF_EV                       (DWORD)(L1T_UPHY_RSP_EVENT + 9)

+#define P_REL_HSUPA_CNF_EV                       (DWORD)(L1T_UPHY_RSP_EVENT + 10)

+#define P_RACH_PROCEDURE_CNF_EV                  (DWORD)(L1T_UPHY_RSP_EVENT + 11)

+#define P_ERUCCH_PROCEDURE_CNF_EV                (DWORD)(L1T_UPHY_RSP_EVENT + 12)

+#define P_UMTS_INACTIVE_TIME_IND_EV              (DWORD)(L1T_UPHY_RSP_EVENT + 13)

+#define P_UMTS_TIMER_SNAPSHOT_IND_EV             (DWORD)(L1T_UPHY_RSP_EVENT + 14)

+#define P_ABORT_IRAT_GAP_CNF_EV                  (DWORD)(L1T_UPHY_RSP_EVENT + 15)

+#define P_HSPA_PLUS_FACH_REL_CNF_EV              (DWORD)(L1T_UPHY_RSP_EVENT + 16)

+#define P_HSPA_PLUS_PCH_REL_CNF_EV               (DWORD)(L1T_UPHY_RSP_EVENT + 17)

+#define P_CARD2_GAP_IND_EV                       (DWORD)(L1T_UPHY_RSP_EVENT + 18) /*T_zTD_P_card2_gap_ind*/

+#define P_CARD2_GAP_REL_CNF_EV                   (DWORD)(L1T_UPHY_RSP_EVENT + 19) /*T_zTD_P_card2_gap_rel_cnf*/

+#define P_CARD2_STOP_GAP_CNF_EV                  (DWORD)(L1T_UPHY_RSP_EVENT + 20) /*T_zTD_P_card2_stop_gap_cnf*/

+#define P_CARD1_SUSPEND_CNF_EV                   (DWORD)(L1T_UPHY_RSP_EVENT + 21) /*T_zTD_P_card1_suspend_cnf*/

+#define P_TD_ZTPCG_CNF_EV                        (DWORD)(L1T_UPHY_RSP_EVENT + 22)

+

+/* ========================================================================

+   L1T ÄÚ²¿ ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define P_CHECK_RF_IND_EV                        (DWORD)(L1T_EVENT_BASE + 1)

+#define P_ACTIVE_IND_EV                          (DWORD)(L1T_EVENT_BASE + 2)

+#define L1T_GSM_MEAS_DONE_REQ_EV                 (DWORD)(L1T_EVENT_BASE + 3)

+

+/* ========================================================================

+   L1E/L1Gµ÷L1T º¯ÊýÉèÖÃÖ÷¸¨Ä£Ê½µÄº¯ÊýÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define L1T_FUNC_SET_MODE_REQ_EV                 (DWORD)(L1T_EVENT_BASE + 4)

+

+/* ========================================================================

+  L1T/L1E/L1WÖ®¼äÏûÏ¢ºÅ¶¨Òå(ÎïÀí²ãÊÊÅä²ãL1A)

+======================================================================== */

+#define L1_GET_RF_REQ_EV                         (DWORD)(L1A_EVENT_BASE + 0)

+#define L1_GET_RF_CNF_EV                         (DWORD)(L1A_EVENT_BASE + 1)

+#define UTRAN_IRAT_MEAS_IND_EV                   (DWORD)(L1A_EVENT_BASE + 2)

+#define UTRAN_BLIND_MEAS_IND_EV                  (DWORD)(L1A_EVENT_BASE + 3)

+/*WCDMA*/

+#define L1A_FUNC_SET_MODE_REQ_EV                 (DWORD)(L1A_EVENT_BASE + 4)

+#define L1A_TD_GET_RF_REQ_EV                     (DWORD)(L1A_EVENT_BASE + 5)/*TDÏòÖ÷ÖÆÊ½ÒªÉ䯵ÇëÇóÏûÏ¢*/

+#define L1A_GET_RF_FROM_TD_CNF_EV                (DWORD)(L1A_EVENT_BASE + 6)/*TDÈóöÉ䯵ºó¸øÆäËûÖÆÊ½µÄ»Ø¸´ÏûÏ¢*/

+#define L1A_W_GET_RF_REQ_EV                      (DWORD)(L1A_EVENT_BASE + 7)

+#define L1A_GET_RF_FROM_W_CNF_EV                 (DWORD)(L1A_EVENT_BASE + 8)

+#define L1A_LTE_GET_RF_REQ_EV                    (DWORD)(L1A_EVENT_BASE + 9)

+#define L1A_GET_RF_FROM_LTE_CNF_EV               (DWORD)(L1A_EVENT_BASE + 10)

+/*w¸¨Ä£Ï²âÁ¿Éϱ¨¹²ÓÃW_P_INTER_FREQ_MEAS_IND_EV*/

+/*** Ô­SIG_CODE.HÖÐÒÆÖ²¹ýÀ´µÄÏûÏ¢ ***/

+    /* START OF DLL */

+#define L2_CONNECT_IND                           (DWORD)(LAPDM_EVENT_BASE + 0)

+#define L2_DATA_IND                              (DWORD)(LAPDM_EVENT_BASE + 1)

+#define DL_UNIT_DATA_REQ                         (DWORD)(LAPDM_EVENT_BASE + 2)

+#define DL_DATA_REQ                              (DWORD)(LAPDM_EVENT_BASE + 3)

+#define DL_ESTABLISH_REQ                         (DWORD)(LAPDM_EVENT_BASE + 4)

+#define DL_IRAT_HO_REQ                           (DWORD)(LAPDM_EVENT_BASE + 5)

+#define DL_RELEASE_REQ                           (DWORD)(LAPDM_EVENT_BASE + 6)

+#define DL_RECONNECT_REQ                         (DWORD)(LAPDM_EVENT_BASE + 7)

+#define DL_RESUME_REQ                            (DWORD)(LAPDM_EVENT_BASE + 8)

+#define DL_SUSPEND_REQ                           (DWORD)(LAPDM_EVENT_BASE + 9)

+#define MDL_CONFIG                               (DWORD)(LAPDM_EVENT_BASE + 10)

+#define MDL_RELEASE_REQ                          (DWORD)(LAPDM_EVENT_BASE + 11)

+#define PH_START_T200                            (DWORD)(LAPDM_EVENT_BASE + 12)

+#define T200                                     (DWORD)(LAPDM_EVENT_BASE + 13)

+    /* END OF DLL */

+

+/****************************¶¨Ê±Æ÷ÏûÏ¢ºÅÇø¼äBEGIN**************************/

+#define T_SI2N_AVAIL                             (DWORD)(GRR_EVENT_BASE + 83)

+#define T3206                                    (DWORD)(GRR_EVENT_BASE + 84)

+#define T3208                                    (DWORD)(GRR_EVENT_BASE + 85)

+#define T3210                                    (DWORD)(GRR_EVENT_BASE + 86)

+#define T_NCELL_VALID_TIMER                      (DWORD)(GRR_EVENT_BASE + 87)

+#define T_P_SI_STATUS_TIMER                      (DWORD)(GRR_EVENT_BASE + 88)

+#define T_CELL_SUPERVISION                       (DWORD)(GRR_EVENT_BASE + 89)

+#define T_PENALTY_0                              (DWORD)(GRR_EVENT_BASE + 90)

+#define T_PENALTY_1                              (DWORD)(GRR_EVENT_BASE + 91)

+#define T_PENALTY_2                              (DWORD)(GRR_EVENT_BASE + 92)

+#define T_PENALTY_3                              (DWORD)(GRR_EVENT_BASE + 93)

+#define T_PENALTY_4                              (DWORD)(GRR_EVENT_BASE + 94)

+#define T_PENALTY_5                              (DWORD)(GRR_EVENT_BASE + 95)

+#define T_CELL_RESEL_TIMEOUT                     (DWORD)(GRR_EVENT_BASE + 96)

+#define T_RESELECTION_DELAY                      (DWORD)(GRR_EVENT_BASE + 97)

+#define T_SCELL_RESEL_DELAY                      (DWORD)(GRR_EVENT_BASE + 98)

+#define T_SYS_INFO_READ                          (DWORD)(GRR_EVENT_BASE + 99)

+#define T_PSI_CYCLE                              (DWORD)(GRR_EVENT_BASE + 100)

+#define T_NCELL_SI_READ                          (DWORD)(GRR_EVENT_BASE + 101)

+#define T_CALL_REEST_TIMEOUT                     (DWORD)(GRR_EVENT_BASE + 102)

+#define T3122                                    (DWORD)(GRR_EVENT_BASE + 103)

+#define T3142                                    (DWORD)(GRR_EVENT_BASE + 104)

+#define T3172                                    (DWORD)(GRR_EVENT_BASE + 105)

+#define T3200                                    (DWORD)(GRR_EVENT_BASE + 106)

+#define T_SYS_INFO_VALID                         (DWORD)(GRR_EVENT_BASE + 107)

+#define T_RXLEV_VALID                            (DWORD)(GRR_EVENT_BASE + 108)

+#define T_BETTER_C2                              (DWORD)(GRR_EVENT_BASE + 109)

+#define T_SYNC_READ                              (DWORD)(GRR_EVENT_BASE + 110)

+#define T_NON_DRX                                (DWORD)(GRR_EVENT_BASE + 111)

+#define T_MONITOR_OLD_SCELL                      (DWORD)(GRR_EVENT_BASE + 112)

+#define T_TWO_IA_SUPERVISION                     (DWORD)(GRR_EVENT_BASE + 113)

+#define T_SENT_MEAS_REPORT                       (DWORD)(GRR_EVENT_BASE + 114)

+#define T_PSI_UNSOLICITED                        (DWORD)(GRR_EVENT_BASE + 115)

+#define T_ABN_CELL_RESEL_TIMEOUT                 (DWORD)(GRR_EVENT_BASE + 116)

+#define T_ABN_CELL_RESEL_SCELL                   (DWORD)(GRR_EVENT_BASE + 117)

+#define T_TESTPARAM                              (DWORD)(GRR_EVENT_BASE + 118)

+#define T_CELL_BARRED_TIMER                      (DWORD)(GRR_EVENT_BASE + 119)

+#define T_CELL_SEL_IND                           (DWORD)(GRR_EVENT_BASE + 120)

+#define T3218                                    (DWORD)(GRR_EVENT_BASE + 121)

+#define T309                                     (DWORD)(GRR_EVENT_BASE + 122)

+#define T_BETTER_UTRAN                           (DWORD)(GRR_EVENT_BASE + 123)

+#define T_IR_WAIT_TIMER                          (DWORD)(GRR_EVENT_BASE + 124)

+#define T_IR_CELL_INVALID_TIMER                  (DWORD)(GRR_EVENT_BASE + 125)

+#define T3232_EV                                 (DWORD)(GRR_EVENT_BASE + 126)

+#define T_RESELECTION_EV                         (DWORD)(GRR_EVENT_BASE + 127)

+#define T3230_EV                                 (DWORD)(GRR_EVENT_BASE + 128)

+#define T_DISABLE_UMTS_MEAS_EV                   (DWORD)(GRR_EVENT_BASE + 129)

+#define T_DISABLE_LTE_MEAS_EV                    (DWORD)(GRR_EVENT_BASE + 130)

+

+#define T_IR_READ_PREDEF_CONF_TIMER              (DWORD)(GRR_EVENT_BASE + 139)//¸ø¶¨Ê±Æ÷ÏûÏ¢ºÅÔ¤Áô10¸ö

+/****************************¶¨Ê±Æ÷ÏûÏ¢ºÅÇø¼äEND*****************************/

+     /* END OF GRR */

+

+    /* START OF MAC */

+#define MAC_PDCH_REL_REQ                         (DWORD)(GMAC_EVENT_BASE + 0)

+#define MAC_MAC_START_TIMER                      (DWORD)(GMAC_EVENT_BASE + 1)

+#define RLC_MAC_TLLI_ASSIGN_REQ                  (DWORD)(GMAC_EVENT_BASE + 2)

+#define RLC_MAC_UPLINK_PDCH_REQ                  (DWORD)(GMAC_EVENT_BASE + 3)

+#define RLC_MAC_REL_PDCH_REQ                     (DWORD)(GMAC_EVENT_BASE + 4)

+#define RLC_MAC_DEACT_CNF                        (DWORD)(GMAC_EVENT_BASE + 5)

+#define RLC_MAC_CTRL_BLOCK_REQ                   (DWORD)(GMAC_EVENT_BASE + 6)

+#define GRR_MAC_CLASSMARK_IND                    (DWORD)(GMAC_EVENT_BASE + 7)

+#define GRR_MAC_UPDATE_PARAM_REQ                 (DWORD)(GMAC_EVENT_BASE + 8)

+#define GRR_MAC_FREQ_UPDATE_REQ                  (DWORD)(GMAC_EVENT_BASE + 9)

+#define GRR_MAC_PDCH_REQ                         (DWORD)(GMAC_EVENT_BASE + 10)

+#define GRR_MAC_POLLING_REQ                      (DWORD)(GMAC_EVENT_BASE + 11)

+#define GRR_MAC_CIRCUIT_REQ                      (DWORD)(GMAC_EVENT_BASE + 12)

+#define GRR_MAC_CIRCUIT_ABORT_REQ                (DWORD)(GMAC_EVENT_BASE + 13)

+#define GRR_MAC_DEACT_REQ                        (DWORD)(GMAC_EVENT_BASE + 14)

+#define GRR_MAC_IDLE_CHN_CNF                     (DWORD)(GMAC_EVENT_BASE + 15)

+#define GRR_MAC_CELL_CHANGE_IND                  (DWORD)(GMAC_EVENT_BASE + 16)

+#define GRR_MAC_START_TIMER                      (DWORD)(GMAC_EVENT_BASE + 17)

+#define GRR_MAC_STOP_TIMER                       (DWORD)(GMAC_EVENT_BASE + 18)

+#define GRR_MAC_TESTPARAM_REQ                    (DWORD)(GMAC_EVENT_BASE + 19)

+#define GRR_MAC_SUSPEND_REQ                      (DWORD)(GMAC_EVENT_BASE + 20)

+#define T3126                                    (DWORD)(GMAC_EVENT_BASE + 21)

+#define T3146                                    (DWORD)(GMAC_EVENT_BASE + 22)

+#define T3162                                    (DWORD)(GMAC_EVENT_BASE + 23)

+#define T3164                                    (DWORD)(GMAC_EVENT_BASE + 24)

+#define T3166                                    (DWORD)(GMAC_EVENT_BASE + 25)

+#define T3168_MAC                                (DWORD)(GMAC_EVENT_BASE + 26)

+#define T3170                                    (DWORD)(GMAC_EVENT_BASE + 27)

+#define T3174                                    (DWORD)(GMAC_EVENT_BASE + 28)

+#define T3176                                    (DWORD)(GMAC_EVENT_BASE + 29)

+#define T3180                                    (DWORD)(GMAC_EVENT_BASE + 30)

+#define T3184                                    (DWORD)(GMAC_EVENT_BASE + 31)

+#define T3186                                    (DWORD)(GMAC_EVENT_BASE + 32)

+#define T3190                                    (DWORD)(GMAC_EVENT_BASE + 33)

+#define T3192                                    (DWORD)(GMAC_EVENT_BASE + 34)

+#define T_SINGLE_DL_BLOCK                        (DWORD)(GMAC_EVENT_BASE + 35)

+#define XPOLLING_RESPONSE                        (DWORD)(GMAC_EVENT_BASE + 36)

+#define XBLOCK_DL_RELEASE                        (DWORD)(GMAC_EVENT_BASE + 37)

+#define XBLOCK_UL_RELEASE                        (DWORD)(GMAC_EVENT_BASE + 38)

+#define GRR_MAC_T3218_EXP_EV                     (DWORD)(GMAC_EVENT_BASE + 39)

+#define GRR_MAC_PSHO_REQ_EV                      (DWORD)(GMAC_EVENT_BASE + 40)

+#define GRR_MAC_PSHO_RETURN_REQ_EV               (DWORD)(GMAC_EVENT_BASE + 41)

+#define GRR_MAC_PSHO_DEACT_REQ_EV                (DWORD)(GMAC_EVENT_BASE + 42)

+#define GMAC_T3216_EXPIRY_EV                     (DWORD)(GMAC_EVENT_BASE + 43)

+#define GMAC_T_MULTI_DL_BLOCK_EXPIRY_EV          (DWORD)(GMAC_EVENT_BASE + 44)

+#define GMAC_T3200_EXPIRY_EV                     (DWORD)(GMAC_EVENT_BASE + 45)

+

+    /* END OF MAC */

+

+    /* START OF RLC */

+#define RLC_WAKE_UP                              (DWORD)(GRLC_EVENT_BASE + 0)

+#define RLC_FILL_DATA_QUEUE                      (DWORD)(GRLC_EVENT_BASE + 1)

+#define RLC_START_TIMER_T3182                    (DWORD)(GRLC_EVENT_BASE + 2)

+#define RLC_START_TIMER_T3168                    (DWORD)(GRLC_EVENT_BASE + 3)

+#define RLC_FILL_GPRS_TEST_MODE                  (DWORD)(GRLC_EVENT_BASE + 4)

+#define RLC_UNEXPECTED_INPUT_RECEIVED            (DWORD)(GRLC_EVENT_BASE + 5)

+#define RLC_UPL_DEBUG                            (DWORD)(GRLC_EVENT_BASE + 6)

+#define OM_RLC_TEST_MODE_REQ                     (DWORD)(GRLC_EVENT_BASE + 7)

+#define GRR_RLC_SUSPEND_REQ                      (DWORD)(GRLC_EVENT_BASE + 8)

+#define GRR_RLC_RESUME_REQ                       (DWORD)(GRLC_EVENT_BASE + 9)

+#define GRR_RLC_UPDATE_PARAM_REQ                 (DWORD)(GRLC_EVENT_BASE + 10)

+#define GRR_RLC_ACCESS_CNF                       (DWORD)(GRLC_EVENT_BASE + 11)

+#define GRR_RLC_ACCESS_REJ                       (DWORD)(GRLC_EVENT_BASE + 12)

+#define GRR_RLC_REL_PDCH_REQ                     (DWORD)(GRLC_EVENT_BASE + 13)

+#define GRR_RLC_DATA_REQ                         (DWORD)(GRLC_EVENT_BASE + 14)

+#define GRR_RLC_STATUS_IND                       (DWORD)(GRLC_EVENT_BASE + 15)

+#define GRR_RLC_TBF_FAILURE                      (DWORD)(GRLC_EVENT_BASE + 16)

+#define GRR_RLC_TESTPARAM_REQ                    (DWORD)(GRLC_EVENT_BASE + 17)

+#define RLC_DATA_REQ                             (DWORD)(GRLC_EVENT_BASE + 18)

+#define RLC_UNITDATA_REQ                         (DWORD)(GRLC_EVENT_BASE + 19)

+#define RLC_CLEAR_QUEUE_REQ                      (DWORD)(GRLC_EVENT_BASE + 20)

+#define LL_RLC_RESUME_MM_REQ                     (DWORD)(GRLC_EVENT_BASE + 21)

+#define LL_RLC_RESUME_ALL_REQ                    (DWORD)(GRLC_EVENT_BASE + 22)

+#define RLC_ASSIGN_REQ                           (DWORD)(GRLC_EVENT_BASE + 23)

+#define RLC_RESET_REQ                            (DWORD)(GRLC_EVENT_BASE + 24)

+#define MAC_RLC_UPLINK_PDCH_IND                  (DWORD)(GRLC_EVENT_BASE + 25)

+#define MAC_RLC_UPLINK_PDCH_FAIL                 (DWORD)(GRLC_EVENT_BASE + 26)

+#define MAC_RLC_REL_PDCH_CNF                     (DWORD)(GRLC_EVENT_BASE + 27)

+#define MAC_RLC_UPLINK_PDCH_REL_IND              (DWORD)(GRLC_EVENT_BASE + 28)

+#define MAC_RLC_UPLINK_PDCH_CNF                  (DWORD)(GRLC_EVENT_BASE + 29)

+#define MAC_RLC_DOWNLINK_PDCH_IND                (DWORD)(GRLC_EVENT_BASE + 30)

+#define MAC_RLC_DATA_IND                         (DWORD)(GRLC_EVENT_BASE + 31)

+#define MAC_RLC_UPLINK_DATA_IND                  (DWORD)(GRLC_EVENT_BASE + 32)

+#define MAC_RLC_ERROR_IND                        (DWORD)(GRLC_EVENT_BASE + 33)

+#define MAC_RLC_DEACT_REQ                        (DWORD)(GRLC_EVENT_BASE + 34)

+#define MAC_RLC_STATUS_IND                       (DWORD)(GRLC_EVENT_BASE + 35)

+#define MAC_RLC_TLLI_IND                         (DWORD)(GRLC_EVENT_BASE + 36)

+#define MAC_RLC_DOWNLINK_PDCH_REL_IND            (DWORD)(GRLC_EVENT_BASE + 37)

+#define UPL_REL_TIMER                            (DWORD)(GRLC_EVENT_BASE + 38)

+#define PTBF_REL_TIMER                           (DWORD)(GRLC_EVENT_BASE + 39)

+#define T3168                                    (DWORD)(GRLC_EVENT_BASE + 40)

+#define T3182                                    (DWORD)(GRLC_EVENT_BASE + 41)

+#define RLC_ENG_MODE_TIMER                       (DWORD)(GRLC_EVENT_BASE + 42)

+#define GRR_RLC_PSHO_REQ_EV                      (DWORD)(GRLC_EVENT_BASE + 43)

+#define GRR_RLC_PSHO_SUCC_EV                     (DWORD)(GRLC_EVENT_BASE + 44)

+#define GRR_RLC_PSHO_FAIL_EV                     (DWORD)(GRLC_EVENT_BASE + 45)

+

+    /* END OF RLC */

+

+    /* START OF SNP */

+#define SN_DL_REGISTER_REQ                       (DWORD)(SNDCP_EVENT_BASE + 0)

+#define SN_UL_REGISTER_REQ                       (DWORD)(SNDCP_EVENT_BASE + 1)

+#define SN_NPDU_DEL_REQ                          (DWORD)(SNDCP_EVENT_BASE + 2)

+#define SN_NPDU_AVAIL_REQ                        (DWORD)(SNDCP_EVENT_BASE + 3)

+#define SN_DATA_REQ                              (DWORD)(SNDCP_EVENT_BASE + 4)

+#define SN_UNITDATA_REQ                          (DWORD)(SNDCP_EVENT_BASE + 5)

+#define SN_IR_UL_SUSPEND_RSP                     (DWORD)(SNDCP_EVENT_BASE + 6)

+#define SN_XID_REQ                               (DWORD)(SNDCP_EVENT_BASE + 7)

+#define SNSM_SEQUENCE_IND                        (DWORD)(SNDCP_EVENT_BASE + 8)

+#define SNSM_ACTIVATE_IND                        (DWORD)(SNDCP_EVENT_BASE + 9)

+#define SNSM_ASSIGN_IND                          (DWORD)(SNDCP_EVENT_BASE + 10)

+#define SNSM_DEACTIVATE_IND                      (DWORD)(SNDCP_EVENT_BASE + 11)

+#define SNSM_MODIFY_IND                          (DWORD)(SNDCP_EVENT_BASE + 12)

+#define SNSM_IR_ACTIVATE_IND                     (DWORD)(SNDCP_EVENT_BASE + 13)

+#define SNSM_IR_DEACTIVATE_IND                   (DWORD)(SNDCP_EVENT_BASE + 14)

+#define SNSM_IR_SEQUENCE_IND                     (DWORD)(SNDCP_EVENT_BASE + 15)

+#define SNPDU_AVAIL_IND                          (DWORD)(SNDCP_EVENT_BASE + 16)

+#define SNPDU_DEL_CNF                            (DWORD)(SNDCP_EVENT_BASE + 17)

+#define SNPDU_DEL_IND                            (DWORD)(SNDCP_EVENT_BASE + 18)

+#define LL_ESTABLISH_CNF                         (DWORD)(SNDCP_EVENT_BASE + 19)

+#define LL_ESTABLISH_IND                         (DWORD)(SNDCP_EVENT_BASE + 20)

+#define LL_RELEASE_CNF                           (DWORD)(SNDCP_EVENT_BASE + 21)

+#define LL_RELEASE_IND                           (DWORD)(SNDCP_EVENT_BASE + 22)

+#define LL_STATUS_IND                            (DWORD)(SNDCP_EVENT_BASE + 23)

+#define LL_RESET_IND                             (DWORD)(SNDCP_EVENT_BASE + 24)

+#define LL_RESET_PSHO_IND                        (DWORD)(SNDCP_EVENT_BASE + 25)

+#define LL_DATA_CNF                              (DWORD)(SNDCP_EVENT_BASE + 26)

+#define LL_XID_CNF                               (DWORD)(SNDCP_EVENT_BASE + 27)

+#define LL_XID_IND                               (DWORD)(SNDCP_EVENT_BASE + 28)

+#define LL_DATA_IND                              (DWORD)(SNDCP_EVENT_BASE + 29)

+#define LL_UNITDATA_IND                          (DWORD)(SNDCP_EVENT_BASE + 30)

+#define TIME_REEST                               (DWORD)(SNDCP_EVENT_BASE + 31)

+#define TIME_LL_UNITDATA_IND                     (DWORD)(SNDCP_EVENT_BASE + 32)

+#define TIME_UACK_XOFF                           (DWORD)(SNDCP_EVENT_BASE + 33)

+#define TIME_ACK_XOFF                            (DWORD)(SNDCP_EVENT_BASE + 34)

+    /* END OF SNP */

+

+    /* START OF GSMA */

+#define LLSMS_UNITDATA_IND                       (DWORD)(GSMA_EVENT_BASE + 0)

+#define SN_NPDU_DEL_IND                          (DWORD)(GSMA_EVENT_BASE + 1)

+#define SN_NPDU_AVAIL_IND                        (DWORD)(GSMA_EVENT_BASE + 2)

+#define SN_DATA_IND                              (DWORD)(GSMA_EVENT_BASE + 3)

+#define SN_UNITDATA_IND                          (DWORD)(GSMA_EVENT_BASE + 4)

+#define SN_IR_SUSPEND_IND                        (DWORD)(GSMA_EVENT_BASE + 5)

+#define SN_IR_TO_UMTS_IND                        (DWORD)(GSMA_EVENT_BASE + 6)

+#define RR_TESTPARAM_IND                         (DWORD)(GSMA_EVENT_BASE + 7)

+#define RR_ABORT_IND                             (DWORD)(GSMA_EVENT_BASE + 8)

+#define RR_ACT_CNF                               (DWORD)(GSMA_EVENT_BASE + 9)

+#define RR_ACT_REJ                               (DWORD)(GSMA_EVENT_BASE + 10)

+#define RR_ACT_FAIL                              (DWORD)(GSMA_EVENT_BASE + 11)

+#define RR_CELL_PARAMETER_IND                    (DWORD)(GSMA_EVENT_BASE + 12)

+#define RR_ACT_IND                               (DWORD)(GSMA_EVENT_BASE + 13)

+#define RR_DEACT_CNF                             (DWORD)(GSMA_EVENT_BASE + 14)

+#define RR_PLMN_CNF                              (DWORD)(GSMA_EVENT_BASE + 15)

+#define RR_PLMN_REJ                              (DWORD)(GSMA_EVENT_BASE + 16)

+#define RR_PLMN_IND                              (DWORD)(GSMA_EVENT_BASE + 17)

+#define RR_PLMN_ABORT_CNF                        (DWORD)(GSMA_EVENT_BASE + 18)

+#define RR_REL_IND                               (DWORD)(GSMA_EVENT_BASE + 19)

+#define RR_TBF_EST_IND                           (DWORD)(GSMA_EVENT_BASE + 20)

+#define RR_TBF_REL_IND                           (DWORD)(GSMA_EVENT_BASE + 21)

+#define RR_INACTIVE_CNF                          (DWORD)(GSMA_EVENT_BASE + 22)

+#define RR_HPLMN_ABORT_CNF                       (DWORD)(GSMA_EVENT_BASE + 23)

+#define RR_HPLMN_ACT_REJ                         (DWORD)(GSMA_EVENT_BASE + 24)

+#define RR_EST_CNF                               (DWORD)(GSMA_EVENT_BASE + 25)

+#define RR_EST_IND                               (DWORD)(GSMA_EVENT_BASE + 26)

+#define RR_CELL_IND                              (DWORD)(GSMA_EVENT_BASE + 27)

+#define RR_DATA_IND                              (DWORD)(GSMA_EVENT_BASE + 28)

+#define RR_SYNC_IND                              (DWORD)(GSMA_EVENT_BASE + 29)

+#define GMMRR_PAGE_IND                           (DWORD)(GSMA_EVENT_BASE + 30)

+#define GMMRR_SUSPEND_IND                        (DWORD)(GSMA_EVENT_BASE + 31)

+#define GMMRR_CELL_UPDATE_IND                    (DWORD)(GSMA_EVENT_BASE + 32)

+#define RR_DATA_REJ                              (DWORD)(GSMA_EVENT_BASE + 33)

+#define RR_EST_REJ                               (DWORD)(GSMA_EVENT_BASE + 34)

+#define RR_HO_COMPLETE_IND                       (DWORD)(GSMA_EVENT_BASE + 35)

+#define RR_HO_FAIL_IND                           (DWORD)(GSMA_EVENT_BASE + 36)

+#define RR_HO_START_IND                          (DWORD)(GSMA_EVENT_BASE + 37)

+#define RR_IRAT_RESEL_COMPLETE_IND               (DWORD)(GSMA_EVENT_BASE + 38)

+#define RR_IRAT_RESEL_FAIL_IND                   (DWORD)(GSMA_EVENT_BASE + 39)

+#define RR_IRAT_RESEL_START_IND                  (DWORD)(GSMA_EVENT_BASE + 40)

+#define RR_CCO_COMPLETE_IND                      (DWORD)(GSMA_EVENT_BASE + 41)

+#define RR_CCO_FAIL_IND                          (DWORD)(GSMA_EVENT_BASE + 42)

+#define RR_CCO_START_IND                         (DWORD)(GSMA_EVENT_BASE + 43)

+#define RR_RAT_CHN_IND                           (DWORD)(GSMA_EVENT_BASE + 44)

+#define RR_TEST_COUNT_CNF                        (DWORD)(GSMA_EVENT_BASE + 45)

+#define LLGMM_STATUS_IND                         (DWORD)(GSMA_EVENT_BASE + 46)

+#define LLGMM_TRIGGER_IND                        (DWORD)(GSMA_EVENT_BASE + 47)

+#define LLGMM_USER_DATA_PRESENT                  (DWORD)(GSMA_EVENT_BASE + 48)

+#define LLGMM_UNITDATA_IND                       (DWORD)(GSMA_EVENT_BASE + 49)

+#define RR_START_CELL_RESEL_IND                  (DWORD)(GSMA_EVENT_BASE + 50)

+#define RR_END_CELL_RESEL_IND                    (DWORD)(GSMA_EVENT_BASE + 51)

+#define RR_ADD_CELL_RESEL_INFO_IND               (DWORD)(GSMA_EVENT_BASE + 52)

+#define RLC_BLOCK_INFO_IND                       (DWORD)(GSMA_EVENT_BASE + 53)

+#define RRMN_MEAS_RESULTS_CNF                    (DWORD)(GSMA_EVENT_BASE + 54)

+#define MNRR_CIPHERING_IND                       (DWORD)(GSMA_EVENT_BASE + 55)

+#define SN_XID_CNF                               (DWORD)(GSMA_EVENT_BASE + 56)

+#define RR_RRL_DATA_IND                          (DWORD)(GSMA_EVENT_BASE + 57)

+#define RR_RRL_ABORT_EVENT_IND                   (DWORD)(GSMA_EVENT_BASE + 58)

+#define RR_RRL_CLASSMARK_IND                     (DWORD)(GSMA_EVENT_BASE + 59)

+#define SNSM_ACTIVATE_RSP                        (DWORD)(GSMA_EVENT_BASE + 60)

+#define SNSM_DEACTIVATE_RSP                      (DWORD)(GSMA_EVENT_BASE + 61)

+#define SNSM_MODIFY_RSP                          (DWORD)(GSMA_EVENT_BASE + 62)

+#define SNSM_SEQUENCE_RSP                        (DWORD)(GSMA_EVENT_BASE + 63)

+#define SNSM_STATUS_REQ                          (DWORD)(GSMA_EVENT_BASE + 64)

+#define SNSM_IR_ACTIVATE_RSP                     (DWORD)(GSMA_EVENT_BASE + 65)

+#define SNSM_IR_DEACTIVATE_RSP                   (DWORD)(GSMA_EVENT_BASE + 66)

+#define SNSM_IR_SEQUENCE_RSP                     (DWORD)(GSMA_EVENT_BASE + 67)

+#define URRC_RESEL_REQ                           (DWORD)(GSMA_EVENT_BASE + 68)

+#define URRC_SET_INACTIVE_REQ                    (DWORD)(GSMA_EVENT_BASE + 69)

+#define RR_SET_INACTIVE_CNF                      (DWORD)(GSMA_EVENT_BASE + 70)

+#define URRC_READ_PREDEF_CONF_REQ                (DWORD)(GSMA_EVENT_BASE + 71)/*WCDMAÏÂʹÓÃ*/

+#define URRC_ABORT_READ_PREDEF_REQ               (DWORD)(GSMA_EVENT_BASE + 72)/*WCDMAÏÂʹÓÃ*/

+#define URRC_L1_RSRC_REQ                         (DWORD)(GSMA_EVENT_BASE + 73)

+#define URRC_L1_RSRC_FREE_IND                    (DWORD)(GSMA_EVENT_BASE + 74)

+#define RR_L1_RSRC_CNF                           (DWORD)(GSMA_EVENT_BASE + 75)

+#define RR_L1_RSRC_REJ                           (DWORD)(GSMA_EVENT_BASE + 76)

+#define RR_CELL_SEARCH_CNF                       (DWORD)(GSMA_EVENT_BASE + 77)

+#define RR_CELL_SEARCH_REJ                       (DWORD)(GSMA_EVENT_BASE + 78)

+#define URRC_CELL_SEARCH_REQ                     (DWORD)(GSMA_EVENT_BASE + 79)

+#define URRC_HO_INFO_REQ                         (DWORD)(GSMA_EVENT_BASE + 80)

+#define URRC_HO_REQ                              (DWORD)(GSMA_EVENT_BASE + 81)

+#define URRC_VSD_INFO                            (DWORD)(GSMA_EVENT_BASE + 82)

+#define RR_HO_CNF                                (DWORD)(GSMA_EVENT_BASE + 83)

+#define RR_HO_REJ                                (DWORD)(GSMA_EVENT_BASE + 84)

+#define URRC_CELL_CHANGE_REQ                     (DWORD)(GSMA_EVENT_BASE + 85)

+#define RR_CELL_CHANGE_CNF                       (DWORD)(GSMA_EVENT_BASE + 86)

+#define RR_CELL_CHANGE_REJ                       (DWORD)(GSMA_EVENT_BASE + 87)

+#define RR_RESEL_CNF                             (DWORD)(GSMA_EVENT_BASE + 88)

+#define RR_RESEL_REJ                             (DWORD)(GSMA_EVENT_BASE + 89)

+

+#define ERRC_RESEL_REQ_EV                        (DWORD)(GSMA_EVENT_BASE + 90)

+#define ERRC_CELL_SEARCH_REQ_EV                  (DWORD)(GSMA_EVENT_BASE + 91)

+#define RR_IRAT_PSHO_START_IND_EV                (DWORD)(GSMA_EVENT_BASE + 92)

+#define RR_IRAT_PSHO_COMPLETE_IND_EV             (DWORD)(GSMA_EVENT_BASE + 93)

+#define RR_IRAT_PSHO_FAIL_IND_EV                 (DWORD)(GSMA_EVENT_BASE + 94)

+#define URRC_PSHO_REQ_EV                         (DWORD)(GSMA_EVENT_BASE + 95)

+#define ERRC_PSHO_REQ_EV                         (DWORD)(GSMA_EVENT_BASE + 96)

+#define RR_PSHO_CNF_EV                           (DWORD)(GSMA_EVENT_BASE + 97)

+#define RR_PSHO_REJ_EV                           (DWORD)(GSMA_EVENT_BASE + 98)

+#define ERRC_CELL_CHANGE_REQ_EV                  (DWORD)(GSMA_EVENT_BASE + 99)

+#define RR_ETWS_DATA_IND_EV                      (DWORD)(GSMA_EVENT_BASE + 100)

+#define LLGMM_PSHO_IND_EV                        (DWORD)(GSMA_EVENT_BASE + 101)

+#define RLC_SM_CURR_BEAR_IND_EV                  (DWORD)(GSMA_EVENT_BASE + 102)

+#define RR_SENDCMP_IND_EV                        (DWORD)(GSMA_EVENT_BASE + 103)

+#define RR_CGI_REQ                               (DWORD)(GSMA_EVENT_BASE + 104)

+#define RR_CGI_CNF                               (DWORD)(GSMA_EVENT_BASE + 105)

+#define RR_ABORT_CGI_REQ                         (DWORD)(GSMA_EVENT_BASE + 106)

+#define RR_ABORT_CGI_CNF                         (DWORD)(GSMA_EVENT_BASE + 107)

+#define RR_XCELLINFO_CNF                         (DWORD)(GSMA_EVENT_BASE + 108)

+#define RR_XCELLINFO_REJ                         (DWORD)(GSMA_EVENT_BASE + 109)

+#define RR_XCELLINFO_ABORT_CNF                   (DWORD)(GSMA_EVENT_BASE + 110)

+

+    

+    /* START OF LLC */

+#define LLC_START_TIMER_T200                     (DWORD)(GLLC_EVENT_BASE + 0)

+#define LLC_START_TIMER_T201                     (DWORD)(GLLC_EVENT_BASE + 1)

+#define LLSMS_UNITDATA_REQ                       (DWORD)(GLLC_EVENT_BASE + 2)

+#define LLGMM_ASSIGN_REQ                         (DWORD)(GLLC_EVENT_BASE + 3)

+#define LLGMM_RESUME_REQ                         (DWORD)(GLLC_EVENT_BASE + 4)

+#define LLGMM_SUSPEND_REQ                        (DWORD)(GLLC_EVENT_BASE + 5)

+#define LLGMM_TRIGGER_REQ                        (DWORD)(GLLC_EVENT_BASE + 6)

+#define LLGMM_UNITDATA_REQ                       (DWORD)(GLLC_EVENT_BASE + 7)

+#define LLGMM_CELL_NOTIFICATION_REQ              (DWORD)(GLLC_EVENT_BASE + 8)

+#define SNPDU_AVAIL_REQ                          (DWORD)(GLLC_EVENT_BASE + 9)

+#define SNPDU_DEL_REQ                            (DWORD)(GLLC_EVENT_BASE + 10)

+#define SNPDU_DEL_RSP                            (DWORD)(GLLC_EVENT_BASE + 11)

+#define LL_CONFIG_REQ                            (DWORD)(GLLC_EVENT_BASE + 12)

+#define LL_ESTABLISH_REQ                         (DWORD)(GLLC_EVENT_BASE + 13)

+#define LL_ESTABLISH_RSP                         (DWORD)(GLLC_EVENT_BASE + 14)

+#define LL_RELEASE_REQ                           (DWORD)(GLLC_EVENT_BASE + 15)

+#define LL_DATA_REQ                              (DWORD)(GLLC_EVENT_BASE + 16)

+#define LL_UNITDATA_REQ                          (DWORD)(GLLC_EVENT_BASE + 17)

+#define LL_XID_REQ                               (DWORD)(GLLC_EVENT_BASE + 18)

+#define LL_XID_RSP                               (DWORD)(GLLC_EVENT_BASE + 19)

+#define GRR_LLC_PSHO_SUCCESS_IND                 (DWORD)(GLLC_EVENT_BASE + 20)

+#define RRC_LLC_DATA_IND                         (DWORD)(GLLC_EVENT_BASE + 21)

+#define RLC_DATA_IND                             (DWORD)(GLLC_EVENT_BASE + 22)

+#define RLC_UNITDATA_IND                         (DWORD)(GLLC_EVENT_BASE + 23)

+#define RLC_DATA_CNF                             (DWORD)(GLLC_EVENT_BASE + 24)

+#define RLC_UNITDATA_CNF                         (DWORD)(GLLC_EVENT_BASE + 25)

+#define RLC_CLEAR_QUEUE_CNF                      (DWORD)(GLLC_EVENT_BASE + 26)

+#define RLC_CLEAR_QUEUE_IND                      (DWORD)(GLLC_EVENT_BASE + 27)

+#define RLC_DATA_BUFF_IND                        (DWORD)(GLLC_EVENT_BASE + 28)

+#define LLC_T200                                 (DWORD)(GLLC_EVENT_BASE + 29)

+#define T201                                     (DWORD)(GLLC_EVENT_BASE + 30)

+#define LLC_T100_EV                              (DWORD)(GLLC_EVENT_BASE + 31)

+    /* END OF LLC */

+

+/* ========================================================================

+   MM¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define MM_T3210_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 0)

+#define MM_T3211_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 1)

+#define MM_T3212_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 2)

+#define MM_T3213_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 3)

+#define MM_T3214_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 4)

+#define MM_T3216_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 5)

+#define MM_T3218_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 6)

+#define MM_T3220_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 7)

+#define MM_T3221_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 8)

+#define MM_T3230_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 9)

+#define MM_T3240_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 10)

+#define MM_T3241_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 11)

+#define MM_T3225_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 12)

+#define MM_T3222_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 13)

+#define MM_T3231_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 14)

+#define MM_T3232_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 15)

+#define MM_TWRRR_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 16)

+#define MM_TWPGR_EXPIRY_EV                       (DWORD)(MM_TIMER_EVENT_BASE + 17)

+#define MM_TCCSRV_EXPIRY_EV                      (DWORD)(MM_TIMER_EVENT_BASE + 18)

+

+/* ========================================================================

+   GMM¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define GMM_T_READY_EXPIRY_EV                    (DWORD)(GMM_TIMER_EVENT_BASE + 0)

+#define GMM_T3310_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 1)

+#define GMM_T3330_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 2)

+#define GMM_T3317_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 3)

+#define GMM_T3321_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 4)

+#define GMM_T3316_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 5)

+#define GMM_T3318_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 6)

+#define GMM_T3320_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 7)

+#define GMM_T_WRRC_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 8)

+#define GMM_T_WRRR_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 9)

+#define GMM_T_POWER_OFF_EXPIRY_EV                (DWORD)(GMM_TIMER_EVENT_BASE + 10)

+#define GMM_T_WSPN_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 11)

+#define GMM_T_WCRS_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 12)

+#define GMM_T_WTRG_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 13)

+#define GMM_T_PAGE_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 14)

+#define GMM_T3319_EXPIRY_EV                      (DWORD)(GMM_TIMER_EVENT_BASE + 15)

+#define GMM_T_WREL_EXPIRY_EV                     (DWORD)(GMM_TIMER_EVENT_BASE + 16)/*EC614000821119*/  

+/* ========================================================================

+   UMM¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UMM_T3212_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 0)

+#define UMM_T3311_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 1)

+#define UMM_T3302_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 2)

+#define UMM_T3312_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 3)

+#define UMM_T_NOCELL_EXPIRY_EV                   (DWORD)(UMM_TIMER_EVENT_BASE + 4)

+#define UMM_T_LIMIT_EXPIRY_EV                    (DWORD)(UMM_TIMER_EVENT_BASE + 5)

+#define UMM_T_DELLIST_EXPIRY_EV                  (DWORD)(UMM_TIMER_EVENT_BASE + 6)

+#define UMM_T_SHHPLMN_EXPIRY_EV                  (DWORD)(UMM_TIMER_EVENT_BASE + 7)

+#define UMM_T_UICCINIT_EXPIRY_EV                 (DWORD)(UMM_TIMER_EVENT_BASE + 8)    /* ¼àÊÓ¿¨³õʼ»¯¶¨Ê±Æ÷ */

+#define UMM_T_CAMPON_EXPIRY_EV                   (DWORD)(UMM_TIMER_EVENT_BASE + 9)    /* ¼àÊÓפÁô¹ý³Ì¶¨Ê±Æ÷ */

+#define UMM_T_DETACH_EXPIRY_EV                   (DWORD)(UMM_TIMER_EVENT_BASE + 10)   /* ¼àÊӹػúÈ¥»î¹ý³Ì¶¨Ê±Æ÷ */

+#define UMM_T_LIST_EXPIRY_EV                     (DWORD)(UMM_TIMER_EVENT_BASE + 11)   /* ÖØÊÔPLMNÁÐ±í¶¨Ê±Æ÷ */

+#define UMM_T_PLMNLIST_EXPIRY_EV                 (DWORD)(UMM_TIMER_EVENT_BASE + 12)   /* Áбí¹ý³Ì¶¨Ê±Æ÷ */

+#define UMM_T3411_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 13)

+#define UMM_T3402_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 14)

+#define UMM_T3412_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 15)

+#define UMM_T3442_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 16)

+#define UMM_T_PROC_EXPIRY_EV                     (DWORD)(UMM_TIMER_EVENT_BASE + 17)

+#define UMM_T_FOCSGLIST_EXPIRY_EV                (DWORD)(UMM_TIMER_EVENT_BASE + 18)

+#define UMM_T3323_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 19)

+#define UMM_T3423_EXPIRY_EV                      (DWORD)(UMM_TIMER_EVENT_BASE + 20)

+#define UMM_TBGSEARCH_EXPIRY_EV                  (DWORD)(UMM_TIMER_EVENT_BASE + 21)  /*LTE±³¾°ËÑË÷ÖÜÆÚ¶¨Ê±Æ÷*/

+#define UMM_T_IMSREG_EXPIRY_EV                   (DWORD)(UMM_TIMER_EVENT_BASE + 22)

+#define UMM_T_NORMALFAILPLMN_EXPIRY_EV           (DWORD)(UMM_TIMER_EVENT_BASE + 23)

+#define UMM_T_ENABLE_EUTRAN_EXPIRY_EV            (DWORD)(UMM_TIMER_EVENT_BASE + 24)

+#define UMM_T_DISABLE_EUTRAN_EXPIRY_EV           (DWORD)(UMM_TIMER_EVENT_BASE + 25)

+#define UMM_T_LOOPTIME_EXPIRY_EV                 (DWORD)(UMM_TIMER_EVENT_BASE + 26)

+#define UMM_T_DISFRESEARCH_EXPIRY_EV             (DWORD)(UMM_TIMER_EVENT_BASE + 27)

+#define UMM_T_RESETCAUSEPAR_EXPIRY_EV            (DWORD)(UMM_TIMER_EVENT_BASE + 28)

+#define UMM_T_SWITCHCARD_EXPIRY_EV               (DWORD)(UMM_TIMER_EVENT_BASE + 29)

+/* ========================================================================

+   CC¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CC_T303_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 0)

+#define CC_T305_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 1)

+#define CC_T308_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 2)

+#define CC_T310_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 3)

+#define CC_T313_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 4)

+#define CC_T335_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 5)    /*CCBS*/

+#define CC_T332_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 6)

+#define CC_T323_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 7)

+#define CC_T336_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 8)

+#define CC_T337_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 9)

+

+/* ADD A TIMER FOR CALL CONFIRM MESSAGE */

+#define CC_T_CALLCNF_EXPIRY_EV                   (DWORD)(CC_TIMER_EVENT_BASE + 10)

+

+/* ADD TIMER FOR AOC */

+#define CC_T_ACMUPD_EXPIRY_EV                    (DWORD)(CC_TIMER_EVENT_BASE + 11)

+#define CC_T_CDUR_EXPIRY_EV                      (DWORD)(CC_TIMER_EVENT_BASE + 12)

+

+#define CC_T_HOLD_EXPIRY_EV                      (DWORD)(CC_TIMER_EVENT_BASE + 13)

+#define CC_T_RETRIEVE_EXPIRY_EV                  (DWORD)(CC_TIMER_EVENT_BASE + 14)

+

+#define CC_T_MPTYBUILD_EXPIRY_EV                 (DWORD)(CC_TIMER_EVENT_BASE + 15)

+#define CC_T_MPTYHOLD_EXPIRY_EV                  (DWORD)(CC_TIMER_EVENT_BASE + 16)

+#define CC_T_MPTYRETRIEVE_EXPIRY_EV              (DWORD)(CC_TIMER_EVENT_BASE + 17)

+#define CC_T_MPTYSPLIT_EXPIRY_EV                 (DWORD)(CC_TIMER_EVENT_BASE + 18)

+

+#define CC_T322_EXPIRY_EV                        (DWORD)(CC_TIMER_EVENT_BASE + 19)

+#define CC_T_SUPPER_EXPIRY_EV                    (DWORD)(CC_TIMER_EVENT_BASE + 20)

+#define CC_T_MMCONN_EXPIRY_EV                    (DWORD)(CC_TIMER_EVENT_BASE + 21)

+

+#define CC_T_RELTAF_EXPIRY_EV                    (DWORD)(CC_TIMER_EVENT_BASE + 22)

+#define CC_T_CONNTAF_EXPIRY_EV                   (DWORD)(CC_TIMER_EVENT_BASE + 23)

+#define CC_T_SYNCIND_EXPIRY_EV                   (DWORD)(CC_TIMER_EVENT_BASE + 24)

+#define CC_T_MODIFYBC_EXPIRY_EV                  (DWORD)(CC_TIMER_EVENT_BASE + 25)

+#define CC_T_DTMFDURA_EXPIRY_EV                  (DWORD)(CC_TIMER_EVENT_BASE + 26)

+#define CC_T_MMCONNRETRY_EXPIRY_EV               (DWORD)(CC_TIMER_EVENT_BASE + 27)

+#define CC_T_ALLOWEDCALL_TIME_EXPIRY_EV          (DWORD)(CC_TIMER_EVENT_BASE + 28)

+#define CC_T_ECT_EXPIRY_EV                      (DWORD)(CC_TIMER_EVENT_BASE + 29)

+

+/* ========================================================================

+   SMS¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define SMS_TR1M_EXPIRY_EV                       (DWORD)(SMS_TIMER_EVENT_BASE + 0)    /* FOR MO SM.*/ 

+#define SMS_TRAM_EXPIRY_EV                       (DWORD)(SMS_TIMER_EVENT_BASE + 1)    /* FOR MO SM.*/ 

+#define SMS_TC1M_MO_EXPIRY_EV                    (DWORD)(SMS_TIMER_EVENT_BASE + 2)    /* FOR MO SM.*/ 

+#define SMS_TMMS_EXPIRY_EV                       (DWORD)(SMS_TIMER_EVENT_BASE + 3)    /* FOR MO SM.*/ 

+#define SMS_TR2M_EXPIRY_EV                       (DWORD)(SMS_TIMER_EVENT_BASE + 4)    /* FOR MT SM.*/

+#define SMS_TC1M_MT_EXPIRY_EV                    (DWORD)(SMS_TIMER_EVENT_BASE + 5)    /* FOR MT SM.*/

+/* ========================================================================

+   SS¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define SS_T_WAIT_EXPIRY_EV                        (DWORD)(SS_TIMER_EVENT_BASE + 0)

+#define SS_T_MOLRTIME_EXPIRY_EV               (DWORD)(SS_TIMER_EVENT_BASE + 1)

+#define SS_T_MOLRINTERTIME_EXPIRY_EV      (DWORD)(SS_TIMER_EVENT_BASE + 2)

+#ifdef _USE_SIG_TRACE

+#define SS_DL_L3FACILITY_EV                              (DWORD)(SS_TIMER_EVENT_BASE + 3)

+#define SS_DL_L3MTREG_EV                                 (DWORD)(SS_TIMER_EVENT_BASE + 4)

+#define SS_DL_L3RELCOMP_EV                              (DWORD)(SS_TIMER_EVENT_BASE + 5)

+#endif

+

+

+/* ========================================================================

+   SM¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define SM_T3380_EXPIRY_EV                       (DWORD)(SM_TIMER_EVENT_BASE + 0)

+#define SM_T3381_EXPIRY_EV                       (DWORD)(SM_TIMER_EVENT_BASE + 1)

+#define SM_T3390_EXPIRY_EV                       (DWORD)(SM_TIMER_EVENT_BASE + 2)

+#define SM_T_CMEST_EXPIRY_EV                     (DWORD)(SM_TIMER_EVENT_BASE + 3)

+#define SM_T_PDPHANDLE_EXPIRY_EV                 (DWORD)(SM_TIMER_EVENT_BASE + 4)

+#define SM_T_APPANSMTACT_EXPIRY_EV               (DWORD)(SM_TIMER_EVENT_BASE + 5)

+#define SM_T_AUTOANSMTACT_EXPIRY_EV              (DWORD)(SM_TIMER_EVENT_BASE + 6)

+

+/* ========================================================================

+   CBS¶¨Ê±Æ÷ ÏûÏ¢ºÅµÄ¶¨Òå

+======================================================================== */

+#define CBS_T_SCHEDCHECK_EXPIRY_EV               (DWORD)(CBS_TIMER_EVENT_BASE + 0)

+

+/* ========================================================================

+   UICC¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UICC_CARD_DETECT_EXPIRY_EV               (DWORD)(UICC_TIMER_EVENT_BASE + 0)

+#define UICC_CARD_USAT_EXPIRY_EV               (DWORD)(UICC_TIMER_EVENT_BASE + 1)

+

+/* ========================================================================

+   URRC¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define USIR_T_BCH_EXPIRY_EV                     (DWORD)(URRC_TIMER_EVENT_BASE + 0)

+#define USIR_T_SIB7_EXPIRY_EV                    (DWORD)(URRC_TIMER_EVENT_BASE + 1)

+#define USIR_T_VTSIB_EXPIRY_EV                   (DWORD)(URRC_TIMER_EVENT_BASE + 2)

+#define USIR_T_R_EXPIRY_EV                       (DWORD)(URRC_TIMER_EVENT_BASE + 3)

+#define USIR_T_BCCHMODIFY_EXPIRY_EV              (DWORD)(URRC_TIMER_EVENT_BASE + 4)

+#define UCSR_T_HIGHSPEED_EXPIRY_EV               (DWORD)(URRC_TIMER_EVENT_BASE + 5)

+#define UCSR_T_HYSTX_EXPIRY_EV                   (DWORD)(URRC_TIMER_EVENT_BASE + 6)

+#define UCSR_T_PROTECT_EXPIRY_EV                 (DWORD)(URRC_TIMER_EVENT_BASE + 7)

+#define UCSR_T_NCELL_EXPIRY_EV                   (DWORD)(URRC_TIMER_EVENT_BASE + 8)

+#define UCSR_T_OOS_EXPIRY_EV                     (DWORD)(URRC_TIMER_EVENT_BASE + 9)

+#define UCSR_T_CAMP1S_EXPIRY_EV                  (DWORD)(URRC_TIMER_EVENT_BASE + 10)    /*פÁôÄ³Ð¡Çø1S³¬Ê±*/

+#define UCSR_T_L1_RELATED_EVENT_EXPIRY_EV        (DWORD)(URRC_TIMER_EVENT_BASE + 11)

+#define UCSR_T_REDIRECT_EXPIRY_EV                (DWORD)(URRC_TIMER_EVENT_BASE + 12)

+#define UMCR_T_RESELECT_EXPIRY_EV                (DWORD)(URRC_TIMER_EVENT_BASE + 13)

+#define UMCR_T_PERIOD_EXPIRY_EV                  (DWORD)(URRC_TIMER_EVENT_BASE + 14)

+#define UMCR_T_TRIGGER_EV                        (DWORD)(URRC_TIMER_EVENT_BASE + 15)

+#define UMCR_T_EM_CELLINFO_EXPIRY_EV             (DWORD)(URRC_TIMER_EVENT_BASE + 16)

+#define UCER_T_SIGCONNRELIND_EXPIRY_EV           (DWORD)(URRC_TIMER_EVENT_BASE + 17)

+#define UCER_T_ETWS_EXPIRY_EV                    (DWORD)(URRC_TIMER_EVENT_BASE + 18)

+#define UCER_T_FACHCONNREL_EXPIRY_EV             (DWORD)(URRC_TIMER_EVENT_BASE + 19)

+#define URRC_T300_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 20)

+#define URRC_T302_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 21)

+#define URRC_T304_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 22)

+#define URRC_T305_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 23)

+#define URRC_T307_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 24)

+#define URRC_T308_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 25)

+#define URRC_T309_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 26)

+#define URRC_T312_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 27)

+#define URRC_T313_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 28)

+#define URRC_T314_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 29)

+#define URRC_T315_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 30)

+#define URRC_T316_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 31)

+#define URRC_T319_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 32)

+#define URRC_T320_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 33)

+#define UMCR_T322_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 34)

+#define URRC_T323_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 35)

+#define URRC_T325_EXPIRY_EV                      (DWORD)(URRC_TIMER_EVENT_BASE + 36)

+#define URRC_T_WAIT_EXPIRY_EV                    (DWORD)(URRC_TIMER_EVENT_BASE + 37)

+#define UCSR_T_LBS_EXPIRY_EV                     (DWORD)(URRC_TIMER_EVENT_BASE + 38)

+

+/* ========================================================================

+   UPDCP¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define PDCP_T_RABREEST_EXPIRY_EV                (DWORD)(PDCP_TIMER_EVENT_BASE + 0)

+#define PDCP_T_SNSYNC_EXPIRY_EV                  (DWORD)(PDCP_TIMER_EVENT_BASE + 1)

+#define PDCP_T_DATAMONITOR_EXPIRY_EV             (DWORD)(PDCP_TIMER_EVENT_BASE + 2)

+

+/* ========================================================================

+   URLC¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define URLC_T_DISCARD_EXPIRY_EV                 (DWORD)(URLC_TIMER_EVENT_BASE + 0)

+#define URLC_T_POLL_EXPIRY_EV                    (DWORD)(URLC_TIMER_EVENT_BASE + 1)

+#define URLC_T_POLLPROH_EXPIRY_EV                (DWORD)(URLC_TIMER_EVENT_BASE + 2)

+#define URLC_T_POLLPRD_EXPIRY_EV                 (DWORD)(URLC_TIMER_EVENT_BASE + 3)

+#define URLC_T_STATUSPROH_EXPIRY_EV              (DWORD)(URLC_TIMER_EVENT_BASE + 4)

+#define URLC_T_STATUSPRD_EXPIRY_EV               (DWORD)(URLC_TIMER_EVENT_BASE + 5)

+#define URLC_T_RESET_EXPIRY_EV                   (DWORD)(URLC_TIMER_EVENT_BASE + 6)

+#define URLC_T_MRW_EXPIRY_EV                     (DWORD)(URLC_TIMER_EVENT_BASE + 7)

+

+/* ========================================================================

+   UMAC¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define UMAC_MCR_T_TRIGGER_EXPIRY_EV             (DWORD)(UMAC_TIMER_EVENT_BASE + 0)

+#define UMAC_MCR_T_PERIOD_EXPIRY_EV              (DWORD)(UMAC_TIMER_EVENT_BASE + 1)

+#define UMAC_MCR_T_PENDING_EXPIRY_EV             (DWORD)(UMAC_TIMER_EVENT_BASE + 2)

+#define UMAC_T_RACHPROC_EXPIRY_EV                (DWORD)(UMAC_TIMER_EVENT_BASE + 3)

+#define UMAC_T_HSTIMER_EXPIRY_EV                 (DWORD)(UMAC_TIMER_EVENT_BASE + 4)

+#define UMAC_T_RESET_EXPIRY_EV                   (DWORD)(UMAC_TIMER_EVENT_BASE + 5)

+

+

+/* ========================================================================

+   L1T¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define L1T_T_BSIC_EXPIRY_EV                     (DWORD)(L1T_TIMER_EVENT_BASE + 0)

+

+/* ========================================================================

+   TAF¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define TAF_T_PROC_EXPIRY_EV                     (DWORD)(TAF_TIMER_EVENT_BASE + 0)

+#define TAF_T_DISC_EXPIRY_EV                     (DWORD)(TAF_TIMER_EVENT_BASE + 1)

+#define TAF_T_RA_TSYNC_EXPIRY_EV                 (DWORD)(TAF_TIMER_EVENT_BASE + 2)

+#define TAF_T_RA_TSYNCEND_EXPIRY_EV              (DWORD)(TAF_TIMER_EVENT_BASE + 3)

+#define TAF_T_RA_TSBFILTER_EXPIRY_EV             (DWORD)(TAF_TIMER_EVENT_BASE + 4)

+#define TAF_T_RA_TXFILTER_EXPIRY_EV              (DWORD)(TAF_TIMER_EVENT_BASE + 5)

+#define TAF_T_RLP_TRCVR_EXPIRY_EV                (DWORD)(TAF_TIMER_EVENT_BASE + 6)

+#define TAF_T_RLP_TRCVS_EXPIRY_EV                (DWORD)(TAF_TIMER_EVENT_BASE + 7)

+#define TAF_T_RLP_TTEST_EXPIRY_EV                (DWORD)(TAF_TIMER_EVENT_BASE + 8)

+#define TAF_T_RLP_TXID_EXPIRY_EV                 (DWORD)(TAF_TIMER_EVENT_BASE + 9)

+#define TAF_T_RLP_T_EXPIRY_EV                    (DWORD)(TAF_TIMER_EVENT_BASE + 10)

+

+/* ========================================================================

+   GSMA¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+

+/* ========================================================================

+   ROHCv1¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define ROHCv1_T_IR_EXPIRY_EV                      (DWORD)(ROHCv1_TIMER_EVENT_BASE + 0)

+#define ROHCv1_T_SO2FO_EXPIRY_EV                   (DWORD)(ROHCv1_TIMER_EVENT_BASE + 1)

+#define ENROHCv1_T_IR_EXPIRY_EV                    (DWORD)(ROHCv1_TIMER_EVENT_BASE + 2)

+#define ENROHCv1_T_SO2FO_EXPIRY_EV                 (DWORD)(ROHCv1_TIMER_EVENT_BASE + 3)

+#define ROHCv1_T_NACK_FDBK_CNT_EXPIRY_EV           (DWORD)(ROHCv1_TIMER_EVENT_BASE + 4)

+/* ========================================================================

+   ROHCv2¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define ROHCv2_T_IR_EXPIRY_EV                    (DWORD)(ROHCv2_TIMER_EVENT_BASE + 0)

+#define ENROHCv2_T_IR_EXPIRY_EV                  (DWORD)(ROHCv2_TIMER_EVENT_BASE + 1)

+

+/* ========================================================================

+   PDI¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define PDI_T_SWITCHLED_EXPIRY_EV                (DWORD)(PDI_TIMER_EVENT_BASE + 0)

+#define PDI_T_WAITDNSACK_EXPIRY_EV               (DWORD)(PDI_TIMER_EVENT_BASE + 1)

+#define PDI_T_WAITZSSACK_EXPIRY_EV               (DWORD)(PDI_TIMER_EVENT_BASE + 2)

+#define PDI_T_WAIT_BUF_EXPIRY_EV                 (DWORD)(PDI_TIMER_EVENT_BASE + 3)

+#define PDI_LOOPB_TIMER_EXPIRY_EV                (DWORD)(PDI_TIMER_EVENT_BASE + 4)

+

+/* ========================================================================

+   SCI¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define SCI_T_VOICE_FRAME_EXPIRY_EV              (DWORD)(SCI_TIMER_EVENT_BASE + 0)

+

+/* ========================================================================

+   STM¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define STM_MEMAVAILD_EXPIRY_EV                  (DWORD)(STM_TIMER_EVENT_BASE + 0)

+

+/*========================================================================

+USAT¶¨Ê±Æ÷¶¨Òå

+========================================================================*/

+#define USAT_TIMERMNG_TIMER1_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 0)

+#define USAT_TIMERMNG_TIMER2_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 1)

+#define USAT_TIMERMNG_TIMER3_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 2)

+#define USAT_TIMERMNG_TIMER4_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 3)

+#define USAT_TIMERMNG_TIMER5_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 4)

+#define USAT_TIMERMNG_TIMER6_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 5)

+#define USAT_TIMERMNG_TIMER7_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 6)

+#define USAT_TIMERMNG_TIMER8_EXPIRY_EV                (DWORD)(USAT_TIMER_EVENT_BASE + 7)

+

+/* ========================================================================

+   È«¾ÖÓ빤¾ß½»»¥Ê¼þºÅ¶¨Òå

+======================================================================== */

+#define FOR_TEST_TEMP_EV                         (DWORD)(PRI_TEST_EVENT_BASE + 0)

+#define TEST_SET_UICC_RLT_EV                     (DWORD)(PRI_TEST_EVENT_BASE + 1)

+#define TEST_SET_UICC_DATA_EV                    (DWORD)(PRI_TEST_EVENT_BASE + 2)

+#define TEST_SET_NV_DATA_EV                      (DWORD)(PRI_TEST_EVENT_BASE + 3)

+#define TEST_SET_NV_DATA_IMEI_EV                 (DWORD)(PRI_TEST_EVENT_BASE + 4)

+#define TEST_SET_NV_DATA_SPCLFUNC_EV             (DWORD)(PRI_TEST_EVENT_BASE + 5)

+#define TEST_SET_COMP_IND_EV                     (DWORD)(PRI_TEST_EVENT_BASE + 6)

+/* ========================================================================

+   Ä£ÄâTAFÓ빤¾ß½»»¥Ê¼þºÅ¶¨Òå

+======================================================================== */

+#define TEST_TAFDATAIND_UTRAN_EV                 (DWORD)(TAF_TEST_EVENT_BASE + 0)

+

+/* ========================================================================

+   USIRÓ빤¾ß½»»¥Ê¼þºÅ¶¨Òå

+======================================================================== */

+#define TEST_BIGSIB_IND_EV                       (DWORD)(USIR_TEST_EVENT_BASE + 0)

+#define TEST_USIR_DECSIB_EV                      (DWORD)(USIR_TEST_EVENT_BASE + 1)

+

+/* ========================================================================

+   NURLCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TEST_UURLC_DATA_REQ_UTRAN_EV             (DWORD)(NURLC_EVENT_BASE + 0)

+#define TEST_UURLC_DATA_IND_UTRAN_EV             (DWORD)(NURLC_EVENT_BASE + 1)

+#define TEST_CURLC_CONFIG_REQ_UTRAN_EV           (DWORD)(NURLC_EVENT_BASE + 2)

+#define TEST_URLC_ACK_CTRL_UTRAN_EV              (DWORD)(NURLC_EVENT_BASE + 3)

+

+/* ========================================================================

+   NPDCPÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CPDCP_CONFIG_REQ_UTRAN_EV                (DWORD)(NPDCP_EVENT_BASE + 0)

+#define CPDCP_RELEASE_REQ_UTRAN_EV               (DWORD)(NPDCP_EVENT_BASE + 1)

+#define NPDCP_DATA_REQ_UTRAN_EV                  (DWORD)(NPDCP_EVENT_BASE + 2)

+#define NPDCP_DATA_IND_UTRAN_EV                  (DWORD)(NPDCP_EVENT_BASE + 3)

+#define TEST_NPDCP_DATA_ERR_IND_UTRAN_EV         (DWORD)(NPDCP_EVENT_BASE + 4)

+#define TEST_NPDCP_DATA_CNF_UTRAN_EV             (DWORD)(NPDCP_EVENT_BASE + 5)

+

+/* ========================================================================

+   NUMACÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TEST_UMAC_ACK_CTRL_UTRAN_EV              (DWORD)(NUMAC_EVENT_BASE + 0)

+#define TEST_UMAC_HSUPA_INFO_EV                  (DWORD)(NUMAC_EVENT_BASE + 1)

+#define TEST_UMAC_HSUPA_CFG_EV                   (DWORD)(NUMAC_EVENT_BASE + 2) 

+#define TEST_UMAC_HSUPA_SIINFO_EV                (DWORD)(NUMAC_EVENT_BASE + 3)

+#define TEST_UMAC_HSUPA_HEADER_INFO_EV           (DWORD)(NUMAC_EVENT_BASE + 4)

+#define TEST_UMAC_NOTIFY_DATA_REQ_EV             (DWORD)(NUMAC_EVENT_BASE + 5)

+#define TEST_UMAC_PA_PLUS_CFG_REQ_EV             (DWORD)(NUMAC_EVENT_BASE + 6)

+/* ========================================================================

+   NCBSÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TEST_UCBS_SCHED_CFG_UTRAN_EV             (DWORD)(NCBS_EVENT_BASE + 0)

+#define TEST_UCBS_DATA_REQ_UTRAN_EV              (DWORD)(NCBS_EVENT_BASE + 1)

+#define TEST_UCBS_OUTPUT_END_UTRAN_EV            (DWORD)(NCBS_EVENT_BASE + 2)

+#define TEST_UCBS_UMAC_TFS_CFG_UTRAN_EV          (DWORD)(NCBS_EVENT_BASE + 3)

+#define TEST_UCBS_UMAC_SFN_INFO_UTRAN_EV         (DWORD)(NCBS_EVENT_BASE + 4)

+#define TEST_UURLC_DATA_CNF_UTRAN_EV             (DWORD)(NCBS_EVENT_BASE + 5)

+/*WCDMA   NCBS_EVENT_BASE=20 */

+#define TEST_UWRLC_DATA_CNF_UTRAN_EV             (DWORD)(NCBS_EVENT_BASE + 6)

+#define TEST_UCBS_WMAC_TFS_CFG_UTRAN_EV          (DWORD)(NCBS_EVENT_BASE + 7)

+#define TEST_UCBS_WMAC_SFN_INFO_UTRAN_EV         (DWORD)(NCBS_EVENT_BASE + 8)

+

+/* ========================================================================

+   TCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TC_ACTIVE_TEST_REQ_EV                    (DWORD)(TC_EVENT_BASE + 0)

+#define TC_ACTIVE_TEST_CNF_EV                    (DWORD)(TC_EVENT_BASE + 1)

+#define TC_DEACTIVE_TEST_REQ_EV                  (DWORD)(TC_EVENT_BASE + 2)

+#define TC_CLOSE_LOOP_REQ_EV                     (DWORD)(TC_EVENT_BASE + 3)

+#define TC_CLOSE_LOOP_CNF_EV                     (DWORD)(TC_EVENT_BASE + 4)

+#define TC_CLOSE_LOOP_REQ_URLC_EV                (DWORD)(TC_EVENT_BASE + 5)

+#define TC_OPEN_LOOP_REQ_EV                      (DWORD)(TC_EVENT_BASE + 6)

+/*wcdma TC_EVENT_BASE=30*/

+#define TC_CLOSE_LOOP_REQ_WRLC_EV                (DWORD)(TC_EVENT_BASE + 7)

+//lte TC_EVERNT

+#define EMM_TC_TEST_CONTROL_REQ_EV               (DWORD)(TC_EVENT_BASE + 8)

+#define TC_EMM_TEST_CONTROL_CNF_EV               (DWORD)(TC_EVENT_BASE + 9)

+#define TC_PDI_OPEN_LOOP_TEST_REQ_EV             (DWORD)(TC_EVENT_BASE + 10)

+#define TC_PDI_CLOSE_LOOP_TEST_REQ_EV            (DWORD)(TC_EVENT_BASE + 11)

+/* ========================================================================

+   L1SIMUÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define L1SIMU_START_EV                          (DWORD)(L1SIMU_EVENT_BASE + 0)    /*Æô¶¯L1_SIMUÄ£¿é*/

+#define L1SIMU_NGMAC_DATA_IND_EV                 (DWORD)(L1SIMU_EVENT_BASE + 1)    /*L1_SIMU·¢ËÍÊý¾Ýµ½MAC_N*/

+#define L1SIMU_DLLN_DATA_IND_EV                  (DWORD)(L1SIMU_EVENT_BASE + 2)    /*L1_SIMU·¢ËÍÊý¾Ýµ½LAPDM*/

+#define TOOL_L1SIMU_CELL_MEAS_INFO_CFG_EV        (DWORD)(L1SIMU_EVENT_BASE + 3)    /*¹¤¾ß·¢ËÍFCBSBÐÅÏ¢µ½L1_SIMU*/

+#define TOOL_L1SIMU_SYSINFO_REQ_EV               (DWORD)(L1SIMU_EVENT_BASE + 4)    /*¹¤¾ß·¢ËÍϵͳÐÅÏ¢µ½L1_SIMU*/

+#define TOOL_L1SIMU_PAGING_REQ_EV                (DWORD)(L1SIMU_EVENT_BASE + 5)    /*¹¤¾ß·¢ËÍѰºôÐÅÏ¢µ½L1_SIMU*/

+#define TOOL_L1SIMU_DCCH_CFG_EV                  (DWORD)(L1SIMU_EVENT_BASE + 6)

+#define TOOL_L1SIMU_DCCH_REL_REQ_EV              (DWORD)(L1SIMU_EVENT_BASE + 7)

+#define L1SIMU_DLLN_CONNECT_IND_EV               (DWORD)(L1SIMU_EVENT_BASE + 8)

+#define L1SIMU_FRAME_INT_EV                      (DWORD)(L1SIMU_EVENT_BASE + 9)

+#define TOOL_L1SIMU_SYNC_REJ_EV                  (DWORD)(L1SIMU_EVENT_BASE + 10)

+#define TOOL_L1SIMU_SYSINFO_REJ_EV               (DWORD)(L1SIMU_EVENT_BASE + 11)

+#define L1SIMU_DLLN_DATA_SENT_CMP_EV             (DWORD)(L1SIMU_EVENT_BASE + 12)    /*L1SIMU֪ͨLAPDMN»º³åÇøÖÐÊý¾ÝÒÑ·¢Ë͵ô*/

+#define TOOL_L1SIMU_DCCH_FAIL_CFG_EV             (DWORD)(L1SIMU_EVENT_BASE + 13)    /*Á´Â·Ê§°ÜµÄ¿éÊý¿ØÖÆ*/

+#define TOOL_L1SIMU_SYSINFO_FAIL_CFG_EV          (DWORD)(L1SIMU_EVENT_BASE + 14)

+#define L1SIMU_TOOL_RXLEV_REQ_CFG_EV             (DWORD)(L1SIMU_EVENT_BASE + 15)

+#define L1SIMU_TOOL_SYNCREQ_CFG_EV               (DWORD)(L1SIMU_EVENT_BASE + 16)

+#define L1SIMU_TOOL_SYSREQ_CFG_EV                (DWORD)(L1SIMU_EVENT_BASE + 17)

+#define L1SIMU_TOOL_IDLE_MODE_REQ_CFG_EV         (DWORD)(L1SIMU_EVENT_BASE + 18)

+#define L1SIMU_TOOL_NCELL_RXLEV_IND_CFG_EV       (DWORD)(L1SIMU_EVENT_BASE + 19)    /*L1SIMU֪ͨLAPDMN»º³åÇøÖÐÊý¾ÝÒÑ·¢Ë͵ô*/

+#define L1SIMU_TOOL_SCELL_RXLEV_IND_CFG_EV       (DWORD)(L1SIMU_EVENT_BASE + 20)    /*Á´Â·Ê§°ÜµÄ¿éÊý¿ØÖÆ*/

+#define L1SIMU_TOOL_MEAS_REPORT_CFG_EV           (DWORD)(L1SIMU_EVENT_BASE + 21)

+#define L1SIMU_TOOL_DL_TBF_REL_IND_EV            (DWORD)(L1SIMU_EVENT_BASE + 22)

+#define L1SIMU_TOOL_UL_TBF_REL_IND_EV            (DWORD)(L1SIMU_EVENT_BASE + 23)

+#define L1SIMU_TOOL_TAF_IND_EV                   (DWORD)(L1SIMU_EVENT_BASE + 24)

+#define L1SIMU_TOOL_TAF_REQ_EV                   (DWORD)(L1SIMU_EVENT_BASE + 25)

+#define L1SIMU_TOOL_ASYNC_HO_REQ_CFG_EV          (DWORD)(L1SIMU_EVENT_BASE + 26)

+#define L1SIMU_TOOL_SYNC_HO_REQ_CFG_EV           (DWORD)(L1SIMU_EVENT_BASE + 27)

+#define TOOL_L1SIMU_CBS_BLK_START_EV             (DWORD)(L1SIMU_EVENT_BASE + 28)

+#define TOOL_L1SIMU_CBS_FST_BLK_REQ_EV           (DWORD)(L1SIMU_EVENT_BASE + 29)

+#define TOOL_L1SIMU_CBS_OTHER_BLK_REQ_EV         (DWORD)(L1SIMU_EVENT_BASE + 30)

+#define L1SIMU_TOOL_PSHOREQ_CFG_EV               (DWORD)(L1SIMU_EVENT_BASE + 31)

+#define L1SIMU_TOOL_DEACTIATE_CFG_EV             (DWORD)(L1SIMU_EVENT_BASE + 32)

+#define TOOL_L1SIMU_ABNORMAL_TA_CFG_EV           (DWORD)(L1SIMU_EVENT_BASE + 33)

+#define L1SIMU_TOOL_L1G_L1E_GSM_INACT_TIME_REQ_EV       (DWORD)(L1SIMU_EVENT_BASE + 34)    

+#define L1SIMU_TOOL_L1G_L1E_FREQ_LIST_CONFIG_REQ_EV       (DWORD)(L1SIMU_EVENT_BASE + 35)  

+#define L1SIMU_TOOL_L1G_L1E_IRAT_MEAS_CONFIG_REQ_EV       (DWORD)(L1SIMU_EVENT_BASE + 36)  

+#define L1SIMU_TOOL_CHANNEL_ASSIGN_REQ_EV        (DWORD)(L1SIMU_EVENT_BASE + 37) 

+#define L1SIMU_TOOL_CHANNEL_TYPE_INFO_EV         (DWORD)(L1SIMU_EVENT_BASE + 38)

+

+/* ========================================================================

+   NLAPDMÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TOOL_NLAPDM_UNIT_DATA_REQ_EV             (DWORD)(NLAPDM_EVENT_BASE + 0)    /*¹¤¾ßÏòLADPN·¢ËÍ·ÇÈ·ÈÏÏûÏ¢*/

+#define NLAPDM_TOOL_UNIT_DATA_IND_EV             (DWORD)(NLAPDM_EVENT_BASE + 1)    /*LADPNÏò¹¤¾ßÉÏ´«·ÇÈ·ÈÏÏûÏ¢*/

+#define TOOL_NLAPDM_DATA_REQ_EV                  (DWORD)(NLAPDM_EVENT_BASE + 2)    /*¹¤¾ßÏòLADPN·¢ËÍÈ·ÈÏÏûÏ¢*/

+#define NLAPDM_TOOL_DATA_IND_EV                  (DWORD)(NLAPDM_EVENT_BASE + 3)    /*LADPNÏò¹¤¾ßÉÏ´«È·ÈÏÏûÏ¢*/

+#define TOOL_NLAPDM_ESTABLISH_REQ_EV             (DWORD)(NLAPDM_EVENT_BASE + 4)    /*¹¤¾ßÏòLADPN·¢Ëͽ¨Á´ÇëÇóÏûÏ¢*/

+#define NLAPDM_TOOL_ESTABLISH_IND_EV             (DWORD)(NLAPDM_EVENT_BASE + 5)    /*LADPNÏò¹¤¾ß·¢Ëͽ¨Á´Ö¸Ê¾ÏûÏ¢*/

+#define NLAPDM_TOOL_ESTABLISH_CON_EV             (DWORD)(NLAPDM_EVENT_BASE + 6)    /*LADPNÏò¹¤¾ß·¢Ëͽ¨Á´È·ÈÏÏûÏ¢*/

+#define NLAPDM_TOOL_SUSPEND_CON_EV               (DWORD)(NLAPDM_EVENT_BASE + 7)    /*LADPNÏò¹¤¾ß·¢ËÍ¹ÒÆðÈ·ÈÏÏûÏ¢*/

+#define TOOL_NLAPDM_RECONNECT_REQ_EV             (DWORD)(NLAPDM_EVENT_BASE + 8)    /*¹¤¾ßÏòLADPN·¢ËÍÖØÁ¬ÇëÇóÏûÏ¢*/

+#define TOOL_NLAPDM_RELEASE_REQ_EV               (DWORD)(NLAPDM_EVENT_BASE + 9)    /*¹¤¾ßÏòLADPN·¢ËÍÊÍ·ÅÁ´Â·ÇëÇóÏûÏ¢*/

+#define NLAPDM_TOOL_RELEASE_IND_EV               (DWORD)(NLAPDM_EVENT_BASE + 10)    /*¹¤¾ßÏòLADPN·¢ËÍÊÍ·ÅÁ´Â·Ö¸Ê¾ÏûÏ¢*/

+#define NLAPDM_TOOL_RELEASE_CON_EV               (DWORD)(NLAPDM_EVENT_BASE + 11)    /*¹¤¾ßÏòLADPN·¢ËÍÊÍ·ÅÁ´Â·È·ÈÏÏûÏ¢*/

+#define TOOL_NLAPDM_MDL_CONFIG_EV                (DWORD)(NLAPDM_EVENT_BASE + 12)    /*¹¤¾ßÏòLADPN·¢ËͳõʼÅäÖÃÏûÏ¢*/

+#define NLAPDM_TOOL_MDL_ERROR_IND_EV             (DWORD)(NLAPDM_EVENT_BASE + 13)    /*LADPNÏò¹¤¾ß·¢ËÍ´íÎ󱨸æ*/

+#define TOOL_NLAPDM_MDL_REALEASE_REQ_EV          (DWORD)(NLAPDM_EVENT_BASE + 14)    /*¹¤¾ß·¢ÆðÒì³£±¾µØÊÍ·ÅÏûÏ¢*/

+#define NLAPDM_L2_DATA_IND_EV                    (DWORD)(NLAPDM_EVENT_BASE + 15)    /*SAPI0·¢ËÍÏûÏ¢µ½SAPI3*/

+#define NLAPDM_TOOL_SABM_IND_EV                  (DWORD)(NLAPDM_EVENT_BASE + 16)    /*NLAPDMÏò¹¤¾ß·¢ËÍÆÕͨ½¨Á´ÇëÇóָʾÏûÏ¢*/

+#define TOOL_NLAPDM_UA_RSP_EV                    (DWORD)(NLAPDM_EVENT_BASE + 17)    /*¹¤¾ßÏòNLAPDM·¢ËÍÆÕͨ½¨Á´ÏìÓ¦ÏûÏ¢*/

+#define NLAPDM_TOOL_SABM_COR_IND_EV              (DWORD)(NLAPDM_EVENT_BASE + 18)    /*NLAPDMÏò¹¤¾ß·¢ËͳåÍ»½â¾ö½¨Á´ÇëÇóָʾÏûÏ¢*/

+#define TOOL_NLAPDM_UA_COR_RSP_EV                (DWORD)(NLAPDM_EVENT_BASE + 19)    /*¹¤¾ßÏòNLAPDM·¢ËͳåÍ»½â¾ö½¨Á´ÏìÓ¦ÏûÏ¢*/

+#define TOOL_NLAPDM_EXCEPT_DATA_EV               (DWORD)(NLAPDM_EVENT_BASE + 20)    /*¹¤¾ßÏòNLAPDM·¢ËÍÒì³£Êý¾ÝÇëÇóÏûÏ¢*/

+#define NLAPDM_TOOL_I_IND_EV                     (DWORD)(NLAPDM_EVENT_BASE + 21)    /*NLAPDMÏò¹¤¾ß·¢ËÍÈ·ÈÏÊý¾ÝÉϱ¨Ö¸Ê¾ÏûÏ¢*/

+

+

+/* ========================================================================

+   NGMACÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define NGMAC_START_EV                           (DWORD)(NGMAC_EVENT_BASE + 0)    /*NGMACÄ£¿éÆô¶¯*/

+#define NGMAC_NGRLC_PDAN_IND_EV                  (DWORD)(NGMAC_EVENT_BASE + 1)    /*NGMAC¸øNGRLC·¢ËÍPDANÏûÏ¢*/

+#define NGMAC_NGRLC_DATA_IND_EV                  (DWORD)(NGMAC_EVENT_BASE + 2)    /*NGMAC¸øNGRLC·¢ËÍUPLINKÊý¾Ý¿é*/

+#define NGRLC_NGMAC_PUAN_IND_EV                  (DWORD)(NGMAC_EVENT_BASE + 3)    /*NGRLC¸øNGMAC·¢ËÍPUANµÄ²ÎÊý*/

+#define NGMAC_NGRLC_ULTBF_REL_IND_EV             (DWORD)(NGMAC_EVENT_BASE + 4)    /*NGMAC֪ͨNGRLCÊÍ·ÅUPLINK TBF*/

+#define NGRLC_NGMAC_FBI_IND_EV                   (DWORD)(NGMAC_EVENT_BASE + 5)    /*RLC·ÇÈ·ÈÏģʽ£¬NGRLC֪ͨNGMAC×îÖÕ¿éÒÑ·¢³ö£¬NGMACµÈ´ýPCA*/

+#define NGMAC_NGRLC_DLTBF_REL_IND_EV             (DWORD)(NGMAC_EVENT_BASE + 6)    /*RLC·ÇÈ·ÈÏģʽ£¬NGMAC֪ͨNGRLCÊÍ·ÅTBF*/

+#define NGRLC_NGMAC_DLTBF_REL_IND_EV             (DWORD)(NGMAC_EVENT_BASE + 7)    /*RLCÈ·ÈÏģʽ£¬NGRLC֪ͨNGMACÊÍ·ÅDOWNLINK TBF*/

+#define NGRLC_NGMAC_ULTBF_REL_IND_EV             (DWORD)(NGMAC_EVENT_BASE + 8)    /*NGRLC֪ͨNGMACÒì³£ÊÍ·ÅUPLINK TBF*/

+#define NGMAC_NGRLC_PCA_IND_EV                   (DWORD)(NGMAC_EVENT_BASE + 9)    /*NGMAC֪ͨNGRLC DOWNLINK_TBFÒѾ­ÍêÈ«µÃµ½È·ÈÏ*/

+#define TOOL_NGMAC_PUA_REQ_EV                    (DWORD)(NGMAC_EVENT_BASE + 10)    /*TOOL¸øNGMAC·¢ËÍPUA*/

+#define NGMAC_TOOL_PRR_IND_EV                    (DWORD)(NGMAC_EVENT_BASE + 11)    /*NGMAC¸øTOOL·¢ËÍPRR£¬Çé¿ö°üÀ¨£ºIDLE̬½¨Á¢µÄUPLINK TBF¡¢ULONULµÄTBF¡¢ULONDLµÄTBF*/

+#define NGMAC_TOOL_PDAN_IND_EV                   (DWORD)(NGMAC_EVENT_BASE + 12)    /*NGMAC¸øTOOL·¢ËÍPDANÏûÏ¢£¬½öÔÚÐèÒª½¨Á¢ULONDL TBFʱ²Å·¢*/

+#define TOOL_NGMAC_PUAN_REQ_EV                   (DWORD)(NGMAC_EVENT_BASE + 13)    /*TOOL¸øNGMAC·¢ËÍPUAN£¬½öÔÚ±àÂ뷽ʽ¡¢´°¿Ú´óС¡¢RESEGMENTµÈ¸Ä±äʱ²Å·¢*/

+#define TOOL_NGMAC_PDA_REQ_EV                    (DWORD)(NGMAC_EVENT_BASE + 14)    /*TOOL¸øNGMAC·¢ËÍPDA*/

+#define NGMAC_TOOL_PCA_IND_EV                    (DWORD)(NGMAC_EVENT_BASE + 15)    /*NGMAC¸øTOOL·¢ËÍPCA£¬Ö¸Ã÷½ÓÈëÀàÐÍÒÔ±ãTOOL´¦Àí*/

+#define NGMAC_TOOL_PCR8_IND_EV                   (DWORD)(NGMAC_EVENT_BASE + 16)    /*NGMAC¸øTOOL·¢ËÍPCR£¬Ö¸Ã÷½ÓÈëÀàÐÍÒÔ±ãTOOL´¦Àí*/

+#define NGMAC_TOOL_PCR11_IND_EV                  (DWORD)(NGMAC_EVENT_BASE + 17)    /*NGMAC¸øTOOL·¢ËÍPCR£¬Ö¸Ã÷½ÓÈëÀàÐÍÒÔ±ãTOOL´¦Àí*/

+#define NGMAC_TOOL_CR_IND_EV                     (DWORD)(NGMAC_EVENT_BASE + 18)    /*NGMAC¸øTOOL·¢ËÍCR£¬Ö¸Ã÷½ÓÈëÀàÐÍÒÔ±ãTOOL´¦Àí*/

+#define NGMAC_TOOL_DLTBF_REL_IND_EV              (DWORD)(NGMAC_EVENT_BASE + 19)    /*NGMAC֪ͨTOOLÊÍ·ÅDOWNLINK TBF*/

+#define NGMAC_TOOL_ULTBF_REL_IND_EV              (DWORD)(NGMAC_EVENT_BASE + 20)    /*NGMAC֪ͨTOOLÊÍ·ÅUPLINK TBF*/

+#define NGMAC_TOOL_TLLI_REQ_EV                   (DWORD)(NGMAC_EVENT_BASE + 21)    /*Ò»²½½ÓÈë³åÍ»½â¾ö¹ý³Ì£¬NGMAC¸øTOOLÇëÇóCONT_RES_TLLI*/

+#define TOOL_NGMAC_TLLI_IND_EV                   (DWORD)(NGMAC_EVENT_BASE + 22)    /*Ò»²½½ÓÈë³åÍ»½â¾ö¹ý³Ì£¬TOOL¸øNGMAC·¢ËÍCONT_RES_TLLI*/

+#define TOOL_NGMAC_IMM_REQ_EV                    (DWORD)(NGMAC_EVENT_BASE + 23)    /*TOOL¸øNGMAC·¢ËÍÁ¢¼´É趨*/

+#define TOOL_NGMAC_IMM_EX_REQ_EV                 (DWORD)(NGMAC_EVENT_BASE + 24)    /*TOOL¸øNGMAC·¢ËÍÀ©Õ¹Á¢¼´É趨*/

+#define TOOL_NGMAC_IMM_REJ_REQ_EV                (DWORD)(NGMAC_EVENT_BASE + 25)    /*TOOL¸øNGMAC·¢ËÍÁ¢¼´É趨¾Ü¾ø*/

+#define L1_NGMAC_DATA_IND_EV                     (DWORD)(NGMAC_EVENT_BASE + 26)    /*L1_SIMU°Ñ´ÓL1G½ÓÊÕµ½µÄÉÏÐÐÊý¾Ý·¢Ë͵½MAC_N*/

+#define NGMAC_NGMAC_TMS_FBI_EXP_EV               (DWORD)(NGMAC_EVENT_BASE + 27)    /*FBI¶¨Ê±Æ÷³¬Ê±*/

+#define NGMAC_NGMAC_TMS_FAI_EXP_EV               (DWORD)(NGMAC_EVENT_BASE + 28)    /*FAI¶¨Ê±Æ÷³¬Ê±*/

+#define TOOL_NGMAC_PMO_REQ_EV                    (DWORD)(NGMAC_EVENT_BASE + 29)    /*TOOL¸øNGMAC·¢ËÍPMO*/

+#define TOOL_NGMAC_PSI_REQ_EV                    (DWORD)(NGMAC_EVENT_BASE + 30)    /*TOOL¸øNGMAC·¢ËÍPSI*/

+#define NGMAC_TOOL_MSACC_IND_EV                  (DWORD)(NGMAC_EVENT_BASE + 31)    /*NGMACÏòTOOLÇëÇóUPLINK TBF½¨Á¢»òÇëÇó½¨Á¢RRÁ¬½Ó*/

+#define TOOL_NGMAC_ULTBF_EST_CFG_EV              (DWORD)(NGMAC_EVENT_BASE + 32)    /*TOOLÅäÖÃNGMACµÄULTBF²ÎÊý*/

+#define TOOL_NGMAC_DLTBF_EST_CFG_EV              (DWORD)(NGMAC_EVENT_BASE + 33)    /*TOOLÅäÖÃNGMACµÄDLTBF²ÎÊý*/

+#define TOOL_NGMAC_ULTBF_REL_CFG_EV              (DWORD)(NGMAC_EVENT_BASE + 34)    /*TOOLÊÍ·ÅNGMACµÄULTBF²ÎÊý*/

+#define TOOL_NGMAC_DLTBF_REL_CFG_EV              (DWORD)(NGMAC_EVENT_BASE + 35)    /*TOOLÊÍ·ÅNGMACµÄDLTBF²ÎÊý*/

+#define TOOL_NGMAC_PKTTSRECFG_REQ_EV             (DWORD)(NGMAC_EVENT_BASE + 36)    /*TOOLÒªÇóNGMAC·¢ËÍPACKET_TIMESLOT_RECONFIGUREµ½ÊÖ»ú²à*/

+#define TOOL_NGMAC_PKTTBFREL_REQ_EV              (DWORD)(NGMAC_EVENT_BASE + 37)    /*TOOLÒªÇóNGMAC·¢ËÍPACKET_TBF_RELEASEµ½ÊÖ»ú²à*/

+#define TOOL_NGMAC_PKTPDCHREL_REQ_EV             (DWORD)(NGMAC_EVENT_BASE + 38)    /*TOOLÒªÇóNGMAC·¢ËÍPACKET_PDCH_RELEASEÏûÏ¢*/

+#define TOOL_NGMAC_PKTCCC_REQ_EV                 (DWORD)(NGMAC_EVENT_BASE + 39)    /*TOOLÒªÇóNGMAC·¢ËÍPACKET CELL CHANGE CONTINUE*/

+#define TOOL_NGMAC_PKTCCO_REQ_EV                 (DWORD)(NGMAC_EVENT_BASE + 40)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET CELL CHANGE ORDER*/

+#define TOOL_NGMAC_PKTNCD_REQ_EV                 (DWORD)(NGMAC_EVENT_BASE + 41)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET NEIGHBOUR CELL DATA*/

+#define TOOL_NGMAC_PKTPOLL_REQ_EV                (DWORD)(NGMAC_EVENT_BASE + 42)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET POLLING REQUEST*/

+#define TOOL_NGMAC_PKTPWRCTRLTA_REQ_EV           (DWORD)(NGMAC_EVENT_BASE + 43)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET POWER CTRL/TA*/

+#define TOOL_NGMAC_PKTPRACHPARA_REQ_EV           (DWORD)(NGMAC_EVENT_BASE + 44)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET PRACH PARAMETERS*/

+#define TOOL_NGMAC_PKTSCD_REQ_EV                 (DWORD)(NGMAC_EVENT_BASE + 45)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET SERVE CELL DATA*/

+#define TOOL_NGMAC_PKTQUENOTI_REQ_EV             (DWORD)(NGMAC_EVENT_BASE + 46)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET QUEUING NOTIFICATION*/

+#define TOOL_NGMAC_PKTACCREJ_REQ_EV              (DWORD)(NGMAC_EVENT_BASE + 47)    /*TOOLÇëÇóNGMAC·¢ËÍ·Ö×é½ÓÈë¾Ü¾ø*/

+#define NGMAC_TOOL_PKTMEARPT_EV                  (DWORD)(NGMAC_EVENT_BASE + 48)    /*NGMAC½ÓÊÕµ½MS PACKET MEAS REPORT ºó·¢Ë͵½TOOL*/

+#define NGMAC_TOOL_PKTMOBTBFSTA_EV               (DWORD)(NGMAC_EVENT_BASE + 49)    /*NGMAC½ÓÊÕµ½MS PACKET MOBILE TBF STATUSºó·¢Ë͵½¹¤¾ß*/

+#define NGMAC_TOOL_PKTPSISTA_EV                  (DWORD)(NGMAC_EVENT_BASE + 50)    /*NGMAC½ÓÊÕµ½MS PACKET PSI STATUSºó·¢Ë͵½TOOL*/

+#define NGMAC_TOOL_PKTPAUSE_EV                   (DWORD)(NGMAC_EVENT_BASE + 51)    /*NGMAC½ÓÊÕµ½MS PACKET PAUSEºó·¢ËÍÏûÏ¢µ½TOOL*/

+#define NGMAC_TOOL_PKTEMEARPT_EV                 (DWORD)(NGMAC_EVENT_BASE + 52)    /*NGMAC½ÓÊÕµ½MS PACKET ENHANCED MEAS REPORTºó·¢Ë͵½¹¤¾ß*/

+#define NGMAC_TOOL_PKTADDMSRAC_EV                (DWORD)(NGMAC_EVENT_BASE + 53)    /*NGMAC½ÓÊÕµ½MS PACKET ADDITION MS RACºó·¢Ë͵½TOOL*/

+#define NGMAC_TOOL_PKTCCN_EV                     (DWORD)(NGMAC_EVENT_BASE + 54)    /*NGMAC½ÓÊÕµ½MS PACKET CELL CHANGE NOTIFICATIONºó·¢Ë͵½¹¤¾ß*/

+#define NGMAC_TOOL_PKTSISTA_EV                   (DWORD)(NGMAC_EVENT_BASE + 55)    /*NGMAC½ÓÊÕµ½MS PACKET SI STATUSºó·¢Ë͵½¹¤¾ß*/

+#define GMAC_GET_BLOCKS_EV                       (DWORD)(NGMAC_EVENT_BASE + 56)    /*GMAC·¢ËÍÉÏÐÐÊý¾Ýʱµ÷Óú¯ÊýMAC_GET_BLOCKS,ΪÔö¼ÓTRACEÌí¼ÓµÄʼþºÅ*/

+#define GMAC_ACK_BLOCKS_EV                       (DWORD)(NGMAC_EVENT_BASE + 57)    /*L1Gµ÷ÓÃMAC_ACK_BLOCKSʱΪÔö¼ÓÐÅÁî¸ú×Ù¶øÔö¼ÓµÄʼþºÅ*/

+#define TOOL_NGMAC_PKTPGREQ_REQ_EV               (DWORD)(NGMAC_EVENT_BASE + 58)

+#define TOOL_NGMAC_CTRLBLOCK_REQ_EV              (DWORD)(NGMAC_EVENT_BASE + 59)

+#define NGMAC_TOOL_CCF_IND_EV                    (DWORD)(NGMAC_EVENT_BASE + 60)    /*NGMACÏòTOOL·¢Ë͵ÄPACKET CELL CHANGE FAILUREÏûÏ¢*/

+#define NGMAC_NGRLC_EPDAN_IND_EV                 (DWORD)(NGMAC_EVENT_BASE + 61)    /*NGMAC¸øNGRLC·¢ËÍEPDANÏûÏ¢*/

+#define TOOL_NGMAC_PSHOCMD_REQ_EV                (DWORD)(NGMAC_EVENT_BASE + 62)    /*TOOLÇëÇóNGMAC·¢ËÍPs Handover Command*/

+#define TOOL_NGMAC_PPI_REQ_EV                    (DWORD)(NGMAC_EVENT_BASE + 63)    /*TOOLÇëÇóNGMAC·¢ËÍPacket Physical Information*/

+#define TOOL_NGMAC_PSHO_ULTBF_CFG_EV             (DWORD)(NGMAC_EVENT_BASE + 64)    /*TOOLÅäÖÃNGMACµÄPSHO Ä¿±êÐ¡ÇøULTBF²ÎÊý*/

+#define TOOL_NGMAC_PSHO_DLTBF_CFG_EV             (DWORD)(NGMAC_EVENT_BASE + 65)    /*TOOLÅäÖÃNGMACµÄPSHO Ä¿±êÐ¡ÇøDLTBF²ÎÊý*/

+#define TOOL_NGMAC_PSHO_RETURN_EV                (DWORD)(NGMAC_EVENT_BASE + 66)    /*TOOL ֪ͨNGMAC ×ÊÔ´»ØÍË*/

+#define TOOL_NGMAC_PSHO_REL_EV                   (DWORD)(NGMAC_EVENT_BASE + 67)    /*TOOL ֪ͨNGMAC Çå³ýPSHO Çл»×ÊÔ´*/

+#define NGMAC_TOOL_PSHO_ACC_EV                   (DWORD)(NGMAC_EVENT_BASE + 68)    /*NGMACÏòTOOLÇëÇóPacket Physical Information*/

+#define TOOL_NGMAC_PKTSCELLSI_REQ_EV             (DWORD)(NGMAC_EVENT_BASE + 69)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET SERVING CELL SI*/

+#define TOOL_NGMAC_PKTAPPINF_REQ_EV              (DWORD)(NGMAC_EVENT_BASE + 70)    /*TOOLÇëÇóNGMAC·¢ËÍPACKET APPLICATION INFORMATION*/

+

+

+/* ========================================================================

+   NLLCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TOOL_NLLC_START_EV                       (DWORD)(NLLC_EVENT_BASE + 0)    /*NLLCÄ£¿éÆô¶¯*/

+#define NLLC_NRLC_UNITDATA_REQ_EV                (DWORD)(NLLC_EVENT_BASE + 1)    /*֪ͨNRLCÒÔ·ÇÈ·ÈÏģʽ´«ÊäLLC-PDU*/

+#define NRLC_NLLC_DATA_IND_EV                    (DWORD)(NLLC_EVENT_BASE + 2)    /*RLC-NÉϱ¨LLC-N½ÓÊÕµ½ÁËÒ»¸öÈ·ÈÏģʽµÄÉÏÐÐLLC PDU*/

+#define NRLC_NLLC_UNITDATA_IND_EV                (DWORD)(NLLC_EVENT_BASE + 3)    /*RLC-NÉϱ¨LLC-N½ÓÊÕµ½ÁËÒ»¸ö·ÇÈ·ÈÏģʽµÄÉÏÐÐLLC PDU*/

+#define TOOL_NLLC_ASSIGN_REQ_EV                  (DWORD)(NLLC_EVENT_BASE + 4)    /*¹¤¾ß֪ͨ NLLCÓÐеļÓÃÜËã·¨ºÍ²ÎÊý£¬ÒÔ¼°·ÖÅäTLLI*/

+#define TOOL_NLLC_UNITDATA_REQ_EV                (DWORD)(NLLC_EVENT_BASE + 5)    /*Éϲã֪ͨNLLC²ã¶ÔÉϲãPDUµÄÓÃÎÞÓ¦´ð´«Êä*/

+#define NLLC_TOOL_UNITDATA_IND_EV                (DWORD)(NLLC_EVENT_BASE + 6)    /*NLLC²ãÏòÉϲ㴫ËÍÒÔ·ÇÈ·ÈÏģʽ½ÓÊÕµ½µÄL3_PDU*/

+#define TOOL_NLLC_DATA_REQ_EV                    (DWORD)(NLLC_EVENT_BASE + 7)    /*Éϲã֪ͨNLLC²ã¶ÔÉϲãPDUµÄÈ·ÈÏ´«Êä*/

+#define NLLC_TOOL_FRMR_RSP_EV                    (DWORD)(NLLC_EVENT_BASE + 8)    /*ÊÕµ½¾Ü¾øÖ¡*/

+#define NLLC_TOOL_DATA_IND_EV                    (DWORD)(NLLC_EVENT_BASE + 9)    /*NLLCÏòÉϲ㴫ËͽÓÊÕµ½µÄÊý¾Ý*/

+#define TOOL_NLLC_DATA_RSP_EV                    (DWORD)(NLLC_EVENT_BASE + 10)    /*¹¤¾ß²àÏìÓ¦ÊÕµ½µÄÊý¾Ý*/

+#define TOOL_NLLC_ESTABLISH_REQ_EV               (DWORD)(NLLC_EVENT_BASE + 11)    /*ÓÃÓÚΪNLLC²ãÖÐÒ»¸öSAPI½¨Á¢»òÖØ½¨ABM¹¤×÷ģʽ*/

+#define TOOL_NLLC_ESTABLISH_RSP_EV               (DWORD)(NLLC_EVENT_BASE + 12)    /*ÉϲãÔÚ½ÓÊÕµ½LL_ESTABLISHָʾԭÓïÖ®ºóʹÓÃ.Ö÷ÒªÊÇЭÉÌXID²ÎÊý*/

+#define NLLC_TOOL_UA_RSP_EV                      (DWORD)(NLLC_EVENT_BASE + 13)    /*ÊÕµ½UA·µ»Ø*/

+#define NLLC_TOOL_ESTABLISH_IND_EV               (DWORD)(NLLC_EVENT_BASE + 14)    /*ÓÃÓÚ֪ͨÉϲã²ã¶ÔNLLC²ãÖеÄÒ»¸öSAPIÒѾ­½¨Á¢»òÒѾ­Öؽ¨ÆðÁËABM¹¤×÷ģʽ*/

+#define TOOL_NLLC_RELEASE_REQ_EV                 (DWORD)(NLLC_EVENT_BASE + 15)    /*ÓÃÓÚÊÍ·ÅΪNLLC²ãÖеÄij¸öSAPIµÄABM¹¤×÷ģʽ*/

+#define NLLC_TOOL_DM_RSP_EV                      (DWORD)(NLLC_EVENT_BASE + 16)    /*ÊÕµ½DM·µ»Ø*/

+#define NLLC_TOOL_RELEASE_IND_EV                 (DWORD)(NLLC_EVENT_BASE + 17)    /*ÓÃÓÚָʾNLLC²ãÖеÄij¸öSAPIµÄABM¹¤×÷ģʽÒѱ»ÊÍ·Å*/

+#define TOOL_NLLC_RELEASE_RSP_EV                 (DWORD)(NLLC_EVENT_BASE + 18)    /*ÓÃÓÚ¹¤¾ß֪ͨNLLC·µ»Ø³É¹¦ÊÍ·ÅÏìÓ¦*/

+#define TOOL_NLLC_XID_REQ_EV                     (DWORD)(NLLC_EVENT_BASE + 19)    /*¹¤¾ß֪ͨNLLC·¢Æð²ÎÊýЭÉÌÇëÇó*/

+#define TOOL_NLLC_XID_RSP_EV                     (DWORD)(NLLC_EVENT_BASE + 20)    /*¹¤¾ß֪ͨNLLC·¢Æð²ÎÊýЭÉÌÏìÓ¦*/

+#define NLLC_TOOL_XID_CNF_EV                     (DWORD)(NLLC_EVENT_BASE + 21)    /*ÓÃÓÚÈ·ÈÏÉϲãXID²ÎÊýЭÉÌÍê³É*/

+#define NLLC_TOOL_XID_IND_EV                     (DWORD)(NLLC_EVENT_BASE + 22)    /*ÓÃÓÚָʾÉϲãÊÖ»ú²àÓÐXID²ÎÊýÐèҪЭÉÌ*/

+#define NLLC_TOOL_NULL_IND_EV                    (DWORD)(NLLC_EVENT_BASE + 23)    /*ÓÃÓÚָʾÉϲãÊÖ»ú²àÓÐNULLÖ¡*/ 

+

+

+/* ========================================================================

+   NRLCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define NRLC_DATA_REQ_EV                         (DWORD)(NRLC_EVENT_BASE + 0)

+#define NRLC_UNITDATA_REQ_EV                     (DWORD)(NRLC_EVENT_BASE + 1)

+#define NRLC_ASSIGN_REQ_EV                       (DWORD)(NRLC_EVENT_BASE + 2)

+#define TOOL_NGRLC_ULTBF_EST_CFG_EV              (DWORD)(NRLC_EVENT_BASE + 3)

+#define TOOL_NGRLC_PUAN_REQ_EV                   (DWORD)(NRLC_EVENT_BASE + 4)

+#define TOOL_NGRLC_DLTBF_CFG_EV                  (DWORD)(NRLC_EVENT_BASE + 5)

+#define NGRLC_TOOL_DLTBF_HALF_IND_EV             (DWORD)(NRLC_EVENT_BASE + 6)

+#define NGRLC_TOOL_DLTBF_FINAL_IND_EV            (DWORD)(NRLC_EVENT_BASE + 7)

+#define NGRLC_TOOL_ULTBF_HALF_IND_EV             (DWORD)(NRLC_EVENT_BASE + 8)

+#define NGRLC_TOOL_ULTBF_FINAL_IND_EV            (DWORD)(NRLC_EVENT_BASE + 9)

+#define TOOL_NGRLC_ULTBF_REL_CFG_EV              (DWORD)(NRLC_EVENT_BASE + 10)

+#define NGRLC_TOOL_ULTBF_FAI_IND_EV              (DWORD)(NRLC_EVENT_BASE + 11)

+#define TOOL_NGRLC_DLTBF_REL_CFG_EV              (DWORD)(NRLC_EVENT_BASE + 12)

+#define TOOL_NGRLC_DLTBF_EST_CFG_EV              (DWORD)(NRLC_EVENT_BASE + 13)

+#define TOOL_NGRLC_EXTBF_ON_EV                   (DWORD)(NRLC_EVENT_BASE + 14)

+#define TOOL_NGRLC_EXTBF_OFF_EV                  (DWORD)(NRLC_EVENT_BASE + 15)

+#define NGRLC_TOOL_DLTBF_TRIGGER_IND_EV          (DWORD)(NRLC_EVENT_BASE + 16)

+#define NGRLC_START_TIMER_EV                     (DWORD)(NRLC_EVENT_BASE + 17)    /*ÄÚ²¿ÏûÏ¢£¬ÆäËûÄ£¿é²»»áʹÓÃ*/

+#define NGRLC_TOOL_DLTBF_FAI_IND_EV              (DWORD)(NRLC_EVENT_BASE + 18)

+#define TOOL_NGRLC_BEGINTEST_MODE_EV             (DWORD)(NRLC_EVENT_BASE + 19)

+#define NGRLC_TOOL_PDANNOTIFY_EV                 (DWORD)(NRLC_EVENT_BASE + 20)

+#define NGRLC_NGRLC_PUAN_REQ_EV                  (DWORD)(NRLC_EVENT_BASE + 21)  

+#define NGRLC_FILL_DATA_QUEUE_REQ_EV             (DWORD)(NRLC_EVENT_BASE + 22)

+#define L1SIMU_NGRLC_DATA_IND_EV                 (DWORD)(NRLC_EVENT_BASE + 23)

+#define TOOL_NGRLC_MODE_CFG_REQ_EV               (DWORD)(NRLC_EVENT_BASE + 24)

+#define NGRLC_TOOL_UL_DATA_BLOCK_IND_EV          (DWORD)(NRLC_EVENT_BASE + 25)

+#define TOOL_NGRLC_DUMMYBLOCK_REQ_EV             (DWORD)(NRLC_EVENT_BASE + 26)

+#define DOWNLINK_DUMMY_BLOCK_REQ_EV              (DWORD)(NRLC_EVENT_BASE + 27)

+#define TOOL_NGRLC_DOWNLINK_BLOCK_REQ_EV         (DWORD)(NRLC_EVENT_BASE + 28)

+#define TOOL_NGRLC_PSHO_ULTBF_CFG_EV             (DWORD)(NRLC_EVENT_BASE + 29)/*TOOLÅäÖÃNGRLCµÄPSHO Ä¿±êÐ¡ÇøULTBF²ÎÊý*/

+#define TOOL_NGRLC_PSHO_DLTBF_CFG_EV             (DWORD)(NRLC_EVENT_BASE + 30)/*TOOLÅäÖÃNGRLCµÄPSHO Ä¿±êÐ¡ÇøDLTBF²ÎÊý*/

+#define TOOL_NGRLC_PSHO_RETURN_EV                (DWORD)(NRLC_EVENT_BASE + 31)/*TOOL ֪ͨNGRLC ×ÊÔ´»ØÍË*/

+#define TOOL_NGRLC_PSHO_REL_EV                   (DWORD)(NRLC_EVENT_BASE + 32)/*TOOL ֪ͨNGMAC Çå³ýPSHO Çл»×ÊÔ´*/

+#define NGRLC_TOOL_PSHOSUCC_IND_EV               (DWORD)(NRLC_EVENT_BASE + 33)/*NGRLC ֪ͨTOOL PSHO ³É¹¦*/

+#define NGRLC_NGMAC_PSHOSUCC_IND_EV              (DWORD)(NRLC_EVENT_BASE + 34)/*NGRLC ֪ͨNGMAC PSHO ³É¹¦*/

+/* ========================================================================

+   URRCº¯ÊýÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define URRC_FUNC_GET_REPLMN_REQ_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 0)

+#define URRC_FUNC_GET_REPLMN_CNF_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 1)

+#define URRC_FUNC_CHECK_PLMN_REQ_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 2)

+#define URRC_FUNC_CHECK_LAI_REQ_EV               (DWORD)(URRC_FUNC_EVENT_BASE + 3)

+#define URRC_FUNC_ENTER_IDLE_REQ_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 4)

+#define URRC_FUNC_READ_SIB_REQ_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 5)

+#define URRC_FUNC_READ_SIB_CNF_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 6)

+#define URRC_FUNC_SER_CELL_IND_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 7)

+#define URRC_FUNC_SYSINFO_MODIFY_REQ_EV          (DWORD)(URRC_FUNC_EVENT_BASE + 8)

+#define URRC_FUNC_SET_SERVCELL_REQ_EV            (DWORD)(URRC_FUNC_EVENT_BASE + 9)

+#define URRC_FUNC_MEAS_ON_RACH_REQ_EV            (DWORD)(URRC_FUNC_EVENT_BASE + 10)

+#define URRC_FUNC_START_MEAS_REQ_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 11)

+#define URRC_FUNC_DEL_MEAS_REQ_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 12)

+#define URRC_FUNC_PAGING_TYPE1_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 13)

+#define URRC_FUNC_RESEL_IDLE_REQ_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 14)

+#define URRC_FUNC_GET_UE_CAP_REQ_EV              (DWORD)(URRC_FUNC_EVENT_BASE + 15)

+#define URRC_FUNC_CFG_PCH_REQ_EV                 (DWORD)(URRC_FUNC_EVENT_BASE + 16)

+#define URRC_FUNC_CFG_PCH_CNF_EV                 (DWORD)(URRC_FUNC_EVENT_BASE + 17)

+#define URRC_FUNC_REL_FACH_REQ_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 18)

+#define URRC_FUNC_REL_FACH_CNF_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 19)

+#define URRC_FUNC_REL_PCH_REQ_EV                 (DWORD)(URRC_FUNC_EVENT_BASE + 20)

+#define URRC_FUNC_REL_PCH_CNF_EV                 (DWORD)(URRC_FUNC_EVENT_BASE + 21)

+#define URRC_FUNC_SEND_SINGLE_BUF_MSG_EV         (DWORD)(URRC_FUNC_EVENT_BASE + 22)

+#define URRC_FUNC_SEND_CS_BUF_MSG_EV             (DWORD)(URRC_FUNC_EVENT_BASE + 23)

+#define URRC_FUNC_REL_SCCPCH_STOP_MAC_REQ_EV     (DWORD)(URRC_FUNC_EVENT_BASE + 24)

+#define URRC_FUNC_RESUME_FACH_CFG_REQ_EV         (DWORD)(URRC_FUNC_EVENT_BASE + 25)

+#define URRC_FUNC_REL_SER_CELL_BCH_REQ_EV        (DWORD)(URRC_FUNC_EVENT_BASE + 26)

+#define URRC_FUNC_RESTART_SCELL_SIB7_TIMER_EV    (DWORD)(URRC_FUNC_EVENT_BASE + 27)

+#define URRC_FUNC_RESUME_READ_SER_CELL_BCH_EV    (DWORD)(URRC_FUNC_EVENT_BASE + 28)

+#define URRC_FUNC_STOP_SYSINFO_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 29)

+#define URRC_FUNC_READ_CGIINFO_EV                (DWORD)(URRC_FUNC_EVENT_BASE + 30)

+#define URRC_FUNC_MEAS_TONULL_REQ_EV             (DWORD)(URRC_FUNC_EVENT_BASE + 31)

+#define URRC_FUNC_MEAS_LEAVE3G_REQ_EV            (DWORD)(URRC_FUNC_EVENT_BASE + 32)

+

+/* ========================================================================

+   TAFº¯ÊýÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨Òå                                                      

+======================================================================== */

+#define TAF_FUNC_L1G_DATA_REQ_EV                 (DWORD)(TAF_FUNC_EVENT_BASE + 0)

+

+/* ========================================================================

+   L1GÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define L1G_ST_MEAS_REQ_EV                       (DWORD)(L1G_ST_EVENT_BASE + 0)

+#define L1G_ST_MEAS_IND_EV                       (DWORD)(L1G_ST_EVENT_BASE + 1)

+#define L1G_ST_FCB_REQ_EV                        (DWORD)(L1G_ST_EVENT_BASE + 2)

+#define L1G_ST_FCB_RESULT_EV                     (DWORD)(L1G_ST_EVENT_BASE + 3)

+#define L1G_ST_SYNC_SB_REQ_EV                    (DWORD)(L1G_ST_EVENT_BASE + 4)

+#define L1G_ST_BSIC_SB_REQ_EV                    (DWORD)(L1G_ST_EVENT_BASE + 5)

+#define L1G_ST_SB_RESULT_EV                      (DWORD)(L1G_ST_EVENT_BASE + 6)

+#define L1G_ST_RX_REQ_EV                         (DWORD)(L1G_ST_EVENT_BASE + 7)

+#define L1G_ST_RX_EQU_DATA_EV                    (DWORD)(L1G_ST_EVENT_BASE + 8)

+#define L1G_ST_RX_DATA_EV                        (DWORD)(L1G_ST_EVENT_BASE + 9)

+#define L1G_ST_RACH_EV                           (DWORD)(L1G_ST_EVENT_BASE + 10)

+#define L1G_ST_SDCCH_TX_DATA_EV                  (DWORD)(L1G_ST_EVENT_BASE + 11)

+#define L1G_ST_SACCH_TX_DATA_EV                  (DWORD)(L1G_ST_EVENT_BASE + 12)

+#define L1G_ST_SACCH_RX_DATA_EV                  (DWORD)(L1G_ST_EVENT_BASE + 13)

+#define L1G_ST_FACCH_TX_DATA_EV                  (DWORD)(L1G_ST_EVENT_BASE + 14)

+#define L1G_ST_FACCH_RX_DATA_EV                  (DWORD)(L1G_ST_EVENT_BASE + 15)

+#define L1G_ST_DS_TX_DATA_EV                     (DWORD)(L1G_ST_EVENT_BASE + 16)

+#define L1G_ST_DS_RX_DATA_EV                     (DWORD)(L1G_ST_EVENT_BASE + 17)

+#define L1G_ST_TCH_CTRL_DATA_EV                  (DWORD)(L1G_ST_EVENT_BASE + 18)

+

+/* ========================================================================

+   GRRº¯Êý¸ú×ÙʼþºÅ¶¨Òå

+======================================================================== */

+#define GRR_FUNC_SUSPEND_UTRAN_MEAS_EV           (DWORD)(GRR_FUNC_EVENT_BASE + 0)

+#define GRR_FUNC_RESUME_UTRAN_MEAS_EV            (DWORD)(GRR_FUNC_EVENT_BASE + 1)

+#define GRR_FUNC_SUSPEND_EUTRAN_MEAS_EV          (DWORD)(GRR_FUNC_EVENT_BASE + 2)

+#define GRR_FUNC_RESUME_EUTRAN_MEAS_EV           (DWORD)(GRR_FUNC_EVENT_BASE + 3)

+#define GRR_FUNC_IDLE_MODE_SETTING_EV            (DWORD)(GRR_FUNC_EVENT_BASE + 4)

+#define GRR_FUNC_LIST_HANDLING_EV                (DWORD)(GRR_FUNC_EVENT_BASE + 5)

+#define GRR_FUNC_SCELL_UPDATE_EV                 (DWORD)(GRR_FUNC_EVENT_BASE + 6)

+#define GRR_FUNC_INIT_SCELL_PARAM_EV             (DWORD)(GRR_FUNC_EVENT_BASE + 7)

+#define GRR_FUNC_INIT_GRR_SCELL_EV               (DWORD)(GRR_FUNC_EVENT_BASE + 8)

+#define GRR_FUNC_INIT_GRR_SCELL_TMP_EV           (DWORD)(GRR_FUNC_EVENT_BASE + 9)

+#define GRR_FUNC_INIT_MI_EV                      (DWORD)(GRR_FUNC_EVENT_BASE + 10)

+#define GRR_FUNC_SI2QUATER_COMPLETE_EV           (DWORD)(GRR_FUNC_EVENT_BASE + 11)

+#define GRR_FUNC_CELL_SEL_BCCH_ALL_EV            (DWORD)(GRR_FUNC_EVENT_BASE + 12)

+#define GRR_FUNC_CELL_SEL_BCCH_MIN_EV            (DWORD)(GRR_FUNC_EVENT_BASE + 13)

+#define GRR_FUNC_RESET_SYSINFO_EV                (DWORD)(GRR_FUNC_EVENT_BASE + 14)

+#define GRR_FUNC_STORE_ORIG_UTRAN_EV             (DWORD)(GRR_FUNC_EVENT_BASE + 15)

+#define GRR_FUNC_STORE_MODIFY_ORIG_UTRAN_EV      (DWORD)(GRR_FUNC_EVENT_BASE + 16)

+#define GRR_FUNC_COPY_ORIG_UTRAN_EV              (DWORD)(GRR_FUNC_EVENT_BASE + 17)

+#define GRR_FUNC_INDIVID_PRIORITY_CHANGE_EV      (DWORD)(GRR_FUNC_EVENT_BASE + 18)

+#define GRR_FUNC_GET_QSEARCH_EV                  (DWORD)(GRR_FUNC_EVENT_BASE + 19)

+#define GRR_FUNC_COPY_SCELL_EV                   (DWORD)(GRR_FUNC_EVENT_BASE + 20)

+

+

+/* ========================================================================

+   αÏûÏ¢ÐÅÁî¸ú×ÙʼþºÅ¶¨Òå

+======================================================================== */

+#define GAS_ST_CTRL_BLOCK_TLV_EV                 (DWORD)(SIGTRACE_EVENT_BASE + 0)    /*GRRÏûÏ¢¶ÔµÈ²ãÏûÏ¢ÐÅÁî¸ú×ÙʼþºÅ*/

+#define GAS_ST_UL_CTRL_BLOCK_CSN1_EV             (DWORD)(SIGTRACE_EVENT_BASE + 1)    /*GMAC¶ÔµÈ²ãÉÏÐÐÏûÏ¢ÐÅÁî¸ú×ÙʼþºÅ*/

+#define GAS_ST_DL_CTRL_BLOCK_CSN1_EV             (DWORD)(SIGTRACE_EVENT_BASE + 2)    /*GMAC¶ÔµÈ²ãÏÂÐÐÏûÏ¢ÐÅÁî¸ú×ÙʼþºÅ*/

+#define GAS_ST_SEG_CTRL_BLOCK_CSN1_EV            (DWORD)(SIGTRACE_EVENT_BASE + 3)    /*GMAC¶ÔµÈ²ãÏÂÐзֶÎÏûÏ¢ÐÅÁî¸ú×ÙʼþºÅ*/

+#define GAS_ST_DLL_READ_DCCH_EV                  (DWORD)(SIGTRACE_EVENT_BASE + 4)

+#define GAS_ST_DLL_READ_SACCH_EV                 (DWORD)(SIGTRACE_EVENT_BASE + 5)

+#define ATI_PDI_DATA_REQ_TRACE_EV                (DWORD)(SIGTRACE_EVENT_BASE + 6)

+#define UPDI_DATA_REQ_TRACE_EV                   (DWORD)(SIGTRACE_EVENT_BASE + 7)

+#define SN_DATA_REQ_TRACE                        (DWORD)(SIGTRACE_EVENT_BASE + 8)

+#define SN_UNITDATA_REQ_TRACE                    (DWORD)(SIGTRACE_EVENT_BASE + 9)

+#define LL_DATA_REQ_TRACE                        (DWORD)(SIGTRACE_EVENT_BASE + 10)

+#define LL_UNITDATA_REQ_TRACE                    (DWORD)(SIGTRACE_EVENT_BASE + 11)

+#define LLC_GET_NEXT_PDU_TRACE_EV                (DWORD)(SIGTRACE_EVENT_BASE + 12)

+#define GMAC_GET_BLOCKS_TRACE_EV                 (DWORD)(SIGTRACE_EVENT_BASE + 13)

+#define GMAC_ACK_BLOCKS_TRACE_EV                 (DWORD)(SIGTRACE_EVENT_BASE + 14)

+#define PDCP_RLC_DATA_REQ_TRACE_EV               (DWORD)(SIGTRACE_EVENT_BASE + 15)

+#define URLC_GET_BO_TRACE_EV                     (DWORD)(SIGTRACE_EVENT_BASE + 16)

+#define URLC_SEND_PDU_TRACE_EV                   (DWORD)(SIGTRACE_EVENT_BASE + 17)

+#define UMAC_TFC_SEL_TRACE_EV                    (DWORD)(SIGTRACE_EVENT_BASE + 18)

+#define PH_MAC_DATA_IND_TRACE                    (DWORD)(SIGTRACE_EVENT_BASE + 19)

+#define PH_RLC_DATA_IND_TRACE                    (DWORD)(SIGTRACE_EVENT_BASE + 20)

+#define MAC_RLC_DATA_IND_TRACE                   (DWORD)(SIGTRACE_EVENT_BASE + 21)

+#define RLC_DATA_IND_TRACE                       (DWORD)(SIGTRACE_EVENT_BASE + 22)

+#define RLC_UNITDATA_IND_TRACE                   (DWORD)(SIGTRACE_EVENT_BASE + 23)

+#define LL_DATA_IND_TRACE                        (DWORD)(SIGTRACE_EVENT_BASE + 24)

+#define LL_UNITDATA_IND_TRACE                    (DWORD)(SIGTRACE_EVENT_BASE + 25)

+#define SN_DATA_IND_TRACE                        (DWORD)(SIGTRACE_EVENT_BASE + 26)

+#define SN_UNITDATA_IND_TRACE                    (DWORD)(SIGTRACE_EVENT_BASE + 27)

+#define UPDI_DATA_IND_TRACE_EV                   (DWORD)(SIGTRACE_EVENT_BASE + 28)

+#define ATI_PDI_DATA_IND_TRACE_EV                (DWORD)(SIGTRACE_EVENT_BASE + 29)

+#define UUMAC_DATA_IND_TRACE_EV                  (DWORD)(SIGTRACE_EVENT_BASE + 30)

+#define PDCP_RLC_DATA_IND_TRACE_EV               (DWORD)(SIGTRACE_EVENT_BASE + 31)

+#define TAF_COUNTER_TRACE_EV                     (DWORD)(SIGTRACE_EVENT_BASE + 32)

+#define TAF_RLP_XID_ULFRAME_TRACE_EV             (DWORD)(SIGTRACE_EVENT_BASE + 33)

+#define TAF_RLP_XID_DLFRAME_TRACE_EV             (DWORD)(SIGTRACE_EVENT_BASE + 34)

+#define TAF_RLP_SABM_ULFRAME_TRACE_EV            (DWORD)(SIGTRACE_EVENT_BASE + 35)

+#define TAF_RLP_SABM_DLFRAME_TRACE_EV            (DWORD)(SIGTRACE_EVENT_BASE + 36)

+#define TAF_RLP_UA_ULFRAME_TRACE_EV              (DWORD)(SIGTRACE_EVENT_BASE + 37)

+#define TAF_RLP_UA_DLFRAME_TRACE_EV              (DWORD)(SIGTRACE_EVENT_BASE + 38)

+#define TAF_RLP_DISC_ULFRAME_TRACE_EV            (DWORD)(SIGTRACE_EVENT_BASE + 39)

+#define TAF_RLP_DISC_DLFRAME_TRACE_EV            (DWORD)(SIGTRACE_EVENT_BASE + 40)

+#define TAF_RLP_DM_ULFRAME_TRACE_EV              (DWORD)(SIGTRACE_EVENT_BASE + 41)

+#define TAF_RLP_DM_DLFRAME_TRACE_EV              (DWORD)(SIGTRACE_EVENT_BASE + 42)

+#define TAFL1G_DATA_IND_TRACE_EV                 (DWORD)(SIGTRACE_EVENT_BASE + 43)

+#define TAFL1G_DATA_REQ_TRACE_EV                 (DWORD)(SIGTRACE_EVENT_BASE + 44)

+#define TAF_FUNC_UURLC_DATA_IND_EV               (DWORD)(SIGTRACE_EVENT_BASE + 45)

+#define TAF_FUNC_UURLC_DATA_REQ_EV               (DWORD)(SIGTRACE_EVENT_BASE + 46)

+#define PDI_PDCP_DATA_IND_TRACE_EV               (DWORD)(SIGTRACE_EVENT_BASE + 47)

+#define PDCP_DATA_BACK_PDI_TRACE_EV              (DWORD)(SIGTRACE_EVENT_BASE + 48)

+/*WCDMA(SIGIRACE=100)*/

+#define WRLC_GET_BO_TRACE_EV                     (DWORD)(SIGTRACE_EVENT_BASE + 49)

+#define WRLC_SEND_PDU_TRACE_EV                   (DWORD)(SIGTRACE_EVENT_BASE + 50)

+#define WMAC_TFC_SEL_TRACE_EV                    (DWORD)(SIGTRACE_EVENT_BASE + 51)

+#define UWMAC_DATA_IND_TRACE_EV                  (DWORD)(SIGTRACE_EVENT_BASE + 52)

+#define TAF_FUNC_UWRLC_DATA_IND_EV               (DWORD)(SIGTRACE_EVENT_BASE + 53)

+#define TAF_FUNC_UWRLC_DATA_REQ_EV               (DWORD)(SIGTRACE_EVENT_BASE + 54)

+#define WMAC_START_TEMPERATURE_CTRL_TRACE_EV     (DWORD)(SIGTRACE_EVENT_BASE + 55)

+#define WMAC_STOP_TEMPERATURE_CTRL_TRACE_EV      (DWORD)(SIGTRACE_EVENT_BASE + 56)

+#define EUMAC_START_TEMPERATURE_CTRL_TRACE_EV    (DWORD)(SIGTRACE_EVENT_BASE + 57)

+#define EUMAC_STOP_TEMPERATURE_CTRL_TRACE_EV     (DWORD)(SIGTRACE_EVENT_BASE + 58)

+#define EUMAC_HOLD_TEMPERATURE_CTRL_TRACE_EV     (DWORD)(SIGTRACE_EVENT_BASE + 59)

+/* ========================================================================

+ LTEÏà¹ØµÄÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+/* ========================================================================

+ EMM  TIMER ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EMM_T3410_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 0)

+#define EMM_T3416_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 1)

+#define EMM_T3417_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 2)

+#define EMM_T3418_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 3)

+#define EMM_T3420_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 4)

+#define EMM_T3421_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 5)

+#define EMM_T3430_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 6)

+#define EMM_T3440_EXPIRY                         (DWORD)(EMM_TIMER_EVENT_BASE + 7)

+#define EMM_T_POWEROFF_EXPIRY                    (DWORD)(EMM_TIMER_EVENT_BASE + 8)

+#define EMM_T3417EXT_EXPIRY                      (DWORD)(EMM_TIMER_EVENT_BASE + 9)

+#define EMM_T_WAITRELIND_EXPIRY                  (DWORD)(EMM_TIMER_EVENT_BASE + 10)

+

+/* ========================================================================

+ ESM  TIMER ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ESM_TIMER3480_EXPIRY_EV                  (DWORD)(ESM_TIMER_EVENT_BASE + 0)

+#define ESM_TIMER3481_EXPIRY_EV                  (DWORD)(ESM_TIMER_EVENT_BASE + 1)

+#define ESM_TIMER3482_EXPIRY_EV                  (DWORD)(ESM_TIMER_EVENT_BASE + 2)

+#define ESM_TIMER3492_EXPIRY_EV                  (DWORD)(ESM_TIMER_EVENT_BASE + 3)

+#define ESM_T_MTACTANSWER_EXPIRY_EV              (DWORD)(ESM_TIMER_EVENT_BASE + 4)

+#define ESM_T_WAITINGATH_EXPIRY_EV               (DWORD)(ESM_TIMER_EVENT_BASE + 5)

+#define ESM_T_PTIBUF_EXPIRY_EV                   (DWORD)(ESM_TIMER_EVENT_BASE + 6)

+#define ESM_T_CMEST_EXPIRY_EV                    (DWORD)(ESM_TIMER_EVENT_BASE + 7)

+

+/* ========================================================================

+ EPDCP TIMER ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EPDCP_T_DISCARD_EXPIRY_EV                (DWORD)(EPDCP_TIMER_EVENT_BASE + 0)

+#define EPDCP_T_DELAYMODEB_EXPIRY_EV             (DWORD)(EPDCP_TIMER_EVENT_BASE + 1)

+#define EPDCP_T_EXPIRY_EV                        (DWORD)(EPDCP_TIMER_EVENT_BASE + 2)

+

+/* ========================================================================

+   EURLC ¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EURLC_T_POLL_RETRANSMIT_EXPIRY_EV        (DWORD)(EURLC_TIMER_EVENT_BASE + 0)

+#define EURLC_T_STATUS_PROHIBIT_EXPIRY_EV        (DWORD)(EURLC_TIMER_EVENT_BASE + 1)

+#define EURLC_T_REORDERING_EXPIRY_EV             (DWORD)(EURLC_TIMER_EVENT_BASE + 2)

+#define EUL2LOG_T_EXPIRY_EV                      (DWORD)(EURLC_TIMER_EVENT_BASE + 3)

+

+/* ========================================================================

+   EUMAC ¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EUMAC_T_EXPIRY_EV                        (DWORD)(EUMAC_TIMER_EVENT_BASE + 0)  

+

+/* ========================================================================

+  EUCER×ÓÄ£¿é¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EURRC_T300_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 0)

+#define EURRC_T301_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 1)

+#define EURRC_T302_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 2)

+#define EURRC_T303_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 3)

+#define EURRC_T304_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 4)

+#define EURRC_T305_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 5)

+#define EURRC_T310_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 6)

+#define EURRC_T311_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 7)

+#define EURRC_T60MS_EXPIRY_EV                    (DWORD)(EUCER_TIMER_EVENT_BASE + 8)

+#define EURRC_T3174_EXPIRY_EV                    (DWORD)(EUCER_TIMER_EVENT_BASE + 9)

+#define EURRC_VARRLF_VALID_EXPIRY_EV             (DWORD)(EUCER_TIMER_EVENT_BASE + 10) 

+#define EURRC_T306_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 11)

+#define EURRC_MCCH_EXPIRY_EV                     (DWORD)(EUCER_TIMER_EVENT_BASE + 12)

+#define EURRC_1SECOND_EXPIRY_EV                  (DWORD)(EUCER_TIMER_EVENT_BASE + 13)

+#define EURRC_TGPAGING_EXPIRY_EV                 (DWORD)(EUCER_TIMER_EVENT_BASE + 14)

+#define EURRC_PERIDOSTATUSREPORT_EXPIRY_EV       (DWORD)(EUCER_TIMER_EVENT_BASE + 15)

+#define EURRC_SELFHOREPORT_EXPIRY_EV             (DWORD)(EUCER_TIMER_EVENT_BASE + 16)

+#define EURRC_SINGLEUSEREXIT_EXPIRY_EV          (DWORD)(EUCER_TIMER_EVENT_BASE + 17)

+

+/* ========================================================================

+  EUMCR×ÓÄ£¿é¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EUMCR_T320_EXPIRY_EV                     (DWORD)(EUMCR_TIMER_EVENT_BASE + 0)

+#define EUMCR_T321_EXPIRY_EV                     (DWORD)(EUMCR_TIMER_EVENT_BASE + 1)

+#define EUMCR_T_REMAIN_EXPIRY_EV                 (DWORD)(EUMCR_TIMER_EVENT_BASE + 2)

+#define EUMCR_T_LEAVE_EXPIRY_EV                  (DWORD)(EUMCR_TIMER_EVENT_BASE + 3)

+#define EUMCR_T_HYSTNORMAL_EXPIRY_EV             (DWORD)(EUMCR_TIMER_EVENT_BASE + 4)

+#define EUMCR_T_PROXIMITY_EXPIRY_EV              (DWORD)(EUMCR_TIMER_EVENT_BASE + 5)

+#define EUMCR_T_CELLINFO_REPORT_EXPIRY_EV        (DWORD)(EUMCR_TIMER_EVENT_BASE + 6)

+#define EUMCR_T_RESEL_EXPIRY_EV                  (DWORD)(EUMCR_TIMER_EVENT_BASE + 7)

+#define EUMCR_T_MDT_LOG_EXPIRY_EV                (DWORD)(EUMCR_TIMER_EVENT_BASE + 8)

+#define EUMCR_T330_EXPIRY_EV                     (DWORD)(EUMCR_TIMER_EVENT_BASE + 9)

+#define EUMCR_T_48HOURS_EXPIRY_EV                (DWORD)(EUMCR_TIMER_EVENT_BASE + 10)

+#define EUMCR_T_LISTEN_HANDOVER_EXPIRY_EV        (DWORD)(EUMCR_TIMER_EVENT_BASE + 11)

+#define EUMCR_T_MONITOR_PERIOD_CHG_EV            (DWORD)(EUMCR_TIMER_EVENT_BASE + 12)

+#define EUMCR_T_MONITOR_HO_EXPIR_EV            (DWORD)(EUMCR_TIMER_EVENT_BASE + 13)

+/* ========================================================================

+  EUCSR×ÓÄ£¿é¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EUCSR_T_SI_MODI_EXPIRY_EV                (DWORD)(EUCSR_TIMER_EVENT_BASE + 0)

+#define EUCSR_T_ABORT_SEARCH_EXPIRY_EV           (DWORD)(EUCSR_TIMER_EVENT_BASE + 1)

+#define EUCSR_T_FREQ_SCAN_EXPIRY_EV              (DWORD)(EUCSR_TIMER_EVENT_BASE + 2)

+#define EUCSR_T_CELL_SEARCH_EXPIRY_EV            (DWORD)(EUCSR_TIMER_EVENT_BASE + 3)

+#define EUCSR_T_PLMN_SEARCH_EXPIRY_EV            (DWORD)(EUCSR_TIMER_EVENT_BASE + 4)

+#define EUCSR_T_CSG_SEARCH_EXPIRY_EV             (DWORD)(EUCSR_TIMER_EVENT_BASE + 5)

+#define EUCSR_T_3HOUR_EXPIRY_EV                  (DWORD)(EUCSR_TIMER_EVENT_BASE + 6)

+#define EUCSR_T_OOS_EXPIRY_EV                    (DWORD)(EUCSR_TIMER_EVENT_BASE + 7)

+#define EUCSR_T_SWITCH_RADIO_EXPIRY_EV           (DWORD)(EUCSR_TIMER_EVENT_BASE + 8)

+#define EUCSR_T_REDIRECT_TO_LTE_EXPIRY_EV        (DWORD)(EUCSR_TIMER_EVENT_BASE + 9)

+#define EUCSR_T_SYNC_BARREDLIST_EXPIRY_EV        (DWORD)(EUCSR_TIMER_EVENT_BASE + 10)

+#define EUCSR_T_WAIT_RESEL_TO_UTRA_EXPIRY_EV       (DWORD)(EUCSR_TIMER_EVENT_BASE + 11)

+#define EUCSR_T_REDIRECT_TO_LTE_OP_EXPIRY_EV        (DWORD)(EUCSR_TIMER_EVENT_BASE + 12)

+#define EUCSR_T_LISTEN_RESEL_SUCC_EXPIRY_EV        (DWORD)(EUCSR_TIMER_EVENT_BASE + 13)

+#define EUCSR_T_LBS_RPT_EXPIRY_EV                (DWORD)(EUCSR_TIMER_EVENT_BASE + 14)

+#define EUCSR_T_ECID_RPT_EXPIRY_EV                (DWORD)(EUCSR_TIMER_EVENT_BASE + 15)

+

+

+/* ========================================================================

+  EUSIR×ÓÄ£¿é¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EUSIR_T_SIB1GUARD_EXPIRY_EV              (DWORD)(EUSIR_TIMER_EVENT_BASE + 0)

+#define EUSIR_T_SIMSGGUARD_EXPIRY_EV             (DWORD)(EUSIR_TIMER_EVENT_BASE + 1)

+#define EUSIR_T_ETWS_EXPIRY_EV                   (DWORD)(EUSIR_TIMER_EVENT_BASE + 2)

+#define EUSIR_T_CMAS_EXPIRY_EV                   (DWORD)(EUSIR_TIMER_EVENT_BASE + 3)

+#define EUSIR_T_SIBVALID_EXPIRY_EV               (DWORD)(EUSIR_TIMER_EVENT_BASE + 4)

+/* ========================================================================

+  EMMºÍUMMÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define UMM_TU_SUCC_IND_EV                       (DWORD)(EMM_UMM_EVENT_BASE + 0)

+

+#define UMM_CONFIG_REQ_EV                        (DWORD)(EMM_UMM_RSP_EVENT + 0)

+

+/* ========================================================================

+  UMMºÍEPDCPÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EPDCP_UMM_EST_REJ_EV                     (DWORD)(UMM_EPDCP_EVENT_BASE + 0)

+#define EPDCP_UMM_EST_REQ_EV                     (DWORD)(UMM_EPDCP_RSP_EVENT + 0)

+

+/* ========================================================================

+  CM²ãºÍEMMÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CM_EMM_DATA_REQ_EV                       (DWORD)(CM_EMM_EVENT_BASE + 0)

+/* ========================================================================

+  ESMºÍEMMÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*ESM->EMM*/

+#define ESM_EMM_DEFAULT_ACT_REJ_EV               (DWORD)(ESM_EMM_EVENT_BASE + 0)

+#define ESM_EMM_EMERGENCY_PDN_EST_SUCC_IND_EV    (DWORD)(ESM_EMM_EVENT_BASE + 1)

+#define ESM_EMM_EMERGENCY_PDN_ONLY_IND_EV        (DWORD)(ESM_EMM_EVENT_BASE + 2)

+

+/* EMM->ESM*/

+#define ESM_EMM_DATA_IND_EV                      (DWORD)(ESM_EMM_RSP_EVENT + 0)

+#define ESM_EMM_ATTACH_IND_EV                    (DWORD)(ESM_EMM_RSP_EVENT + 1)

+#define ESM_EMM_ATTACH_REJ_EV                    (DWORD)(ESM_EMM_RSP_EVENT + 2)

+#define ESM_EMM_CONTEXT_STATUS_IND_EV            (DWORD)(ESM_EMM_RSP_EVENT + 3)

+#define ESM_EMM_DETACH_IND_EV                    (DWORD)(ESM_EMM_RSP_EVENT + 4)

+#define ESM_EMM_DETACH_EMERGENCY_IND_EV          (DWORD)(ESM_EMM_RSP_EVENT + 5)

+#define EMM_ESM_DETACH_NORMAL_IND_EV             (DWORD)(ESM_EMM_RSP_EVENT + 6)  

+

+/* ========================================================================

+  EMMºÍASC(ERRC(CER))Ä£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EMM_ASC_EST_REQ_EV                       (DWORD)(EMM_ASC_EVENT_BASE + 1)

+#define EMM_ASC_EST_ABT_EV                       (DWORD)(EMM_ASC_EVENT_BASE + 2)

+#define EMM_ASC_REL_REQ_EV                       (DWORD)(EMM_ASC_EVENT_BASE + 3)

+#define EMM_ASC_KENB_RSP_EV                      (DWORD)(EMM_ASC_EVENT_BASE + 4)

+#define EMM_ASC_REL_DATA_REQ_EV                  (DWORD)(EMM_ASC_EVENT_BASE + 5)

+#define EMM_ASC_DATA_REQ_EV                      (DWORD)(EMM_ASC_EVENT_BASE + 6)

+#define EMM_ASC_DETACH_REQ_EV                    (DWORD)(EMM_ASC_EVENT_BASE + 7)

+

+/* EURRC->ASC */

+#define EMM_ASC_DATA_IND_EV                      (DWORD)(EMM_ASC_RSP_EVENT + 0)

+#define EMM_ASC_EST_CNF_EV                       (DWORD)(EMM_ASC_RSP_EVENT + 1)

+#define EMM_ASC_EST_REJ_EV                       (DWORD)(EMM_ASC_RSP_EVENT + 2)

+#define EMM_ASC_REL_IND_EV                       (DWORD)(EMM_ASC_RSP_EVENT + 3)

+#define EMM_ASC_ABA_IND_EV                       (DWORD)(EMM_ASC_RSP_EVENT + 4)

+#define EMM_ASC_DRB_SETUP_IND_EV                 (DWORD)(EMM_ASC_RSP_EVENT + 5)

+#define EMM_ASC_TRANS_FAIL_IND_EV                (DWORD)(EMM_ASC_RSP_EVENT + 6)

+#define EMM_ASC_KENB_REQ_EV                      (DWORD)(EMM_ASC_RSP_EVENT + 7)

+#define EMM_ASC_UE_INFO_CHANGE_IND_EV            (DWORD)(EMM_ASC_RSP_EVENT + 8)

+#define EMM_ASC_DATA_CNF_EV                      (DWORD)(EMM_ASC_RSP_EVENT + 9)

+#define EMM_ASC_PAGE_IND_EV                      (DWORD)(EMM_ASC_RSP_EVENT + 10)

+#define EMM_ASC_SEC_PARA_IND_EV                  (DWORD)(EMM_ASC_RSP_EVENT + 11)

+/* ========================================================================

+  EMMºÍEUPDCPÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+#define EPDCP_EMM_EST_REJ_EV                     (DWORD)(EMM_EPDCP_EVENT_BASE + 0)

+#define EPDCP_EMM_BAR_ALLEVIATE_NOTIFY_EV        (DWORD)(EMM_EPDCP_EVENT_BASE + 1)

+/* ========================================================================

+  ESMºÍUMMÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*ESMºÍUMMÄ£¿éÖ®¼äµÄÏûϢʼþºÅ--

+* 1.CM_EST_REQ_EV£¬

+* 2.CM_EST_CNF_EV£¬

+* 3.CM_RELIND_EVÑØÓÃÒÔǰ90AµÄ½Ó¿Ú*/

+/*ESM->UMM*/

+#define ESM_UMM_DETACH_REQ_EV                   (DWORD)(ESM_UMM_EVENT_BASE + 0) /*Modified:KangShuJie*/

+#define ESM_UMM_LOCAL_DEACT_IND_EV              (DWORD)(ESM_UMM_EVENT_BASE + 1)

+

+/* ========================================================================

+  SMºÍESMÄ£¿é¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/*SM->ESM*/

+#define SM_ESM_DATA_IND_EV                      (DWORD)(SM_ESM_EVENT_BASE + 0) /*Added:KangShuJie*/

+#define SM_ESM_RAT_ACT_IND_EV                   (DWORD)(SM_ESM_EVENT_BASE + 1) /*Added:KangShuJie*/

+#define SM_ESM_RAT_DEACT_IND_EV                 (DWORD)(SM_ESM_EVENT_BASE + 2) /*Added:KangShuJie*/

+#define SM_ESM_DEACT_IND_EV                     (DWORD)(SM_ESM_EVENT_BASE + 3) /*Added:KangShuJie*/

+/*ESM->SM*/

+#define ESM_SM_DATA_IND_EV                      (DWORD)(SM_ESM_RSP_EVENT + 0) /*Added:KangShuJie*/

+#define ESM_SM_RAT_ACT_IND_EV                   (DWORD)(SM_ESM_RSP_EVENT + 1) /*Added:KangShuJie*/

+#define ESM_SM_RAT_DEACT_IND_EV                 (DWORD)(SM_ESM_RSP_EVENT + 2) /*Added:KangShuJie*/

+#define ESM_SM_DEACT_IND_EV                     (DWORD)(SM_ESM_RSP_EVENT + 3) /*Added:KangShuJie*/

+ 

+

+/* ========================================================================

+  ESMºÍEPDCP*Ä£¿éÖ®¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ESM_EPDCP_DEACTIVATE_REQ_EV             (DWORD)(ESM_EPDCP_EVENT_BASE + 0) /*Modified:KangShuJie*/

+#define ESM_EPDCP_RAT_DATA_MOVE_REQ_EV          (DWORD)(ESM_EPDCP_EVENT_BASE + 1) /*Added:KangShuJie*/

+#define ESM_EPDCP_RAT_DATA_DEL_REQ_EV           (DWORD)(ESM_EPDCP_EVENT_BASE + 2) /*Added:KangShuJie*/

+#define ESM_EPDCP_DIAL_IND_EV                   (DWORD)(ESM_EPDCP_EVENT_BASE + 3) 

+#define DEL_USER_PLANE_BUFFER_DATA_EV           (DWORD)(ESM_EPDCP_EVENT_BASE + 4) 

+

+#define ESM_EPDCP_LOCAL_DEACT_IND_EV             (DWORD)(ESM_EPDCP_RSP_EVENT + 0)

+#define ESM_EPDCP_RAT_SEQ_IND_EV                 (DWORD)(ESM_EPDCP_RSP_EVENT + 1)

+#define ESM_EPDCP_RAT_ACT_IND_EV                 (DWORD)(ESM_EPDCP_RSP_EVENT + 2)

+#define ESM_EPDCP_RAT_CHANGE_COMP_EV             (DWORD)(ESM_EPDCP_RSP_EVENT + 3) /*Added:KangShuJie*/

+#define EPDCP_ESM_RAT_SEQ_RSP_EV                 (DWORD)(ESM_EPDCP_RSP_EVENT + 4) /*Added:KangShuJie*/

+#define EPDCP_ESM_RAT_ACT_RSP_EV                 (DWORD)(ESM_EPDCP_RSP_EVENT + 5) /*Added:KangShuJie*/

+#define EPDCP_ESM_STATUS_IND_EV                  (DWORD)(ESM_EPDCP_RSP_EVENT + 6) /*Added:KangShuJie*/

+#define ESM_EPDCP_CURR_BEAR_IND_EV               (DWORD)(ESM_EPDCP_RSP_EVENT + 7)

+

+/* ========================================================================

+  EURRCºÍEPDCPÄ£¿éÖ®¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EURRC_EPDCP_SMC_INTEGRITY_CHECK_REQ_EV   (DWORD)(EURRC_EPDCP_EVENT_BASE + 0)

+#define EURRC_EPDCP_CONFIG_REQ_EV                (DWORD)(EURRC_EPDCP_EVENT_BASE + 1)

+#define EURRC_EPDCP_DATA_REQ_EV                  (DWORD)(EURRC_EPDCP_EVENT_BASE + 2)

+#define EURRC_EPDCP_REESTABLISH_REQ_EV           (DWORD)(EURRC_EPDCP_EVENT_BASE + 3)

+#define EURRC_EPDCP_RELEASE_REQ_EV               (DWORD)(EURRC_EPDCP_EVENT_BASE + 4)

+#define EURRC_EPDCP_RESUME_REQ_EV                (DWORD)(EURRC_EPDCP_EVENT_BASE + 5)

+#define EURRC_EPDCP_SUSPEND_REQ_EV               (DWORD)(EURRC_EPDCP_EVENT_BASE + 6)

+#define EURRC_EPDCP_DECIPHER_AND_INT_CHECK_REQ_EV   (DWORD)(EURRC_EPDCP_EVENT_BASE + 7)

+#define EURRC_EPDCP_HO_SUCC_IND_EV               (DWORD)(EURRC_EPDCP_EVENT_BASE + 8)

+#define EURRC_EPDCP_HO_FAIL_IND_EV               (DWORD)(EURRC_EPDCP_EVENT_BASE + 9)

+#define EURRC_EPDCP_SEC_CONFIG_REQ_EV            (DWORD)(EURRC_EPDCP_EVENT_BASE + 10)/*Added:KangShuJie*/

+#define EURRC_EPDCP_SMC_END_REQ_EV               (DWORD)(EURRC_EPDCP_EVENT_BASE + 11)

+#define EURRC_EPDCP_TRUNKING_SEC_CONFIG_REQ_EV   (DWORD)(EURRC_EPDCP_EVENT_BASE + 12)

+#define EURRC_EPDCP_CELL_RESEL_IND_EV            (DWORD)(EURRC_EPDCP_EVENT_BASE + 13)

+

+

+#define EURRC_EPDCP_SMC_INTEGRITY_CHECK_CNF_EV   (DWORD)(EURRC_EPDCP_RSP_EVENT + 0)

+#define EURRC_EPDCP_DATA_IND_EV                  (DWORD)(EURRC_EPDCP_RSP_EVENT + 1)

+#define EURRC_EPDCP_INTEGIRTY_FAIL_IND_EV        (DWORD)(EURRC_EPDCP_RSP_EVENT + 2)

+#define EURRC_EPDCP_CONFIG_CNF_EV                (DWORD)(EURRC_EPDCP_RSP_EVENT + 3)

+#define EURRC_EPDCP_DATA_CNF_EV                  (DWORD)(EURRC_EPDCP_RSP_EVENT + 4)

+#define EURRC_EPDCP_REESTABLISH_CNF_EV           (DWORD)(EURRC_EPDCP_RSP_EVENT + 5)

+#define EURRC_EPDCP_ENABLE_UL_CIPHER_REQ_EV      (DWORD)(EURRC_EPDCP_RSP_EVENT + 6)

+/* ========================================================================

+  EURRCºÍEURLCÄ£¿éÖ®¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EURRC_EURLC_CONFIG_REQ_EV                      (DWORD)(EURRC_EURLC_EVENT_BASE + 0) /*Modified:KangShuJie*/

+#define EURRC_EURLC_REESTABLISH_REQ_EV                 (DWORD)(EURRC_EURLC_EVENT_BASE + 1) /*Modified:KangShuJie*/

+#define EURRC_EURLC_RELEASE_REQ_EV                     (DWORD)(EURRC_EURLC_EVENT_BASE + 2) /*Modified:KangShuJie*/

+

+#define EURRC_EURLC_CONFIG_CNF_EV                      (DWORD)(EURRC_EURLC_RSP_EVENT + 0) /*Modified:KangShuJie*/

+#define EURRC_EURLC_REESTABLISH_CNF_EV                 (DWORD)(EURRC_EURLC_RSP_EVENT + 1) /*Modified:KangShuJie*/

+#define EL2_EURRC_RADIOLINK_FAIL_IND_EV                (DWORD)(EURRC_EURLC_RSP_EVENT + 2) /*Modified:KangShuJie*/

+#define EURRC_EL2_TRUNKCH_ERROR_EV                     (DWORD)(EURRC_EURLC_RSP_EVENT + 3)

+/* ========================================================================

+  EURRCºÍEUMACÄ£¿éÖ®¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+#define EURRC_EUMAC_CCCH_DATA_REQ_EV                   (DWORD)(EURRC_EUMAC_EVENT_BASE + 0) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_COMM_CONFIG_REQ_EV                 (DWORD)(EURRC_EUMAC_EVENT_BASE + 1) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_DEDI_CONFIG_REQ_EV                 (DWORD)(EURRC_EUMAC_EVENT_BASE + 2) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_REL_REQ_EV                         (DWORD)(EURRC_EUMAC_EVENT_BASE + 3) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_RESET_MAC_REQ_EV                   (DWORD)(EURRC_EUMAC_EVENT_BASE + 4) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_RESUME_RB_REQ_EV                   (DWORD)(EURRC_EUMAC_EVENT_BASE + 5) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_SUSPEND_RB_REQ_EV                  (DWORD)(EURRC_EUMAC_EVENT_BASE + 6) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_RA_REQ_EV                          (DWORD)(EURRC_EUMAC_EVENT_BASE + 7) /*Modified:KangShuJie*/

+#define EURRC_EUMAC_HO_REQ_EV                          (DWORD)(EURRC_EUMAC_EVENT_BASE + 8)

+#define EURRC_EUMAC_REL_DEDI_EV                        (DWORD)(EURRC_EUMAC_EVENT_BASE + 11)

+#define EURRC_EUMAC_GRNTI_REQ_EV                       (DWORD)(EURRC_EUMAC_EVENT_BASE + 12)

+#define EURRC_EUMAC_SR_CONFIG_REQ_EV                   (DWORD)(EURRC_EUMAC_EVENT_BASE + 13)

+#define EURRC_EUMAC_LISTENINGCFG_REQ_EV                (DWORD)(EURRC_EUMAC_EVENT_BASE + 14)

+

+#define EUMAC_EURRC_CCCH_DATA_IND_EV                   (DWORD)(EURRC_EUMAC_RSP_EVENT + 0) /*Modified:KangShuJie*/

+#define EUMAC_EURRC_RA_PROBLEM_IND_EV                  (DWORD)(EURRC_EUMAC_RSP_EVENT + 1) /*Modified:KangShuJie*/

+#define EUMAC_EURRC_RA_SUCC_IND_EV                     (DWORD)(EURRC_EUMAC_RSP_EVENT + 2) /*Modified:KangShuJie*/

+#define EUMAC_EURRC_HO_CNF_EV                          (DWORD)(EURRC_EUMAC_RSP_EVENT + 3)

+#define EUMAC_EURRC_PUCCH_SRS_REL_REQ                  (DWORD)(EURRC_EUMAC_RSP_EVENT + 4)

+

+/* ========================================================================

+  UMģʽÉÏÐÐÊý¾ÝÈ·ÈÏÏûÏ¢

+======================================================================== */

+#define EURLC_EPDCP_UM_DATA_CNF_EV               (DWORD)(EUPDCP_EURLC_EVENT_BASE + 0)

+

+/* ========================================================================

+  EURRCºÍMEL2Ä£¿éÖ®¼äÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define EURRC_EUMAC_MCH_CONFIG_REQ_EV                  (DWORD)(EURRC_MEL2_EVENT_BASE + 0)

+#define EURRC_EUMAC_MCH_REL_REQ_EV                     (DWORD)(EURRC_MEL2_EVENT_BASE + 1)

+#define MEL2_DMA_COMPLETE_IND                          (DWORD)(EURRC_MEL2_EVENT_BASE + 2) 

+#define EUMAC_EURRC_MCCH_DATA_IND_EV                   (DWORD)(EURRC_MEL2_RSP_EVENT + 0) 

+

+/* ========================================================================

+ EURRCÄÚ²¿ÏûϢʼþºÅ¶¨Òå

+======================================================================== */

+/*EUCER-EUMCR*/

+#define EURRC_MCR_STATE_REQ_EV                   (DWORD)(EURRC_EVENT_BASE + 0)

+#define EURRC_MEAS_CONFIG_REQ_EV                 (DWORD)(EURRC_EVENT_BASE + 1)

+#define EURRC_IDLE_INFO_REQ_EV                   (DWORD)(EURRC_EVENT_BASE + 2)

+

+#define EURRC_SCELL_UNSUITABLE_IND_EV            (DWORD)(EURRC_EVENT_BASE + 3)

+#define EURRC_CER_OUTOF_SERVICE_IND_EV           (DWORD)(EURRC_EVENT_BASE + 4)

+

+/*EUCER-EUCSR*/ 

+#define EURRC_CSR_STATE_REQ_EV                   (DWORD)(EURRC_EVENT_BASE + 5)

+#define EURRC_CELL_INFO2NAS_EV                   (DWORD)(EURRC_EVENT_BASE + 6)

+#define EURRC_BARRED_CELL_REQ_EV                 (DWORD)(EURRC_EVENT_BASE + 7)

+#define EURRC_REL_EPHY_CNF_EV                    (DWORD)(EURRC_EVENT_BASE + 8)

+

+#define EURRC_CER_CELL_STATE_IND_EV              (DWORD)(EURRC_EVENT_BASE + 9)

+#define EURRC_CELL_SEL_SUCC_IND_EV               (DWORD)(EURRC_EVENT_BASE + 10)

+#define EUCER_TRS_TEST_IND_EV                    (DWORD)(EURRC_EVENT_BASE + 11)

+#define EURRC_REL_EPHY_REQ_EV                    (DWORD)(EURRC_EVENT_BASE + 12)

+/*EUCER-EUSIR*/ 

+

+#define EURRC_CER_SI_CHGED_IND_EV                (DWORD)(EURRC_EVENT_BASE + 13)

+

+/*EUCSR-EUMCR*/  

+#define EURRC_CELL_RESEL_REJ_EV                  (DWORD)(EURRC_EVENT_BASE + 14)

+#define EURRC_PLMN_SEL_IND_EV                    (DWORD)(EURRC_EVENT_BASE + 15)

+#define EURRC_MCR_RAT_IND_EV                     (DWORD)(EURRC_EVENT_BASE + 16)

+

+#define EURRC_CELL_RESEL_REQ_EV                  (DWORD)(EURRC_EVENT_BASE + 17)

+#define EURRC_CSR_OUTOF_SERVICE_IND_EV           (DWORD)(EURRC_EVENT_BASE + 18)

+/*EUCSR-EUSIR*/ 

+

+#define EURRC_READ_SI_REQ_EV                     (DWORD)(EURRC_EVENT_BASE + 19)

+#define EURRC_ABORT_SI_READ_REQ_EV               (DWORD)(EURRC_EVENT_BASE + 20)

+               

+#define EURRC_CSR_CELL_STATE_IND_EV              (DWORD)(EURRC_EVENT_BASE + 21)

+#define EURRC_CSG_IND_EV                         (DWORD)(EURRC_EVENT_BASE + 22)

+#define EURRC_WARNING_NOTIFY_INFO_EV             (DWORD)(EURRC_EVENT_BASE + 23)

+

+/*EUCSR-EUCER*/ 

+#define EURRC_CER_RAT_IND_EV                     (DWORD)(EURRC_EVENT_BASE + 24)

+

+

+/*UMCR-EUSIR*/ 

+ /*UMCR-EUSIR  ͬEURRC_READSI_REQ_EV

+                  EURRC_ABORTSIREAD_REQ_EV */

+

+#define EURRC_MCR_SI_CHGED_IND_EV                (DWORD)(EURRC_EVENT_BASE + 25)

+#define EURRC_CGI_CNF_EV                         (DWORD)(EURRC_EVENT_BASE + 26) 

+#define EURRC_GET_RF_REQ_EV                      (DWORD)(EURRC_EVENT_BASE + 27) 

+#define EURRC_GET_RF_CNF_EV                      (DWORD)(EURRC_EVENT_BASE + 28)

+#define EURRC_CSG_PROXIMITY_IND_EV               (DWORD)(EURRC_EVENT_BASE + 29)

+#define EURRC_SI_END_FOR_HO_EV                   (DWORD)(EURRC_EVENT_BASE + 30)

+#define EURRC_MDT_CONFIG_REQ_EV                  (DWORD)(EURRC_EVENT_BASE + 31)

+#define EURRC_MCR_CGI_PEND_REQ_EV                (DWORD)(EURRC_EVENT_BASE + 32)

+#define EURRC_MCR_CGI_PEND_CNF_EV                (DWORD)(EURRC_EVENT_BASE + 33)

+#define EURRC_INTEREST_FREQ_CHNG_IND_EV          (DWORD)(EURRC_EVENT_BASE + 34)

+#define EURRC_CER_SELFHO_REQ_EV                  (DWORD)(EURRC_EVENT_BASE + 35)

+#define EURRC_NETWORK_TIME_INFO_IND_EV           (DWORD)(EURRC_EVENT_BASE + 36)

+#define EURRC_RRC_STATE_CHNG_IND_EV              (DWORD)(EURRC_EVENT_BASE + 37)

+#define EURRC_EUCER_RESUME_MBMS_REQ_EV           (DWORD)(EURRC_EVENT_BASE + 38)

+#define EURRC_EUCER_ABORT_MBMS_REQ_EV            (DWORD)(EURRC_EVENT_BASE + 39)

+#define EURRC_CSR_XCELL_IND_EV                   (DWORD)(EURRC_EVENT_BASE + 40)

+#define EURRC_EUMCR_START_MEAS_REQ_EV            (DWORD)(EURRC_EVENT_BASE + 41)

+#define EURRC_CSR_RESEL_START_EV                 (DWORD)(EURRC_EVENT_BASE + 42)

+#define EURRC_CSR_RESEL_END_EV                   (DWORD)(EURRC_EVENT_BASE + 43)

+#define EURRC_CSR_SI_CHGED_IND_EV                (DWORD)(EURRC_EVENT_BASE + 44)

+//LBS

+#define EURRC_CELL_MEAS_IND_EV                   (DWORD)(EURRC_EVENT_BASE + 45)

+#define EURRC_EUMCR_START_LBS_REQ_EV             (DWORD)(EURRC_EVENT_BASE + 46)

+#define EURRC_EUMCR_STOP_LBS_REQ_EV              (DWORD)(EURRC_EVENT_BASE + 47)

+#define EURRC_EUCER_UE_INFO_RLF_9E0_EV           (DWORD)(EURRC_EVENT_BASE + 48)

+#define EURRC_EUCER_UE_CAPA_LTE_9D0_EV           (DWORD)(EURRC_EVENT_BASE + 49)

+#define EURRC_MEAS_GAP_CONFIG_REQ_EV             (DWORD)(EURRC_EVENT_BASE + 50)

+#define EURRC_CER_REL_REQ_EV                     (DWORD)(EURRC_EVENT_BASE + 51)

+

+

+/*EURRC<->L1E*/

+#define EURRC_L1E_MEAS_SUSPEND_EV                (DWORD)(EURRC_L1E_EVENT_BASE + 0)

+#define EURRC_L1E_MEAS_RESUME_EV                 (DWORD)(EURRC_L1E_EVENT_BASE + 1)

+#define EURRC_L1E_GSM_MEAS_STOP_EV               (DWORD)(EURRC_L1E_EVENT_BASE + 2)

+#define EURRC_L1E_UTRA_MEAS_STOP_EV              (DWORD)(EURRC_L1E_EVENT_BASE + 3)

+#define EURRC_L1E_GSM_MEAS_CONFIG_EV             (DWORD)(EURRC_L1E_EVENT_BASE + 4)

+#define EURRC_L1E_TD_MEAS_CONFIG_EV              (DWORD)(EURRC_L1E_EVENT_BASE + 5)

+#define EURRC_L1E_RESOURCE_REL_EV                (DWORD)(EURRC_L1E_EVENT_BASE + 6)

+#define EURRC_L1E_RESOURCE_REQ_EV                (DWORD)(EURRC_L1E_EVENT_BASE + 7)

+#define EURRC_L1E_SI_END_IND_EV                  (DWORD)(EURRC_L1E_EVENT_BASE + 8)

+#define EURRC_L1E_GET_RF_REQ_EV                  (DWORD)(EURRC_L1E_EVENT_BASE + 9)

+#define EURRC_L1E_STATE_IND_EV                   (DWORD)(EURRC_L1E_EVENT_BASE + 10)

+#define EURRC_L1E_TRACE_IND_EV                   (DWORD)(EURRC_L1E_EVENT_BASE + 11)

+#define EURRC_L1E_W_MEAS_CONFIG_REQ_EV           (DWORD)(EURRC_L1E_EVENT_BASE + 12)

+#define EURRC_L1E_IRAT_CGI_REQ_EV                (DWORD)(EURRC_L1E_EVENT_BASE + 13)

+#define EURRC_L1E_IRAT_CGI_END_EV                (DWORD)(EURRC_L1E_EVENT_BASE + 14)

+

+#define L1E_EURRC_RESOURCE_CNF_EV                (DWORD)(EURRC_L1E_RSP_EVENT + 0)

+#define L1E_EURRC_GSM_MEAS_IND_EV                (DWORD)(EURRC_L1E_RSP_EVENT + 1)

+#define L1E_EURRC_TD_LIST_MEAS_IND_EV            (DWORD)(EURRC_L1E_RSP_EVENT + 2)

+#define L1E_EURRC_TD_BLIND_MEAS_IND_EV           (DWORD)(EURRC_L1E_RSP_EVENT + 3)

+#define EURRC_L1E_GET_RF_CNF_EV                  (DWORD)(EURRC_L1E_RSP_EVENT + 4)

+#define L1E_EURRC_W_MEAS_RLT_IND_EV              (DWORD)(EURRC_L1E_RSP_EVENT + 5)

+/* ========================================================================

+ LTEЭÒéÕ»ºÍÎïÀí²ãÏûϢʼþÖ®¼äµÄÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+/* PS -> EPHY MSG ID */

+#define LTE_P_FREQ_SCAN_REQ_EV                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 0)

+#define LTE_P_CELL_SEARCH_REQ_EV                 (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 1)

+#define LTE_P_READ_SIB1_REQ_EV                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 2)

+#define LTE_P_SCHED_SI_REQ_EV                    (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 3)

+#define LTE_P_ABORT_SI_READ_REQ_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 4)

+#define LTE_P_ABORT_CELL_SEARCH_REQ_EV           (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 5)

+#define LTE_P_MEAS_CONFIG_REQ_EV                 (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 6)

+#define LTE_P_MEAS_GAP_CONFIG_REQ_EV             (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 7)

+#define LTE_P_MEAS_MASK_SET_REQ_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 8)

+#define LTE_P_ABORT_MEAS_REQ_EV                  (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 9)

+#define LTE_P_EARFCN_BAND_INFO_EV                (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 10)

+#define LTE_P_COMMON_CONFIG_REQ_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 11)

+#define LTE_P_DEDICATED_CONFIG_REQ_EV            (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 12)

+#define LTE_P_HANDOVER_REQ_EV                    (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 13)

+#define LTE_P_MAC_RESET_REQ_EV                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 14)

+#define LTE_P_REL_REQ_EV                         (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 15)

+#define LTE_P_ACCESS_REQ_EV                      (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 16)

+#define LTE_P_ABORT_ACCESS_REQ_EV                (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 17)

+#define LTE_P_TA_CMD_REQ_EV                      (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 18)

+#define LTE_P_DRX_CMD_REQ_EV                     (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 19)

+#define LTE_P_TA_TIMER_STOP_IND_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 20)

+#define LTE_P_FREQ_LIST_CONFIG_REQ_EV            (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 21)

+#define LTE_P_IRAT_MEAS_CONFIG_REQ_EV            (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 22)

+#define LTE_P_ABORT_GAP_REQ_EV                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 23)

+#define LTE_P_IRAT_MEAS_GAP_CONFIG_REQ_EV        (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 24)

+#define LTE_P_IDLE_PERIOD_REP_REQ_EV             (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 25)

+#define LTE_P_SET_MODE_REQ_EV                    (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 26)

+#define LTE_P_RESET_REQ_EV                       (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 27)

+#define LTE_P_IRAT_GAP_CONFIG_REQ_EV             (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 28)

+#define LTE_P_WAKEUP_REQ_EV                      (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 29)

+#define ZPS_LTE_ZEPCG_REQ                        (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 30)

+#define LTE_P_GRNTI_CONFIG_REQ_EV                (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 31)

+#define LTE_P_BTRUNK_TTCH_CONFIG_REQ_EV          (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 32)

+#define LTE_P_DEDICATECD_REL_REQ_EV              (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 33)

+#define LTE_P_BTRUNK_CONFIG_REL_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 34)

+#define LTE_P_ACT_DEACT_SCELL_CTRL_ELEMNT_IND_EV (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 35)

+#define LTE_P_MCCH_CFG_REQ_EV                    (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 36)

+#define LTE_P_MTCH_CFG_REQ_EV                    (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 37)

+#define LTE_P_MTCH_MASK_SET_REQ_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 38)

+#define LTE_P_PMCH_REL_REQ_EV                    (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 39)

+#define LTE_P_MSI_REQ_EV                         (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 40)

+#define LTE_P_CARD2_GAP_REQ_EV                   (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 41) /*T_zLTE_P_card2_gap_req*/

+#define LTE_P_CARD2_GAP_REL_REQ_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 42) /*T_zLTE_P_card2_gap_rel_req*/

+#define LTE_P_CARD2_STOP_GAP_REQ_EV              (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 43) /*T_zLTE_P_card2_stop_gap_req*/

+#define LTE_P_CARD1_SUSPEND_REQ_EV               (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 44) /*T_zLTE_P_card1_suspend_req*/

+#define LTE_P_CARD1_RESUME_REQ_EV                (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 45) /*T_zLTE_P_card1_resume_req*/

+#define LTE_P_MEAS_PERIOD_CHG_REQ_EV             (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 46)

+#define LTE_P_AMT_MSG_REQ_EV                     (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 47)

+#define LTE_P_RPI_SET_REQ_EV                     (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 48)

+#define LTE_P_RPI_CFG_REQ_EV                     (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 49)

+#define LTE_P_OTDOA_CONFIG_REQ_EV                (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 50)

+#define LTE_P_OTDOA_MEAS_ABORT_EV                (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 51)

+#define ZPS_LTE_CARD_SWITCH_REQ                  (DWORD)(LTE_PS_EUPHY_EVENT_BASE + 52)

+

+

+

+/* EPHY -> PS MSG ID */

+#define LTE_P_SI_DATA_IND_EV                     (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 0)

+#define LTE_P_PBCH_READ_FAIL_IND_EV              (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 1)

+#define LTE_P_FREQ_SCAN_CNF_EV                   (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 2)

+#define LTE_P_CELL_SEARCH_CNF_EV                 (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 3)

+#define LTE_P_PCH_DATA_IND_EV                    (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 4)

+#define LTE_P_INTRA_MEAS_IND_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 5)

+#define LTE_P_INTER_MEAS_IND_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 6)

+#define LTE_P_DRX_STATE_IND_EV                   (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 7)

+#define LTE_P_HANDOVER_CNF_EV                    (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 8)

+#define LTE_P_OUT_OF_SYNC_IND_EV                 (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 9)

+#define LTE_P_RECOVERY_SYNC_IND_EV               (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 10)

+#define LTE_P_PUCCH_SRS_REL_IND_EV               (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 11)

+#define LTE_P_REL_CNF_EV                         (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 12)

+#define LTE_P_ACCESS_CNF_EV                      (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 13)

+#define LTE_P_EUMAC_INIT_RA_REQ_EV               (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 14)

+#define LTE_P_RA_RESPONSE_IND_EV                 (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 15)

+#define LTE_P_DLSCH_DATA_IND_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 16)

+#define LTE_P_IRAT_MEAS_IND_EV                   (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 17)

+#define LTE_P_ABORT_GAP_CNF_EV                   (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 18)

+#define LTE_P_RESET_CNF_EV                       (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 19) 

+#define LTE_P_INACTIVE_TIME_IND_EV               (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 20)

+#define LTE_P_SLEEP_TIME_IND_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 21)

+#define ZPS_LTE_ZEPCG_CNF                        (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 22)

+#define LTE_P_EMBMS_DATA_IND_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 23)

+#define LTE_P_ULGRANT_IND_EV                     (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 24)

+#define LTE_P_OTDOA_MEAS_RLT_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 25)

+#define LTE_P_C0_SAVE_IND_EV                      (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 26)

+#define LTE_P_BTRUNK_CQI_IND_EV                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 27)

+#define LTE_P_LISTENINGHO_CNF_EV                 (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 28)

+#define LTE_P_BTRUNK_PCH_DATA_IND_EV             (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 29)

+#define EPDCP_EDCP_COMPLETE_IND                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 30) 

+#define EURLC_EMAC_COMPLETE_IND                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 31) 

+#define LTE_P_CARD2_GAP_IND_EV                   (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 32) /*T_zLTE_P_card2_gap_ind*/

+#define LTE_P_CARD2_GAP_REL_CNF_EV               (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 33)

+#define LTE_P_CARD2_STOP_GAP_CNF_EV              (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 34)

+#define LTE_P_CARD1_SUSPEND_CNF_EV               (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 35)

+#define LTE_P_PHYWAKEUPPS_REQ_EV                 (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 36)

+#define LTE_P_ICP_REQ_EV                         (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 37)

+#define LTE_P_AMT_MSG_IND_EV                     (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 38)

+#define ZPS_LTE_CARD_SWITCH_CNF                  (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 39)

+

+

+#if 0

+#define LTE_P_RF_ERR_IND_EV                      (DWORD)(LTE_PS_EUPHY_RSP_EVENT + 40)

+#endif

+

+

+/* ========================================================================

+ LTEЭÒéÕ»ºÍTRSÖ®¼äµÄÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TRS_ESM_DATA_REQ_EV                      (DWORD)(TRS_ESM_EVENT_BASE + 0)     

+#define TRS_ESM_L3TC_DATA_REQ_EV                 (DWORD)(TRS_ESM_EVENT_BASE + 1)

+#define TRS_ESM_ACT_DED_EBCON_ACC_EV             (DWORD)(TRS_ESM_RSP_EVENT + 0)

+#define TRS_ESM_ACT_DED_EBCON_REJ_EV             (DWORD)(TRS_ESM_RSP_EVENT + 1)

+#define TRS_ESM_ACT_DEF_EBCON_ACC_EV             (DWORD)(TRS_ESM_RSP_EVENT + 2)

+#define TRS_ESM_ACT_DEF_EBCON_REJ_EV             (DWORD)(TRS_ESM_RSP_EVENT + 3)

+#define TRS_ESM_BR_ALLOC_REQ_EV                  (DWORD)(TRS_ESM_RSP_EVENT + 4)

+#define TRS_ESM_BR_MOD_REQ_EV                    (DWORD)(TRS_ESM_RSP_EVENT + 5)

+#define TRS_ESM_DEACT_EBCON_ACC_EV               (DWORD)(TRS_ESM_RSP_EVENT + 6)

+#define TRS_ESM_ESMINFO_RSP_EV                   (DWORD)(TRS_ESM_RSP_EVENT + 7)

+#define TRS_ESM_ESMSTATUS_EV                     (DWORD)(TRS_ESM_RSP_EVENT + 8)

+#define TRS_ESM_MOD_EBCON_ACC_EV                 (DWORD)(TRS_ESM_RSP_EVENT + 9)

+#define TRS_ESM_MOD_EBCON_REJ_EV                 (DWORD)(TRS_ESM_RSP_EVENT + 10)

+#define TRS_ESM_PDN_CON_REQ_EV                   (DWORD)(TRS_ESM_RSP_EVENT + 11)

+#define TRS_ESM_PDN_DISC_REQ_EV                  (DWORD)(TRS_ESM_RSP_EVENT + 12)

+#define TRS_ESM_L3TC_CLOSE_UETEST_LOOP_CMP_EV    (DWORD)(TRS_ESM_RSP_EVENT + 13)

+#define TRS_ESM_L3TC_OPEN_UETEST_LOOP_CMP_EV     (DWORD)(TRS_ESM_RSP_EVENT + 14)

+#define TRS_ESM_L3TC_ACT_TEST_MODE_CMP_EV        (DWORD)(TRS_ESM_RSP_EVENT + 15)

+#define TRS_ESM_L3TC_DEACT_TEST_MODE_CMP_EV      (DWORD)(TRS_ESM_RSP_EVENT + 16)

+#define TRS_ESM_L3TC_OPEN_UETEST_LOOP_CMBMSPACKETCNT_RESP_EV     (DWORD)(TRS_ESM_RSP_EVENT + 17)

+/* TRS -> MME_EMM */

+#define TRS_EMM_DATA_REQ_EV                      (DWORD)(TRS_EMM_EVENT_BASE + 0) 

+#define TRS_EMM_MAPPED_SEC_PARAM_Ev      (DWORD)(TRS_EMM_EVENT_BASE + 1)

+#define TRS_EMM_PS_HO_FROM_EUTRA_Ev      (DWORD)(TRS_EMM_EVENT_BASE + 2)

+#define TRS_EMM_PS_HO_TO_EUTRA_Ev           (DWORD)(TRS_EMM_EVENT_BASE + 3)

+/* MME_EMM ->TRS */

+#define ENB_TRS_ESM_CMD_EV                       (DWORD)(TRS_EMM_RSP_EVENT + 0)

+#define TRS_EMM_L3MSG_ATTACH_REQ_EV              (DWORD)(TRS_EMM_RSP_EVENT + 1)

+#define TRS_EMM_L3MSG_ATTACH_CMP_EV              (DWORD)(TRS_EMM_RSP_EVENT + 2)

+#define TRS_EMM_L3MSG_AUTH_FAIL_EV               (DWORD)(TRS_EMM_RSP_EVENT + 3)

+#define TRS_EMM_L3MSG_AUTH_REJ_EV                (DWORD)(TRS_EMM_RSP_EVENT + 4)

+#define TRS_EMM_L3MSG_AUTH_RSP_EV                (DWORD)(TRS_EMM_RSP_EVENT + 5)

+#define TRS_EMM_L3MSG_DETACH_APT_EV              (DWORD)(TRS_EMM_RSP_EVENT + 6)

+#define TRS_EMM_L3MSG_DETACH_REQ_EV              (DWORD)(TRS_EMM_RSP_EVENT + 7)

+#define TRS_EMM_L3MSG_ULNAS_TRANS_EV             (DWORD)(TRS_EMM_RSP_EVENT + 8)

+#define TRS_EMM_L3MSG_SERVICE_REQ_EV             (DWORD)(TRS_EMM_RSP_EVENT + 9)

+#define TRS_EMM_L3MSG_EXSERVICE_REQ_EV           (DWORD)(TRS_EMM_RSP_EVENT + 10)

+#define TRS_EMM_L3MSG_GUTI_CMP_EV                (DWORD)(TRS_EMM_RSP_EVENT + 11)

+#define TRS_EMM_L3MSG_IDNT_RSP_EV                (DWORD)(TRS_EMM_RSP_EVENT + 12)

+#define TRS_EMM_L3MSG_SMC_COM_EV                 (DWORD)(TRS_EMM_RSP_EVENT + 13)

+#define TRS_EMM_L3MSG_SMC_REJ_EV                 (DWORD)(TRS_EMM_RSP_EVENT + 14)

+#define TRS_EMM_L3MSG_TAU_REQ_EV                 (DWORD)(TRS_EMM_RSP_EVENT + 15)

+#define TRS_EMM_L3MSG_TAU_CMP_EV                 (DWORD)(TRS_EMM_RSP_EVENT + 16)

+#define TRS_EMM_L3MSG_EMMSTATUS_EV               (DWORD)(TRS_EMM_RSP_EVENT + 17)

+#define TRS_EMM_DATA_IND_EV                      (DWORD)(TRS_EMM_RSP_EVENT + 18)

+

+#define ENB_EMM_ESM_DATA_REQ_EV                  (DWORD)(ENB_EMM_ESM_EVENT_BASE + 0) 

+#define ENB_EMM_ESM_DATA_IND_EV                  (DWORD)(ENB_EMM_ESM_RSP_EVENT + 0) 

+/* MME_EMM -> ENBRRC */

+#define ENB_RRC_EMM_DATA_REQ_EV                  (DWORD)(ENB_RRC_EMM_EVENT_BASE + 0) 

+#define ENB_RRC_EMM_DLSQN_EV                       (DWORD)(ENB_RRC_EMM_EVENT_BASE + 1) 

+/* ENBRRC -> MME_EMM */

+#define ENB_RRC_EMM_DATA_IND_EV                  (DWORD)(ENB_RRC_EMM_RSP_EVENT + 0) 

+

+

+/* ÆäËüLTE²âÊÔÄ£¿éÏûÏ¢IDºêÌí¼Ó´¦*/

+#define ENBRRC_RRC_CONN_REQ_EV                   (DWORD)(ENB_RRC_EVENT_BASE + 0)

+#define ENBRRC_RRC_CONN_SETUP_EV                 (DWORD)(ENB_RRC_EVENT_BASE + 1)

+#define ENBRRC_RRC_CONN_REJ_EV                   (DWORD)(ENB_RRC_EVENT_BASE + 2)

+#define ENBRRC_RRC_CONN_CMP_EV                   (DWORD)(ENB_RRC_EVENT_BASE + 3)

+#define ENBRRC_SEC_MODE_CMD_EV                   (DWORD)(ENB_RRC_EVENT_BASE + 4)

+#define ENBRRC_SEC_MODE_CMP_EV                   (DWORD)(ENB_RRC_EVENT_BASE + 5)

+#define ENBRRC_SEC_MODE_FAIL_EV                  (DWORD)(ENB_RRC_EVENT_BASE + 6)

+#define ENBRRC_RRC_CONN_RECONFIG_EV              (DWORD)(ENB_RRC_EVENT_BASE + 7)

+#define ENBRRC_RRC_CONN_RECONFIG_CMP_EV          (DWORD)(ENB_RRC_EVENT_BASE + 8)

+#define ENBRRC_RRC_CONN_REEST_REQ_EV             (DWORD)(ENB_RRC_EVENT_BASE + 9)

+#define ENBRRC_RRC_CONN_REEST_EV                 (DWORD)(ENB_RRC_EVENT_BASE + 10)

+#define ENBRRC_RRC_CONN_REEST_REJ_EV             (DWORD)(ENB_RRC_EVENT_BASE + 11)

+#define ENBRRC_RRC_CONN_REEST_CMP_EV             (DWORD)(ENB_RRC_EVENT_BASE + 12)

+#define ENBRRC_RRC_CONN_REL_EV                   (DWORD)(ENB_RRC_EVENT_BASE + 13)

+#define ENBRRC_UE_CAP_ENQUIRY_EV                 (DWORD)(ENB_RRC_EVENT_BASE + 14)

+#define ENBRRC_UE_CAP_INFO_EV                    (DWORD)(ENB_RRC_EVENT_BASE + 15)

+#define ENBRRC_UE_MEAS_RPT_EV                    (DWORD)(ENB_RRC_EVENT_BASE + 16)

+#define ENB_NASRRC_CMD_EV                        (DWORD)(ENB_RRC_EVENT_BASE + 17)

+#define ENB_NASRRC_RSP_EV                        (DWORD)(ENB_RRC_EVENT_BASE + 18)

+#define TRS_EPHY_UE_MEAS_REQ_EV                  (DWORD)(ENB_RRC_EVENT_BASE + 19)   

+#define TRS_EPHY_UE_CER_HO_REQ_CTL_EV            (DWORD)(ENB_RRC_EVENT_BASE + 20)

+#define ENBRRC_COUNTER_CHECK_SUCC_IND_EV         (DWORD)(ENB_RRC_EVENT_BASE + 21)

+#define ENBRRC_COUNTER_CHECK_FAIL_IND_EV         (DWORD)(ENB_RRC_EVENT_BASE + 22)

+#define ENBRRC_MOBILITY_FROM_EUTRA_EV            (DWORD)(ENB_RRC_EVENT_BASE + 23)

+#define ENBRRC_START_HO_FROM_EUTRA_IND_EV        (DWORD)(ENB_RRC_EVENT_BASE + 24)

+#define ENBRRC_START_HO_TO_EUTRA_EV              (DWORD)(ENB_RRC_EVENT_BASE + 25)

+#define ENBRRC_PROXIMITY_RPT_EV                  (DWORD)(ENB_RRC_EVENT_BASE + 26)

+#define ENBRRC_UE_INFO_REQ_EV                    (DWORD)(ENB_RRC_EVENT_BASE + 27)

+#define ENBRRC_UE_INFO_RSP_EV                    (DWORD)(ENB_RRC_EVENT_BASE + 28)

+#define ENBRRC_MBSFN_AREA_CONFIG_EV              (DWORD)(ENB_RRC_EVENT_BASE + 29)

+#define ENBRRC_MBMS_COUNTING_REQ_EV              (DWORD)(ENB_RRC_EVENT_BASE + 30)

+#define ENBRRC_TDLINFO_TRANS_EV              (DWORD)(ENB_RRC_EVENT_BASE + 31)

+#define ENBRRC_GROUPCALL_CONFIG_EV              (DWORD)(ENB_RRC_EVENT_BASE + 32)

+#define ENBRRC_GROUPCALL_RELEASE_EV              (DWORD)(ENB_RRC_EVENT_BASE + 33)

+#define ENRRC_NEIGHBOURINFO_CONFIG_EV              (DWORD)(ENB_RRC_EVENT_BASE + 34)

+

+

+#define ENRRC_ENPDCP_SMC_INTEGRITY_CHECK_REQ_EV  (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 0)

+#define ENRRC_ENPDCP_CONFIG_CIPHER_KEY_REQ_EV    (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 1)

+#define ENRRC_ENPDCP_CONFIG_INTEGRITY_KEY_REQ_EV (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 2)

+#define ENRRC_ENPDCP_CONFIG_REQ_EV               (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 3)

+#define ENRRC_ENPDCP_DATA_REQ_EV                 (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 4)

+#define ENRRC_ENPDCP_REESTABLISH_REQ_EV          (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 5)

+#define ENRRC_ENPDCP_RELEASE_REQ_EV              (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 6)

+#define ENRRC_ENPDCP_RESUME_REQ_EV               (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 7)

+#define ENRRC_ENPDCP_SUSPEND_REQ_EV              (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 8)

+#define ENRRC_ENPDCP_DECIPHER_AND_INTCHECK_REQ_EV (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 9)

+#define ENRRC_ENPDCP_SEC_CONFIG_REQ_EV           (DWORD)(ENRRC_ENPDCP_EVENT_BASE + 10)

+

+#define ENRRCENPDCP_SMC_INTEGRITY_CHECK_CNF_EV    (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 0)

+#define ENRRCENPDCP_DATA_IND_EV                   (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 1)

+#define ENRRCENPDCP_INTEGIRTY_FAIL_IND_EV         (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 2)

+#define ENRRCENPDCP_CONFIG_CNF_EV                 (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 3)

+#define ENRRCENPDCP_DATAC_NF_EV                   (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 4)

+#define ENRRCENPDCP_REESTABLISH_CNF_EV            (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 5)

+#define ENRRCENPDCP_ENABLE_UL_CIPHER_REQ_EV       (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 6)

+#define ENRRCENPDCP_ENABLE_UL_DECIPHER_REQ_EV     (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 7)

+#define ENRRCENPDCP_COUNTER_CHECK_REQ_EV          (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 8)

+#define ENRRCENPDCP_MDT_REQ_EV                    (DWORD)(ENRRC_ENPDCP_RSP_EVENT + 9)

+

+#define ENPDCP_EDCP_COMPLETE_IND                  (DWORD)(PS_ENDCP_RSP_EVENT + 0) 

+#define ENRLC_ENMAC_COMPLETE_IND                  (DWORD)(PS_ENDCP_RSP_EVENT + 1) 

+/* ========================================================================

+ ENPDCP TIMER ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ENPDCP_DISCARDTIMER_EV                   (DWORD)(ENPDCP_TIMER_EVENT_BASE + 0)

+/* ========================================================================

+   PDI - PDCP ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ENPDI_DATA_REQ_EV                        (DWORD)(ENPDI_ENPDCP_EVENT_BASE + 0)

+

+#define ENPDI_DATA_IND_EV                        (DWORD)(ENPDI_ENPDCP_RSP_EVENT + 0)

+#define ENPDI_NOT_READY_IND_EV                   (DWORD)(ENPDI_ENPDCP_RSP_EVENT + 1)

+#define ENPDI_READY_IND_EV                       (DWORD)(ENPDI_ENPDCP_RSP_EVENT + 2)

+

+

+/* ========================================================================

+   TRS ÏûÏ¢ºÅ¶¨ÒåΪGCF ²âÊÔ¶øÌí¼Ó2010/3/8 SHIFANGMING

+======================================================================== */

+

+#define LTE_GCF_STARTCHECK_REQ_EV                (DWORD)(LTE_GCF_TRS_EVENT_BASE + 0)

+#define LTE_GCF_CHECKPASS_IND_EV                 (DWORD)(LTE_GCF_TRS_EVENT_BASE + 1)

+#define LTE_GCF_CHECKFAIL_IND_EV                 (DWORD)(LTE_GCF_TRS_EVENT_BASE + 2)

+

+#define LTE_GCF_CHECK_TIMER_EV                   (DWORD)(LTE_GCF_TIMER_EVENT_BASE + 0)

+

+/* ========================================================================

+   ENRLC - TRS ÏûÏ¢ºÅ¶¨Òå2010/3/1 LIUHUAN

+======================================================================== */

+#define TRS_ENRLC_UMPDU_REQ_EV                   (DWORD)(TRS_ENRLC_EVENT_BASE + 0)

+#define TRS_ENRLC_AMPDU_REQ_EV                   (DWORD)(TRS_ENRLC_EVENT_BASE + 1)

+#define TRS_ENRLC_SDU_REQ_EV                     (DWORD)(TRS_ENRLC_EVENT_BASE + 2)

+#define TRS_ENRLC_AUTOACK_REQ_EV                 (DWORD)(TRS_ENRLC_EVENT_BASE + 3)

+

+/* ========================================================================

+   PDI - TRS ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define SIMULATI_DATA_REQ_EV                             (DWORD)(TRS_SIMULPDI_EVENT_BASE + 0)

+#define SIMULATI_PERIOD_DATA_REQ_EV                (DWORD)(TRS_SIMULPDI_EVENT_BASE + 1)

+#define SIMULATI_SEND_DATA_TIMER_EV                (DWORD)(TRS_SIMULPDI_EVENT_BASE + 2)

+#define SIMULATI_PERIOD_DATA_STOP_EV              (DWORD)(TRS_SIMULPDI_EVENT_BASE + 3)

+#define SIMULATI_CLEAR_STATISTICS_EV                (DWORD)(TRS_SIMULPDI_EVENT_BASE + 4)

+#define SIMULATI_SHOW_STATISTICS_EV                (DWORD)(TRS_SIMULPDI_EVENT_BASE + 5)

+#define SIMULATI_DATA_REQ_EX_EV                       (DWORD)(TRS_SIMULPDI_EVENT_BASE + 6)

+#define SIMULATI_DATA_IND_EV                             (DWORD)(TRS_SIMULPDI_EVENT_BASE + 7)

+#define SIMULPSI_CONFIG_EV                                (DWORD)(TRS_SIMULPDI_EVENT_BASE + 8)

+#define SIMULATI_ROHC_IPV4_DATA_CONFIG_EV    (DWORD)(TRS_SIMULPDI_EVENT_BASE + 9)

+#define SIMULATI_ROHC_IPV6_DATA_CONFIG_EV    (DWORD)(TRS_SIMULPDI_EVENT_BASE + 10)

+#define SIMULATI_ROHC_UDP_DATA_CONFIG_EV     (DWORD)(TRS_SIMULPDI_EVENT_BASE + 11)

+#define SIMULATI_ROHC_RTP_DATA_CONFIG_EV      (DWORD)(TRS_SIMULPDI_EVENT_BASE + 12)

+#define SIMULATI_ROHC_ESP_DATA_CONFIG_EV      (DWORD)(TRS_SIMULPDI_EVENT_BASE + 13)

+

+#define SIMULENPDI_DATA_REQ_EV                                (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 0)

+#define SIMULENPDI_PERIOD_DATA_REQ_EV                   (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 1)

+#define SIMULENPDI_SEND_DATA_TIMER_EV                   (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 2)

+#define SIMULENPDI_PERIOD_DATA_STOP_EV                 (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 3)

+#define SIMULENPDI_CLEAR_STATISTICS_EV                   (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 4)

+#define SIMULENPDI_SHOW_STATISTICS_EV                   (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 5)

+#define SIMULENPDI_DATA_REQ_EX_EV                          (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 6)

+#define SIMULENPDI_ROHC_IPV4_DATA_CONFIG_EV        (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 7)

+#define SIMULENPDI_ROHC_IPV6_DATA_CONFIG_EV        (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 8)

+#define SIMULENPDI_ROHC_UDP_DATA_CONFIG_EV         (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 9)

+#define SIMULENPDI_ROHC_RTP_DATA_CONFIG_EV         (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 10)

+#define SIMULENPDI_ROHC_ESP_DATA_CONFIG_EV         (DWORD)(TRS_SIMULENPDI_EVENT_BASE + 11)

+/* ========================================================================

+   ENRRCÓëENRLC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ENRRC_ENRLC_CONFIG_REQ_EV                (DWORD)(ENRRC_ENRLC_EVENT_BASE + 0)

+#define ENRRC_ENRLC_REESTABLISH_REQ_EV           (DWORD)(ENRRC_ENRLC_EVENT_BASE + 1)

+#define ENRRC_ENRLC_RELEASE_REQ_EV               (DWORD)(ENRRC_ENRLC_EVENT_BASE + 2)

+

+#define ENRLC_ENRRC_CONFIG_CNF_EV                (DWORD)(ENRRC_ENRLC_RSP_EVENT + 0)

+#define ENRLC_ENRRC_REESTABLISH_CNF_EV           (DWORD)(ENRRC_ENRLC_RSP_EVENT + 1)

+#define ENRLC_ENRRC_RETX_FAIL_IND_EV             (DWORD)(ENRRC_ENRLC_RSP_EVENT + 2)

+/* ========================================================================

+  UMģʽÉÏÐÐÊý¾ÝÈ·ÈÏÏûÏ¢

+======================================================================== */

+#define ENRLC_ENPDCP_UMDATA_CNF_EV               (DWORD)(ENPDCP_ENRLC_EVENT_BASE + 0)

+

+

+/* ========================================================================

+   ENRLC ¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define ENRLC_REORDERING_TIMER_EV                (DWORD)(ENRLC_TIMER_EVENT_BASE + 0)

+/*EPHY--->ENMAC*/       

+#define EPHY_ENMAC_DATA_IND_EV                   (DWORD)(ENMAC_EPHY_RSP_EVENT + 0)   /*EUMAC·¢Ë͵ÄÊý¾Ýµ½´ï*/

+    

+/***************************************************** ¶ÔÓ¦UE²àRRC Ïà¹ØÏûÏ¢ *********** Êý¾ÝÃæÕâÀïÓ¦¸Ã²»ÐèÒªÕâЩÏûÏ¢ ÕâÀïµÄ¶¨ÒåÊÇÒÔ·ÀÍòÒ» ******************************************************/

+#define ENMAC_CCCH_DATA_REQ_EV                   (DWORD)(ENRRC_ENMAC_EVENT_BASE + 0)  /*RRC²àÇëÇóCCCHÊý¾Ý*/

+#define ENMAC_COMM_CONFIG_REQ_EV                 (DWORD)(ENRRC_ENMAC_EVENT_BASE + 1)  /*RRC²à·¢ËÍͨÓÃÅäÖÃÊý¾Ý*/

+#define ENMAC_DEDI_CONFIG_REQ_EV                 (DWORD)(ENRRC_ENMAC_EVENT_BASE + 2)  /*RRC²à·¢ËÍרÓÃÅäÖÃÊý¾Ý*/

+#define ENMAC_REL_REQ_EV                         (DWORD)(ENRRC_ENMAC_EVENT_BASE + 3)  /*RRC²àÇëÇóMACÊÍ·Å×ÊÔ´¡¢Í˳öÁ¬½Ó̬*/

+#define ENMAC_RESET_MAC_REQ_EV                   (DWORD)(ENRRC_ENMAC_EVENT_BASE + 4)  /*RRC²àÇëÇóMAC RESET*/

+#define ENMAC_RESUME_RB_REQ_EV                   (DWORD)(ENRRC_ENMAC_EVENT_BASE + 5)  /*RRC²àÇëÇó»Ö¸´RB*/

+#define ENMAC_SUSPEND_RB_REQ_EV                  (DWORD)(ENRRC_ENMAC_EVENT_BASE + 6)  /*RRC²àÇëÇóÔÝÍ£RB*/

+#define ENMAC_ACTIVE_CONFIG_REQ_EV               (DWORD)(ENRRC_ENMAC_EVENT_BASE + 7)

+

+

+

+#define ENMAC_CCCH_DATA_IND_EV                   (DWORD)(ENRRC_ENMAC_RSP_EVENT + 0)   /*MAC¸æÖªRRC CCCH Êý¾Ýµ½´ï*/   

+#define ENMAC_RA_PROBLEM_IND_EV                  (DWORD)(ENRRC_ENMAC_RSP_EVENT + 1)   /*MAC¸æÖªRRC RA ÖØ´«´ÎÊý¹ý¶à*/

+#define ENMAC_RA_SUCCESS_IND_EV                  (DWORD)(ENRRC_ENMAC_RSP_EVENT + 2)   /*MAC¸æÖªRRC RA ³É¹¦*/

+

+/*TRS--->EPHY*/

+#define EPHY_TIMER_INTERUPT_EV                   (DWORD)(TRS_EPHY_EVENT_BASE + 1)        /* ×ÓÖ¡Öжϴ¥·¢ÏûÏ¢ */

+#define TRS_EPHY_DUPLICATE_SEND_CONFIG_EV        (DWORD)(TRS_EPHY_EVENT_BASE + 2)        /*TRSÏòEPHY·¢ËÍÖØ¸´·¢ËÍÊý¾ÝµÄÅäÖÃÏûÏ¢*/

+#define EPHY_DL_RARESULT_CONFIG_REQ_EV           (DWORD)(TRS_EPHY_EVENT_BASE + 3)        /*TRSÏòEPHY·¢ËÍ RA³É¹¦Óë·ñµÄÅäÖà */

+#define EPHY_DL_CRRESULT_CONFIG_REQ_EV           (DWORD)(TRS_EPHY_EVENT_BASE + 4)        /*TRSÏòEPHY·¢ËÍ CR³É¹¦Óë·ñµÄÅäÖà */

+#define TRS_EPHY_DISCARD_CONFIG_REQ_EV           (DWORD)(TRS_EPHY_EVENT_BASE + 5)        /*TRSÏòEPHY·¢ËÍ ¶ª°üµÄÅäÖà  */

+#define TRS_EPHY_GRANT_CONFIG_EV                 (DWORD)(TRS_EPHY_EVENT_BASE + 6)        /*TRSÏòEPHY·¢ËÍ ÊÚȨµÄÅäÖòÎÊý */

+#define TRS_EPHY_DISORDER_SEND_CONFIG_EV         (DWORD)(TRS_EPHY_EVENT_BASE + 7)        /*TRSÏòEPHY·¢ËÍÂÒÐò·¢Ë͵ÄÅäÖÃÏûÏ¢*/

+

+#define EPHY_ULGRANT_REQ_EV                      (DWORD)(TRS_EPHY_EVENT_BASE + 8)        /*¼¤·¢ÉÏÐÐ×éÖ¡*/

+#define EPHY_DLGRANT_REQ_EV                      (DWORD)(TRS_EPHY_EVENT_BASE + 9)        /*¼¤·¢ÏÂÐÐ×éÖ¡*/

+#define EPHY_GRANTARRAYCONFIG_REQ_EV             (DWORD)(TRS_EPHY_EVENT_BASE + 10)       /*ÅäÖÃÉÏÏÂÐÐÊÜȨÊý×é*/

+#define EPHY_IDLE_PERIOD_REP_CONFIG_REQ_EV       (DWORD)(TRS_EPHY_EVENT_BASE + 11)       /*ÅäÖÿÕÏÐʱ¼ä*/

+#define EPHY_CONFIG_REQ_EV                       (DWORD)(TRS_EPHY_EVENT_BASE + 12)       /*¹¤¾ß¶ÔEPHYµÄÅäÖÃ*/

+/* C# adaptor·¢Ë͵½ephyµÄÏûÏ¢£¬ÁÙʱ´æ·ÅÔÚÕâÀï*/

+#define TRS_FREQ_SCAN_IND                        (DWORD)(TRS_EPHY_EVENT_BASE + 13)

+#define TRS_CELL_SCAN_IND                        (DWORD)(TRS_EPHY_EVENT_BASE + 14)

+#define TRS_CELL_DEL_IND                         (DWORD)(TRS_EPHY_EVENT_BASE + 15)

+#define TRS_CELL_MOD_IND                         (DWORD)(TRS_EPHY_EVENT_BASE + 16)

+#define TRS_MODE_SET_IND                         (DWORD)(TRS_EPHY_EVENT_BASE + 17) // ÉèÖÃC#ģʽ£¬0 - auto £¬ 1- manual

+#define TRS_MSG_MODE_SET_IND                     (DWORD)(TRS_EPHY_EVENT_BASE + 18) // ÉèÖÃij¸öÏûÏ¢µÄģʽ£¬×Ô¶¯»òÊÖ¶¯

+#define EPHY_CELLINFOCONFIG_REQ_EV               (DWORD)(TRS_EPHY_EVENT_BASE + 19)

+#define EPHY_EXTGRANTCONFIG_REQ_EV               (DWORD)(TRS_EPHY_EVENT_BASE + 20)

+/*TRS--->ENMAC*/

+#define TRS_ENMAC_TA_CONFIG_REQ_EV               (DWORD)(TRS_ENMAC_EVENT_BASE + 1)       /*TRSÏòENMACUL·¢ËÍ×éÖ¡¹ý³ÌÊÇ·ñʹÓà TAÃüÁîÏûÏ¢  Я´øWORDÊý¾Ý£¬Îª0ʱ²»×éTA£¬·Ç0ʱ£¬Ê¹ÓøÃÖµ×éTA*/

+#define TRS_ENMAC_DRX_CONFIG_REQ_EV              (DWORD)(TRS_ENMAC_EVENT_BASE + 2)       /*TRSÏòENMACUL·¢ËÍ×éÖ¡¹ý³ÌÊÇ·ñʹÓà DRXÃüÁî ÏûÏ¢*/

+#define TRS_ENMAC_CCCH_CONFIG_REQ_EV             (DWORD)(TRS_ENMAC_EVENT_BASE + 3)     /*Я´øBYTEÊý¾Ý£¬BIT0Ϊ0ʱ£¬²»×éÖ¡CCCCHÊý¾Ý*/

+#define TRS_ENMAC_CRID_CONFIG_REQ_EV             (DWORD)(TRS_ENMAC_EVENT_BASE + 4)     /*Я´øBYTEÊý¾Ý£¬BIT0Ϊ0ʱ£¬²»×éÖ¡¾ºÕù½â¾öÉí·ÝÊý¾Ý£¬BIT0Ϊ1£¬ 

+                                                                                                                                                                                                                                            BIT1Ϊ0ʱ×éÖ¡·ÇÆ¥ÅäÊý¾Ý£¬ BIT0Ϊ1£¬BIT1Ϊ1ʱ£¬×éÖ¡ÕýÈ·Éí·ÝÊý¾Ý*/ 

+#define TRS_ENMAC_BACKOFF_CONFIG_REQ_EV          (DWORD)(TRS_ENMAC_EVENT_BASE + 5)     /*Я´øBYTEÊý¾Ý  Ôݶ¨*/

+

+#define ENMAC_MCCH_DATA_REQ_EV                   (DWORD)(ENMEL2_EVENT_BASE + 0 )

+#define ENRRC_ENMEL2_REL_CONFIG_REQ_EV           (DWORD)(ENMEL2_EVENT_BASE + 1)

+#define TRS_ENMEL2_RLC_SDU_REQ_EV                (DWORD)(ENMEL2_EVENT_BASE + 2)

+#define TRS_ENMEL2_RLC_PDU_REQ_EV                (DWORD)(ENMEL2_EVENT_BASE + 3)

+#define TRS_ENMEL2_MSI_CONFIG_REQ_EV             (DWORD)(ENMEL2_EVENT_BASE + 4)

+#define EUDBG_EMM_PLAIN_DL_MSG_EV                   (DWORD)(EUDBG_EVENT_BASE + 4)

+#define EUDBG_SEND_RLCSRBPDU_INFO_Ev             (DWORD)(EUDBG_EVENT_BASE + 5)

+#define EUDBG_RECV_RLCSRBPDU_INFO_Ev             (DWORD)(EUDBG_EVENT_BASE + 6)

+#define EUDBG_AM_SEND_STATUS_PDU_INFO_Ev         (DWORD)(EUDBG_EVENT_BASE + 7)

+#define EUDBG_AM_RECV_STATUS_PDU_INFO_Ev         (DWORD)(EUDBG_EVENT_BASE + 8)

+#define LTE_P_DLSCH_DATA_TRACE_EV                (DWORD)(EUDBG_EVENT_BASE + 9)

+#define LTE_P_ULSCH_DATA_TRACE_EV                (DWORD)(EUDBG_EVENT_BASE + 10)

+#define LTE_P_MAC_SR_REQ_EV                      (DWORD)(EUDBG_EVENT_BASE + 11)

+#define LTE_EL2_THROUGHPUT_IND_EV                (DWORD)(EUDBG_EVENT_BASE + 12)

+#define LTE_EL2_STATE_IND_EV                     (DWORD)(EUDBG_EVENT_BASE + 13)

+#define EUDBG_EMM_PLAIN_UL_MSG_EV                   (DWORD)(EUDBG_EVENT_BASE + 14)

+/* ========================================================================

+ LTEÏà¹ØµÄÏûÏ¢ºÅ¶¨Òå END

+======================================================================== */

+

+/* ========================================================================

+ ·²âÈí¼þÏà¹ØÊ¼þºÅ BEGIN

+======================================================================== */

+

+

+/* ========================================================================

+ ·²âÈí¼þÏà¹ØÊ¼þºÅ END

+======================================================================== */

+/* ========================================================================

+ WÏà¹ØÊ¼þºÅ START

+======================================================================== */

+/* ========================================================================

+   ASC£­UMTS ASÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+/* ========================================================================

+   WRRC£­SCIÏûÏ¢ºÅ¶¨Òå   W ÓëTD¹²Óà                                                    

+======================================================================== */

+

+/* ========================================================================

+  WRRC - ÄÚ²¿ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define WRRC_READ_SYSINFO_REQ_EV                 (DWORD)(WRRC_EVENT_BASE + 0)

+#define WRRC_READ_SYSINFO_IND_EV                 (DWORD)(WRRC_EVENT_BASE + 1)

+#define WRRC_READ_SYSINFO_REJ_EV                 (DWORD)(WRRC_EVENT_BASE + 2)

+#define WRRC_STOP_SYSINFO_REQ_EV                 (DWORD)(WRRC_EVENT_BASE + 3)

+#define WRRC_READ_DYN_SIB_REQ_EV                 (DWORD)(WRRC_EVENT_BASE + 4)

+#define WRRC_READ_DYN_SIB_CNF_EV                 (DWORD)(WRRC_EVENT_BASE + 5)

+#define WRRC_SIB_MODIFIED_IND_EV                 (DWORD)(WRRC_EVENT_BASE + 6)

+#define WRRC_CELLUPDATE_REQ_EV                   (DWORD)(WRRC_EVENT_BASE + 7)

+#define WRRC_CELL_RESEL_REQ_EV                   (DWORD)(WRRC_EVENT_BASE + 8)

+#define WRRC_CELL_INFO_IND_EV                    (DWORD)(WRRC_EVENT_BASE + 9)

+#define WRRC_REL_CONN_REQ_EV                     (DWORD)(WRRC_EVENT_BASE + 10)

+#define WRRC_RESUME_CELL_REQ_EV                  (DWORD)(WRRC_EVENT_BASE + 11)

+#define WRRC_RPLMN_INFO_IND_EV                   (DWORD)(WRRC_EVENT_BASE + 12)

+#define WRRC_RESOURE_CFG_REQ_EV                  (DWORD)(WRRC_EVENT_BASE + 13)

+#define WRRC_RESOURCE_CFG_IND_EV                 (DWORD)(WRRC_EVENT_BASE + 14)

+#define WRRC_UPDATE_EPLMN_REQ_EV                 (DWORD)(WRRC_EVENT_BASE + 15)

+#define WRRC_HIGH_MOBILITY_IND                   (DWORD)(WRRC_EVENT_BASE + 16)

+#define WRRC_HO_FROM_UTRAN_REQ_EV                (DWORD)(WRRC_EVENT_BASE + 17)

+#define WRRC_HO_FROM_UTRAN_REJ_EV                (DWORD)(WRRC_EVENT_BASE + 18)

+#define WRRC_HO_TO_UTRAN_REQ_EV                  (DWORD)(WRRC_EVENT_BASE + 19)

+#define WRRC_HO_TO_UTRAN_CNF_EV                  (DWORD)(WRRC_EVENT_BASE + 20)

+#define WRRC_HO_TO_UTRAN_REJ_EV                  (DWORD)(WRRC_EVENT_BASE + 21)

+#define WRRC_CCO_FROM_UTRAN_REQ_EV               (DWORD)(WRRC_EVENT_BASE + 22)

+#define WRRC_CCO_FROM_UTRAN_REJ_EV               (DWORD)(WRRC_EVENT_BASE + 23)

+#define WRRC_CCO_TO_UTRAN_IND_EV                 (DWORD)(WRRC_EVENT_BASE + 24)

+#define WRRC_CCO_TO_UTRAN_REJ_EV                 (DWORD)(WRRC_EVENT_BASE + 25)

+#define WRRC_RADIO_LINK_FAIL_IND_EV              (DWORD)(WRRC_EVENT_BASE + 26)    /*UECAPABILITYINFOÖØ´«Ê§°Üµ¼ÖÂÐ¡Çø¸üÐÂ*/

+#define WRRC_NEIBCELL_CHG_IND_EV                 (DWORD)(WRRC_EVENT_BASE + 27)

+#define WRRC_FACH_CFG_REQ_EV                     (DWORD)(WRRC_EVENT_BASE + 28)

+#define WRRC_FACH_CFG_IND_EV                     (DWORD)(WRRC_EVENT_BASE + 29)

+#define WRRC_DRX_CHANGE_IND_EV                   (DWORD)(WRRC_EVENT_BASE + 30)

+#define WRRC_SEND_BUF_EST_REQ_EV                 (DWORD)(WRRC_EVENT_BASE + 31)

+#define WRRC_ABORT_RATCHG_REQ_EV                 (DWORD)(WRRC_EVENT_BASE + 32)

+#define WRRC_CHG_CAMPON_TYPE_EV                  (DWORD)(WRRC_EVENT_BASE + 33)

+#define WRRC_GET_RF_REQ_EV                       (DWORD)(WRRC_EVENT_BASE + 34)          /*WSIR->WCSR*/

+#define WRRC_GET_RF_CNF_EV                       (DWORD)(WRRC_EVENT_BASE + 35)          /*WCSR->WSIR*/   

+#define WRRC_SYSINFO_CONTAINER_IND_EV            (DWORD)(WRRC_EVENT_BASE + 36)          /*WCSR->WSIR*/

+#define WRRC_ETWS_CFG_REQ_EV                     (DWORD)(WRRC_EVENT_BASE + 37)

+#define WRRC_ETWS_CFG_END_EV                     (DWORD)(WRRC_EVENT_BASE + 38)

+#define WRRC_ETWS_CONTINUE_REQ_EV                (DWORD)(WRRC_EVENT_BASE + 39)

+#define WRRC_EFACH_CFG_IND_EV                    (DWORD)(WRRC_EVENT_BASE + 40)          /*WCMR->WRBC*/

+#define WRRC_NEIGHBORCELL_HSSCCH_ORDER_REQ_EV    (DWORD)(WRRC_EVENT_BASE + 41) 

+#define WRRC_RBC_BUFFER_MSG_PROC_REQ_EV          (DWORD)(WRRC_EVENT_BASE + 42) 

+/* ========================================================================

+  WRLC - WRRC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CWRLC_CONFIG_REQ_EV                      (DWORD)(WRLC_WRRC_EVENT_BASE + 0)

+#define CWRLC_RELEASE_REQ_EV                     (DWORD)(WRLC_WRRC_EVENT_BASE + 1)

+#define CWRLC_SUSPEND_REQ_EV                     (DWORD)(WRLC_WRRC_EVENT_BASE + 2)

+#define CWRLC_RESUME_REQ_EV                      (DWORD)(WRLC_WRRC_EVENT_BASE + 3)

+#define CWRLC_CONTINUE_REQ_EV                    (DWORD)(WRLC_WRRC_EVENT_BASE + 4)

+#define UWRLC_DATA_REQ_EV                        (DWORD)(WRLC_WRRC_EVENT_BASE + 5)

+#define CWRLC_CBS_RBCONFIG_REQ_EV                (DWORD)(WRLC_WRRC_EVENT_BASE + 6)

+#define CWRLC_SET_DATA_NOTIFY_MODE_EV            (DWORD)(WRLC_WRRC_EVENT_BASE + 7)

+

+#define CWRLC_SUSPEND_CNF_EV                     (DWORD)(WRLC_WRRC_RSP_EVENT + 0)

+#define UWRLC_DATA_IND_EV                        (DWORD)(WRLC_WRRC_RSP_EVENT + 1)

+#define CWRLC_STATUS_IND_EV                      (DWORD)(WRLC_WRRC_RSP_EVENT + 2)

+#define UWRLC_DATA_CNF_EV                        (DWORD)(WRLC_WRRC_RSP_EVENT + 3)

+#define CWRLC_CONFIG_CNF_EV                      (DWORD)(WRLC_WRRC_RSP_EVENT + 4)

+#define CWRLC_PCH_ULDATA_TRANSFER_REQ_EV         (DWORD)(WRLC_WRRC_RSP_EVENT + 5)

+

+/* ========================================================================

+  WMAC - WRRC/WMAC - WMAC_MCR ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define CWMAC_ASC_PARA_REQ_EV                     (DWORD)(WMAC_WRRC_EVENT_BASE + 0)

+#define CWMAC_RACH_PARA_REQ_EV                    (DWORD)(WMAC_WRRC_EVENT_BASE + 1)

+#define CWMAC_TFC_CTRL_REQ_EV                     (DWORD)(WMAC_WRRC_EVENT_BASE + 2)

+#define CWMAC_CCTRCH_CONFIG_REQ_EV                (DWORD)(WMAC_WRRC_EVENT_BASE + 3)

+#define CWMAC_ACTTIME_NOTIFY_REQ_EV               (DWORD)(WMAC_WRRC_EVENT_BASE + 4)

+#define CWMAC_CONTINUE_REQ_EV                     (DWORD)(WMAC_WRRC_EVENT_BASE + 5)

+#define CWMAC_DEL_CONFIG_REQ_EV                   (DWORD)(WMAC_WRRC_EVENT_BASE + 6)

+#define CWMAC_RNTI_CONFIG_REQ_EV                  (DWORD)(WMAC_WRRC_EVENT_BASE + 7)

+#define CWMAC_ERNTI_CONFIG_REQ_EV                 (DWORD)(WMAC_WRRC_EVENT_BASE + 8)

+#define CWMAC_HS_RESET_REQ_EV                     (DWORD)(WMAC_WRRC_EVENT_BASE + 9)

+#define CWMAC_SRB_DELAY_CONFIG_REQ_EV       (DWORD)(WMAC_WRRC_EVENT_BASE + 10)

+#define CWMAC_TV_MEAS_REQ_EV                      (DWORD)(WMAC_WRRC_EVENT_BASE + 11)

+#define CWMAC_Q_MEAS_REQ_EV                       (DWORD)(WMAC_WRRC_EVENT_BASE + 12)

+#define CWMAC_UE_MEAS_REQ_EV                      (DWORD)(WMAC_WRRC_EVENT_BASE + 13)

+#define CWMAC_TV_MEAS_REL_REQ_EV                  (DWORD)(WMAC_WRRC_EVENT_BASE + 14)

+#define CWMAC_Q_MEAS_REL_REQ_EV                   (DWORD)(WMAC_WRRC_EVENT_BASE + 15)

+#define CWMAC_UE_MEAS_REL_REQ_EV                  (DWORD)(WMAC_WRRC_EVENT_BASE + 16)

+#define CWMAC_TV_MEAS_RESUME_REQ_EV               (DWORD)(WMAC_WRRC_EVENT_BASE + 17)

+#define CWMAC_TV_MEAS_SUSPEND_REQ_EV              (DWORD)(WMAC_WRRC_EVENT_BASE + 18)

+#define CWMAC_DL_MEAS_SUSPEND_REQ_EV              (DWORD)(WMAC_WRRC_EVENT_BASE + 19)

+#define CWMAC_DL_MEAS_RESUME_REQ_EV               (DWORD)(WMAC_WRRC_EVENT_BASE + 20)

+#define CWMAC_ADDTV_MEAS_REPORT_REQ_EV            (DWORD)(WMAC_WRRC_EVENT_BASE + 21)

+#define CWMAC_ADDQ_MEAS_REPORT_REQ_EV             (DWORD)(WMAC_WRRC_EVENT_BASE + 22)

+#define CWMAC_ADDUE_MEAS_REPORT_REQ_EV            (DWORD)(WMAC_WRRC_EVENT_BASE + 23)

+#define CWMAC_SUSPEND_REQ_EV                      (DWORD)(WMAC_WRRC_EVENT_BASE + 24)

+#define CWMAC_RESUME_REQ_EV                       (DWORD)(WMAC_WRRC_EVENT_BASE + 25)

+

+#define CWMAC_CONFIG_CHG_IND_EV                   (DWORD)(WMAC_WRRC_RSP_EVENT + 0)

+#define CWMAC_STATUS_IND_EV                       (DWORD)(WMAC_WRRC_RSP_EVENT + 1)

+#define CWMAC_EFACH_STATUS_IND_EV                 (DWORD)(WMAC_WRRC_RSP_EVENT + 2)

+#define UWMAC_PCCH_IND_EV                         (DWORD)(WMAC_WRRC_RSP_EVENT + 3)

+#define UWMAC_BCCH_IND_EV                         (DWORD)(WMAC_WRRC_RSP_EVENT + 4)

+#define CWMAC_ADDTV_MEAS_REPORT_IND_EV            (DWORD)(WMAC_WRRC_RSP_EVENT + 5)

+#define CWMAC_TV_MEAS_REPORT_IND_EV               (DWORD)(WMAC_WRRC_RSP_EVENT + 6)

+#define CWMAC_ADDQ_MEAS_REPORT_IND_EV             (DWORD)(WMAC_WRRC_RSP_EVENT + 7)

+#define CWMAC_ADDUE_MEAS_REPORT_IND_EV            (DWORD)(WMAC_WRRC_RSP_EVENT + 8)

+#define CWMAC_Q_MEAS_REPORT_IND_EV                (DWORD)(WMAC_WRRC_RSP_EVENT + 9)

+#define CWMAC_UE_MEAS_REPORT_IND_EV               (DWORD)(WMAC_WRRC_RSP_EVENT + 10)

+#define CWMAC_NOTIFY_DL_PERIOD_REPORT_REQ_EV      (DWORD)(WMAC_WRRC_RSP_EVENT + 11)

+/* ========================================================================

+   WMAC - UL/DL   -   WMAC-CÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+

+/* ========================================================================

+   L1W - WRRC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define L1W_GSM_MEAS_REQ_EV                      (DWORD)(L1W_WRRC_EVENT_BASE + 0)

+#define L1W_GSM_MEAS_DELETE_REQ_EV               (DWORD)(L1W_WRRC_EVENT_BASE + 1)

+#define L1W_GSM_MEAS_RESUME_REQ_EV               (DWORD)(L1W_WRRC_EVENT_BASE + 2)

+#define L1W_GSM_MEAS_SUSPEND_REQ_EV              (DWORD)(L1W_WRRC_EVENT_BASE + 3)

+#define L1W_GSM_MEAS_TONULL_REQ_EV               (DWORD)(L1W_WRRC_EVENT_BASE + 4)

+#define L1W_LTE_FREQ_LIST_CONFIG_REQ_EV          (DWORD)(L1W_WRRC_EVENT_BASE + 5)

+#define L1W_LTE_MEAS_MASK_SET_REQ_EV             (DWORD)(L1W_WRRC_EVENT_BASE + 6)

+#define L1W_GET_RF_REQ_EV                        (DWORD)(L1W_WRRC_EVENT_BASE + 7)

+#define L1W_PLMN_END_REQ_EV                      (DWORD)(L1W_WRRC_EVENT_BASE + 8)

+#define L1W_IRAT_RSRC_REQ_EV                     (DWORD)(L1W_WRRC_EVENT_BASE + 9)

+#define L1W_CM_CONFIG_REQ                        (DWORD)(L1W_WRRC_EVENT_BASE + 10)

+#define L1W_CM_FALLBACK_REQ                      (DWORD)(L1W_WRRC_EVENT_BASE + 11)

+#define L1W_WRRC_LEAVE3G_REQ                      (DWORD)(L1W_WRRC_EVENT_BASE + 12)

+

+#define L1W_GSM_MEAS_IND_EV                      (DWORD)(L1W_WRRC_RSP_EVENT + 0)

+#define L1W_GET_RF_CNF_EV                        (DWORD)(L1W_WRRC_RSP_EVENT + 1)

+#define L1W_IRAT_RSRC_CNF_EV                     (DWORD)(L1W_WRRC_RSP_EVENT + 2)

+#define L1W_LTE_MEAS_IND_EV                      (DWORD)(L1W_WRRC_RSP_EVENT + 3)

+#define L1W_CM_FALLBACK_IND                      (DWORD)(L1W_WRRC_RSP_EVENT + 4)

+#define L1W_CM_OVERLAP_IND                       (DWORD)(L1W_WRRC_RSP_EVENT + 5)

+#define L1W_CM_INFO_IND                          (DWORD)(L1W_WRRC_RSP_EVENT + 6)

+/* ========================================================================

+   PDCP - WRRC ÏûÏ¢ºÅ¶¨Òå(PDCPʼþºÅ¹²ÓÃ)

+======================================================================== */

+

+/* ========================================================================

+   WRLC -WMAC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+/* ========================================================================

+   L1W - WMAC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define WISR_FRAME_IND_EV                         (DWORD)(WMAC_L1W_EVENT_BASE + 0)

+/* ========================================================================

+   PDCP - URLC ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+#define UWRLC_PDCP_DATA_IND_EV                   (DWORD)(PDCP_WRLC_EVENT_BASE + 0)

+/* ========================================================================

+   USIR - UPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_BCH_READ_REQ_EV                        (DWORD)(WSIR_WPHY_EVENT_BASE + 0)

+#define W_P_BCH_OPEN_REQ_EV                        (DWORD)(WSIR_WPHY_EVENT_BASE + 1)

+#define W_P_BCH_RELEASE_REQ_EV                     (DWORD)(WSIR_WPHY_EVENT_BASE + 2)

+

+#define W_P_BCH_IND_EV                             (DWORD)(WSIR_WPHY_RSP_EVENT + 0)

+/* ========================================================================

+   WCSR - WPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_FREQUENCY_SCAN_REQ_EV                  (DWORD)(WCSR_WPHY_EVENT_BASE + 0)

+#define W_P_ABORT_FREQ_SCAN_REQ_EV                 (DWORD)(WCSR_WPHY_EVENT_BASE + 1)

+#define W_P_CELL_SEARCH_REQ_EV                     (DWORD)(WCSR_WPHY_EVENT_BASE + 2)

+#define W_P_ABORT_CELL_SEARCH_REQ_EV               (DWORD)(WCSR_WPHY_EVENT_BASE + 3)

+#define W_P_CAMPON_A_CELL_REQ_EV                   (DWORD)(WCSR_WPHY_EVENT_BASE + 4)

+#define W_P_REL_REQ_EV                             (DWORD)(WCSR_WPHY_EVENT_BASE + 5)

+#define W_P_RESET_REQ_EV                           (DWORD)(WCSR_WPHY_EVENT_BASE + 6)

+#define W_P_SET_IRAT_MODE_REQ_EV                   (DWORD)(WCSR_WPHY_EVENT_BASE + 7)

+#define W_P_RPI_SET_REQ_EV                         (DWORD)(WCSR_WPHY_EVENT_BASE + 8)

+#define W_P_RPI_CFG_REQ_EV                         (DWORD)(WCSR_WPHY_EVENT_BASE + 9)

+

+

+#define W_P_FREQUENCY_SCAN_IND_EV                  (DWORD)(WCSR_WPHY_RSP_EVENT + 0)

+#define W_P_CELL_SEARCH_IND_EV                     (DWORD)(WCSR_WPHY_RSP_EVENT + 1)

+#define W_P_RESET_CNF_EV                           (DWORD)(WCSR_WPHY_RSP_EVENT + 2)

+#define W_P_REL_CNF_EV                             (DWORD)(WCSR_WPHY_RSP_EVENT + 3)

+

+/* ========================================================================

+   WMCR - WPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_INTRA_FREQ_MEAS_REQ_EV                 (DWORD)(WMCR_WPHY_EVENT_BASE + 0)

+#define W_P_INTER_FREQ_MEAS_REQ_EV                 (DWORD)(WMCR_WPHY_EVENT_BASE + 1)

+#define W_P_FMO_INFO_REQ_EV                        (DWORD)(WMCR_WPHY_EVENT_BASE + 2)

+#define W_P_MEAS_REL_REQ_EV                        (DWORD)(WMCR_WPHY_EVENT_BASE + 3)

+

+#define W_P_INTRA_FREQ_MEAS_IND_EV                 (DWORD)(WMCR_WPHY_RSP_EVENT + 1)

+#define W_P_INTER_FREQ_MEAS_IND_EV                 (DWORD)(WMCR_WPHY_RSP_EVENT + 2)  

+#define W_P_SERVCELL_MEAS_IND_EV                   (DWORD)(WMCR_WPHY_RSP_EVENT + 3)

+

+

+/* ========================================================================

+   WRBC - WPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_DL_DPCH_SETUP_MODIFY_REQ_EV             (DWORD)(WRBC_WPHY_EVENT_BASE + 0)     

+#define W_P_DL_DPCH_REL_REQ_EV                      (DWORD)(WRBC_WPHY_EVENT_BASE + 1)                   

+#define W_P_UL_DPCH_SETUP_MODIFY_REQ_EV             (DWORD)(WRBC_WPHY_EVENT_BASE + 2)

+#define W_P_NEIGHBORCELL_HSSCCH_ORDER_REQ           (DWORD)(WRBC_WPHY_EVENT_BASE + 3)

+#define W_P_NEIGHBORCELL_HSSCCH_ORDER_ABORT_REQ     (DWORD)(WRBC_WPHY_EVENT_BASE + 4)           

+#define W_P_UL_DPCH_REL_REQ_EV                      (DWORD)(WRBC_WPHY_EVENT_BASE + 5)                  

+#define W_P_ADD_MODIFY_SCCPCH_REQ_EV                (DWORD)(WRBC_WPHY_EVENT_BASE + 6)              

+#define W_P_PAGING_REQ_EV                           (DWORD)(WRBC_WPHY_EVENT_BASE + 7)                         

+#define W_P_STOP_PAGING_REQ_EV                      (DWORD)(WRBC_WPHY_EVENT_BASE + 8)                     

+#define W_P_ADD_HSDPA_REQ_EV                        (DWORD)(WRBC_WPHY_EVENT_BASE + 9)                     

+#define W_P_REL_HSDPA_REQ_EV                        (DWORD)(WRBC_WPHY_EVENT_BASE + 10)                     

+#define W_P_REL_SCCPCH_REQ_EV                       (DWORD)(WRBC_WPHY_EVENT_BASE + 11)                    

+#define W_P_ADD_MODIFY_CBS_REQ_EV                   (DWORD)(WRBC_WPHY_EVENT_BASE + 12)                

+#define W_P_STOP_CBS_REQ_EV                         (DWORD)(WRBC_WPHY_EVENT_BASE + 13)                   

+#define W_P_L1_RESOURCE_CFG_FINAL_EV                (DWORD)(WRBC_WPHY_EVENT_BASE + 14)             

+#define W_P_ADD_HSUPA_REQ_EV                        (DWORD)(WRBC_WPHY_EVENT_BASE + 15)                  

+#define W_P_REL_HSUPA_REQ_EV                        (DWORD)(WRBC_WPHY_EVENT_BASE + 16)                     

+#define W_P_HSPA_PLUS_FACH_REQ_EV                   (DWORD)(WRBC_WPHY_EVENT_BASE + 17)                

+#define W_P_HSPA_PLUS_PCH_REQ_EV                    (DWORD)(WRBC_WPHY_EVENT_BASE + 18)                  

+#define W_P_HSPA_PLUS_FACH_REL_REQ_EV               (DWORD)(WRBC_WPHY_EVENT_BASE + 19)             

+#define W_P_HSPA_PLUS_PCH_REL_REQ_EV                (DWORD)(WRBC_WPHY_EVENT_BASE + 20)              

+#define W_P_EFACH_UPDATE_RNTI_REQ_EV                (DWORD)(WRBC_WPHY_EVENT_BASE + 21)                 

+#define W_P_ADD_PRACH_REQ                           (DWORD)(WRBC_WPHY_EVENT_BASE + 22)

+#define W_P_DL_FDPCH_SETUP_MODIFY_REQ               (DWORD)(WRBC_WPHY_EVENT_BASE + 23)        

+

+

+#define W_P_IN_SYNC_IND_EV                          (DWORD)(WRBC_WPHY_RSP_EVENT + 0)                       

+#define W_P_OUT_SYNC_IND_EV                         (DWORD)(WRBC_WPHY_RSP_EVENT + 1)  

+#define W_P_DPCH_SETUP_MODIFY_CNF                   (DWORD)(WRBC_WPHY_RSP_EVENT + 2)

+#define W_P_HSSCCH_ORDER_IND                        (DWORD)(WRBC_WPHY_RSP_EVENT + 3)

+

+

+

+/* ========================================================================

+   WMAC_UL - WPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_RACH_PROCEDURE_REQ_EV                  (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 0)

+#define W_P_RACH_PROCEDURE_IND_EV                  (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 1)

+#define W_P_EFACH_NO_DATA_REQ_EV                   (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 2)

+#define W_P_ETFC_PARAM_IND_EV                      (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 3)

+#define W_P_POST_VERFY_FAIL_IND_EV                 (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 4)

+#define W_P_MAC_DTX_CYCLE_INFO_REQ_EV              (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 5)

+#define W_P_TFCI_CM_INFO_IND_EV                    (DWORD)(WMAC_UL_WPHY_EVENT_BASE + 6)

+/* ========================================================================

+   WMAC_DL - WPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_UE_INTERNAL_MEAS_REQ_EV                (DWORD)(WMAC_DL_WPHY_EVENT_BASE + 0)

+#define W_P_UE_INTERNAL_MEAS_IND_EV                (DWORD)(WMAC_DL_WPHY_EVENT_BASE + 1)

+

+/* ========================================================================

+   L1W - WPHY ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_UMTS_IDLE_PERIOD_REPMODE_REQ_EV        (DWORD)(L1W_WPHY_EVENT_BASE + 0)    /*µÈ¼ÛÓÚL1G_UMTS_IDLE_PERIOD_REPMODE_REQ_EV*/

+#define W_P_IRAT_GAP_CONFIG_REQ_EV                 (DWORD)(L1W_WPHY_EVENT_BASE + 1)    /*µÈ¼ÛÓÚL1G L1W_GSM_INACT_TIME_IND_EV*/

+#define W_P_ABORT_IRAT_GAP_REQ_EV                  (DWORD)(L1W_WPHY_EVENT_BASE + 2)    /*µÈ¼ÛÓÚL1G L1W_ABORT_GSM_GAP_REQ_EV*/

+#define W_P_COMPRESS_MODE_CONFIG_REQ_EV            (DWORD)(L1W_WPHY_EVENT_BASE + 3)

+#define W_P_CARD2_GAP_REQ_EV                       (DWORD)(L1W_WPHY_EVENT_BASE + 4) /*T_zW_P_card2_gap_req*/

+#define W_P_CARD2_GAP_REL_REQ_EV                   (DWORD)(L1W_WPHY_EVENT_BASE + 5) /*T_zW_P_card2_gap_rel_req*/

+#define W_P_CARD2_STOP_GAP_REQ_EV                  (DWORD)(L1W_WPHY_EVENT_BASE + 6) /*T_zW_P_card2_stop_gap_req*/

+#define W_P_CARD1_SUSPEND_REQ_EV                   (DWORD)(L1W_WPHY_EVENT_BASE + 7) /*T_zW_P_card1_suspend_req*/

+#define W_P_CARD1_RESUME_REQ_EV                    (DWORD)(L1W_WPHY_EVENT_BASE + 8) /*T_zW_P_card1_resume_req*/

+#define W_P_ZWPCG_REQ_EV                           (DWORD)(L1W_WPHY_EVENT_BASE + 9)

+

+#define W_P_UMTS_INACTIVE_TIME_IND_EV              (DWORD)(L1W_WPHY_RSP_EVENT + 0)

+#define W_P_ABORT_FREQ_SCAN_CNF_EV                 (DWORD)(L1W_WPHY_RSP_EVENT + 1)

+#define W_P_ABORT_CELL_SEARCH_CNF_EV               (DWORD)(L1W_WPHY_RSP_EVENT + 2)

+#define W_P_BCH_RELEASE_CNF_EV                     (DWORD)(L1W_WPHY_RSP_EVENT + 3)

+#define W_P_CAMPON_A_CELL_CNF_EV                   (DWORD)(L1W_WPHY_RSP_EVENT + 4)

+#define W_P_DPCH_REL_CNF_EV                        (DWORD)(L1W_WPHY_RSP_EVENT + 5)

+#define W_P_REL_SCCPCH_CNF_EV                      (DWORD)(L1W_WPHY_RSP_EVENT + 6)

+#define W_P_STOP_PAGING_CNF_EV                     (DWORD)(L1W_WPHY_RSP_EVENT + 7)

+#define W_P_STOP_CBS_CNF_EV                        (DWORD)(L1W_WPHY_RSP_EVENT + 8)

+#define W_P_REL_HSDPA_CNF_EV                       (DWORD)(L1W_WPHY_RSP_EVENT + 9)

+#define W_P_REL_HSUPA_CNF_EV                       (DWORD)(L1W_WPHY_RSP_EVENT + 10)

+#define W_P_HSPA_PLUS_FACH_REL_CNF_EV              (DWORD)(L1W_WPHY_RSP_EVENT + 11)

+#define W_P_HSPA_PLUS_PCH_REL_CNF_EV               (DWORD)(L1W_WPHY_RSP_EVENT + 12)

+#define W_P_ABORT_IRAT_GAP_CNF_EV                  (DWORD)(L1W_WPHY_RSP_EVENT + 13)

+#define W_P_CARD2_GAP_IND_EV                       (DWORD)(L1W_WPHY_RSP_EVENT + 14) /*T_zW_P_card2_gap_ind*/

+#define W_P_CARD2_GAP_REL_CNF_EV                   (DWORD)(L1W_WPHY_RSP_EVENT + 15) /*T_zW_P_card2_gap_rel_cnf*/

+#define W_P_CARD2_STOP_GAP_CNF_EV                  (DWORD)(L1W_WPHY_RSP_EVENT + 16) /*T_zW_P_card2_stop_gap_cnf*/

+#define W_P_CARD1_SUSPEND_CNF_EV                   (DWORD)(L1W_WPHY_RSP_EVENT + 17) /*T_zW_P_card1_suspend_cnf*/

+#define W_P_ZWPCG_CNF_EV                           (DWORD)(L1W_WPHY_RSP_EVENT + 18)

+

+

+/* ========================================================================

+   L1W ÄÚ²¿ ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define W_P_CHECK_RF_IND_EV                        (DWORD)(L1W_EVENT_BASE + 0)

+#define W_P_ACTIVE_IND_EV                          (DWORD)(L1W_EVENT_BASE + 1)

+#define L1W_MEAS_TIMESTAMP_IND_EV                  (DWORD)(L1W_EVENT_BASE + 2)

+#define L1W_MEAS_TICKTRACE_IND_EV                  (DWORD)(L1W_EVENT_BASE + 3)

+

+/* ========================================================================

+   WRRC¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define WSIR_T_BCH_EXPIRY_EV                     (DWORD)(WRRC_TIMER_EVENT_BASE + 0)

+#define WSIR_T_SIB7_EXPIRY_EV                    (DWORD)(WRRC_TIMER_EVENT_BASE + 1)

+#define WSIR_T_VTSIB_EXPIRY_EV                   (DWORD)(WRRC_TIMER_EVENT_BASE + 2)

+#define WSIR_T_R_EXPIRY_EV                       (DWORD)(WRRC_TIMER_EVENT_BASE + 3)

+#define WSIR_T_BCCHMODIFY_EXPIRY_EV              (DWORD)(WRRC_TIMER_EVENT_BASE + 4)

+#define WCSR_T_HIGHSPEED_EXPIRY_EV               (DWORD)(WRRC_TIMER_EVENT_BASE + 5)

+#define WCSR_T_HYSTX_EXPIRY_EV                   (DWORD)(WRRC_TIMER_EVENT_BASE + 6)

+#define WCSR_T_PROTECT_EXPIRY_EV                 (DWORD)(WRRC_TIMER_EVENT_BASE + 7)

+#define WCSR_T_NCELL_EXPIRY_EV                   (DWORD)(WRRC_TIMER_EVENT_BASE + 8)

+#define WCSR_T_OOS_EXPIRY_EV                     (DWORD)(WRRC_TIMER_EVENT_BASE + 9)

+#define WCSR_T_CAMP1S_EXPIRY_EV                  (DWORD)(WRRC_TIMER_EVENT_BASE + 10)    /*פÁôÄ³Ð¡Çø1S³¬Ê±*/

+#define WCSR_T_L1_RELATED_EVENT_EXPIRY_EV        (DWORD)(WRRC_TIMER_EVENT_BASE + 11)

+#define WCSR_T_REDIRECT_EXPIRY_EV                (DWORD)(WRRC_TIMER_EVENT_BASE + 12)

+#define WMCR_T_RESELECT_EXPIRY_EV                (DWORD)(WRRC_TIMER_EVENT_BASE + 13)

+#define WMCR_T_PERIOD_EXPIRY_EV                  (DWORD)(WRRC_TIMER_EVENT_BASE + 14)

+#define WMCR_T_TRIGGER_EV                        (DWORD)(WRRC_TIMER_EVENT_BASE + 15)

+#define WMCR_T_EM_CELLINFO_EXPIRY_EV             (DWORD)(WRRC_TIMER_EVENT_BASE + 16)

+#define WCER_T_SIGCONNRELIND_EXPIRY_EV           (DWORD)(WRRC_TIMER_EVENT_BASE + 17)        

+#define WCER_T_ETWS_EXPIRY_EV                    (DWORD)(WRRC_TIMER_EVENT_BASE + 18)

+#define WCER_T_FACHCONNREL_EXPIRY_EV             (DWORD)(WRRC_TIMER_EVENT_BASE + 19)

+#define WRRC_T300_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 20)

+#define WRRC_T302_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 21)

+#define WRRC_T304_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 22)

+#define WRRC_T305_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 23)

+#define WRRC_T307_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 24)

+#define WRRC_T308_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 25)

+#define WRRC_T309_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 26)

+#define WRRC_T312_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 27)

+#define WRRC_T313_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 28)

+#define WRRC_T314_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 29)

+#define WRRC_T315_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 30)

+#define WRRC_T316_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 31)

+#define WRRC_T319_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 32)

+#define WRRC_T320_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 33)

+#define WMCR_T322_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 34)

+#define WRRC_T323_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 35)

+#define WRRC_T325_EXPIRY_EV                      (DWORD)(WRRC_TIMER_EVENT_BASE + 36)

+#define WRRC_T_WAIT_EXPIRY_EV                    (DWORD)(WRRC_TIMER_EVENT_BASE + 37)

+

+/* ========================================================================

+   WPDCP¶¨Ê±Æ÷¶¨Òå(wÎÞÐÂÔö£¬Í¬TD)

+======================================================================== */

+

+

+/* ========================================================================

+  WRLC¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define WRLC_T_DISCARD_EXPIRY_EV                 (DWORD)(WRLC_TIMER_EVENT_BASE + 0)

+#define WRLC_T_POLL_EXPIRY_EV                    (DWORD)(WRLC_TIMER_EVENT_BASE + 1)

+#define WRLC_T_POLLPROH_EXPIRY_EV                (DWORD)(WRLC_TIMER_EVENT_BASE + 2)

+#define WRLC_T_POLLPRD_EXPIRY_EV                 (DWORD)(WRLC_TIMER_EVENT_BASE + 3)

+#define WRLC_T_STATUSPROH_EXPIRY_EV              (DWORD)(WRLC_TIMER_EVENT_BASE + 4)

+#define WRLC_T_STATUSPRD_EXPIRY_EV               (DWORD)(WRLC_TIMER_EVENT_BASE + 5)

+#define WRLC_T_RESET_EXPIRY_EV                   (DWORD)(WRLC_TIMER_EVENT_BASE + 6)

+#define WRLC_T_MRW_EXPIRY_EV                     (DWORD)(WRLC_TIMER_EVENT_BASE + 7)

+

+/* ========================================================================

+   WMAC¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+#define WMAC_MCR_T_TRIGGER_EXPIRY_EV             (DWORD)(WMAC_TIMER_EVENT_BASE + 0)

+#define WMAC_MCR_T_PERIOD_EXPIRY_EV              (DWORD)(WMAC_TIMER_EVENT_BASE + 1)

+#define WMAC_MCR_T_PENDING_EXPIRY_EV             (DWORD)(WMAC_TIMER_EVENT_BASE + 2)

+#define WMAC_T_HSTIMER_EXPIRY_EV                 (DWORD)(WMAC_TIMER_EVENT_BASE + 3)

+#define WMAC_T_RESET_EXPIRY_EV                   (DWORD)(WMAC_TIMER_EVENT_BASE + 4)

+#define WMAC_T_BO1_EXPIRY_EV                     (DWORD)(WMAC_TIMER_EVENT_BASE + 5)

+#define WMAC_T_TB_EXPIRY_EV                      (DWORD)(WMAC_TIMER_EVENT_BASE + 6)

+#define WMAC_T_AG_EXPIRY_EV                      (DWORD)(WMAC_TIMER_EVENT_BASE + 7)

+#define WMAC_T_RG_EXPIRY_EV                      (DWORD)(WMAC_TIMER_EVENT_BASE + 8)

+#define WMAC_T_SING_EXPIRY_EV                    (DWORD)(WMAC_TIMER_EVENT_BASE + 9)

+#define WMAC_T_SIG_EXPIRY_EV                     (DWORD)(WMAC_TIMER_EVENT_BASE + 10)

+

+/* ========================================================================

+   L1W¶¨Ê±Æ÷¶¨Òå

+======================================================================== */

+/* ========================================================================

+   WSIRÓ빤¾ß½»»¥Ê¼þºÅ¶¨Òå

+======================================================================== */

+#define TEST_WSIR_DECSIB_EV                      (DWORD)(WSIR_TEST_EVENT_BASE + 0)

+/* ========================================================================

+   NWRLCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TEST_UWRLC_DATA_REQ_UTRAN_EV             (DWORD)(NWRLC_EVENT_BASE + 0)

+#define TEST_UWRLC_DATA_IND_UTRAN_EV             (DWORD)(NWRLC_EVENT_BASE + 1)

+#define TEST_CWRLC_CONFIG_REQ_UTRAN_EV           (DWORD)(NWRLC_EVENT_BASE + 2)

+#define TEST_WRLC_ACK_CTRL_UTRAN_EV              (DWORD)(NWRLC_EVENT_BASE + 3)

+

+/* ========================================================================

+   NWMACÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TEST_WMAC_ACK_CTRL_UTRAN_EV              (DWORD)(NWMAC_EVENT_BASE + 0)

+#define TEST_WMAC_HSUPA_INFO_EV                  (DWORD)(NWMAC_EVENT_BASE + 1)

+#define TEST_WMAC_HSUPA_CFG_EV                   (DWORD)(NWMAC_EVENT_BASE + 2) 

+#define TEST_WMAC_HSUPA_SIINFO_EV                (DWORD)(NWMAC_EVENT_BASE + 3)

+#define TEST_WMAC_HSUPA_HEADER_INFO_EV           (DWORD)(NWMAC_EVENT_BASE + 4)

+#define TEST_WMAC_NOTIFY_DATA_REQ_EV             (DWORD)(NWMAC_EVENT_BASE + 5)

+#define TEST_WMAC_PA_PLUS_CFG_REQ_EV             (DWORD)(NWMAC_EVENT_BASE + 6)

+#define TEST_WMAC_CRC_RESULT_REQ_EV              (DWORD)(NWMAC_EVENT_BASE + 7)

+#define TEST_UWMAC_DATA_IND_EV                   (DWORD)(NWMAC_EVENT_BASE + 8)

+/* ========================================================================

+   NCBSÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+/* ========================================================================

+   TCÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+

+/* ========================================================================

+   WRRCº¯ÊýÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define WRRC_FUNC_GET_REPLMN_REQ_EV              (DWORD)(WRRC_FUNC_EVENT_BASE + 0)

+#define WRRC_FUNC_GET_REPLMN_CNF_EV              (DWORD)(WRRC_FUNC_EVENT_BASE + 1)

+#define WRRC_FUNC_CHECK_PLMN_REQ_EV              (DWORD)(WRRC_FUNC_EVENT_BASE + 2)

+#define WRRC_FUNC_CHECK_LAI_REQ_EV               (DWORD)(WRRC_FUNC_EVENT_BASE + 3)

+#define WRRC_FUNC_MEAS_LEAVE3G_REQ_EV            (DWORD)(WRRC_FUNC_EVENT_BASE + 4)

+#define WRRC_FUNC_READ_SIB_REQ_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 5)

+#define WRRC_FUNC_READ_SIB_CNF_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 6)

+#define WRRC_FUNC_SER_CELL_IND_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 7)

+#define WRRC_FUNC_SYSINFO_MODIFY_REQ_EV          (DWORD)(WRRC_FUNC_EVENT_BASE + 8)

+#define WRRC_FUNC_SET_SERVCELL_REQ_EV            (DWORD)(WRRC_FUNC_EVENT_BASE + 9)

+#define WRRC_FUNC_MEAS_ON_RACH_REQ_EV            (DWORD)(WRRC_FUNC_EVENT_BASE + 10)

+#define WRRC_FUNC_START_MEAS_REQ_EV              (DWORD)(WRRC_FUNC_EVENT_BASE + 11)

+#define WRRC_FUNC_DEL_MEAS_REQ_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 12)

+#define WRRC_FUNC_MEAS_TONULL_REQ_EV             (DWORD)(WRRC_FUNC_EVENT_BASE + 13)

+#define WRRC_FUNC_RESEL_IDLE_REQ_EV              (DWORD)(WRRC_FUNC_EVENT_BASE + 14)

+#define WRRC_FUNC_STOP_SYSINFO_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 15)

+#define WRRC_FUNC_CFG_PCH_REQ_EV                 (DWORD)(WRRC_FUNC_EVENT_BASE + 16)

+#define WRRC_FUNC_CFG_PCH_CNF_EV                 (DWORD)(WRRC_FUNC_EVENT_BASE + 17)

+#define WRRC_FUNC_REL_FACH_REQ_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 18)

+#define WRRC_FUNC_REL_FACH_CNF_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 19)

+#define WRRC_FUNC_REL_PCH_REQ_EV                 (DWORD)(WRRC_FUNC_EVENT_BASE + 20)

+#define WRRC_FUNC_REL_PCH_CNF_EV                 (DWORD)(WRRC_FUNC_EVENT_BASE + 21)

+#define WRRC_FUNC_SEND_SINGLE_BUF_MSG_EV         (DWORD)(WRRC_FUNC_EVENT_BASE + 22)

+#define WRRC_FUNC_SEND_CS_BUF_MSG_EV             (DWORD)(WRRC_FUNC_EVENT_BASE + 23)

+#define WRRC_FUNC_REL_SCCPCH_STOP_MAC_REQ_EV     (DWORD)(WRRC_FUNC_EVENT_BASE + 24)

+#define WRRC_FUNC_RESUME_FACH_CFG_REQ_EV         (DWORD)(WRRC_FUNC_EVENT_BASE + 25)

+#define WRRC_FUNC_REL_SER_CELL_BCH_REQ_EV        (DWORD)(WRRC_FUNC_EVENT_BASE + 26)

+#define WRRC_FUNC_RESTART_SCELL_SIB7_TIMER_EV    (DWORD)(WRRC_FUNC_EVENT_BASE + 27)

+#define WRRC_FUNC_RESUME_READ_SER_CELL_BCH_EV    (DWORD)(WRRC_FUNC_EVENT_BASE + 28)

+#define WRRC_FUNC_READ_CGIINFO_EV                (DWORD)(WRRC_FUNC_EVENT_BASE + 29)

+/* ========================================================================

+   RRCº¯ÊýÖµ¸ú×ÙÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define RRC_FUNC_GET_TICK_COUNT_EV              (DWORD)(RRC_FUNC_TRACE_BASE + 0)

+#define RRC_FUNC_GET_NV_ITEM_EV                 (DWORD)(RRC_FUNC_TRACE_BASE + 1)

+#define RRC_FUNC_GET_UICC_ITEM_EV               (DWORD)(RRC_FUNC_TRACE_BASE + 2)

+#define RRC_FUNC_GET_PLMN_TYPE_EV               (DWORD)(RRC_FUNC_TRACE_BASE + 3)

+#define RRC_FUNC_GET_3A_THREOLD_EV              (DWORD)(RRC_FUNC_TRACE_BASE + 4)

+#define RRC_FUNC_GET_PSLOCI_INFO_EV             (DWORD)(RRC_FUNC_TRACE_BASE + 5)

+#define RRC_FUNC_GET_COUNTC_EV                  (DWORD)(RRC_FUNC_TRACE_BASE + 6)

+#define RRC_FUNC_GET_MASTER_MODE_EV             (DWORD)(RRC_FUNC_TRACE_BASE + 7)

+#define RRC_FUNC_GET_SFN_EV                     (DWORD)(RRC_FUNC_TRACE_BASE + 8)

+#define RRC_FUNC_GET_CFN_EV                     (DWORD)(RRC_FUNC_TRACE_BASE + 9)

+#define RRC_FUNC_GET_AMDLPDU_SIZE_EV            (DWORD)(RRC_FUNC_TRACE_BASE + 10)

+#define RRC_FUNC_GET_SIB7_TIMEOUT_CELLINFO_EV   (DWORD)(RRC_FUNC_TRACE_BASE + 11)

+#define RRC_FUNC_GET_VTSIB_TIMEOUT_CELLINFO_EV  (DWORD)(RRC_FUNC_TRACE_BASE + 12)

+/*´òÓ¡µ±Ç°ÊÇ·ñÓÐNASÐÅÁîÕýÔÚ½øÐÐ*/

+#define RRC_FUNC_NAS_SIGNAL_PROC_EXIST_EV       (DWORD)(RRC_FUNC_TRACE_BASE + 13)

+#define RRC_FUNC_GET_SRB2_UL_ACT_TIME_EV        (DWORD)(RRC_FUNC_TRACE_BASE + 14)

+#define RRC_FUNC_GET_SRB2_MAX_HFN_EV            (DWORD)(RRC_FUNC_TRACE_BASE + 15)

+//as comÖеÄbarÐÅÏ¢ÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨Òå

+#define AS_FUNC_CLEARBARFREQINFO                (DWORD)(RRC_FUNC_TRACE_BASE + 50)

+#define AS_FUNC_ADDTDFREQTOBARFREQLIST          (DWORD)(RRC_FUNC_TRACE_BASE + 51)

+#define AS_FUNC_DELTDFREQFROMBARFREQLIST        (DWORD)(RRC_FUNC_TRACE_BASE + 52)

+#define AS_FUNC_CLEARBARCELLINFO                (DWORD)(RRC_FUNC_TRACE_BASE + 53)

+#define AS_FUNC_ADDTDCELLTOBARCELLLIST          (DWORD)(RRC_FUNC_TRACE_BASE + 54)

+#define AS_FUNC_ADDGSMCELLTOBARCELLLIST         (DWORD)(RRC_FUNC_TRACE_BASE + 55)

+#define AS_FUNC_ADDWFREQTOBARFREQLIST           (DWORD)(RRC_FUNC_TRACE_BASE + 56)

+#define AS_FUNC_DELWFREQFROMBARFREQLIST         (DWORD)(RRC_FUNC_TRACE_BASE + 57)

+#define AS_FUNC_ADDWCELLTOBARCELLLIST           (DWORD)(RRC_FUNC_TRACE_BASE + 58)

+#define AS_FUNC_GETDEDIPRIOINFO                 (DWORD)(RRC_FUNC_TRACE_BASE + 59)

+#define AS_FUNC_GETBARINFO                      (DWORD)(RRC_FUNC_TRACE_BASE + 60)

+#define AS_FUNC_SETFRTOLTEFLAG                  (DWORD)(RRC_FUNC_TRACE_BASE + 61)

+#define AS_FUNC_CLEARFRTOLTEFLAG                (DWORD)(RRC_FUNC_TRACE_BASE + 62)

+//EUSIRÐÅÁî¸ú×ÙÏûÏ¢ºÅ¶¨Òå

+#define EURRC_EUSIR_SIB1_V8H0_IEs_INFO          (DWORD)(RRC_FUNC_TRACE_BASE + 63)

+#define EURRC_EUSIR_SIB2_V8H0_IEs_INFO          (DWORD)(RRC_FUNC_TRACE_BASE + 64)

+#define EURRC_EUSIR_SIB5_V8H0_IEs_INFO          (DWORD)(RRC_FUNC_TRACE_BASE + 65)

+/* ========================================================================

+WÏà¹ØÊ¼þºÅ END

+======================================================================== */

+#ifdef BTRUNK_SUPPORT

+/* ESM --> TSM */

+#define TSM_ESM_DIALED_STATE_IND_EV              (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 60) 

+#define TSM_ESM_BEARER_STATE_IND_EV              (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 61)

+

+/* TSM --> ESM */

+#define TSM_ESM_SYN_BEARSTATE_REQ_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 62)

+

+

+/* TSM --> EMM */

+#define TSM_EST_REQ_EV                           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 70) 

+#define TSM_EMM_DATA_REQ_EV                      (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 71)

+#define TSM_REL_REQ_EV                           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 72) 

+#define TSM_LOCATIONINFO_REQ_EV                  (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 73) 

+#define TSM_UMM_DETACHLTE_REQ_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 74) 

+

+

+/* EMM/UMM --> TSM */

+#define TSM_EST_CNF_EV                           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 80)

+#define TSM_REL_IND_EV                           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 81) 

+#define TSM_EMM_ATTACHSTATE_IND_EV               (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 82) 

+#define TSM_EMM_DATA_IND_EV                      (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 83) 

+#define TSM_UMM_PTTINFO_IND_EV                   (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 84) 

+#define TSM_EMM_LOCATIONINFO_IND_EV              (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 85) 

+

+/*TSM->ASC*/

+#define TSM_ASC_GROUP_REL_REQ_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 90) 

+#define TSM_ASC_SCANSWITCH_REQ_EV                (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 91) 

+

+/*ASC->TSM*/

+#define TSM_ASC_TGCCH_MSG_IND_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 100) 

+#define TSM_ASC_SCANGROUPINFO_IND_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 101)

+#define TSM_ASC_SET_ACTIVEGID_IND_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 102)

+#define TSM_ASC_REL_ACTIVEGID_IND_EV             (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 103)

+#define TSM_ASC_REL_GROUP_IND_EV                 (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 104)

+

+

+/* ========================================================================

+   TSM¶¨Ê±Æ÷ÏûÏ¢ºÅ¶¨Òå

+======================================================================== */

+#define TSM_TIMER_BASE                           (DWORD)(EVENT_PS_LTE_BTRUNK_BASE + 300)

+#define TSM_TCMEST_EXPIRY_EV                     (DWORD)(TSM_TIMER_BASE + 1)

+#define TSM_T8001_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 2)

+#define TSM_T8003_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 3)

+#define TSM_T8005_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 4)

+#define TSM_T8006_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 5)

+#define TSM_T8011_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 6)

+#define TSM_T8012_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 7) 

+#define TSM_T8014_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 8) 

+#define TSM_T8016_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 9)

+#define TSM_T8018_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 10)

+#define TSM_T8020_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 11)

+#define TSM_TPERIOD_EXPIRY_EV                    (DWORD)(TSM_TIMER_BASE + 12)

+#define TSM_TGPS_EXPIRY_EV                       (DWORD)(TSM_TIMER_BASE + 13)

+#define TSM_T8123_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 14)

+#define TSM_TREGRETRY_EXPIRY_EV                  (DWORD)(TSM_TIMER_BASE + 15)

+#define TSM_TCONFIRM_EXPIRY_EV                   (DWORD)(TSM_TIMER_BASE + 16)

+#define TSM_T8125_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 17)

+#define TSM_T8026_EXPIRY_EV                      (DWORD)(TSM_TIMER_BASE + 18)

+/**************************************************PS LTE BTRUNK msg range end********************************************************/

+#endif

+

+/* LPP-ECIDʼþºÅ¶¨Ò壬¹²¼Æ50¸ö */

+

+/* LPP --> ASC  */

+#define LPP_ASC_ECID_MEAS_START_EV                   (DWORD)(LPP_ECID_EVENT_BASE + 0)

+#define LPP_ASC_ECID_MEAS_ABORT_EV                  (DWORD)(LPP_ASC_ECID_MEAS_START_EV + 1)

+/* LPP --> EURRC  */

+#define ASC_EUCSR_ECID_MEAS_START_EV                (DWORD)(LPP_ASC_ECID_MEAS_ABORT_EV + 1)

+#define ASC_EUCSR_ECID_MEAS_ABORT_EV               (DWORD)(ASC_EUCSR_ECID_MEAS_START_EV + 1)

+/* EURRC --> ASC */

+#define EURRC_ASC_ECID_MEAS_RESULT_EV             (DWORD)(ASC_EUCSR_ECID_MEAS_ABORT_EV + 1)

+/* ASC --> LPP */

+#define ASC_LPP_ECID_MEAS_RESULT_EV                  (DWORD)(EURRC_ASC_ECID_MEAS_RESULT_EV + 1)

+/* SS -->  LPP */

+#define SS_LPP_MOLR_START_IND_EV                     (DWORD)(ASC_LPP_ECID_MEAS_RESULT_EV + 1)

+#define SS_LPP_MOLR_END_IND_EV                         (DWORD)(SS_LPP_MOLR_START_IND_EV + 1)

+#define SS_LPP_MTLR_START_IND_EV                     (DWORD)(SS_LPP_MOLR_END_IND_EV + 1)

+#define SS_LPP_MTLR_END_IND_EV                         (DWORD)(SS_LPP_MTLR_START_IND_EV + 1)

+/* UMM -->LPP */

+#define UMM_LPP_CELLCHG_IND_EV                         (DWORD)(SS_LPP_MTLR_END_IND_EV + 1)

+/* LPP TIMER EXPIRY EVENT */

+#define LPP_TRIRPT_TIMER_EXP_EV                        (DWORD)(UMM_LPP_CELLCHG_IND_EV + 1)

+#define LPP_RETRANS_TIMER_EXP_EV                      (DWORD)(LPP_TRIRPT_TIMER_EXP_EV + 1)

+#define LPP_MSG_TRACE_LOG_EV                           (DWORD)(LPP_RETRANS_TIMER_EXP_EV + 1)

+

+#endif  /* PS_EVENTDEF_H */

+

diff --git a/pub/include/ps_phy/psl1com.h b/pub/include/ps_phy/psl1com.h
new file mode 100644
index 0000000..35f4ebe
--- /dev/null
+++ b/pub/include/ps_phy/psl1com.h
@@ -0,0 +1,1476 @@
+/*****************************************************************************

+ *°æ±¾ËùÓÐ (C)2009ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £ºÐ­ÒéÕ»ÓëÎïÀí²ã¹«¹²½Ó¿ÚÎļþ

+ *  ÎļþÃû    £ºpsl1com.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£º

+ *  ʵÏÖ¹¦ÄÜ£ºÐ­ÒéÕ»ÓëL1G½Ó¿Ú¡¢¸÷ÎïÀí²ãÊÊÅä²ã½Ó¿Ú

+ *  ×÷Õß        £ºweiyuzhen

+ *  °æ±¾        £ºV1.0

+ *  Íê³ÉÈÕÆÚ£º2010.12.30

+ *  ÆäËü˵Ã÷£º"IR"±íʾÏà¹ØµÄºêÖµ¶¨Òå¡¢½á¹¹Ì嶨Òå¡¢º¯Êý¶¨Òå¾ù¼Ì³Ð×Ôcomneon´úÂ룬

+ *                  ÒÔʾÓë×ÔÑÐÇø·Ö

+ *

+ *  Ð޸ļǼ1£º

+ *    ÈÕ  ÆÚ£º2012.05.21

+ *    ÐÞ¸ÄÈË£ºÕÅÅô³Ì

+ *    ÐÞ¸ÄÄÚÈÝ£º

+         ms.h 

+        1)NETPAR_INTER_FREQ_LENGTH  ÓÉ9¸Ä³É16

+         2)MAX_NO_UTRAN_CELL_LIST_IDX   ÓÉ9¸Ä³É16 

+         3)MAX_NO_UTRAN_RESULT ÓÉ9¸Ä³É16 

+        psl1com.h:

+        1£©   Z_IR_MCR_MAX_FREQ    ÓÉ9¸Ä³É16

+        2£©ZPS_IR_MCR_MAX_FREQ    ÓÉ9¸Ä³É16

+        3£©Z_IR_NOF_CELL_LIST_FREQUENCIES ÓÉ9¸Ä³É16

+        4£©ZPS_IR_NOF_CELL_LIST_FREQUENCIES  ÓÉ9¸Ä³É16

+        tdpsphyint.h

+        1£©Z_TD_P_MAX_INTER_FREQ_NUM  ÓÉ9¸Ä³É16

+        2£©Z_TD_P_MAX_BLIND_INTER_FREQ  ÓÉ9¸Ä³É16

+        ascasint.h

+        Z_MaxRedirTdFreqNum  ÐèÒª9->16

+        rr.h£º

+        MAX_NO_3G_UTRAN_FREQUENCY_LIST ÐèÒª9->16

+        Z_MAX_PSEUDO_FR_CELLS ÐèÒª9->16

+ *****************************************************************************/

+#ifndef    PSL1COM_H

+#define    PSL1COM_H

+

+#ifndef MULTI_IRAT_2963

+#include   "l1_count_latch.h"

+#endif

+#include   "tdpsphyint.h"

+

+

+#include   "pswphyint.h"

+

+

+/**************************************************************************

+ *                        Í·Îļþ°üº¬                                      *

+ **************************************************************************/

+

+

+/**************************************************************************

+ *                         È«¾Öºê¶¨Òå                                         *

+ **************************************************************************/

+

+/*ÊÊÅäÄ£¿éÉèÖÃÖ÷ģʽ»òÇëÇóGAPʱ¶ÔÓ¦µÄÖÆÊ½*/

+#define Z_IRAT_INIT_MODE    (BYTE)0 /*³õʼÎÞÐ§ÖÆÊ½*/

+#define ZPS_IRAT_INIT_MODE  Z_IRAT_INIT_MODE 

+#define Z_IRAT_GSM_MODE     (BYTE)1 /*GSMÖÆÊ½*/

+#define ZPS_IRAT_GSM_MODE   Z_IRAT_GSM_MODE

+#define Z_IRAT_TD_MODE      (BYTE)2 /*TDÖÆÊ½*/

+#define ZPS_IRAT_TD_MODE    Z_IRAT_TD_MODE

+#define Z_IRAT_LTE_MODE     (BYTE)3 /*LTEÖÆÊ½*/

+#define ZPS_IRAT_LTE_MODE   Z_IRAT_LTE_MODE

+#define Z_IRAT_W_MODE       (BYTE)4 /*WÖÆÊ½*/

+

+/*RRC״̬*/

+#define Z_L1A_MEAS_RRC_IDLE   0

+#define Z_L1A_MEAS_RRC_FACH   1

+#define Z_L1A_MEAS_RRC_DCH    2

+

+/*GAPÄ¿µÄ*/

+#define Z_L1A_GAP_PURPOSE_NULL 0x00

+#define Z_L1A_GAP_PURPOSE_PLMN 0x01

+#define Z_L1A_GAP_PURPOSE_MEAS 0x02

+#define Z_L1A_GAP_PURPOSE_USED 0x04

+#define Z_L1A_GAP_PURPOSE_RSSI 0x80

+

+/*»¬¶¯Æ½¾ù´°¿Ú*/

+#define Z_L1A_MEAS_GSM_IDLE_RAVG_SIZE 4

+#define Z_L1A_MEAS_GSM_DCH_RAVG_SIZE  1

+

+#define Z_IR_MAX_INTER_FREQ_CELL_NUM              (WORD)32    /*¸ÃÖµÓëtdRrcPhyInt.hÖеÄZ_TD_P_MAX_INTER_FREQ_CELL_NUMÏàµÈ*/

+#define ZPS_IR_MAX_INTER_FREQ_CELL_NUM             Z_IR_MAX_INTER_FREQ_CELL_NUM

+#define Z_IR_MCR_MAX_FREQ                         (BYTE)16

+#define ZPS_IR_MCR_MAX_FREQ                        Z_IR_MCR_MAX_FREQ

+

+#define Z_IR_MAX_GAP_NUM                          (BYTE)8

+#define ZPS_IR_MAX_GAP_NUM                         Z_IR_MAX_GAP_NUM

+

+#define Z_IR_HW_IRAT_MEAS_OFFSET                  (BYTE)3 

+#define ZPS_IR_HW_IRAT_MEAS_OFFSET                 Z_IR_HW_IRAT_MEAS_OFFSET 

+

+#define Z_IR_DEAC_GSM_REQ                         (BYTE)0

+#define ZPS_IR_DEAC_GSM_REQ                        Z_IR_DEAC_GSM_REQ

+#define Z_IR_SUSPEND_UMTS_REQ                     (BYTE)1

+#define ZPS_IR_SUSPEND_UMTS_REQ                    Z_IR_SUSPEND_UMTS_REQ

+#define Z_IR_RESUME_UMTS_REQ                      (BYTE)2

+#define ZPS_IR_RESUME_UMTS_REQ                     Z_IR_RESUME_UMTS_REQ

+

+/*Ë«¿¨Ë«´ýL1GÐèÇóÐÞ¸Ä,¶àÄ£ºê¶¨Òå,ָʾ˫´ýÖжàÄ£Ò»´ýµ÷ÓÃ*/

+#define Z_L1A_MUTI_MODE   0

+

+/*¹ÒÆð¿¨1»¹ÊÇ¿¨2*/

+#define  Z_SUSPENDCARD1    0

+#define  Z_SUSPENDCARD2    1

+

+/*¿¨1 ¿¨2¶ÔÓ¦Êý×éϱêºêÖµ*/

+#define Z_L1A_CARD1         0

+#define Z_L1A_CARD2         1

+

+#define  Z_LTE_P_IRAT_MAX_GAP_NUM    20 /*¸¨Ä£ÏÂ×î´óÅäÖÃgapÊýÄ¿*/

+

+/*ÒµÎñÀàÐͶ¨Òå*/

+#define  EVENT_RF_OFF                (BYTE)0

+#define  EVENT_RF_ON                 (BYTE)1

+#define  EVENT_MT_CALL               (BYTE)2

+#define  EVENT_MO_CALL               (BYTE)3

+#define  EVENT_MT_SS                 (BYTE)4

+#define  EVENT_MO_SS                 (BYTE)5

+#define  EVENT_MO_CS_SMS             (BYTE)6

+#define  EVENT_MT_CS_SMS             (BYTE)7

+#define  EVENT_MO_PS_SMS             (BYTE)8

+#define  EVENT_MT_PS_SMS             (BYTE)9

+#define  EVENT_CARD_CONFIG           (BYTE)10

+#define  EVENT_CS_UPDATE             (BYTE)11

+#define  EVENT_CS_DETACH             (BYTE)12

+#define  EVENT_CS_RRC_CONNECT        (BYTE)13

+#define  EVENT_PS_UPDATE             (BYTE)14

+#define  EVENT_PS_DETACH             (BYTE)15

+#define  EVENT_PS_SIGNALLING         (BYTE)16

+#define  EVENT_SEARCHPLMN            (BYTE)17

+#define  EVENT_PCH_PAGING            (BYTE)18

+#define  EVENT_PLMN_CSG_LIST         (BYTE)19

+#define  EVENT_PS_CONNECT            (BYTE)20

+#define  EVENT_HPPLMNPROC            (BYTE)21

+#define  EVENT_DEACTIVED             (BYTE)22

+

+/**********************************************************************

+                 URRCAÓëL1G¹²Óú궨Ò壨¼Ì³Ð×ÔComneon´úÂ룩

+**********************************************************************/

+/* ================================ l1ud_meas.h, begin ================================= */

+#define Z_IR_PREP_INVALID                         (BYTE)0

+#define ZPS_IR_PREP_INVALID                        Z_IR_PREP_INVALID

+#define Z_IR_PREP_PCH                             (BYTE)1

+#define ZPS_IR_PREP_PCH                            Z_IR_PREP_PCH

+#define Z_IR_PREP_PPCH                            (BYTE)2

+#define ZPS_IR_PREP_PPCH                           Z_IR_PREP_PPCH

+#define Z_IR_PREP_TCH                             (BYTE)3

+#define ZPS_IR_PREP_TCH                            Z_IR_PREP_TCH

+#define Z_IR_PREP_SDCCH                           (BYTE)4

+#define ZPS_IR_PREP_SDCCH                          Z_IR_PREP_SDCCH

+#define Z_IR_PREP_PTM                             (BYTE)5

+#define ZPS_IR_PREP_PTM                            Z_IR_PREP_PTM

+#define Z_IR_PREP_IRAT                            (BYTE)6     /* Used for both TCH and PTM when SINGLE_ANTENNA_SUPPORT is defined */

+#define ZPS_IR_PREP_IRAT                           Z_IR_PREP_IRAT 

+

+#define Z_IR_GsmGapClusterType_disordered         (BYTE)0

+#define ZPS_IR_GsmGapClusterType_disordered        Z_IR_GsmGapClusterType_disordered

+#define Z_IR_GsmGapClusterType_short              (BYTE)1

+#define ZPS_IR_GsmGapClusterType_short             Z_IR_GsmGapClusterType_short

+#define Z_IR_GsmGapClusterType_long               (BYTE)2

+#define ZPS_IR_GsmGapClusterType_long              Z_IR_GsmGapClusterType_long

+#define Z_IR_SearchPrioMode_Off                   (BYTE)0

+#define ZPS_IR_SearchPrioMode_Off                  Z_IR_SearchPrioMode_Off

+#define Z_IR_SearchPrioMode_On                    (BYTE)1

+#define ZPS_IR_SearchPrioMode_On                   Z_IR_SearchPrioMode_On

+

+#ifdef SINGLE_ANTENNA_SUPPORT

+#define Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE       (BYTE)38

+#define ZPS_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE      Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE

+#else

+#define Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE       (BYTE)32

+#define ZPS_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE      Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE

+#endif

+/* =============================== l1ud_meas.h, end ==================================== */

+

+/* max. number of cells that are being kept synchronized */

+#define MAX_IR_SYNC_INFO_CELLS                    (BYTE)10 //(MAX_REPORTED_GSM_CELLS + 2)

+

+/* ================================ l1u_irat.h, begin ================================== */

+/* max. number of cells that are being kept synchronized */

+#define Z_IR_MAX_IR_SYNC_INFO_CELLS               MAX_IR_SYNC_INFO_CELLS 

+#define ZPS_IR_MAX_IR_SYNC_INFO_CELLS             Z_IR_MAX_IR_SYNC_INFO_CELLS

+

+/*

+** Indicates the type of InterRAT timing control in which we work, e.g. for SB

+*/

+#define Z_IR_UMTS_TIMING_CTRL                     (BYTE)0 /* UMTS does most of the timing calculation */

+#define ZPS_IR_UMTS_TIMING_CTRL                    Z_IR_UMTS_TIMING_CTRL 

+#define Z_IR_GSM_TIMING_CTRL                      (BYTE)1 /* GSM does most of the timing calculation  */

+#define ZPS_IR_GSM_TIMING_CTRL                     Z_IR_GSM_TIMING_CTRL

+

+/* ================================= l1u_irat.h, end ================================== */

+

+

+/* ================================= l1u_irat_misc.h, begin ================================== */

+/* requests to UMTS InterRAT handler */

+#define Z_IR_DEAC_UMTS_REQ                        (BYTE)0

+#define ZPS_IR_DEAC_UMTS_REQ                       Z_IR_DEAC_UMTS_REQ

+#define Z_IR_SUSPEND_GSM_REQ                      (BYTE)1

+#define ZPS_IR_SUSPEND_GSM_REQ                     Z_IR_SUSPEND_GSM_REQ

+#define Z_IR_RESUME_GSM_REQ                       (BYTE)2

+#define ZPS_IR_RESUME_GSM_REQ                      Z_IR_RESUME_GSM_REQ

+

+/* confirm to UMTS InterRAT handler */

+#define Z_IR_NO_CNF                               (BYTE)0

+#define ZPS_IR_NO_CNF                              Z_IR_NO_CNF

+#define Z_IR_DEAC_UMTS_CNF                        (BYTE)1

+#define ZPS_IR_DEAC_UMTS_CNF                       Z_IR_DEAC_UMTS_CNF

+#define Z_IR_SUSPEND_GSM_CNF                      (BYTE)2

+#define ZPS_IR_SUSPEND_GSM_CNF                     Z_IR_SUSPEND_GSM_CNF

+#define Z_IR_RESUME_GSM_CNF                       (BYTE)3

+#define ZPS_IR_RESUME_GSM_CNF                      Z_IR_RESUME_GSM_CNF

+/* ================================= l1u_irat_misc.h, end ================================== */

+

+/* ================================= l1ud_tstamp.h, begin ================================== */

+/* modes for getting timestamps */

+#define Z_IR_TS_MODE_INVALID                      (BYTE)0

+#define ZPS_IR_TS_MODE_INVALID                     Z_IR_TS_MODE_INVALID

+#define Z_IR_TS_MODE_NONSTOP                      (BYTE)1 /* getting timestamps takes place fast as possible */

+#define ZPS_IR_TS_MODE_NONSTOP                     Z_IR_TS_MODE_NONSTOP

+#define Z_IR_TS_MODE_PAUSING                      (BYTE)2 /* take a break after getting a timestamp */

+#define ZPS_IR_TS_MODE_PAUSING                     Z_IR_TS_MODE_PAUSING

+

+/* modes for evaluating the antenna gaps */

+#define Z_IR_GAPS_IGNORED                         (BYTE)0 /* reporting of possibly calculated gaps according UMTS 

+                                                         ** antenna activities on GSM side are ignored

+                                                         ** -> zIR_l1ud_tstamp_is_antenna_ready_for_gsm(..) always TRUE

+                                                         */

+#define ZPS_IR_GAPS_IGNORED                        Z_IR_GAPS_IGNORED                                                        

+#define Z_IR_GAPS_EVALUATED                       (BYTE)1 /* gaps according UMTS antenna activities are evaluated*/

+#define ZPS_IR_GAPS_EVALUATED                      Z_IR_GAPS_EVALUATED

+

+#define Z_IR_TSTAMP_SFN_BASED                     (BYTE)0

+#define ZPS_IR_TSTAMP_SFN_BASED                    Z_IR_TSTAMP_SFN_BASED

+#define Z_IR_TSTAMP_CFN_BASED                     (BYTE)1

+#define ZPS_IR_TSTAMP_CFN_BASED                    Z_IR_TSTAMP_CFN_BASED

+

+#define Z_IR_MDO_RESEL                            (BYTE)0

+#define ZPS_IR_MDO_RESEL                           Z_IR_MDO_RESEL

+#define Z_IR_MDO_EXT_MEAS                         (BYTE)1

+#define ZPS_IR_MDO_EXT_MEAS                        Z_IR_MDO_EXT_MEAS

+//#if (defined(GPRS) && defined(UMTS))

+#define Z_IR_MDO_UMTS                             (BYTE)2

+#define ZPS_IR_MDO_UMTS                            Z_IR_MDO_UMTS

+//#endif /* (defined(GPRS) && defined(UMTS)) */

+#define Z_IR_MDO_PURPOSE_COUNT                    (BYTE)3

+#define ZPS_IR_MDO_PURPOSE_COUNT                   Z_IR_MDO_PURPOSE_COUNT

+

+/*Òý×Ôms.hÖв¨¶ÎµÄºê¶¨Ò壬Ϊ±ÜÃâ°üº¬ms.h¹ÊÖØÐ¶¨Òå*/

+#define Z_IR_MS_GSM900                            (BYTE)0

+#define ZPS_IR_MS_GSM900                           Z_IR_MS_GSM900

+#define Z_IR_MS_GSM900_P                          (BYTE)1

+#define ZPS_IR_MS_GSM900_P                         Z_IR_MS_GSM900_P

+#define Z_IR_MS_GSM900_E                          (BYTE)2

+#define ZPS_IR_MS_GSM900_E                         Z_IR_MS_GSM900_E

+#define Z_IR_MS_GSM900_R                          (BYTE)3

+#define ZPS_IR_MS_GSM900_R                         Z_IR_MS_GSM900_R

+#define Z_IR_MS_GSM1800                           (BYTE)4

+#define ZPS_IR_MS_GSM1800                          Z_IR_MS_GSM1800

+#define Z_IR_MS_GSM1900                           (BYTE)5

+#define ZPS_IR_MS_GSM1900                          Z_IR_MS_GSM1900

+#define Z_IR_MS_GSM850                            (BYTE)6

+#define ZPS_IR_MS_GSM850                           Z_IR_MS_GSM850

+#define Z_IR_MS_GSM450                            (BYTE)7

+#define ZPS_IR_MS_GSM450                           Z_IR_MS_GSM450

+#define Z_IR_MS_GSM480                            (BYTE)8

+#define ZPS_IR_MS_GSM480                           Z_IR_MS_GSM480

+#define Z_IR_MS_GSM750                            (BYTE)9

+#define ZPS_IR_MS_GSM750                           Z_IR_MS_GSM750

+#define Z_IR_MS_GSM_T_GSM_380                     (BYTE)10

+#define ZPS_IR_MS_GSM_T_GSM_380                    Z_IR_MS_GSM_T_GSM_380

+#define Z_IR_MS_GSM_T_GSM_410                     (BYTE)11

+#define ZPS_IR_MS_GSM_T_GSM_410                    Z_IR_MS_GSM_T_GSM_410

+#define Z_IR_MS_GSM_T_GSM_900                     (BYTE)12

+#define ZPS_IR_MS_GSM_T_GSM_900                    Z_IR_MS_GSM_T_GSM_900

+#define Z_IR_MS_MULTIBAND                         (BYTE)13

+#define ZPS_IR_MS_MULTIBAND                        Z_IR_MS_MULTIBAND

+#define Z_IR_MS_UMTS_FDD                          (BYTE)14

+#define ZPS_IR_MS_UMTS_FDD                         Z_IR_MS_UMTS_FDD

+#define Z_IR_MS_UMTS_TDD                          (BYTE)15

+#define ZPS_IR_MS_UMTS_TDD                         Z_IR_MS_UMTS_TDD

+#define Z_IR_INVALID_BAND                         (BYTE)16

+#define ZPS_IR_INVALID_BAND                        Z_IR_INVALID_BAND

+

+/* ================================= l1ud_tstamp.h, end ================================== */

+

+/* ================================= l1u_mdb.h ========================================= */

+#define Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY        (BYTE)32

+#define ZPS_IR_NOF_UTRAN_CELLS_PER_FREQUENCY       Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY

+    

+#define Z_IR_NOF_CELL_LIST_FREQUENCIES            (BYTE)16

+#define ZPS_IR_NOF_CELL_LIST_FREQUENCIES           Z_IR_NOF_CELL_LIST_FREQUENCIES

+    

+#define Z_IR_INVALID_UARFCN                       (WORD)0xFFFF

+#define ZPS_IR_INVALID_UARFCN                      Z_IR_INVALID_UARFCN

+#define Z_IR_INVALID_DL_PSC                       (WORD)0xFFFF

+#define ZPS_IR_INVALID_DL_PSC                      Z_IR_INVALID_DL_PSC

+    

+#define Z_IR_UTRAN_IRAT_MEAS_DISABLED             (BYTE)0

+#define ZPS_IR_UTRAN_IRAT_MEAS_DISABLED            Z_IR_UTRAN_IRAT_MEAS_DISABLED

+#define Z_IR_UTRAN_IRAT_MEAS_ENABLED              (BYTE)1

+#define ZPS_IR_UTRAN_IRAT_MEAS_ENABLED             Z_IR_UTRAN_IRAT_MEAS_ENABLED

+#define Z_IR_UTRAN_IRAT_MEAS_DED                  (BYTE)2

+#define ZPS_IR_UTRAN_IRAT_MEAS_DED                 Z_IR_UTRAN_IRAT_MEAS_DED

+#define Z_IR_UTRAN_IRAT_MEAS_NC                   (BYTE)4

+#define ZPS_IR_UTRAN_IRAT_MEAS_NC                  Z_IR_UTRAN_IRAT_MEAS_NC

+#define Z_IR_UTRAN_IRAT_MEAS_ALL                  (BYTE)7

+#define ZPS_IR_UTRAN_IRAT_MEAS_ALL                 Z_IR_UTRAN_IRAT_MEAS_ALL

+    

+#define Z_IR_MDO_GAP_MODE_LONG                    (BYTE)0

+#define ZPS_IR_MDO_GAP_MODE_LONG                   Z_IR_MDO_GAP_MODE_LONG

+#define Z_IR_MDO_GAP_MODE_SHORT                   (BYTE)1

+#define ZPS_IR_MDO_GAP_MODE_SHORT                  Z_IR_MDO_GAP_MODE_SHORT

+    

+#define Z_IR_CELL_LIST_0                          (BYTE)0

+#define ZPS_IR_CELL_LIST_0                         Z_IR_CELL_LIST_0

+#define Z_IR_CELL_LIST_1                          (BYTE)1

+#define ZPS_IR_CELL_LIST_1                         Z_IR_CELL_LIST_1

+#define Z_IR_CELL_LIST_2                          (BYTE)8

+#define ZPS_IR_CELL_LIST_2                         Z_IR_CELL_LIST_2

+#define Z_IR_CELL_LIST_ID_UNKNOWN                 (BYTE)0xFF

+#define ZPS_IR_CELL_LIST_ID_UNKNOWN                Z_IR_CELL_LIST_ID_UNKNOWN

+

+#define Z_IR_UTRAN_INACTIVE                       (BYTE)0

+#define ZPS_IR_UTRAN_INACTIVE                      Z_IR_UTRAN_INACTIVE

+#define Z_IR_UTRAN_ACTIVE                         (BYTE)1

+#define ZPS_IR_UTRAN_ACTIVE                        Z_IR_UTRAN_ACTIVE

+#define Z_IR_UTRAN_SUSPEND                        (BYTE)2

+#define ZPS_IR_UTRAN_SUSPEND                       Z_IR_UTRAN_SUSPEND

+#define Z_IR_UTRAN_FINISHED                       (BYTE)3 

+#define ZPS_IR_UTRAN_FINISHED                      Z_IR_UTRAN_FINISHED

+

+#define Z_IR_MAX_GSM_CELL_CNT                     (BYTE)32

+#define ZPS_IR_MAX_GSM_CELL_CNT                    Z_IR_MAX_GSM_CELL_CNT

+#define Z_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ     (BYTE)32

+#define ZPS_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ    Z_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ

+

+/* ================================= 1u_mdb.h, end ======================================*/

+

+

+/**************************************************************************

+ *                           È«¾ÖÊý¾ÝÀàÐÍ                                 *

+ **************************************************************************/

+/*========================================================================

+ = 3GΪÖ÷ʱ£¬2G´ý²âÁ¿Ð¡Çø¶¨Ò壨Óëms.hÖÐT_MON_MEAS_RESULT_GSM_ELEMENTÏàͬ£©=

+ =========================================================================*/

+typedef struct 

+{

+    BYTE                                cell_id;    /*L1GËù±£´æBAÁбíµÄË÷ÒýÖµ*/

+    BYTE                                bsic;

+    CHAR                                rssi;

+} T_zIR_MON_MEAS_RESULT_GSM_ELEMENT,T_zPS_IR_MON_MEAS_RESULT_GSM_ELEMENT;

+/*========================================================================

+ =       3GΪÖ÷ʱ£¬ÇëÇó»ñÈ¡L1G±£´æµÄBAÁÐ±í                                =

+ =========================================================================*/

+typedef WORD  T_RADIO_FREQ_NO;

+typedef BYTE  T_BSIC;

+

+typedef struct {

+    T_RADIO_FREQ_NO  A[32];

+}  T_CHAN_LIST;

+

+typedef T_CHAN_LIST T_zIR_CHAN_LIST;

+typedef T_zIR_CHAN_LIST T_zPS_IR_CHAN_LIST;

+

+typedef struct T_BCCH_LIST_s {

+    BYTE  num_of_chans;

+    T_CHAN_LIST  chan_number;

+} T_BCCH_LIST;

+

+typedef T_BCCH_LIST T_zIR_BCCH_LIST;

+typedef T_zIR_BCCH_LIST T_zPS_IR_BCCH_LIST;

+

+/*========================================================================

+ =       2GΪÖ÷ʱ£¬²âÁ¿ÇëÇó²ÎÊýµÄÊý¾Ý½á¹¹                                =

+ =========================================================================*/

+typedef struct

+{    

+    WORD                                wUarfcn;

+    BYTE                                bNum_of_cells;

+    BYTE                                bPadding;

+    

+    WORD                                atCellInfo[Z_IR_MAX_INTER_FREQ_CELL_NUM];

+} T_zIR_UMeasUarfcn,T_zPS_IR_UMeasUarfcn;

+

+typedef struct

+{    

+    BYTE                                bMeas_reference;

+    BYTE                                bNum_of_uarfcns;  /*´ý²âƵµãÊý*/

+    T_zIR_UMeasUarfcn                atUarfcn[Z_IR_MCR_MAX_FREQ]; 

+} T_zIR_UMeasParams,T_zPS_IR_UMeasParams;

+

+/*========================================================================

+ =       2GΪÖ÷ʱ£¬²âÁ¿½á¹ûÉϱ¨²ÎÊýµÄÊý¾Ý½á¹¹                            =

+ =========================================================================*/

+typedef struct

+{       

+    BYTE                                bUcell_param;

+    BYTE                                bRscp; 

+} T_zIR_UMeasCellsRlt,T_zPS_IR_UMeasCellsRlt;

+

+typedef struct

+{    

+    WORD                                wUarfcn;

+    WORD                                wPadding;

+

+    DWORD                               dwMeasured_cells;  /*ÒѲâÐ¡ÇøµÄBITMAP*/

+

+    T_zIR_UMeasCellsRlt              atCellRlt[Z_IR_MAX_INTER_FREQ_CELL_NUM]; 

+} T_zIR_UMeasFreqRlt,T_zPS_IR_UMeasFreqRlt;

+

+typedef struct 

+{

+    BYTE                                bMeas_reference;   /*L1GÄÚ²¿Ê¹ÓõIJâÁ¿±àºÅ£¬ÓÃÀ´ÅжϲâÁ¿ÊÇ·ñ¸Ä±ä*/

+    BYTE                                bnof_freq;         /*Éϱ¨µÄƵµãÊý*/

+    BYTE                                abPadding[2];

+

+    T_zIR_UMeasFreqRlt               atFreqRlt[Z_IR_MCR_MAX_FREQ];

+} T_zIR_UMeasRltList,T_zPS_IR_UMeasRltList;

+

+/*========================================================================

+ = GSM Timing information as communicated from UMTS 

+ = For details on timestamp reading, please see the dspec

+ =========================================================================*/

+typedef long T_L1_HYPER_FRAME_NO;

+typedef WORD  T_L1_QBITS;

+

+typedef struct 

+{

+  T_L1_HYPER_FRAME_NO  tfn;

+  T_L1_QBITS           t_off;

+} T_IR_TDMA_TIME_INFO;

+

+typedef T_IR_TDMA_TIME_INFO T_zIR_TDMA_TIME_INFO;

+typedef T_zIR_TDMA_TIME_INFO T_zPS_IR_TDMA_TIME_INFO;

+

+/*========================================================================

+                 L1TÓëL1G¹²Óýṹ¶¨Ò壨¼Ì³Ð×ÔComneon´úÂ룩

+ =========================================================================*/

+/* ================================ l1u_irat.h, begin ================================== */

+/*

+** This enum indicates the sync status of a BS

+*/

+typedef enum

+{

+  IR_NO_SYNC,            /* unsynced (no FCB, no SB)    */

+  IR_FCB_SEARCH_PENDING, /* unsynced, but FCB attempted */

+  IR_FCB_SYNC,           /* unsynced, but FCB found     */

+  IR_SB_SYNC,            /* synced (FCB and SB)         */

+  IR_SB_RECONF,          /* SB needs to be reconfirmed  */

+  IR_INVALID_SYNC        /* unsynced (or reconf failed) */

+} T_IR_GSM_SYNC_STATUS;

+

+/*

+** Indicates whether initial SB read or SB reconfirmation is desired

+*/

+typedef enum

+{

+  IR_INIT_SB_READ,   /* initial SB read desired   */

+  IR_RECONF_SB_READ  /* SB reconfirmation desired */

+} T_IR_SB_READ_TYPE;

+

+

+typedef enum
+{
+    L1G_IRAT_XCELL = 0,
+    L1G_IRAT_RESEL_GSM2UTRAN,
+    L1G_IRAT_RESEL_GSM2LTE,
+    L1G_IRAT_REDIRECT_GSM2UTRAN,
+    L1G_IRAT_REDIRECT_GSM2LTE,
+    L1G_IRAT_CCO_GSM2UTRAN,
+    L1G_IRAT_CCO_GSM2LTE,
+    L1G_IRAT_CSHO_GSM2UTRAN,
+    L1G_IRAT_PSHO_GSM2UTRAN,
+    L1G_IRAT_PSHO_GSM2LTE
+} T_L1G_IRAT_SCENE_TYPE;
+

+

+

+typedef T_IR_GSM_SYNC_STATUS            T_zIR_GSM_SYNC_STATUS;

+typedef T_zIR_GSM_SYNC_STATUS           T_zPS_IR_GSM_SYNC_STATUS;

+typedef BYTE                            T_zIR_TIMING_CTRL;

+typedef T_zIR_TIMING_CTRL               T_zPS_IR_TIMING_CTRL;

+typedef T_IR_SB_READ_TYPE               T_zIR_SB_READ_TYPE;

+typedef T_zIR_SB_READ_TYPE              T_zPS_IR_SB_READ_TYPE;

+typedef BYTE                            T_zIR_HANDLER_REQ_TYPE;

+typedef T_zIR_HANDLER_REQ_TYPE          T_zPS_IR_HANDLER_REQ_TYPE;

+

+/* ** This enum indicates the sync status of a BS */

+#define Z_IR_NO_SYNC                              IR_NO_SYNC /* unsynced (no FCB, no SB)    */

+#define ZPS_IR_NO_SYNC                             Z_IR_NO_SYNC

+#define Z_IR_FCB_SEARCH_PENDING                   IR_FCB_SEARCH_PENDING /* unsynced, but FCB attempted */

+#define ZPS_IR_FCB_SEARCH_PENDING                  Z_IR_FCB_SEARCH_PENDING

+#define Z_IR_FCB_SYNC                             IR_FCB_SYNC /* unsynced, but FCB found     */

+#define ZPS_IR_FCB_SYNC                            Z_IR_FCB_SYNC

+#define Z_IR_SB_SYNC                              IR_SB_SYNC /* synced (FCB and SB)         */

+#define ZPS_IR_SB_SYNC                             Z_IR_SB_SYNC

+#define Z_IR_SB_RECONF                            IR_SB_RECONF /* SB needs to be reconfirmed  */

+#define ZPS_IR_SB_RECONF                           Z_IR_SB_RECONF

+#define Z_IR_INVALID_SYNC                         IR_INVALID_SYNC /* unsynced (or reconf failed) */

+#define ZPS_IR_INVALID_SYNC                        Z_IR_INVALID_SYNC

+

+/*

+** Indicates whether initial SB read or SB reconfirmation is desired

+*/

+#define Z_IR_INIT_SB_READ                         IR_INIT_SB_READ /* initial SB read desired   */

+#define ZPS_IR_INIT_SB_READ                       Z_IR_INIT_SB_READ

+#define Z_IR_RECONF_SB_READ                       IR_RECONF_SB_READ /* SB reconfirmation desired */

+#define ZPS_IR_RECONF_SB_READ                      Z_IR_RECONF_SB_READ

+

+#define   Z_GSM_RPI_SUPPORT_MAX_BAND          (BYTE)8

+

+/*

+** This type is used to select "allowed bands" for RSSI measurements

+** For band n (from T_GSM_BAND) bit 1<<n is set in the mask.

+**

+*/

+typedef DWORD                           T_zIR_IR_GSM_BAND_MASK;

+typedef T_zIR_IR_GSM_BAND_MASK          T_zPS_IR_IR_GSM_BAND_MASK;

+

+/*

+** General return fct stucture, to be used in most InterRAT functionality

+*/

+typedef struct

+{

+    VOID                                (*func)(BYTE, BYTE); 

+    BYTE                                para;

+} T_zIR_RESULT_FUNCTION,T_zPS_IR_RESULT_FUNCTION;

+

+/*

+** Table with GSM cell info for all reported cells

+*/

+typedef struct T_L1_CELL_INFO_GSM_s {

+    T_RADIO_FREQ_NO  arfcn;

+    T_BSIC  bsic;

+} T_L1_CELL_INFO_GSM;

+

+typedef T_L1_CELL_INFO_GSM T_zIR_CELL_INFO_GSM;

+typedef T_zIR_CELL_INFO_GSM T_zPS_IR_CELL_INFO_GSM;

+

+typedef struct

+{

+  BYTE                nof_cells ;

+  T_L1_CELL_INFO_GSM   rep_cell_info[MAX_IR_SYNC_INFO_CELLS];

+  T_IR_GSM_SYNC_STATUS status[MAX_IR_SYNC_INFO_CELLS];

+} T_IR_REP_CELL_TABLE;

+

+typedef T_IR_REP_CELL_TABLE T_zIR_REP_CELL_TABLE;

+typedef T_zIR_REP_CELL_TABLE T_zPS_IR_REP_CELL_TABLE;

+

+typedef struct

+{

+    T_zIR_REP_CELL_TABLE      cell_info;

+    T_zIR_TDMA_TIME_INFO                  sb_time_info[Z_IR_MAX_IR_SYNC_INFO_CELLS];

+}T_zIR_SB_INFO_TABLE,T_zPS_IR_SB_INFO_TABLE;

+/*

+** Structure which provides all sync info on each GSM cell, 

+** neccessary for BSIC read/verification. 

+*/

+typedef struct

+{

+  T_RADIO_FREQ_NO       arfcn;

+  T_IR_GSM_SYNC_STATUS  status;

+  T_IR_TDMA_TIME_INFO   timing;

+  WORD                invalid_time_remaining;

+} T_IR_CELL_SYNC_DATA;

+

+typedef T_IR_CELL_SYNC_DATA T_zIR_CELL_SYNC_DATA;

+typedef T_zIR_CELL_SYNC_DATA T_zPS_IR_CELL_SYNC_DATA;

+

+/*

+** Array of the sync data for all reported cells 

+*/

+typedef struct

+{

+    BYTE                                nof_cells;

+    T_zIR_CELL_SYNC_DATA             sync_data[Z_IR_MAX_IR_SYNC_INFO_CELLS];

+} T_zIR_CELL_SYNC_QUERY_DATA,T_zPS_IR_CELL_SYNC_QUERY_DATA;

+

+/* Structure is used to combine some parameters.*/

+typedef struct

+{

+    BYTE                                numRemainingGaps; /*same as in struct hciGsmInactiveTimeReq_t*/

+    BYTE                                searchPrioMode; /*same as in struct hciGsmInactiveTimeReq_t*/   

+    BYTE                                clusterType; /*same as in struct hciGsmInactiveTimeReq_t*/   

+} T_zIR_CLUSTER_INFO,T_zPS_IR_CLUSTER_INFO;

+

+//typedef WORD                             T_RADIO_FREQ_NO;

+//typedef BYTE                             T_RXLEV;

+//typedef BYTE                             T_BSIC;

+//typedef WORD                             T_L1_QBITS;

+//typedef DWORD                            T_L1_HYPER_FRAME_NO;

+

+typedef struct

+{

+  WORD                                   arfcn;             /*ComneonÖÐÀàÐͶ¨ÒåΪT_RADIO_FREQ_NO*/

+  BYTE                                   rxlev_avgr;        /*ComneonÖÐÀàÐͶ¨ÒåΪT_RXLEV*/

+  BYTE                                   bsic;              /*ComneonÖÐÀàÐͶ¨ÒåΪT_BSIC*/

+  BYTE                                   band;              /* T_GSM_BAND not used to save RAM */

+  BYTE                                   nwin_idx;

+  WORD                                   timing_offset;     /*ComneonÖÐÀàÐͶ¨ÒåΪT_L1_QBITS*/

+  DWORD                                  fn_offset;         /*ComneonÖÐÀàÐͶ¨ÒåΪT_L1_HYPER_FRAME_NO*/

+}T_zIR_MDO_NCELL_ELEM,T_zPS_IR_MDO_NCELL_ELEM;

+

+typedef BYTE                            T_zIR_MDO_PURPOSE;  

+typedef T_zIR_MDO_PURPOSE               T_zPS_IR_MDO_PURPOSE;  

+

+/*========================================================================

+                 L1TÓëL1G¹²Óýṹ¶¨Ò壨¼Ì³Ð×ÔComneon´úÂ룩

+ =========================================================================*/

+/* ================================ l1u_mdb.h, begin ================================== */

+typedef BYTE                            T_zIR_CELL_LIST_ID;

+typedef T_zIR_CELL_LIST_ID              T_zPS_IR_CELL_LIST_ID;

+typedef BYTE                            T_zIR_UTRAN_IRAT_MEAS;

+typedef T_zIR_UTRAN_IRAT_MEAS           T_zPS_IR_UTRAN_IRAT_MEAS;

+typedef BYTE                            T_zIR_MDO_GAP_MODES;

+typedef T_zIR_MDO_GAP_MODES             T_zPS_IR_MDO_GAP_MODES;

+typedef BYTE                            T_zIR_UTRAN_MEAS_STATE;

+typedef T_zIR_UTRAN_MEAS_STATE          T_zPS_IR_UTRAN_MEAS_STATE;

+

+typedef struct 

+{

+    SHORT                               rscp;

+    BYTE                                nof_results;

+} T_zIR_MDB_UTRAN_CELL_MEAS_BUFFER,T_zPS_IR_MDB_UTRAN_CELL_MEAS_BUFFER;

+

+typedef struct {

+    BYTE                                index;

+    WORD                                ucell_param;

+    BYTE                                diversity;

+    BYTE                                sync_case_tstd;

+} T_zIR_UTRAN_CELL_ON_FREQ,T_zPS_IR_UTRAN_CELL_ON_FREQ;

+

+typedef struct {

+    T_zIR_UTRAN_CELL_ON_FREQ         A[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];

+} T_zIR_UTRAN_CELL_FIELD,T_zPS_IR_UTRAN_CELL_FIELD;

+

+typedef struct 

+{

+    T_zIR_MDB_UTRAN_CELL_MEAS_BUFFER   measurement[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];

+} T_zIR_MDB_NCELL_MEAS_PERIOD_DATA_SET, * T_zIR_MDB_NCELL_MEAS_PERIOD_DATA_SET_PTR,

+T_zPS_IR_MDB_NCELL_MEAS_PERIOD_DATA_SET, * T_zPS_IR_MDB_NCELL_MEAS_PERIOD_DATA_SET_PTR;

+

+typedef struct 

+{

+    CHAR                                rscp; /*Comenon: char(½­ºè)*/

+} T_zIR_MDB_MEAS_ELEMENT,T_zPS_IR_MDB_MEAS_ELEMENT;

+

+typedef struct 

+{

+    T_zIR_MDB_MEAS_ELEMENT           measurement[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];

+} T_zIR_MDB_UTRAN_NCELL_MEAS_RESULT_SET, *T_zIR_MDB_UTRAN_NCELL_MEAS_RESULT_SET_PTR,

+T_zPS_IR_MDB_UTRAN_NCELL_MEAS_RESULT_SET, *T_zPS_IR_MDB_UTRAN_NCELL_MEAS_RESULT_SET_PTR;

+

+typedef struct {

+    BYTE                                index;

+    BYTE                                length;

+    WORD                                dl_uarfcn; /*Comneon: unsigned short(½­ºè)*/

+    T_zIR_UTRAN_CELL_FIELD           utran_cell;

+}T_zIR_MDB_CELL_LIST_DATA_SET, *T_zIR_MDB_CELL_LIST_DATA_SET_PTR,

+T_zPS_IR_MDB_CELL_LIST_DATA_SET, *T_zPS_IR_MDB_CELL_LIST_DATA_SET_PTR;

+

+typedef struct 

+{

+    T_zIR_MDB_CELL_LIST_DATA_SET_PTR                 p_cell_list;

+    T_zIR_MDB_NCELL_MEAS_PERIOD_DATA_SET_PTR         p_period;

+    T_zIR_MDB_UTRAN_NCELL_MEAS_RESULT_SET_PTR        p_avg;

+} T_zIR_MDB_NCELL_LIST_DATA_SET,T_zPS_IR_MDB_NCELL_LIST_DATA_SET;

+

+typedef struct {

+    WORD                                dl_uarfcn; /*Comneon: unsigned short(½­ºè)*/

+    BYTE                                nof_ncell;

+    WORD                                utran_cell[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];

+} T_zIR_IRAT_UTRAN_CELLS_PER_FREQ,T_zPS_IR_IRAT_UTRAN_CELLS_PER_FREQ;      

+

+typedef struct 

+{   

+    BYTE                                meas_reference; /*Comneon: byte(½­ºè)*/

+    BYTE                                length;         /*Comneon: byte(½­ºè)*/

+    #ifndef MULTI_IRAT_2963

+	DWORD			                    dwTmeasInial;/*³õʼ²âÁ¿ÖÜÆÚms£¬ÐèÒª²âÁ¿µÄƵµã¶¼ËÑË÷ºó£¬´ËÖÜÆÚ±äΪÎÞЧ */            

+    WORD		                        wTmeas;/*Õý³£Éϱ¨ÖÜÆÚ*/

+	#endif                                            

+    T_zIR_IRAT_UTRAN_CELLS_PER_FREQ  A[Z_IR_NOF_CELL_LIST_FREQUENCIES];

+}T_zIR_L1G_TddCellMeasReq,T_zPS_IR_L1G_TddCellMeasReq;

+

+typedef struct {

+    BYTE                                pccch_present;

+    BYTE                                u3g_ba_ind;

+    BYTE                                psi3_change_mark;

+    BYTE                                pmo_ind;

+} T_zIR_RR_3G_LIST_ID,T_zPS_IR_RR_3G_LIST_ID;

+

+typedef struct{  

+    T_zIR_RR_3G_LIST_ID              id_set[2];  

+    BYTE                                write_index;  

+    BYTE                                read_index;

+} T_zIR_U3G_LIST_ID_BUFFER,T_zPS_IR_U3G_LIST_ID_BUFFER;

+

+typedef struct{ 

+    /* flag indicating if ncell measurements on a particular frequency are enabled */  

+    BYTE                                freq_enabled;

+    /* backup of freq_enabled flag, needed for suspend mode */ 

+    BYTE                                backup_freq_enabled; 

+    /* indicates that a report can be created */  

+    BYTE                                ncell_meas_complete;  

+    /* indicates for which cells there are recent results from HW */  

+    DWORD                               measured_cells;

+} T_zIR_UTRAN_NCELL_INFO,T_zPS_IR_UTRAN_NCELL_INFO;

+

+typedef struct{  

+    /* indicates that measurements can be started because qsearch threshold condition is fulfilled */ 

+    BYTE                                qsearch_start_meas;  

+    /* indicates the RXLEV threshold value for the start of UMTS measurements   ** in idle or packet transfer mode */  

+    BYTE                                qsearch_ip;  

+    /* indicates the RXLEV threshold value for the start of UMTS measurements connected mode */  

+    BYTE                                qsearch_c;  

+    /* Indicates the Qsearch value to be used in connected mode before Qsearch_C is received */  

+    BYTE                                qsearch_c_initial; 

+    /* indicates if 3G cells may be searched when BSIC decoding is required */  

+    BYTE                                search_prio; 

+    /* 3G_LIST_ID parameters sent by RR associated with the measurement request message */  

+    T_zIR_U3G_LIST_ID_BUFFER         u3g_list_id;

+} T_zIR_CELL_PARAMS,T_zPS_IR_CELL_PARAMS;

+

+typedef struct{  

+    /* indicates that a new measurement request from RR has arrived */  

+    BYTE                                new_meas_req; 

+    /* indicates a new set of header params of the type T_RR_3G_LIST_ID for a new meas req */  

+    BYTE                                rr_3g_id_changed;  

+    /* indicates the overall on/off state of the Inter-RAT measurements */  

+    T_zIR_UTRAN_MEAS_STATE           utran_state;  

+    /* Parameters to coordinate GSM tasks and UMTS measurements */  

+    T_zIR_CELL_PARAMS                cell_params;  

+    BYTE                                supported_3g_networks;

+    /* control data for ncell result processing */  

+    T_zIR_UTRAN_NCELL_INFO           ncell_info[Z_IR_NOF_CELL_LIST_FREQUENCIES];

+    WORD                                arfcn;  

+    /* indicates that measurement request data were sent either through MPH_UPDATE_DED_PARAM_REQ  ** or MPH_START_NC_MEAS_REQ; flag is needed in the result handler */  

+    T_zIR_UTRAN_IRAT_MEAS            meas_mode;  

+    /* indicates that an update (delta) of the current measurement request is pending. This may  ** happen only in DCH mode. */  

+    BYTE                                dch_meas_delta_pending;  /* indicates that a new measurement request came in while Interrat measurements are suspended */  

+    BYTE                                mdb_backup_obsolete;  /* measurement ID that indentifies a measurement request on SDL and HW level */  

+    BYTE                                meas_reference;

+#if defined (SINGLE_ANTENNA_SUPPORT)  /* counter for search frames, multiple of SEARCH_FRAMES_FOR_IRAT */  

+    WORD                                mfr26_cnt;  /* counter for search frames which were used for iRAT, multiple of PERIOD_FOR_IRAT */  

+    WORD                                mfr26_taken_for_irat_cnt;  /* counter for search frames inside a cluster, 0 no iRAT at the moment */  

+    WORD                                mfr26_cluster_for_irat_cnt;    /* sum of connected search frames for iRAT measurement */  

+    WORD                                mfr26_cluster_size_for_irat;    /* cluster mode */  

+    T_zIR_MDO_GAP_MODES              mfr26_cluster_mode;  /* Scheduling index for calculating priority for IRAT measurement */  

+    BYTE                                sched_idx;

+#endif /* (SINGLE_ANTENNA_SUPPORT) */  

+} T_zIR_UTRAN_CTRL_DATA,T_zPS_IR_UTRAN_CTRL_DATA;

+

+typedef struct  {

+    BYTE                                bUcell_param;

+    BYTE                                bRscp;

+} T_zIR_UtranMeasCellsResults,T_zPS_IR_UtranMeasCellsResults;

+

+typedef struct  {

+    WORD                                wUarfcn;

+    DWORD                               dwMeasured_cells;

+    T_zIR_UtranMeasCellsResults      atCellRlt[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];

+} T_zIR_IratUmcrMeasResult,T_zPS_IR_IratUmcrMeasResult;

+

+typedef struct {

+    BYTE                                index;

+    WORD                                dl_uarfcn;

+    BYTE                                length;

+    T_zIR_UTRAN_CELL_FIELD           utran_cell;

+} T_zIR_UTRAN_CELLS_PER_FREQ,T_zPS_IR_UTRAN_CELLS_PER_FREQ;

+

+

+/*========================================================================

+                 CBSÓëL1GÏûÏ¢½á¹¹¶¨Òå

+ =========================================================================*/

+/* ================================ ms.h, begin ================================= */

+/*==============================================================================

+ Ô­ÓL1MN_CBCH_DATA_IND(L1G->CBS)

+ ˵Ã÷: L1GÉϱ¨µÄ23×Ö½ÚµÄÎÞÏß¿é

+==============================================================================*/ 

+typedef struct {

+    BYTE                                abBuf[23];

+} T_zCbs_L1MN_CBCH_DATA_IND; /* come from commneon yPDef_L1MN_CBCH_DATA_IND */

+

+/*==============================================================================

+ Ô­ÓL1MN_CBCH_START_REQ(CBS->L1G)

+ ˵Ã÷: CBS֪ͨL1GÆô¶¯CBS½ÓÊÕ, ¿ÕÏûÏ¢

+==============================================================================*/ 

+

+/*==============================================================================

+ Ô­ÓL1MN_CBCH_STOP_REQ((CBS->L1G)

+ ˵Ã÷: CBS֪ͨL1GÍ£Ö¹CBS½ÓÊÕ, ¿ÕÏûÏ¢

+==============================================================================*/ 

+

+/*==============================================================================

+ Ô­ÓL1MN_CBCH_SKIP_REQ((CBS->L1G)

+ ˵Ã÷: CBSÏòL1G·¢ËÍSkipÒ³ÃæÇëÇó

+==============================================================================*/ 

+typedef struct {

+    WORD                                wPageNo;

+} T_zCbs_L1MN_CBCH_SKIP_REQ; /* come from commneon yPDef_L1MN_CBCH_SKIP_REQ */

+

+/* ================================ ms.h, end ================================= */

+

+

+/******************************************************

+   L1T->L1G

+    ¹¦ÄÜ:

+               L1TÏòL1G ÇëÇóÉ䯵×ÊÔ´,

+    ÏûÏ¢¼°½á¹¹:      Z_L1_TdGetRfFromGsm_Req£¨SDLÏûÏ¢£ºL1T_DEACT_GSM_REQ_EV£©

+                  NULL

+******************************************************/

+/******************************************************

+   L1G->L1T

+    ¹¦ÄÜ:

+               L1GÏòL1T»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ

+    ÏûÏ¢¼°½á¹¹:      Z_L1_TdGetRfFromGsm_Cnf£¨SDLÏûÏ¢£ºL1T_DEACT_GSM_CNF_EV£©

+                  NULL

+******************************************************/

+

+/******************************************************

+   L1E->L1G

+    ¹¦ÄÜ:

+                L1EÏòL1GÇëÇóÉ䯵×ÊÔ´

+    ÏûÏ¢¼°½á¹¹:      Z_L1_LteGetRfFromGsm_Req£¨SDLÏûÏ¢£ºL1E_DEACT_GSM_REQ_EV£©

+                  NULL

+******************************************************/

+

+

+/******************************************************

+   L1G->L1E

+    ¹¦ÄÜ:

+               L1GÏòL1E»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ

+    ÏûÏ¢¼°½á¹¹:      Z_L1_LteGetRfFromGsm_Cnf£¨SDLÏûÏ¢£ºL1E_DEACT_GSM_CNF_EV£©

+                  NULL

+******************************************************/

+/******************************************************

+   L1G->L1T

+    ¹¦ÄÜ:

+               L1GÏòL1TÇëÇóÉ䯵×ÊÔ´

+    ÏûÏ¢¼°½á¹¹:      Z_L1_GsmGetRfFromTd_Req£¨SDLÏûÏ¢£ºL1G_DEACT_UMTS_REQ_EV£©

+                  NULL

+******************************************************/

+/******************************************************

+   L1T->L1G

+    ¹¦ÄÜ:

+               L1TÏòL1G»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ

+    ÏûÏ¢¼°½á¹¹:      Z_L1_GsmGetRfFromTd_Cnf£¨SDLÏûÏ¢£ºL1G_DEACT_UMTS_CNF_EV£©

+                  NULL

+******************************************************/

+

+/******************************************************

+   L1G->L1E

+    ¹¦ÄÜ:

+               L1GÏòL1EÇëÇóÉ䯵×ÊÔ´

+    ÏûÏ¢¼°½á¹¹:      Z_L1_GsmGetRfFromLte_Req£¨SDLÏûÏ¢£ºL1G_DEACT_LTE_REQ_EV£©

+                  NULL

+******************************************************/

+

+/******************************************************

+   L1E->L1G

+    ¹¦ÄÜ:

+             L1E ÏòL1G»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ

+    ÏûÏ¢¼°½á¹¹:      Z_L1_GsmGetRfFromLte_Cnf£¨SDLÏûÏ¢£ºL1G_DEACT_LTE_CNF_EV£©

+                  NULL

+******************************************************/

+

+/******************************************************

+    L1E<->L1T

+    ¹¦ÄÜ:

+                TDΪÖ÷ʱ L1EÏòL1T  ÇëÇóÉ䯵×ÊÔ´»òLTEΪÖ÷ʱ L1TÏòL1E  ÇëÇóÉ䯵×ÊÔ´

+    ÏûÏ¢¼°½á¹¹:     Z_L1_GetRF_Req

+                  NULL

+******************************************************/

+/******************************************************

+   L1T<->L1E

+    ¹¦ÄÜ:

+              TDΪÖ÷ʱ L1TÏòL1E »Ø¸´Èóö×ÊÔ´È·ÈÏ»òLTEΪÖ÷ʱ L1EÏòL1T»Ø¸´Èóö×ÊÔ´È·ÈÏ

+    ÏûÏ¢¼°½á¹¹:      Z_L1_GetRF_Cnf

+                  NULL

+******************************************************/

+/*L1G,L1T<->EPHY½Ó¿Ú*/

+/******************************************************

+    ·½Ïò:L1G,L1T->EPHY

+    ¹¦ÄÜ:LTEΪ¸¨Ä£Ê½µÄʱºò£¬L1G,L1TÅäÖÃLTEÎïÀí²ã²âÁ¿¡£

+             ¶ÔÓÚLTEÎïÀí²ãÀ´Ëµ¿ÉÄÜÏÈÊÕµ½²âÁ¿¼°measmask,ºóÊÕµ½GAP£¬

+             Ò²¿ÉÄÜÏÈÊÕµ½GAP,ºóÊÕµ½²âÁ¿ÁÐ±í¡£Èç¹ûÏÈÊÕµ½ÁбíºóÎïÀí

+             ²ã²»»á²âÁ¿Ö±µ½ÊÕµ½GAP²Å»á²âÁ¿£¬Èç¹ûÏÈÊÕµ½GAPÒ²²»»á²â

+             Á¿Ö±µ½ÓвâÁ¿ÁбíÅäÖÃÏÂÀ´				 

+    ÏûÏ¢:LTE_P_FREQ_LIST_CONFIG_REQ_EV

+    ½á¹¹:T_zLTE_P_FreqListConfigReq

+******************************************************/

+typedef struct {

+    WORD                    wStartPCI; /*ÆðʼµÄÎïÀíÐ¡ÇøID,0~503*/

+    WORD                    wRange;    /*°üÀ¨wStartPCIÖ¸¶¨Ð¡ÇøÔÚÄÚµÄÐ¡Çø¸öÊý.Ð¡ÇøÒÀ´ÎΪwStartPCI,wStartPCI+1,....,wStartPCI+wRange-1*/

+}T_zLTE_P_BlackCell;

+

+typedef struct 

+{ 

+    DWORD                   dwEarfcn;

+    WORD                    wMeasBandWidth; 

+    WORD                    wBlackCellRangeNum;

+    WORD                    wHighPrioInd;/*Èç¹û´ËLTEƵµãΪ¸ßÓÅÏȼ¶£¬ÔòÖÃ1£¬·ñÔòΪ0*/

+    WORD                    wPadding;

+    T_zLTE_P_BlackCell      atBlackCells[16];

+}T_zLTE_P_FreqInfo;  

+

+

+typedef struct 

+{ 

+    WORD                       wMsgId;

+     /*

+    bReportQuantity:	ȡֵ·¶Î§£º0£¬1£¬2

+    0: Ö»²âRSRP

+    1: Ö»²âRSRQ,

+    2: RSRPºÍRSRQÁ½¸ö¶¼²â

+*/ 

+    WORD                       wReportQuantity;

+    WORD                       wMaxCellRepPerFreq;

+	    /*

+    ±»²âµÄƵµã¸öÊý¡£¸ù¾ÝĿǰLTEÎïÀí²ãµÄ²âÁ¿ÄÜÁ¦×î¶àÖ§³Ö4¸öƵµã¡£

+    */

+    WORD                       wFreqNum;

+    /*

+    ²âÁ¿¶ÔÏóµÄÐÅÏ¢ÁÐ±í£¨º¬Í¬ÆµºÍÒìÆµ£©, ÔªËØ0¹Ì¶¨ÎªintraƵµãµÄ²ÎÊý¡£1~3ΪinterƵµã²ÎÊý

+	*/

+    T_zLTE_P_FreqInfo         atFreqInfoList[8];

+}T_zLTE_P_FreqListConfig_Req;

+

+

+/******************************************************

+    ·½Ïò:L1G,L1T->EPHY

+    ¹¦ÄÜ:L1T,l1Gͨ¹ýMask֪ͨLTEÎïÀí²ãÆô¶¯ÏàӦƵµã²âÁ¿£¬²¢ÆôÓÃеIJâÁ¿ÖÜÆÚ   

+    ÏûÏ¢:LTE_P_IRAT_MEAS_CONFIG_REQ_Ev

+    ½á¹¹:T_zLTE_P_IratMeasConfigReq

+******************************************************/

+typedef struct 

+{ 

+     WORD             wMsgId;

+     WORD             wConnectStateFlg;/*֪ͨÖ÷ģʽ״̬£¬0¿ÕÏÐ̬£¬1Á¬½Ó̬*/

+	 /*

+	 ÿ¸öbit¶ÔÓ¦meas_freq_infoÖеÄÒ»¸öƵµã£¬ÎïÀí²ãÖ»Æô¶¯¶ÔÓ¦µÄbitλΪ1µÄƵµãµÄ²âÁ¿¡£

+	 Bitn¶ÔÓ¦T_zLTE_P_IratMeasConfig_ReqÖеÄatMeasFreqInfoList[n]£¬n£º0~3

+	 */

+     WORD             wMeasBitMask;

+     /*³õËѲâÁ¿ºóµÄºóÐø²âÁ¿²âÁ¿ÖÜÆÚ¾ùΪwTmeas,µ¥Î»ms*/

+     WORD             wTmeas; 

+    /*µÚÒ»´Î²âÁ¿µÄ±¨¸æÖÜÆÚ£¬µ¥Î»ms,Èç¹ûÖÜÆÚÄÚÌáǰÍê³É¿ÉÒÔÌáǰÉϱ¨£¬

+	×²»³¬¹ý±¨¸æÖÜÆÚ¡£Èç¹ûÒ»¸öƵµãÖØÅäǰÒѾ­×ö¹ý²âÁ¿£¬ÔòÖ±½ÓÓÃÓÚwTmeas¶ø²»ÊÇdwTmeasInitial*/

+     DWORD           dwTmeasInitial;

+}T_zLTE_P_IratMeasConfig_Req;

+/******************************************************

+    ·½Ïò:L1G,L1T->EPHY

+    ¹¦ÄÜ:L1TÇëÇóÎïÀí²ãֹͣʹÓÃÒѾ­·ÖÅäµÄGAP.LTEÎïÀí²ãÊÕµ½¸ÃÏûÏ¢Á¢¼´Í£Ö¹¶ÔÒѾ­·ÖÅäµÄGAPµÄʹÓã¬

+             È¡ÏûºóÐøµ÷¶È£¬ÔÚ×î¿ìµÄʱ¼äÄÚÈóöÉ䯵.Note:ºÍLTE_P_ABORT_GAP_CNF_EvÅäÖÃʹÓÃ

+    ÏûÏ¢:LTE_P_ABORT_GAP_REQ_Ev

+    ½á¹¹:T_zLTE_P_AbortGapReq

+******************************************************/

+typedef struct 

+{ 

+    WORD             wMsgId;

+    WORD             wPadding;

+} T_zLTE_P_AbortGap_Req;

+

+

+/*  ¶àÄ£½Ó¿Ú*/

+/******************************************************

+    ·½Ïò:L1E->L1T/L1G

+    ¹¦ÄÜ:LTEÎïÀí²ãÉϱ¨²âÁ¿½á¹û,ÆäÖв»º¬ºÚÃûµ¥ÖеÄÐ¡Çø

+    ÏûÏ¢:LTE_P_IRAT_MEAS_IND_EV

+    ½á¹¹:T_zLTE_P_IratMeas_Ind

+******************************************************/

+/*

+EPHYÒ»¸öÐ¡ÇøµÄ²âÁ¿½á¹ûÐÅÏ¢

+*/

+typedef struct 

+{ 

+     WORD                 wPhyCellId;   //ȡֵ·¶Î§£º 0~503

+     WORD                 wRsrp;       //ȡֵ·¶Î§£º 0~97

+     WORD                 wRsrq;       //ȡֵ·¶Î§£º 0~34

+     WORD                 wPadding;

+} T_zLTE_P_MeasResult;

+

+/*

+Ò»¸öƵµãµÄ²âÁ¿½á¹û,ÓÃÓÚÒìÆµ²âÁ¿½á¹ûµÄÉϱ¨

+*/

+typedef struct 

+{ 

+   DWORD                       dwReportEarfcn;        //ȡֵ·¶Î§£º 0~262143

+   WORD                        wCellNum;         //ȡֵ·¶Î§£º 0~32

+   WORD                        wPadding;

+   T_zLTE_P_MeasResult         atResultList[Z_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ];

+} T_zLTE_P_FreqMeasResult; 

+

+typedef struct 

+{ 

+    WORD             wMsgId;

+    WORD             wFreqNum;    

+    T_zLTE_P_FreqMeasResult  atFreqResultList[8];

+    WORD             wRptFlg; /*0:ÖÜÆÚÉϱ¨ 1:ÌáǰÉϱ¨*/

+    WORD             wPadding;

+} T_zLTE_P_IratMeas_Ind;

+

+#ifdef Z_SINGLEANTENNA

+/******************************************************

+    ·½Ïò:L1G,L1T->EPHY

+    ¹¦ÄÜ:LTEΪ¸¨µÄʱºò£¬L1G£¬L1T¸øEPHY·ÖÅäGAPʱ¼ä,Ö´ÐÐEPHYµÄɨƵ¡¢²âÁ¿¡¢ÏµÍ³ÏûÏ¢¶ÁÈ¡µÈ¡£

+    ÏûÏ¢:LTE_P_IRAT_GAP_CONFIG_REQ_EV

+    ½á¹¹:T_zLTE_P_IratGapConfigReq

+******************************************************/

+typedef struct{

+    WORD              wGapStartSubframe;/*GapÆðʼλÖÃ×ÓÖ¡ºÅ£¬ÕûMs²¿·Ö*/

+    WORD              wGapStartSfn;     /*GapÆðʼλÖÃSFNºÅ£¬Õû10Ms²¿·Ö*/

+    WORD              wGapStartTs;      /*GapÆðʼλÖÃ,Ts²¿·Ö*/

+    WORD              wGapLengthMs;     /* GAP³¤¶È,µ¥Î»ms.*/

+    WORD              wGapLengthTs;     /* GAP³¤¶È,TS²¿·Ö.Õû¸öGAP³¤¶Èʵ¼ÊÊÇbGapLengthMs+bGapLengthTs*/

+}T_zLTE_P_IratGapInfo;

+

+typedef struct{

+    WORD                        wMsgId;

+    WORD                        wGapNum;

+    WORD                        wGapGsmConnectFlg;/*GSMΪÖ÷ģʱʹÓã¬LTEÎïÀí²ãÐèÒª¶ÔGSM Á¬½Ó̬GAPβ¶ÔÆë±êʶ*/

+    WORD                        wPadding;

+    T_zLTE_P_IratGapInfo       atIratGapInfo[Z_LTE_P_IRAT_MAX_GAP_NUM];

+}T_zLTE_P_IratGapConfig_Req;

+

+/******************************************************

+   ·½Ïò:L1E->EPHY

+   ¹¦ÄÜ:LTEΪÖ÷ÖÆÊ½µ±L1E·¢ÏÖÐèÒª¸øÆäËûÖÆÊ½·ÖÅäGAPʱ¼äµÄʱºò£¬L1EÏòEPHYÇëÇóGAPÉϱ¨

+   ÏûÏ¢:LTE_P_IDLE_PERIOD_REP_REQ_EV.

+   ½á¹¹:T_zLTE_P_Idle_PeriodRep_Req

+******************************************************/

+typedef struct

+{    

+    WORD             wMsgId;    

+    WORD             wReportingMode;    /*1:¿ªÆôGAPÉϱ¨, 0:Í£Ö¹GAPÉϱ¨*/

+    WORD             wAnrMode;         /*0:·ÇANR GAPÉϱ¨, 1: ANR GAPÉϱ¨*/

+    WORD             wPadding;

+} T_zLTE_P_GapReportCtrl_Req;

+#else

+/******************************************************

+    ·½Ïò:L1G,L1T->EPHY

+    ¹¦ÄÜ:LTEΪ¸¨µÄʱºò£¬L1G£¬L1T¸øEPHY·ÖÅäGAPʱ¼ä,Ö´ÐÐEPHYµÄɨƵ¡¢²âÁ¿¡¢ÏµÍ³ÏûÏ¢¶ÁÈ¡µÈ¡£

+    ÏûÏ¢:LTE_P_IRAT_GAP_CONFIG_REQ_EV

+    ½á¹¹:T_zLTE_P_IratGapConfigReq

+******************************************************/

+typedef struct{

+    WORD              wMsgId;

+    WORD              wGapStartSubframe;/*GapÆðʼλÖÃ×ÓÖ¡ºÅ£¬ÕûMs²¿·Ö*/

+    WORD              wGapStartSfn;     /*GapÆðʼλÖÃSFNºÅ£¬Õû10Ms²¿·Ö*/

+    WORD              wGapStartTs;      /*GapÆðʼλÖÃ,Ts²¿·Ö*/

+    WORD              wGapLengthMs;     /* GAP³¤¶È,µ¥Î»ms.*/

+    WORD              wGapLengthTs;     /* GAP³¤¶È,TS²¿·Ö.Õû¸öGAP³¤¶Èʵ¼ÊÊÇbGapLengthMs+bGapLengthTs*/

+    WORD              wGapGsmConnectFlg;/*GSMΪÖ÷ģʱʹÓã¬LTEÎïÀí²ãÐèÒª¶ÔGSM Á¬½Ó̬GAPβ¶ÔÆë±êʶ*/

+    WORD              wPadding;

+}T_zLTE_P_IratGapConfig_Req;

+

+/******************************************************

+   ·½Ïò:L1E->EPHY

+   ¹¦ÄÜ:LTEΪÖ÷ÖÆÊ½µ±L1E·¢ÏÖÐèÒª¸øÆäËûÖÆÊ½·ÖÅäGAPʱ¼äµÄʱºò£¬L1EÏòEPHYÇëÇóGAPÉϱ¨

+   ÏûÏ¢:LTE_P_IDLE_PERIOD_REP_REQ_EV.

+   ½á¹¹:T_zLTE_P_Idle_PeriodRep_Req

+******************************************************/

+typedef struct

+{    

+    WORD             wMsgId;    

+    WORD             wReportingMode;    /*1:¿ªÆôGAPÉϱ¨, 0:Í£Ö¹GAPÉϱ¨*/

+} T_zLTE_P_Idle_PeriodRep_Req;

+#endif

+/*EPHY·¢Ë͸øL1G,L1TµÄ½Ó¿Ú¶¨Òå*/

+/******************************************************

+    ·½Ïò:EPHY->L1T,L1G

+    ¹¦ÄÜ:LTEÎïÀí²ãÊÕµ½LTE_P_ABORT_GAP_REQ_EvÈóöÉ䯵ºó¡£¸øL1T,L1GµÄÈ·ÈÏ

+            ×¢Ò⣺¶ÔÓÚGAPµÄÈ¡Ïû¹¦ÄÜÓë²âÁ¿ÁбíûÓбØÈ»¹ØÁª¹ØÏµ£¬LTEÎïÀí²ãÓÐGAP¾Í²âÁ¿£¬Ã»GAP¾Í²»²âÁ¿£¬ÀýÈ磬GAPÈ¡Ïû

+            Ò»¶Îʱ¼äºóL1TÔÙ´ÎÅäÖÃGAP£¬ÄÇôLTEÎïÀí²ãÈÔÈ»¿ÉÒÔ¼ÌÐø²âÁ¿¡£				 

+    ÏûÏ¢:LTE_P_ABORT_GAP_CNF_Ev

+    ½á¹¹:NULL

+******************************************************/

+typedef T_zPS_IR_CLUSTER_INFO T_L1MD_IRAT_CLUSTER_INFO; 	 

+

+typedef struct  

+{

+    BYTE bTargetMode;

+    BYTE bMasterFlg;

+    BYTE bCurrMode;

+}T_zFunc_SetMode_Req;

+

+/*GSMÐ¡ÇøÐÅÏ¢*/

+typedef struct{

+ BYTE                    bCellId;    /*Ð¡ÇøÄÚ²¿Ë÷Òý*/         

+ BYTE                    bPadding;

+ WORD                    wArfcn;     /*Ƶµã£¬µÚ16±ÈÌØ£½1±íʾΪ1900²¨¶Î*/     

+}T_zL1a_GsmCellInfo;

+

+/*GSMÐ¡Çø²âÁ¿½á¹û*/

+typedef struct {

+ BYTE                    bCellId;           

+ BYTE                    bBsic;   

+ WORD                    wArfcn;     /*Ƶµã£¬µÚ16±ÈÌØ£½1±íʾΪ1900²¨¶Î*/                 

+ BYTE                    bRssi;             

+ BYTE                    abPadding[3];

+}T_zL1a_GsmCellMeasRlt;  

+

+/*==============================================================================

+    PS->L1G

+    ʼþ£ºL1G_RPI_CFG_REQ_EV

+    ¹¦ÄÜ:

+        ÅäÖÃGSMÏÂ8¸öBAND£¬Ã¿¸öBANDÏÂRPIºÍPUMAXµÄÓ³Éä¹ØÏµ£¬ÆäÖÐRPI·¶Î§0~2

+==============================================================================*/

+typedef struct 

+{ 

+    T_zBandRpiCfg     tGsmBandRpiCfg[Z_GSM_RPI_SUPPORT_MAX_BAND];

+}T_zPS_GSM_P_RpiCfgReq;

+

+extern DWORD zW_SendMsgTophy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);

+extern DWORD zLte_SendMsgToEphy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);

+extern VOID zGsm_SendRpiCfgMsgToL1g (T_zPS_GSM_P_RpiCfgReq* ptGsmRpiCfgReq, BYTE bCurInsIdx);

+ /**************************************************************************

+ *                           È«¾Öº¯ÊýÔ­ÐÍ                                  *

+ **************************************************************************/

+/*Ö÷ģʽÉèÖú¯Êý

+  bTargetRat£ºÐèÒª´¦ÀíµÄÄ¿±êÖÆÊ½£º1GSM£¬2TD£¬3LTE£¬4W

+  bMasterFlg£ºÊÇ·ñ½«Ä¿±êÖÆÊ½ÉèÖÃΪÖ÷ģʽ£¬Z_VALIDÊÇ£¬Z_INVALID·ñ*/

+extern VOID    zSetMasterMode(BYTE bTargetRat, BYTE bMasterFlg);

+

+/*Ö÷ģʽ²éѯº¯Êý

+  bRat£º±¾Ä£¿éµÄÖÆÊ½(Ö§³ÖASµ¥ÊµÀýË«´ý)

+  ·µ»ØÖµ£º0ûÓÐÖ÷ģʽ£¬1GSMΪÖ÷£¬2TDΪÖ÷£¬3LTEΪÖ÷£¬4WΪÖ÷*/

+extern BYTE    zGetMasterMode(BYTE bRat);

+/*Ö÷ģʽÉèÖú¯Êý,½ö¹©µ¥°åIC L1Gµ÷ÓÃ*/								  

+extern VOID    zSetIratMasterMode(BYTE bTargetAct, BYTE bIsSetTargetActMaster);

+     /*bTargetAct£ºÐèÒª´¦ÀíµÄÄ¿±êÖÆÊ½£º1±íʾZ_IRAT_GSM_MODE¡¢2±íʾZ_IRAT_TD_MODE¡¢3±íʾZPS_IRAT_LTE_MODE

+                 bIsSetTargetActMaster£ºÊÇ·ñ½«Ä¿±êÖÆÊ½ÉèÖÃΪÖ÷ÖÆÊ½£¬Z_VALID(TRUE)£ºÊÇ£¬Z_INVALID(FALSE)£º·ñ

+             */

+/*»ñÈ¡µ±Ç°Ö÷ÖÆÊ½º¯Êý£¬½ö¹©µ¥°åIC L1Gµ÷ÓÃ*/

+extern BYTE zGetIratMasterMode(VOID);/*·µ»ØÖµ0 :³õʼ»¯Öµ»òÈý¸öÖÆÊ½¾ù²»ÎªÖ÷,1 :GSMΪÖ÷,)2 :TDΪÖ÷,3 :LTEΪÖ÷*/

+

+/*GSM²âÁ¿µ÷¶È½Ó¿Ú*/

+extern VOID zL1a_meas_GsmInit(VOID);

+extern VOID zL1a_meas_GsmReset(VOID);

+extern VOID zL1a_meas_GsmConfig(BYTE bCellNum, T_zL1a_GsmCellInfo *pCellList, BYTE bRrcState);

+extern VOID zL1a_meas_GsmStart(BYTE bFully);

+extern VOID zL1a_meas_GsmSuspend(VOID);

+extern VOID zL1a_meas_GsmResume(VOID);

+extern VOID zL1a_meas_GsmStop(BYTE bFully);

+extern BOOL zL1a_meas_GsmIsStopped(VOID);

+extern BYTE zL1a_meas_GsmGetResult(T_zL1a_GsmCellMeasRlt *pMeasRlt);

+extern VOID zL1a_meas_GsmSchedule(BYTE bPurpose, T_zIR_TDMA_TIME_INFO *pStart,

+    T_zIR_TDMA_TIME_INFO *pLen);

+extern VOID zL1a_meas_GsmSetBsicRequired(BYTE bNotNeedFcb);

+

+#ifdef Z_SINGLEANTENNA

+extern VOID zL1a_SetCard1RfOccupStat(VOID);

+extern VOID zL1a_SetCard2RfOccupStat(VOID);

+extern BYTE zL1a_GetCard1RfOccupStat(VOID);

+extern BYTE zL1a_GetCard2RfOccupStat(VOID);

+extern VOID zL1a_ClearCard1RfOccupStat(VOID);

+extern VOID zL1a_ClearCard2RfOccupStat(VOID);

+extern BYTE zL1a_ChkIsEventExist(BYTE bCardindex, BYTE bEvent);

+extern BYTE zL1a_IsCard1CsEventExist(VOID);

+extern VOID    zL1a_SetEventPriority(BYTE bCardindex, BYTE bEvent);

+extern VOID    zL1a_CleanEventPriority(BYTE bCardindex, BYTE bEvent);

+extern BYTE zL1a_GetDualCardEventPriority(VOID);

+extern VOID zL1a_Init(VOID);

+#endif

+

+/*******************  L1GËùÌṩµÄº¯ÊýÉùÃ÷  *********************/

+extern VOID l1md_set_umts_params(T_zIR_BCCH_LIST * p_ba_list );

+extern BOOL l1co_umts_is_activated(VOID);

+extern VOID l1co_umts_initialise_req(VOID);

+extern VOID l1md_umts_initialize(VOID);

+extern VOID l1md_umts_set_reconf_state(const T_zIR_IR_GSM_BAND_MASK dwCellBitmap);

+extern VOID l1md_umts_get_updated_sync_status(T_zIR_CELL_SYNC_QUERY_DATA *p_sync_query_data /* IO: sync data */);

+extern VOID l1md_exchange_ncell_rxlev_buffers(BYTE bMutiModeInd);/*Ë«¿¨Ë«´ýL1GÐèÇóÐ޸ġ£¶àÄ£ µ¥Ä£Èë²Î¡£0±íʾ˫´ýÖеĶàÄ£Ò»´ýµ÷Óã¬1±íʾ˫´ýÖ®Öе¥´ýµ÷ÓÃ*/

+extern BOOL l1md_umts_rssi_meas_complete(VOID);

+extern VOID l1md_db_shift_ncell_runav(BYTE bMutiModeInd);

+extern BOOL l1md_umts_query_sync_status(T_zIR_CELL_SYNC_QUERY_DATA * p_sync_query_data,  \

+                                        DWORD cell_mask,                                    \

+                                        BYTE max_cells);

+extern VOID l1co_umts_deactivate_req(VOID);

+extern DWORD l1md_umts_determine_backup_size(VOID);

+extern VOID l1md_umts_backup_db(PVOID P);

+extern VOID l1md_umts_restore_db(PVOID P);

+extern BOOL l1co_umts_sb_read(T_zIR_TIMING_CTRL      timing_ctrl_flag,   \

+                              T_zIR_SB_READ_TYPE     sb_read_type,       \

+                              T_zIR_SB_INFO_TABLE    *sb_info,           \

+                              T_zIR_TDMA_TIME_INFO   *start,             \

+                              T_zIR_TDMA_TIME_INFO   *length,            \

+                              T_zIR_RESULT_FUNCTION  *result_reconf_sb_read_fct);

+extern VOID l1co_umts_rssi_meas(DWORD  band,                                \

+                                BOOL   wrap_around_flag,                    \

+                                T_zIR_TDMA_TIME_INFO *start,             \

+                                T_zIR_TDMA_TIME_INFO *length,            \

+                                T_zIR_RESULT_FUNCTION *result_rssi_meas_fct );

+extern VOID l1md_umts_set_active_cells(DWORD active_cells  /* I: active cells(bitmap) */);

+extern VOID l1co_umts_activate_req(VOID);

+extern VOID l1co_umts_fcb_sb_read(T_zIR_REP_CELL_TABLE * cell_info,      \

+                                  T_zIR_TDMA_TIME_INFO * start,          \

+                                  T_zIR_TDMA_TIME_INFO * length,         \

+                                  T_zIR_RESULT_FUNCTION * result_fcb_sb_read_fct);

+								  

+extern BOOL l1co_umts_is_deactivated(VOID);

+extern VOID l1g_irat_set_gsm_master(VOID);

+extern BOOL l1d_tch_stm_dtx_active(BYTE bMutiModeInd);	

+

+extern VOID l1md_umts_clear_all_sync_info(VOID);

+

+#ifdef MULTI_IRAT_2963

+extern VOID l1g_irat_stop_gap_rep_req(VOID);

+extern VOID l1g_irat_start_gap_rep_req(VOID);

+/*******************l1ud_meas.h*********************/

+extern VOID ZPS_IR_l1ud_meas_stm_init( VOID );

+extern VOID ZPS_IR_l1ud_meas_stm_reset(VOID);

+extern VOID ZPS_IR_l1ud_meas_stm_prepare( BYTE bGsmBand, BYTE bWindowLen);

+extern VOID ZPS_IR_l1ud_meas_stm_frame_tick(VOID);

+

+#if defined (SINGLE_ANTENNA_SUPPORT)

+extern VOID ZPS_IR_l1ud_meas_irat_prepare( BYTE bPid, BYTE bIratUseTxForTout, BYTE bLastUsedTs);

+#else

+extern VOID ZPS_IR_l1ud_meas_irat_prepare ( BYTE bPid , BYTE bIratUseTxForTout );

+#endif

+

+extern VOID ZPS_IR_l1ud_meas_irat_ifrm_shortened( CHAR delta_offset );

+extern VOID ZPS_IR_l1ud_meas_irat_tx_enabled( BYTE bTxEnabled );

+extern VOID ZPS_IR_l1ud_irat_measurements_abort( VOID );

+extern BYTE ZPS_IR_l1ud_irat_meas_active ( VOID );

+extern VOID ZPS_IR_l1ud_irat_gsm_gap_start(WORD wWindowTime);

+extern VOID ZPS_IR_l1ud_irat_gsm_gap_stop( VOID );

+extern BYTE ZPS_IR_l1ud_irat_plmn_search_gap_start( WORD wWindowTime );

+

+/*--------------------------stub them-----------------------------*/

+extern VOID ZPS_IR_l1ud_irat_measurements_release(VOID);

+extern BYTE ZPS_IR_l1ud_meas_irat_release_cnf(VOID);

+

+/*******************l1u_irat_misc.h, begin*********************/

+extern VOID ZPS_IR_l1u_irat_init ( VOID );

+extern BYTE ZPS_IR_l1u_irat_trust_bsic_reconf_timing ( VOID );

+extern VOID ZPS_IR_l1u_irat_set_umts_master ( VOID );

+extern BYTE ZPS_IR_l1u_irat_is_umts_master ( VOID );

+extern VOID ZPS_IR_l1u_irat_set_umts_mode ( VOID );

+extern BYTE ZPS_IR_l1u_irat_check_on_rf_conflict_with_umts ( VOID *pParam );

+extern VOID ZPS_IR_l1u_irat_handler_req ( BYTE bRequestType );

+extern BYTE ZPS_IR_l1u_irat_handler_cnf ( VOID );

+

+#if defined(SINGLE_ANTENNA_SUPPORT)

+extern VOID ZPS_IR_l1u_irat_start_gap_rep_req ( VOID );

+extern VOID ZPS_IR_l1u_irat_stop_gap_rep_req ( VOID );

+#endif

+extern VOID ZPS_IR_l1ud_tstamp_activate(BYTE bTsMode, BYTE bGapIgnoreMode);

+extern BYTE ZPS_IR_l1ud_tstamp_is_antenna_ready_for_gsm(T_zPS_IR_TDMA_TIME_INFO *p_gfn_free_until);

+extern VOID ZPS_IR_l1ud_tstamp_reset_gprs_offset( VOID );

+extern VOID ZPS_IR_l1ud_tstamp_set_gprs_fn(DWORD dwFn);

+extern VOID ZPS_IR_l1ud_tstamp_get_time_gsm_antenna_free(T_zPS_IR_TDMA_TIME_INFO *p_gsm_starttime,

+                                                         T_zPS_IR_TDMA_TIME_INFO *p_tdma_time_result);

+extern VOID ZPS_IR_l1ud_tstamp_gprs_frame_tick( WORD wPrevLen );

+extern VOID ZPS_IR_l1ud_tstamp_gprs_early_prep_tick( VOID );

+extern SHORT ZPS_IR_l1ud_talg_get_and_reset_time_drift_offset(VOID);

+/*******************l1u_atc_if.h*********************/

+extern PBYTE ZPS_IR_l1u_atc_set(PBYTE pString);

+

+/*******************l1u_fs.h*********************/

+extern BYTE ZPS_IR_l1u_fs_get_nof_active_fr_tick_func(VOID);

+

+/*******************l1u_dch.h*********************/

+extern BYTE ZPS_IR_l1u_dch_check_idle(VOID);

+/*******************l1u_fch.h*********************/

+extern BYTE ZPS_IR_l1u_fach_check_idle(VOID);

+/*******************l1u_bch.h*********************/

+extern BYTE ZPS_IR_l1u_bch_check_idle(VOID);

+/*******************l1u_csrch.h*********************/

+extern BYTE ZPS_IR_l1u_csrch_check_idle(VOID);

+

+/*******************l1u_mon_irat1.h*********************/

+extern VOID ZPS_IR_l1u_mon_irat_change_timestamping_to_idle(VOID);

+

+/*******************l1u_mdb.h*********************/

+extern  VOID ZPS_IR_l1u_mdb_reset_cell_database(VOID);

+extern  VOID ZPS_IR_l1u_mdb_set_cell_list_uarfcn(T_zPS_IR_CELL_LIST_ID  list_id,        \

+                                                 WORD  uarfcn,                          \

+                                                 BYTE  id,                              \

+                                                 BYTE  nof_cells);

+extern  VOID ZPS_IR_l1u_mdb_add_assigned_cell(T_zPS_IR_UTRAN_CELL_ON_FREQ  *p_cell_info, \

+                                              T_zPS_IR_CELL_LIST_ID list_id,             \

+                                              BYTE  src_idx);

+extern  VOID ZPS_IR_Create_ZPS_L1G_TDD_CELL_MEAS_REQ( T_zPS_IR_UTRAN_CTRL_DATA  *p_utran_ctrl );

+extern  VOID ZPS_IR_send_ZPS_L1G_TDD_CELL_MEAS_REQ(T_zPS_IR_L1G_TddCellMeasReq *p_msg_param);

+extern  VOID ZPS_IR_l1u_mdb_add_ncell_result(T_zPS_IR_IratUmcrMeasResult  *p_umcr_meas_result,  \

+                                             T_zPS_IR_CELL_LIST_ID *p_list_id);

+extern  VOID ZPS_IR_l1u_mdb_updata_ncell_running_average_buffers(T_zPS_IR_CELL_LIST_ID  list_id,    \

+                                                                 T_zPS_IR_UTRAN_CTRL_DATA *p_utran_ctrl);

+extern  T_zPS_IR_UTRAN_CELL_ON_FREQ  *ZPS_IR_l1u_mdb_get_ncell_data(T_zPS_IR_CELL_LIST_ID  list_id, \

+                                                                    BYTE  cell_idx);

+extern  VOID ZPS_IR_l1u_mdb_calc_ncell_ravg(T_zPS_IR_CELL_LIST_ID  list_id,         \

+                                            BYTE  cell_idx,                         \

+                                            T_zPS_IR_MDB_MEAS_ELEMENT *meas_result);

+extern  BYTE ZPS_IR_comp_utran_list(T_zPS_IR_UTRAN_CELLS_PER_FREQ    *p_new_utran_ncells,   \

+                                    T_zPS_IR_CELL_LIST_ID  list_idx);

+extern  BYTE  ZPS_IR_l1u_mdb_get_cell_num( T_zPS_IR_CELL_LIST_ID  list_id );

+extern  WORD ZPS_IR_l1u_mdb_get_uarfcn(T_zPS_IR_CELL_LIST_ID  list_id);

+extern  BYTE ZPS_IR_l1u_mdb_get_uarfcn_index(T_zPS_IR_CELL_LIST_ID  list_id);

+/*******************  L1GËùÌṩµÄº¯ÊýÉùÃ÷  *********************/

+extern VOID l1md_fill_umts_resel_db(T_zPS_IR_MON_MEAS_RESULT_GSM_ELEMENT * p_result,    \

+                                    BYTE max_cells_to_report,                           \

+                                    DWORD active_cell_bitmask,                          \

+                                    BYTE ravg_size);

+

+extern BOOL l1d_tu_umts_latch_disable(VOID);

+extern BOOL l1d_tu_umts_latch_enable(VOID);

+extern int l1d_tu_umts_latch_offset(VOID);

+extern void l1g_irat_handler_req_ex ( T_L1G_IRAT_SCENE_TYPE  scene_type,  T_zPS_IR_HANDLER_REQ_TYPE request_type);

+extern BOOL l1g_irat_handler_cnf(VOID);

+extern VOID l1md_umts_set_invalid_state (const T_zPS_IR_IR_GSM_BAND_MASK band_mask);

+#else

+extern VOID l1g_irat_start_gap_rep_req ( BYTE bRat );

+extern VOID l1g_irat_stop_gap_rep_req ( BYTE bRat );

+/*******************l1ud_meas.h*********************/

+extern VOID zIR_l1ud_meas_stm_init( VOID );

+extern VOID zIR_l1ud_meas_stm_reset(VOID);

+extern VOID zIR_l1ud_meas_stm_prepare( BYTE bGsmBand, BYTE bWindowLen);

+extern VOID zIR_l1ud_meas_stm_frame_tick(VOID);

+

+#if defined (SINGLE_ANTENNA_SUPPORT)

+extern VOID zIR_l1ud_meas_irat_prepare( BYTE bPid, BYTE bIratUseTxForTout, BYTE bLastUsedTs);

+#else

+extern VOID zIR_l1ud_meas_irat_prepare ( BYTE bPid , BYTE bIratUseTxForTout );

+#endif

+

+extern VOID zIR_l1ud_meas_irat_ifrm_shortened( CHAR delta_offset );

+extern VOID zIR_l1ud_meas_irat_tx_enabled( BYTE bTxEnabled );

+extern VOID zIR_l1ud_irat_measurements_abort( VOID );

+extern BYTE zIR_l1ud_irat_meas_active ( VOID );

+extern VOID zIR_l1ud_irat_gap_start(T_zTD_P_IratGapConfig_Req *pGapConfigReq);

+extern VOID zIR_l1ud_irat_gsm_gap_stop( VOID );

+extern BYTE zIR_l1ud_irat_plmn_search_gap_start( WORD wWindowTime );

+

+/*--------------------------stub them-----------------------------*/

+extern VOID zIR_l1ud_irat_measurements_release(VOID);

+extern BYTE zIR_l1ud_meas_irat_release_cnf(VOID);

+

+/*******************l1u_irat_misc.h, begin*********************/

+extern VOID zIR_l1u_irat_init ( VOID );

+extern BYTE zIR_l1u_irat_trust_bsic_reconf_timing ( VOID );

+extern BYTE zIR_l1u_irat_check_on_rf_conflict_with_umts ( VOID *pParam );

+extern VOID zIR_l1u_irat_handler_req ( BYTE bRequestType );

+extern BYTE zIR_l1u_irat_handler_cnf ( VOID );

+

+/*#if defined(SINGLE_ANTENNA_SUPPORT)*/

+extern BOOL zL1t_meas_IratStopGapCnf(BYTE bRat);

+extern VOID zL1t_meas_IratStartGapReq(BYTE bRat);

+extern VOID zL1t_meas_IratStopGapReq(BYTE bRat);

+/*#endif*/

+extern VOID zIR_l1ud_tstamp_get_time_gsm_antenna_free(T_zIR_TDMA_TIME_INFO *p_gsm_starttime,

+                                                         T_zIR_TDMA_TIME_INFO *p_tdma_time_result);

+/*******************l1u_atc_if.h*********************/

+extern PBYTE zIR_l1u_atc_set(PBYTE pString);

+

+/*******************l1u_fs.h*********************/

+extern BYTE zIR_l1u_fs_get_nof_active_fr_tick_func(VOID);

+

+/*******************l1u_dch.h*********************/

+extern BYTE zIR_l1u_dch_check_idle(VOID);

+/*******************l1u_fch.h*********************/

+extern BYTE zIR_l1u_fach_check_idle(VOID);

+/*******************l1u_bch.h*********************/

+extern BYTE zIR_l1u_bch_check_idle(VOID);

+/*******************l1u_csrch.h*********************/

+extern BYTE zIR_l1u_csrch_check_idle(VOID);

+

+/*******************l1u_mon_irat1.h*********************/

+extern VOID zIR_l1u_mon_irat_change_timestamping_to_idle(VOID);

+

+/*******************l1u_mdb.h*********************/

+extern  VOID zIR_l1u_mdb_reset_cell_database(VOID);

+extern  VOID zIR_l1u_mdb_set_cell_list_uarfcn(T_zIR_CELL_LIST_ID  list_id,        \

+                                                 WORD  uarfcn,                          \

+                                                 BYTE  id,                              \

+                                                 BYTE  nof_cells);

+extern  VOID zIR_l1u_mdb_add_assigned_cell(T_zIR_UTRAN_CELL_ON_FREQ  *p_cell_info, \

+                                              T_zIR_CELL_LIST_ID list_id,             \

+                                              BYTE  src_idx);

+extern  VOID zIR_Create_L1G_TDD_CELL_MEAS_REQ_EV( T_zIR_UTRAN_CTRL_DATA  *p_utran_ctrl );

+extern  VOID zIR_send_L1G_TDD_CELL_MEAS_REQ_EV(T_zIR_L1G_TddCellMeasReq *p_msg_param);

+extern  VOID zIR_l1u_mdb_add_ncell_result(T_zIR_IratUmcrMeasResult  *p_umcr_meas_result,  \

+                                             T_zIR_CELL_LIST_ID *p_list_id);

+extern  VOID zIR_l1u_mdb_updata_ncell_running_average_buffers(T_zIR_CELL_LIST_ID  list_id,    \

+                                                                 T_zIR_UTRAN_CTRL_DATA *p_utran_ctrl);

+extern  T_zIR_UTRAN_CELL_ON_FREQ  *zIR_l1u_mdb_get_ncell_data(T_zIR_CELL_LIST_ID  list_id, \

+                                                                    BYTE  cell_idx);

+extern  VOID zIR_l1u_mdb_calc_ncell_ravg(T_zIR_CELL_LIST_ID  list_id,         \

+                                            BYTE  cell_idx,                         \

+                                            T_zIR_MDB_MEAS_ELEMENT *meas_result);

+extern  BYTE zIR_comp_utran_list(T_zIR_UTRAN_CELLS_PER_FREQ    *p_new_utran_ncells,   \

+                                    T_zIR_CELL_LIST_ID  list_idx);

+extern  BYTE zIR_l1u_mdb_get_cell_num( T_zIR_CELL_LIST_ID  list_id );

+extern  WORD zIR_l1u_mdb_get_uarfcn(T_zIR_CELL_LIST_ID  list_id);

+extern  BYTE zIR_l1u_mdb_get_uarfcn_index(T_zIR_CELL_LIST_ID  list_id);

+extern VOID l1md_fill_umts_resel_db(T_zIR_MON_MEAS_RESULT_GSM_ELEMENT * p_result,    \

+                                    BYTE max_cells_to_report,                           \

+                                    DWORD active_cell_bitmask,                          \

+                                    BYTE ravg_size);

+extern void l1g_irat_handler_req_ex ( T_L1G_IRAT_SCENE_TYPE  scene_type, T_zIR_HANDLER_REQ_TYPE request_type);

+extern BOOL l1g_irat_handler_cnf(VOID);

+extern VOID l1md_umts_set_invalid_state (const T_zIR_IR_GSM_BAND_MASK band_mask);

+extern DWORD zTd_SendMsgTophy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);

+

+#ifdef _USE_PSM

+extern DWORD zLte_SendMsgToSimEphy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);

+extern VOID zL1e_IratWakeUpEphy(VOID);

+extern BOOL POW_get_timestamp_status(VOID);

+

+#if defined (PS_RAT_TDD)

+extern BOOL    zL1t_TaskIsIdle(VOID);

+extern UINT32 zL1t_TaskIsIdlePrint(VOID);

+#endif

+

+#if defined (PS_RAT_LTE)

+extern BOOL    zL1e_TaskIsIdle(BYTE bStackIns);

+extern UINT32 zL1e_TaskIsIdlePrint(BYTE bStackIns);

+#endif

+

+#if defined (PS_RAT_FDD)

+extern BOOL    zL1w_TaskIsIdle(VOID);

+extern UINT32 zL1w_TaskIsIdlePrint(VOID);

+#endif

+

+#endif /*endif USE_PSM*/

+extern VOID zL1e_IratStartGapReq(BYTE bRat);

+extern VOID zL1e_IratStopGapReq(BYTE bRat);

+extern BYTE zL1e_IratStopGapCnf(BYTE bRat);

+extern VOID zL1e_tstamp_get_time_gsm_antenna_free( T_zIR_TDMA_TIME_INFO *p_gsm_starttime,T_zIR_TDMA_TIME_INFO *p_tdma_time_result);

+#ifdef PS_RAT_FDD

+extern BOOL zL1w_meas_IratStopGapCnf(BYTE bRat);

+extern VOID zL1w_meas_IratStartGapReq(BYTE bRat);

+extern VOID zL1w_meas_IratStopGapReq(BYTE bRat);

+extern VOID zL1w_irat_meas_start(T_zW_P_inter_freq_meas_req *pInterMeasReq);

+extern VOID zL1w_irat_meas_stop (VOID);

+extern VOID    zL1w_irat_gap_start(T_zW_P_irat_gap_config_req *pGapConfigReq);

+extern VOID    zL1w_irat_gap_stop(VOID);

+#endif

+extern VOID zL1a_get_time_gsm_antenna_free(T_zIR_TDMA_TIME_INFO *p_gsm_starttime, T_zIR_TDMA_TIME_INFO *p_tdma_time_result);

+

+extern BOOL l1g_bch_busyflg(VOID);/*º¯Êý¹¦ÄÜ£º²éѯBCH COÊÇ·ñÕ¼ÓÃÉ䯵

+                                  ·µ»ØÖµTRUE ±íʾÕýÔÚÕ¼ÓÃÉ䯵  FALSE ±íʾûÓÐʹÓÃÉ䯵*/

+extern BYTE    zAs_GetTWLInstIndex(VOID);  

+extern BYTE zL1e_gsm_IsCon(VOID);

+

+#ifdef Z_SINGLEANTENNA

+extern BYTE zAs_GetMinIndex(DWORD dwBitmap);

+extern BYTE zIR_l1ud_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gsm_starttime,

+                      T_zIR_TDMA_TIME_INFO *p_gsm_endtime);

+extern BYTE zL1e_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gsm_starttime, T_zIR_TDMA_TIME_INFO *p_gsm_endtime);

+extern BYTE zL1a_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gsm_starttime, T_zIR_TDMA_TIME_INFO *p_gsm_endtime);

+#else

+extern BYTE zIR_l1ud_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gfn_free_until);

+extern BYTE zL1e_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gfn_free_until);

+extern BYTE zL1a_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gfn_free_until);

+#endif

+#endif

+extern BYTE zEucer_GetRrcStateForPSM(VOID);

+

+extern BOOL zGrr_IsLimitServiceState(BYTE bStkId);

+extern BOOL zGrr_GetReselState(BYTE bStkId);

+extern BOOL zGrr_IsPowerOffProc(BYTE bStkId);

+extern BYTE    zUcsr_IsInReadPreDefProc(VOID);

+extern LONG zL1g_GetLastTxPwr(BYTE bStkId);

+

+#ifdef Z_SEND_TO_SIMPHY

+extern UINT32 zL1g_SendMsgToNet(UINT32 msg_id, const VOID *buf, UINT16 msg_len, ZOSS_TASK_ID task_id);

+extern UINT32 zL1g_SendMsgToNet_Sec(UINT32 msg_id, const VOID *buf, UINT16 msg_len, ZOSS_TASK_ID task_id);

+#endif

+

+#endif

diff --git a/pub/include/ps_phy/pswphyint.h b/pub/include/ps_phy/pswphyint.h
new file mode 100644
index 0000000..102f7b5
--- /dev/null
+++ b/pub/include/ps_phy/pswphyint.h
@@ -0,0 +1,2452 @@
+ /*==============================================================================***

+ *°æ±¾ËùÓÐ (C)2012ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £º

+ *  ÎļþÃû  £ºpswphyint.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£º

+ *  ʵÏÖ¹¦ÄÜ£ºWCDMA psºÍWCDMA PHYµÄ½Ó¿Ú¶¨Òå

+ *  ×÷Õß    £º

+ *  °æ±¾    £º

+ *  Íê³ÉÈÕÆÚ£º

+ *  ÆäËü˵Ã÷£º

+*/ 

+

+#ifndef Z_PS_WPHY_INTERFACE_H

+#define Z_PS_WPHY_INTERFACE_H

+

+

+#ifndef Z_SEND_TO_SIMPHY

+#include "ram_config.h"

+#endif

+ /*==============================================================================

+*                        Í·Îļþ°üº¬                                      *

+==============================================================================*/

+

+/****************************************************************************/

+/*				ICP ÖжÏ״̬붨Òå											*/

+/****************************************************************************/

+/***********************************************************************/

+#define CONFIG_OPT_SIZE       (1)    /*for size optimize, if found some exception please disable it*/

+

+/* PHY_CPU -> PS_CPU ICP STAUTS*/

+#define PHY_PS_FRAME_ICP_MASK		       (DWORD)0x00000001

+#define PHY_PS_WAKEUP_ICP_MASK		(DWORD)0x00000002

+

+/* PS_CPU -> PHY_CPU ICP STAUTS*/

+#define PS_PHY_UPA_DATA_ICP_MASK	       (DWORD)0x00000001

+#define PS_PHY_WAKEUP_ICP_MASK		(DWORD)0x00000002

+

+ /*==============================================================================

+*                         È«¾Öºê¶¨Òå                                     *

+==============================================================================*/

+

+

+/*start:Ð¡ÇøËÑË÷²¿·ÖºêÖµ¶¨Òå*/

+#define Z_W_P_MAX_NO_OF_FREQSCAN_FREQ                (WORD)64   /*ÐèҪɨÃèµÄ×î´óƵ¶ÎÊýÄ¿*/

+#define Z_W_P_MAX_NO_OF_RSSI_RESULTS                 (WORD)32   /*ɨƵÉϱ¨µÄ×î´óƵµãÊýÄ¿*/

+#define Z_W_P_MAX_NO_OF_SEARCH_RESULTS               (WORD)8    /*Ð¡ÇøËÑË÷Éϱ¨µÄ×î´óÐ¡ÇøÊýÄ¿*/

+

+#define Z_W_P_CELLSRHTYPE_STRONGEST                  (WORD)0    /*·µ»ØÖ¸¶¨ÆµµãµÄ×îÇ¿Ð¡Çø*/

+#define Z_W_P_CELLSEARCHTYPE_BLIND                   (WORD)1    /*·µ»ØÖ¸¶¨ÆµµãµÄÐ¡ÇøÁбí*/

+#define Z_W_P_CELLSEARCHTYPE_SPEC                    (WORD)2    /*·µ»ØÖ¸¶¨PrimSrcµÄÐ¡Çø*/

+

+

+/*ÉèÖÃWÎïÀí²ãÊÇ·ñÖ÷ģʽ*/

+#define Z_W_P_IRAT_MODE_SLAVE                        (WORD)0    /*ÉèÖÃΪ¸¨Ä£Ê½*/

+#define Z_W_P_IRAT_MODE_MASTER                       (WORD)1    /*ÉèÖÃΪÖ÷ģʽ*/

+

+/*FDDƵ¶ÎºÅ¶¨Òå*/

+#define Z_W_P_BAND_FDDI                              (WORD)1

+#define Z_W_P_BAND_FDDII                             (WORD)2

+#define Z_W_P_BAND_FDDIII                            (WORD)3

+#define Z_W_P_BAND_FDDIV                             (WORD)4

+#define Z_W_P_BAND_FDDV                              (WORD)5

+#define Z_W_P_BAND_FDDVI                             (WORD)6

+#define Z_W_P_BAND_FDDVII                            (WORD)7

+#define Z_W_P_BAND_FDDVIII                           (WORD)8

+#define Z_W_P_BAND_FDDIX                             (WORD)9

+#define Z_W_P_BAND_FDDX                              (WORD)10

+#define Z_W_P_BAND_FDDXI                             (WORD)11

+#define Z_W_P_BAND_FDDXII                            (WORD)12

+#define Z_W_P_BAND_FDDXIII                           (WORD)13

+#define Z_W_P_BAND_FDDXIV                            (WORD)14

+#define Z_W_P_BAND_FDDXIX                            (WORD)15

+#define Z_W_P_BAND_FDDXX                             (WORD)16

+#define Z_W_P_BAND_FDDXXI                            (WORD)17

+/*end Ð¡ÇøËÑË÷²¿·ÖºêÖµ¶¨Òå*/

+

+/*start:ϵͳÐÅÏ¢²¿·ÖºêÖµ¶¨Òå*/

+#define Z_W_P_MAX_NUM_OF_BCH                                  (WORD)8      

+#define Z_W_P_MAX_NO_OF_SIB_OFFS                            (WORD)16     /*ϵͳÐÅÏ¢Æ«ÒÆ×î´óÊý×é¸öÊý*/

+#define Z_W_P_MAX_NO_OF_SIB_SCHEDULES                  (WORD)30    /*×î´óµ÷¶ÈÐÅÏ¢¸öÊý*/

+/*ϵͳÐÅÏ¢¿éÀàÐÍ*/

+#define Z_W_P_URRC_MIB                               (WORD)0

+#define Z_W_P_URRC_SIB1                              (WORD)1

+#define Z_W_P_URRC_SIB2                              (WORD)2

+#define Z_W_P_URRC_SIB3                              (WORD)3

+#define Z_W_P_URRC_SIB4                              (WORD)4

+#define Z_W_P_URRC_SIB5                              (WORD)5

+#define Z_W_P_URRC_SIB6                              (WORD)6

+#define Z_W_P_URRC_SIB7                              (WORD)7

+#define Z_W_P_URRC_SIB11                             (WORD)11

+#define Z_W_P_URRC_SIB12                             (WORD)12

+#define Z_W_P_URRC_SIB14                             (WORD)18

+#define Z_W_P_URRC_SIB15                             (WORD)19

+#define Z_W_P_URRC_SIB16                             (WORD)23

+#define Z_W_P_URRC_SIB18                             (WORD)26

+#define Z_W_P_URRC_SB1                               (WORD)27

+#define Z_W_P_URRC_SB2                               (WORD)28

+#define Z_W_P_URRC_SIB5BIS                           (WORD)30

+#define Z_W_P_URRC_SIB_TYPE_EXTENSION_TYPE           (WORD)31

+#define Z_W_P_URRC_SIB11BIS                          (WORD)32

+#define Z_W_P_URRC_SIB15BIS                          (WORD)33

+/*SIB-TypeExt2*/

+#define Z_W_P_URRC_SIB19                             (WORD)40

+#define Z_W_P_URRC_SIB20                             (WORD)42

+

+#define Z_W_P_BCH_REQ_ONE                            (WORD)0    /*ÇëÇóÎïÀí²ãÒÔÖ¸¶¨·½Ê½¶Ábch*/

+#define Z_W_P_BCH_REQ_ALL                            (WORD)1    /*ÇëÇóÎïÀí²ãÁ¬Ðø¶Ábch*/

+

+#define Z_W_P_STTD_NOTUSED                           (WORD)0    /*²»Ê¹ÓÃSTTD*/

+#define Z_W_P_STTD_USED                              (WORD)1    /*ʹÓÃSTTD*/

+#define Z_W_P_STTD_UNNOTIFY                          (WORD)2    /*δ֪£¬¼´ps²»È·Èϵ±Ç°Ð¡ÇøÊÇ·ñʹÓÃSTTD*/

+/*end:ϵͳÐÅÏ¢²¿·ÖºêÖµ¶¨Òå*/

+

+/*start:×ÊÔ´²¿·ÖºêÖµ¶¨Òå*/

+#define Z_W_P_MAX_UL_TRCH_NUM                         (WORD)8 

+#define Z_W_P_MAX_DL_TRCH_NUM                         (WORD)8

+#define Z_W_P_MAX_UL_TF_NUM                           (WORD)32

+#define Z_W_P_MAX_DL_TF_NUM                           (WORD)64

+#define Z_W_P_MAX_UL_TFC_NUM                          (WORD)64

+#define Z_W_P_MAX_DL_TFC_NUM                          (WORD)128

+#define Z_W_P_MAX_NO_OF_RL                            (WORD)8/*×î´óRLÊýÄ¿*/

+#define Z_W_P_MAX_EDCH_NO_OF_RL                       (WORD)4

+#define Z_W_P_MAX_NO_OF_DPCHS                         (WORD)8

+#define Z_W_P_MAX_H_PROCESS                           (WORD)8

+#define Z_W_P_MAX_HS_SCCH_CODES                       (WORD)4

+#define Z_W_P_MAX_REF_ETFCI                           (WORD)8

+#define Z_W_P_MAX_HSCCHLESS_TFS_NUM                   (WORD)4

+

+#define Z_W_P_TTI_2MS                                   (WORD)1

+#define Z_W_P_TTI_10MS                                  (WORD)2

+#define Z_W_P_TTI_20MS                                  (WORD)3

+#define Z_W_P_TTI_40MS                                  (WORD)4

+#define Z_W_P_TTI_80MS                                  (WORD)5

+

+#define Z_W_ACT_TIME_IMMEDIATELY          (WORD)256/*¼¤»îʱ¼äÊÇÁ¢¼´¼¤»î*/

+/*end ×ÊÔ´²¿·ÖºêÖµ¶¨Òå*/

+

+/*start²âÁ¿Ïà¹Øºê¶¨Òå*/

+#define  Z_W_P_MAX_CELL_NUM                           (WORD)32         /*ͬƵÒìÆµ×î´óÖ§³ÖÐ¡ÇøÊýÄ¿*/

+#define  Z_W_P_MAX_INTRAFREQ_NUM                      (WORD)1          /*ͬƵƵµãÊýÄ¿£¬²»¿¼ÂǵڶþÉÏÐÐÆµµãʱ¸ÃֵΪ1*/

+#define  Z_W_P_MAX_INTERFREQ_NUM                      (WORD)8         /*ÒìÆµÅäÖÃÆµµãÊýÄ¿*/

+#define  Z_W_P_MAX_BLIND_INTERFREQ_NUM                (WORD)16          /*ÒìÆµÃ¤ÆµµãµÄƵµãÊýÄ¿*/

+#define  Z_W_P_MAX_BLIND_INTERFREQ_CELL_NUM           (WORD)3          /*äƵµãÏÂÐ¡ÇøÊýÄ¿*/

+#define  Z_W_P_MAX_CM_NUM                             (WORD)6          /*ѹËõģʽÅäÖÃÏîÊýÄ¿*/

+#define  Z_W_P_MAX_FRAME_GAP_NUM                      (WORD)2          /*Ò»¸öÖ¡ÖÐ×î´óGAPÊýÄ¿*/

+/*end²âÁ¿Ïà¹Øºê¶¨Òå*/

+

+/*start²ã¶þÏà¹Øºê¶¨Òå*/

+/*ÎÞÏß×ÊÔ´ÅäÖÃÏà¹Øºê¶¨Òå*/

+

+#define     Z_W_P_MAX_UL_FREQUENCY_NUM                (WORD)2

+#define     Z_W_P_MAX_DL_FREQUENCY_NUM                (WORD)2

+

+/*´«ÊäÐŵÀÀàÐÍ,½öÓÃÓÚºÍÎïÀí²ãµÄ½Ó¿ÚÖÐ*/

+#define     Z_W_P_PCH                                 (WORD)0

+#define     Z_W_P_FACH                                (WORD)1

+#define     Z_W_P_DL_DCH                              (WORD)2

+#define     Z_W_P_RACH                                (WORD)3

+#define     Z_W_P_UL_DCH                              (WORD)4

+

+/*UPAÏà¹Ø²ÎÊý*/

+//#define     Z_W_P_MAX_REF_ETFCI_NUM                       (WORD)8/*Z_W_P_MAX_REF_ETFCI*/

+#define     Z_W_P_MAX_RG_NUM                          (WORD)4

+

+/*Êý¾Ý½Ó¿Ú´óС*/

+#define     Z_W_P_MAX_NO_OF_UL_BYTES                  (WORD)1168

+

+#define     Z_W_P_MAX_NO_OF_DL_BYTES                  (WORD)1168

+#define     Z_W_P_MAX_NO_OF_HSDPA_BYTES               (WORD)5274

+

+#define     Z_W_P_MAX_NO_OF_HSUPA_BYTES               (WORD)2876

+

+

+#define     Z_W_P_MAX_ETFCI_NUM                       (WORD)128

+#define     Z_W_P_MAX_NTR_NUM                          (WORD)8

+

+/*rachÏà¹Ø*/

+#define     Z_W_P_RACH_ACCESS_ACK                     (WORD)0

+#define     Z_W_P_RACH_ACCESS_NACK                    (WORD)1

+#define     Z_W_P_RACH_ACCESS_NO_ACK                  (WORD)2

+

+/*ÏÂÐÐÊý¾ÝÀàÐÍ*/

+#define        Z_W_P_PCH_FACH_DCH_DATA                (WORD)0

+#define        Z_W_P_DPA_DATA                         (WORD)1

+/*end²ã¶þÏà¹Øºê¶¨Òå*/

+

+

+

+/*wÖ÷Ä£Á¬½Ó̬(FACH ¡¢DCH)ÎïÀí²ãÉϱ¨GAPÐèÒª¿Û³ýµÄÉ䯵±£»¤¼ä¸ôµ¥Î»CHIP, 7520°æ±¾Í·Î²·Ö±ð¿Û³ý30chips(7.8125us) 660chips(171.875us). */

+

+#define   Z_W_P_MEAS_DCHGAP_START_OFF                 (WORD)30

+#define   Z_W_P_MEAS_DCHGAP_TAIL_OFF                  (WORD)660

+

+

+#define Z_ZWPCG_VALFG_NUM                             (WORD)8

+#define Z_ZWPCG_PARAM_NUM                             (WORD)25

+

+ /*==============================================================================

+*                         È«¾ÖÊý¾ÝÀàÐͶ¨Òå                                   *

+==============================================================================*/

+

+

+ /*==============================================================================

+ *                         Ð¡ÇøËÑË÷È«¾ÖÊý¾ÝÀàÐͶ¨Òå start                    *

+ ==============================================================================*/

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_W_FREQUENCY_SCAN_REQ

+    ¹¦ÄÜ:

+        ¿ÉÄܳöÏÖµÄÔÚ³õʼ״̬£¬IDLE̬£¬CELL_PCH̬£¬CELL_URA̬£¬L1¸ù¾ÝÏûÏ¢ÖÐ

+        Я´øµÄƵµã»òƵ¶ÎÐÅÏ¢½øÐÐɨƵ£¬Ê×ÏÈÖ´ÐÐÆµ¶ÎɨƵ£¬Ö®ºóÔÙ½«Æµ¶ÎɨÃè½á

+        ¹ûƵµãÓëЭÒéջϷ¢µÄÀëɢƵµã·ÅÔÚÒ»Æð½øÐÐÀëɢƵµãɨƵ

+    ½á¹¹:

+        T_zW_P_frequency_scan_req

+==============================================================================*/

+ typedef struct{   

+    WORD                                        wFreqStartRange;

+    WORD                                        wFreqEndRange;  

+    WORD                                        wBandInd;

+    WORD                                        wPadding;                                        

+}T_zW_P_frequency_range;

+

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wFreqRangeNum;

+    WORD                                        wSeqNum;

+    WORD                                        wWonlyFlg; /*µ±Ç°ÊÇ·ñÊÇWµ¥Ä££¬wWonlyFlg=1Ϊµ¥Ä££¬·ñÔòΪ¶àÄ£*/

+    T_zW_P_frequency_range                      atFrequencyRange[Z_W_P_MAX_NO_OF_FREQSCAN_FREQ];

+}T_zW_P_frequency_scan_req;

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_W_ABORT_FREQ_SCAN_REQ

+    ¹¦ÄÜ:

+        Í£Ö¹L1ƵÂÊɨÃèÇëÇó

+    ½á¹¹:

+        T_zW_P_abort_frequency_scan_req,¿Õ½á¹¹

+==============================================================================*/

+typedef   struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_abort_frequency_scan_req;

+

+

+/*==============================================================================

+    PHY->L1W

+    ʼþ£ºP_ABORT_FREQ_SCAN_CNF

+    ¹¦ÄÜ:

+        Í£Ö¹L1ƵÂÊɨÃèÈ·ÈÏ

+    ½á¹¹:

+        T_zW_P_abort_frequency_scan_cnf,¿Õ½á¹¹

+==============================================================================*/

+typedef   struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_abort_frequency_scan_cnf;

+

+

+/*==============================================================================

+    PHY->RRC

+    ʼþ£ºP_FREQUENCY_SCAN_IND

+    ¹¦ÄÜ:

+        L1Íê³ÉɨƵºó£¬Í¨¹ýÏûÏ¢P_FREQUENCY_SCAN_INDÉϱ¨É¨Æµ½á¹û,ÎïÀí²ã¸ù¾Ý

+        RSSI²âÁ¿Öµ¼°PSCHÏà¹ØÄÜÁ¿¶ÔƵÂʽøÐÐÅÅÐò£¬×î¿ÉÄÜפÁôµÄƵÂÊ·ÅÔÚÊ×룬

+        ÒÀ´ÎÀàÍÆ£¬²»ÄÜפÁôµÄƵÂʲ»Éϱ¨¡£

+        Èç¹ûɨƵ½á¹û³¬¹ý32£¬ÎïÀí²ã½«Ç°32ǿƵµã×÷Ϊ½á¹ûÉϱ¨Ð­ÒéÕ»¡£

+    ½á¹¹:

+        T_zW_P_frequency_scan_ind

+==============================================================================*/

+ typedef struct{

+    WORD                                        wFrequency;

+    WORD                                        wPadding;

+ }T_zW_P_scan_result;

+

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                           wScanRltNum;

+    WORD                                        wSeqNum; 

+    WORD                                        wPadding;     

+    T_zW_P_scan_result                          atScanResult[Z_W_P_MAX_NO_OF_RSSI_RESULTS]; /*ÎïÀí²ã½«É¨Æµ½á¹ûǰ32Ç¿Éϱ¨*/ 

+}T_zW_P_frequency_scan_ind; 

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_CELL_SEARCH_REQ

+    ¹¦ÄÜ:

+            Ö¸¶¨ÆµµãÉϲéÕÒÖ¸¶¨ÊýÄ¿Ð¡Çø¡£Èç¹ûµ±Ç°ÒÑÓзþÎñÐ¡Çø£¬L1ÐèҪͬʱ±£³Ö·þÎñÐ¡ÇøÍ¬²½£¬

+        ÒÔ¼°½ÓÊÕѰºôµÈ¡£Èç¹ûÊÕµ½Ñ°ºôµÈÇé¿öÐèÒªÖжÏL1Ð¡ÇøËÑË÷£¬ÖжϺóL1²»ÔÙÏòЭÒéÕ»Éϱ¨ÒÑ

+        ·¢ÏÖÐ¡ÇøÐÅÏ¢¡£Èç¹ûnum_of_cell_idÈ¡0£¬ÇëÇóL1ÔÚÖ¸¶¨ÆµµãÉÏäËÑÐ¡Çø£¬Âú×ã¡°ÃÅÏÞ¡±µÄ

+        num_of_result¸öÐ¡ÇøÉϱ¨¡£Èç¹ûnum_of_cell_idÈ¡·Ç0Öµ£¬ÇëÇóL1ÔÚÖ¸¶¨cell_parameter_idµÄ

+        Ð¡ÇøÁбíÖÐËÑË÷Âú×ã¡°ÃÅÏÞ¡±µÄÐ¡ÇøÉϱ¨¡£ÆäÖеġ° ÃÅÏÞ¡± ÓÉÎïÀí²ã¸ù¾ÝÐÔÄÜÈ·¶¨

+    ½á¹¹:

+        T_zW_P_cell_search_req

+==============================================================================*/

+typedef struct

+{

+    WORD                                        wTxDiversityInd; /*²Î¼ûºê¶¨Òå,½öµ±wSearchTypeΪָ¶¨ËÑË÷ʱÓÐЧ*/

+    WORD                                        wPrimSrc;

+}T_zW_P_cellsrh_info; 

+

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wSeqNum;

+    WORD                                        wFrequency;

+    WORD                                        wSearchType;   /*²Î¼ûºê¶¨Òå*/

+    WORD                                        wNumOfResult;

+    WORD                                        wNumOfCell;

+    T_zW_P_cellsrh_info                         atCellSrhInfo[Z_W_P_MAX_NO_OF_SEARCH_RESULTS];

+}T_zW_P_cell_search_req; 

+

+

+/*==============================================================================

+    PHY->RRC

+    ʼþ£ºP_ABORT_CELL_SEARCH_REQ

+    ¹¦ÄÜ:

+        Í£Ö¹ÎïÀí²ãµÄcell search¡£

+    ½á¹¹:

+        T_zW_P_abort_cell_search_req,¿Õ½á¹¹

+==============================================================================*/

+typedef    struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_abort_cell_search_req;

+

+

+/*==============================================================================

+    PHY->L1W

+    ʼþ£ºP_ABORT_CELL_SEARCH_CNF

+    ¹¦ÄÜ:

+        Í£Ö¹ÎïÀí²ãµÄcell searchÈ·ÈÏ¡£

+    ½á¹¹:

+        T_zW_P_abort_cell_search_cnf,¿Õ½á¹¹

+==============================================================================*/

+typedef    struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_abort_cell_search_cnf;

+

+

+/*==============================================================================

+    PHY->RRC

+    ʼþ£ºP_CELL_SEARCH_IND

+    ¹¦ÄÜ:

+        Éϱ¨Ö¸¶¨ÆµµãÉÏÂú×ãÎïÀí²ã×îµÍÃÅÏÞÖµµÄ£¨Ö¸¶¨£©Ð¡Çø²âÁ¿½á¹û¡£

+    ½á¹¹:

+        T_zW_P_cell_search_ind

+==============================================================================*/

+typedef struct{    

+    WORD                                        wPrimSrc;    

+    WORD                                        wCpichRscp;

+    WORD                                        wCpichEcNo;  

+    WORD                                        wPadding;

+}T_zW_P_cell_params;

+

+typedef struct

+{

+    WORD                                        wMsgId;

+    WORD                                        wSeqNum;

+    WORD                                        wFrequency;  

+    WORD                                        wNumOfFoundCells;    

+    T_zW_P_cell_params                          atCell[Z_W_P_MAX_NO_OF_SEARCH_RESULTS];                   

+}T_zW_P_cell_search_ind; 

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_BCH_OPEN_REQ

+    ¹¦ÄÜ:

+        ¸ÃÏûÏ¢ÔÚ·ÇDCH̬»áÏ·¢,´ò¿ªBCH¶ÁϵͳÐÅÏ¢,¿ÕÏÐ̬,PCH̬¿ÉÒÔ¶ÁÈ¡·þÎñÐ¡Çø

+        ºÍÏàÁÚÐ¡ÇøÏµÍ³ÐÅÏ¢£¬FACHÖ»ÄܶÁÈ¡·þÎñÐ¡ÇøÏµÍ³ÐÅÏ¢¡£¸ÃÏûÏ¢ÎÞÏìÓ¦ÏûÏ¢¡£

+    ½á¹¹:

+        T_zP_TD_bch_open_req

+==============================================================================*/

+typedef struct

+{   

+    WORD                                        wSibType;   /*²Î¼ûºê¶¨Òå*/

+    WORD                                        wSegCount;/* SIBÏûÏ¢µÄ·Ö¶ÎÊýÄ¿£¬·¶Î§1..16*/

+    WORD                                        wSibRep; /* SIBÖØ¸´ÖÜÆÚ*/

+    WORD                                        wSibPos;/* SIBµÚÒ»¸ö·Ö¶ÎµÄλÖÃ*/

+    WORD                                        wSibOff[Z_W_P_MAX_NO_OF_SIB_OFFS];

+} T_sib_schedule_info;

+

+typedef struct {

+    WORD                                        wMsgId;

+    WORD                                        wType;      /*²Î¼ûºê¶¨Òå*/

+    WORD                                        wTxDivMode; /*²Î¼ûºê¶¨Òå*/     

+    WORD                                        wFrequency;

+    WORD                                        wPrimSrc;

+    WORD                                        wCellReselectFlg;/*wCellReselectFlg=1±íʾ´Ë´Î¶ÁSIBÊÇÒòÖØÑ¡·¢Æð¡£Îª0±íʾ·ÇÐ¡ÇøÖØÑ¡ÒýÆð*/

+    WORD                                        wNumOfSchedule;

+    WORD                                        wPadding;

+    T_sib_schedule_info                         tSibScheduleInfo[Z_W_P_MAX_NO_OF_SIB_SCHEDULES];

+}T_zW_P_bch_open_req;

+

+

+/*==============================================================================

+    PHY->RRC

+    ʼþ£ºP_BCH_IND

+    ¹¦ÄÜ:

+        ´ò¿ªBCHºóL1Öð¿éÉϱ¨ÏµÍ³ÐÅϢָʾ, ¿ÕÏûÏ¢£¬Ð­ÒéÕ»ÊÕµ½´ËָʾºóÈ¥

+        ¹Ì¶¨Buffer¶ÁϵͳÐÅÏ¢Êý¾Ý

+    ½á¹¹:

+        T_zW_P_Bch_Buffer

+==============================================================================*/

+typedef struct

+{  

+    WORD                                        wMsgId;

+    WORD                                        wSfn;

+    WORD                                        wCrcCheck;

+    WORD                                        wFrequency;

+    WORD                                        wPrimSrc;

+    WORD                                        wSfnDecodeRlt; /*0:ʧ°Ü£¬1³É¹¦*/

+    WORD                                         awDataArea[Z_W_P_MAX_NUM_OF_BCH*2];

+}T_zW_P_Bch_Ind; 

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_BCH_RELEASE_REQ

+    ¹¦ÄÜ:

+        ЭÒéÕ»ÇëÇóL1Í£Ö¹½ÓÊÕϵͳÐÅÏ¢£¬ÊÍ·ÅBCH

+    ½á¹¹:

+        T_zW_P_bch_release_req

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_bch_release_req;

+

+

+/*==============================================================================

+    PHY->L1W

+    ʼþ£ºP_BCH_RELEASE_CNF

+    ¹¦ÄÜ:

+        L1È·ÈÏЭÒéջֹͣ½ÓÊÕϵͳÐÅÏ¢

+    ½á¹¹:

+        T_zW_P_bch_release_cnf

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_bch_release_cnf;

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_CAMPON_A_CELL_REQ

+    ¹¦ÄÜ:

+        RRCÔÚϵͳÐÅÏ¢¶ÁÈ¡Íê³Éºó£¬ÈÏÎªÐ¡Çø¿ÉפÁô£¬·¢ËÍ´ËÏûϢ֪ͨ

+        ÎïÀí²ã´ËÐ¡ÇøÎª·þÎñÐ¡Çø¡£

+    ½á¹¹:

+        T_zW_P_camp_on_a_cell_req

+==============================================================================*/

+typedef struct

+{

+    WORD                                        wMsgId;    

+    WORD                                        wUlFrequency;

+    WORD                                        wDlFrequency;    

+    WORD                                        wPrimSrc;

+    WORD                                        wPreDlFrequency;

+    WORD                                        wPadding;

+}T_zW_P_camp_on_a_cell_req; 

+

+

+/*==============================================================================

+    PHY->L1W

+    ʼþ£ºP_CAMPON_A_CELL_CNF

+    ¹¦ÄÜ:

+        µ×²ãÈ·ÈÏפÁôÐ¡Çø¡£

+    ½á¹¹:

+        T_zW_P_camp_on_a_cell_cnf

+==============================================================================*/

+typedef struct

+{

+    WORD                                        wMsgId;    

+    WORD                                        wPadding;

+}T_zW_P_camp_on_a_cell_cnf; 

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_SET_IRAT_MODE_REQ

+    ¹¦ÄÜ:

+        ЭÒéջ֪ͨÎïÀí²ãģʽÀàÐÍ£¬ÊÇFDD mode¼´FDDΪÖ÷ģʽ£¬

+        »òÕß²»ÊÇFDD mode¼´FDDΪ¸¨¡£²»²Ù×÷É䯵¡£

+    ½á¹¹:

+        T_zW_P_set_irat_mode_Req

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wModeTypes; /*0-·ÇÖ÷£¬1-Ö÷Ä££¬²Î¼ûºê¶¨Òå*/       

+}T_zW_P_set_irat_mode_Req;

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_RESET_REQ

+    ¹¦ÄÜ:

+        ЭÒéջ֪ͨÎïÀí²ã¸´Î»

+    ½á¹¹:

+        T_zW_P_Reset_req

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+} T_zW_P_Reset_req;

+

+

+/*==============================================================================

+    PHY->RRC

+    ʼþ£ºP_RESET_CNF

+    ¹¦ÄÜ:

+        ÎïÀí²ã֪ͨЭÒéÕ»ÊÍ·ÅËùÓÐ×ÊÔ´½áÊø

+    ½á¹¹:

+        T_zW_P_Reset_cnf

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zW_P_reset_cnf;

+

+

+/*==============================================================================

+    RRC->PHY

+    ʼþ£ºP_W_REL_REQ

+    ¹¦ÄÜ:

+        ÎïÀí²ãÊÍ·ÅËùÓÐЭÒéջϷ¢µÄÒµÎñÇëÇó¼°É䯵¡£

+    ½á¹¹:

+        T_zW_P_release_req

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+} T_zW_P_release_req;

+

+

+/*==============================================================================

+    PHY->RRC

+    ʼþ£ºP_W_REL_CNF

+    ¹¦ÄÜ:

+        ÎïÀí²ã֪ͨЭÒéÕ»ÊÍ·ÅËùÓÐ×ÊÔ´½áÊø

+    ½á¹¹:

+        T_zW_P_release_cnf

+==============================================================================*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+} T_zW_P_release_cnf;

+

+

+ /*==============================================================================

+ *                         Ð¡ÇøËÑË÷È«¾ÖÊý¾ÝÀàÐͶ¨Òå --------end                          *

+ ==============================================================================*/

+

+

+ /*==============================================================================

+ *                        ×ÊÔ´ÅäÖÃÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå --------start                         *

+ ==============================================================================*/

+

+

+typedef struct{

+    WORD                           wNum;

+    WORD                           awList[21];

+}T_zW_P_Imsi;

+

+typedef struct{

+    WORD                           wSrncId;

+    WORD                           wPadding;

+    DWORD                          dwSrnti;

+}T_zW_P_Urnti;

+

+typedef struct {

+    WORD                           wUeIdValidBitmap;/*bit0..bit3ÓÐЧ£¬ÒÀ´Î·Ö±ðָʾÐÅÔªTmsiGsm¡¢PTmsiGsm¡¢ImsiGsm¡¢URntiÊÇ·ñ´æÔÚ¡£bitλΪ1±íʾ¶ÔÓ¦ÐÅÔª´æÔÚ£¬·ñÔò²»´æÔÚ*/

+    WORD                           wPadding;

+    WORD                           awTmsiGsm[4];

+    WORD                           awPTmsiGsm[4];

+    T_zW_P_Imsi                    tImsiGsm;

+    T_zW_P_Urnti                   tUrnti;  /*PCH̬ʹÓÃ*/

+}T_zW_P_ue_id;

+

+

+typedef struct

+{

+    WORD                           wPichChanCode;

+    WORD                           wNumOfPiPerFrame;

+    WORD                           wPichSttdInd;

+    WORD                           wDrxCycleLengthCoeff;    

+    WORD                           wPichPowerOff; 

+    WORD                           wNumOfSccpch; 

+    T_zW_P_ue_id                   tUeIdInfo;

+} T_zW_P_pich_info;

+

+

+typedef struct{

+    WORD                           wSecScrambCodeFlg;

+    WORD                           wSecScrambCode;    

+    WORD                           wChanCode;

+    WORD                           wScrambCodeChangeFlg;

+} T_zW_P_dpch_ChannelCode;

+

+

+typedef struct{    

+    DWORD                          dwCtfc;

+    WORD                           wTfci;

+    WORD                           wTfcPowerParaFlg;/*¹¦ÂÊ¿ØÖƲÎÊý±êʶ£¬1±íʾÐèÒª²Î¿¼ÏÂÊö¹¦ÂʲÎÊýÐÅÏ¢£¨PowerOffPpmÐÅÏ¢£¬ÏÔʾBetaCºÍBetaDÐÅÏ¢£¬²Î¿¼TFCIDÐÅÏ¢£©¡£0±íʾÎÞ¹¦¿Ø²ÎÊý*/

+    WORD                           wPowerOffPpmFlg; 

+    WORD                           wPowerOffPpm;/*Needed only for PRACH*/

+    WORD                           wGainFactorInfo;/*±íʾBetaC£¬BetaDÓÃÏÔʾ¸ø³öµÄ·½Ê½»¹ÊÇÓòο¼TFC¼ÆËãµÄ·½Ê½¡£

+                                                                  ȡֵ0»ò1£¬0:±íʾÏÔʾ֪ͨ, BetaÖµ²ÉÓýӿÚÖÐÅäÖõÄwBetaD, wBetaC

+                                                                                           1:±íʾ²Î¿¼·½Ê½,¸ù¾ÝwRefTfcIdÕÒµ½¶ÔÓ¦µÄBetaÖµ*/

+    WORD                           wBetaC;/*signalledGainFactorsÏÔʾ¸ø³öµÄBetaC ȡֵ0~15*/

+    WORD                           wBetaD;              /*signalledGainFactorsÏÔʾ¸ø³öµÄBetaD ȡֵ0~15*/

+    WORD                           wRefTfcIdFlg;

+    WORD                           wRefTfcId;    /*computedGainFactors  Ref tfci£¬0~3 £¬ÐèÒªµ½²Î¿¼TFCIDÏÂѰÕÒ±¾TFCIDÐèÒªµÄBetaC£¬BetaD*/

+    WORD                           wPadding;

+}T_zW_P_ul_ctfc_tfc;

+

+typedef struct{

+    DWORD                          dwCtfc;

+    WORD                           wTfci;

+    WORD                           wPadding;

+}T_zW_P_dl_ctfc_tfc;

+

+

+typedef struct{

+    /*Unit is bits;UURRC should compute the  TB size by the rlc size*/

+    WORD                           wTransBlockSize;

+    WORD                           wNumOfTransBlocks;

+

+    WORD                           wTfi;

+    WORD                           wPadding;

+}T_zW_P_dynamic_tfs;

+

+

+typedef struct{

+    WORD                           wTrchId;

+    WORD                           wTrchType;  /*רÓÃÐŵÀ OR ¹«¹²ÐŵÀ*/

+    WORD                           wCodingTypeOfChannel;

+    WORD                           wTti;

+    WORD                           wCrcLength;

+    WORD                           wRmAttribute;

+    WORD                           wNumOfDynamicTfs;

+    WORD                           wPadding;

+}T_zW_P_static_tfs;

+    

+

+typedef struct{

+    WORD                           wNumOfTrch;

+    WORD                           wNumOfTfc;

+    T_zW_P_static_tfs           atStaticTFS[Z_W_P_MAX_UL_TRCH_NUM];

+    T_zW_P_dynamic_tfs       atDynamicTFS[Z_W_P_MAX_UL_TF_NUM];

+    T_zW_P_ul_ctfc_tfc          atCtfc[Z_W_P_MAX_UL_TFC_NUM];

+}T_zW_P_ul_dpch_trch_reconfig;

+

+typedef struct

+{    

+    WORD                           wPrimSrc; /* PrimaryCPICH */

+    WORD                           wPcpichUsageForChannelEst;   /*SecondaryCPICH-Info*/

+	

+    WORD                           wDpchFrameOffset;

+    WORD                           wSecCpScrCodeFlg;

+    WORD                           wSecCpichScrambCode; /*  SecondaryCPICH-Info*/

+    WORD                           wSecCpChanCodeFlg;

+    WORD                           wSecCpichChanCode;/*  SecondaryCPICH-Info*/

+    WORD                           wTpcCombIndex;  /* TPC-CombinationIndex */

+	

+    WORD                           wClosedLoopTimAdjMode;

+    WORD                           wPowerOffTpcPdpdch; /* PowerOffsetTPC-pdpdch */

+    WORD                           wTxDivMode;  /* DL-CommonInformation-r8*/

+    WORD                           wNumOfDpchs;

+

+    T_zW_P_dpch_ChannelCode  atDlDpchChannelCode[Z_W_P_MAX_NO_OF_DPCHS];

+} T_zW_P_dedicated_rl_params;

+

+typedef    struct{

+

+    WORD                           wNumOfTrch;

+    

+    WORD                           wNumOfTfc;

+    /* ´ÓÓÒµ½×óBITλ¶ÔÓ¦µÄ´«ÊäÐŵÀ˳ÐòÓëatStaticTFSÏàͬ£»bitÖµ0±íʾ²»ÐèÒª½âÎö£¬1±íʾÐèÒª½âÎö */

+    WORD                           wEnableDecodeBitmap;

+    WORD                           wPadding;

+    

+    /* ¸Ã¸ÃÊý×éÔÚDCH̬ʱÓÐЧ£¬Êý×éÔªËØ¶ÔÓ¦µÄ´«ÊäÐŵÀ˳ÐòÓëatStaticTFSÏàͬ£»

+                  Target_BLERΪ¿ÉÑ¡²ÎÊý£¬ÖµµÄ·¶Î§Îª0ÖÁ63£¬0xffff±íʾ²ÎÊý²»´æÔÚ£»ÎïÀí²ãÊÕµ½ºóÒª*£¨-0.1£©µÃµ½Êµ¼ÊÖµ   */

+    WORD                            awTargetBler[Z_W_P_MAX_DL_TRCH_NUM];

+    

+    T_zW_P_static_tfs            atStaticTfs[Z_W_P_MAX_DL_TRCH_NUM];

+    

+    T_zW_P_dynamic_tfs        atDynamicTfs[Z_W_P_MAX_DL_TF_NUM];

+    T_zW_P_dl_ctfc_tfc          atCtfc[Z_W_P_MAX_DL_TFC_NUM];

+}T_zW_P_dl_trch_reconfig;

+

+typedef struct

+{    

+    WORD              wPrimSrc; /** PrimaryCPICH */

+    WORD              wPcpichUsageForChannelEst;   /*SecondaryCPICH-Info*/

+    WORD              wDpchFrameOffset;

+    WORD              wFdpchSlotFormat;

+

+    WORD              wSecCpScrCodeFlg;

+    WORD              wSecCpichScrambCode; /*  SecondaryCPICH-Info*/

+

+    WORD              wSecCpChanCodeFlg;

+    WORD              wSecCpichChanCode;

+

+    WORD              wFdpchSecScrambCodeFlg;

+    WORD              wFdpchSecScrambCode;

+

+    WORD              wTpcCombIndex;  /* TPC-CombinationIndex */

+    WORD              wSttdIndication;

+    WORD              wFdpchChanCode;

+    WORD              wPadding;

+}T_zW_P_fdpch_dedicated_rl_params;

+

+

+typedef struct{

+    WORD                                  wNumOfTfc;

+    WORD                                  wPadding;

+    T_zW_P_static_tfs                  tStaticTFS;

+    T_zW_P_dynamic_tfs              atDynamicTFS[Z_W_P_MAX_UL_TF_NUM];

+    T_zW_P_ul_ctfc_tfc                atCtfc[Z_W_P_MAX_UL_TFC_NUM];

+} T_zW_P_rach_tfs_tfcs_config;

+

+

+typedef struct{

+    WORD                           wMaxTxPower;

+    WORD                           wPrachScrambCode; /* Preamble scrambling code number0-15 */

+    WORD                           wMinSpreadingFactor;/* Available SF In chips per symbol

+    Defines the minimum allowed SF */

+    /* Each bit indicates availability for a signature, where the signatures are numbered "signature 0" up to "signature 15". The value 1 of a bit indicates that the corresponding signature is available and the value 0 that it is not available*/

+    WORD                           wPuncturingLimit;

+    

+    /*10.3.6.55*/

+    /* Preamble_Initial_Power = Primary CPICH TX power - CPICH_RSCP + UL interference + Constant Value */

+    /* Preamble_Initial_Power= wInitialPowerOffset - CPICH_RSCP */

+    WORD                           wInitialPowerOff;

+    /*Prach Power Offset*/

+    WORD                           wPowerRampStep;/*PRACH¹¦ÂÊÆ«ÒÆ Power Ramp Step */

+    WORD                           wPreambleMaxRetrans;

+    

+    

+    /*10.3.6.2*/

+    WORD                           wAichChanCode;

+    WORD                           wAichTxdivMode;  /*·¢ËÍ·Ö¼¯Ö¸Ê¾*/

+    WORD                           wAichTransTiming; /*AICH´«Êäʱ¼ä */

+    WORD                           wAichPowerOff;

+    

+    WORD                           wRachTfsTfcsCfgFlg;

+

+    T_zW_P_rach_tfs_tfcs_config    tRachTfsAndTfcsConfig;

+} T_zW_P_prach_sysinfo; 

+

+typedef struct{

+    WORD                           wPowerOffHspdsch;

+      /* CQI feedback cycle count (0..160 ms) */

+    WORD                           wCqiFeedbackCycle;

+      /* CQI repetition factor (1..4) */

+    WORD                           wCqiRepFactor;

+      /* delta CQI (0..8) */

+    WORD                           wDeltaCqi;

+}T_zW_P_MeasFeedBack;

+

+

+typedef struct{

+

+    T_zW_P_MeasFeedBack      tMeasFeedBack;

+

+    WORD                             wDeltaAck; /* delta ACK (0..8) */

+    

+    WORD                             wDeltaNack; /* delta NACK (0..8) */

+    

+    /* ACK-NACK repetition factor (1..4)   UL-DPCH-PowerControlInfo-r7 */

+    WORD                             wAckNackRepFactor;      /*DPCH¹¦ÂÊ¿ØÖÆ*/

+    

+    /*(0, 1)1 indicates that preamble and postamble are used on the HS-DPCCH - see [29]*/

+    WORD                            wHarqPreambleMode; /* (MP)*/

+}T_zW_P_hs_dpcch;

+

+typedef  struct{

+    WORD                            wNumbOfProcess;

+    /*memory partitioning 0:implicit 1:explicit*/

+    WORD                            wMemoryPartition;

+

+    DWORD                           dwProcessMemorySize[2*Z_W_P_MAX_H_PROCESS];                               

+}T_zW_P_hs_harq_info;

+

+typedef struct { 

+    WORD                           wHsscchLessTfci;

+    WORD                           whsscchLessSecCodeSup;            

+} T_zW_P_hsscch_LessTfsList;

+

+typedef struct { 

+    WORD                           wHspdschCodeIndex;

+    WORD                           wHsscchLessTfsNum;

+    WORD                           wHsscchLessActiveFlg;

+    WORD                           wPadding;

+    T_zW_P_hsscch_LessTfsList      atHsscchLessTfsList[Z_W_P_MAX_HSCCHLESS_TFS_NUM];

+} T_zW_P_hsscch_less;

+

+typedef struct{

+    WORD                           wDtxCycle1;   

+    WORD                           wDtxCycle2;

+    WORD                           wDtxLongPreambleLength;

+    WORD                           wCqiDtxTimer;

+    WORD                           wDpcchBurst1;

+    WORD                           wDpcchBurst2;

+    WORD                           wCycle2InactivityThred;

+    WORD                           wDtxActiveFlg;  

+

+} T_zW_P_dtx_info;

+

+typedef struct{

+    WORD                           wDrxCycle;   

+    WORD                           wDrxCycleInacteThred;

+    WORD                           wDrxGrantMonitor;    

+    WORD                           wDrxActiveFlg;

+} T_zW_P_drx_info;

+

+typedef struct{

+    WORD                           wEnableDelay;   

+    WORD                           wDtxDrxOff;

+    WORD                           wUlDpcchSlotFormat;    

+    WORD                           wDrxFlg;

+    

+    T_zW_P_dtx_info            tDtxInfo;

+    T_zW_P_drx_info            tDrxInfo;

+} T_zW_P_dtx_drx_config;

+

+typedef struct{

+    /* indicate if secondary scrambling code exists for HS SCCH channel */

+    WORD                           wSecScrambCodeFlg;

+    /* secondary scrambling code value.

+    Valid only if sec_scr_code_valid is set to TRUE.

+    If not valid then primary CPICH scrambling code is used */

+    WORD                           wSecScrambCode;

+    /* number of channelisation codes to SCCH */

+    WORD                           wNumOfChannelCode;

+    WORD                           wPadding;

+    /* SCCH channelisation codes */

+    WORD                           awScchChannelCode [Z_W_P_MAX_HS_SCCH_CODES];

+}T_zW_P_hs_scch;

+

+typedef struct{

+    WORD                           wDlfreq;    

+    /* serving HS-PDSCH radio link primary scrambling code */

+    WORD                           wPrimSrc;   

+    WORD                           wHrnti;

+    WORD                           wDl64QAMConfigured;   

+    WORD                           wHsDschTbSizeTable;

+    WORD                           wResetDpaFlg;

+    

+    T_zW_P_hs_scch            tHsscchConfigInfo;

+}T_zW_P_hsdpa_info;

+

+typedef struct{

+    WORD                           wDlfreq;   

+    WORD                           wNewHrnti;

+    WORD                           wPrimSrc;   

+    

+    WORD                           wMeasPowerOff;  

+    WORD                           wDl64QAMConfigured;   

+    WORD                           wDiffTxDivers;   

+    WORD                           wHsDschTbSizeTable;

+    WORD                           wSecHsdpaActiveFlg;

+    

+    T_zW_P_hs_scch             tHsscchConfigInfo;

+}T_zW_P_sec_hsdpa_info;

+

+typedef    struct{

+    /*0:normalpattern,Ϊ0Ê±ÇøÓòIEÎÞЧ; 1: diversityPattern */

+    WORD                           wSecondCpichPattern;

+    WORD                           wScpichPowerOffFlg;

+    WORD                           wChanCode;

+    /*ȡֵ·¶Î§£º94-100 µ¥Î»dB,ÕæÊµÈ¡Öµ·¶Î§£º-6-0*/

+    WORD                           wScpichPowerOff;

+}T_zW_P_mimo_pilot_info;

+

+typedef struct{

+    /*ÓÃÓÚ´æ´¢mimoN-M-RatioÖÐö¾ÙÖµ¶ÔÓ¦µÄNµÄÖµ*/

+    WORD                           wMimoNRatio;

+    /*ÓÃÓÚ´æ´¢mimoN-M-RatioÖÐö¾ÙÖµ¶ÔÓ¦µÄMµÄÖµ*/

+    WORD                           wMimoMRatio;

+    WORD                           wPrecodeWeigRestr;

+    WORD                           wPadding;

+    T_zW_P_mimo_pilot_info   tMimoPilotCfg;

+} T_zW_P_mimo_info;

+

+typedef struct{

+    /* 10.3.6.69a*/

+    WORD                           wRefTfci;

+    WORD                           wTfciPo;

+} T_zW_P_edch_tfci_po;

+

+typedef struct{

+    WORD                           wEdchRefEtfciNum;

+    WORD                           wPadding;

+    T_zW_P_edch_tfci_po      atEdchTfciPo[Z_W_P_MAX_REF_ETFCI];

+} T_zW_P_edch_grant_config_info;

+

+typedef struct{

+    WORD                           wMinReducedEdpdchGainFactor; 

+    WORD                           wMinEtfcSet; /*0XFFFF±íʾûÓÐÅäÖÃ×îСETFC×Ó¼¯*/

+    T_zW_P_edch_grant_config_info  tEdchGrantConfigInfo;

+} T_zW_P_edpdch_info;

+

+typedef struct{

+    WORD                           wEdpcchPowerOffFlg;

+    WORD                           wDpcchPowerOff; 

+    WORD                           wEdpdchPowerInterpolation;

+    

+    /* E-TFC Boost Info */

+    WORD                           wEtfcBoostInfoFlg;

+    WORD                           wEtfciBoost;

+    WORD                           wDeltaT2TP;

+} T_zW_P_edpcch_info;

+

+typedef struct{

+    WORD                           wEdchTti; 

+

+  /* 25.331, 10.3.5.7d:

+     If "rv0" is indicated, the UE shall only use E_DCH RV index 0. 

+     Default value is "rvtable", in which case the UE shall use an RSN based

+     RV index. */

+    WORD                           wHarqRvConfig;/*0ºÍ1£¬·Ö±ð±íʾrv0ºÍrvtable*/

+

+    T_zW_P_edpdch_info       tEdpdchInfo;

+    T_zW_P_edpcch_info       tEdpcchInfo;

+} T_zW_P_edch_ul_info;

+

+typedef struct{

+    WORD                            wEagchChanCode;

+    WORD                            wPadding;

+} T_zW_P_edch_agch_info;

+

+

+typedef struct

+{   

+    /* E-HICH-RGCH-SignatureSequence Signature Sequence; Ref: 10.3.6.122 in 25.331*/

+    WORD                           wSignatSequence; /* 0..39 */

+    WORD                           wPadding;

+}T_zW_P_comm_edch_rgch_info;

+

+typedef struct{

+    /* RG combination index; Ref: 10.3.6.100 in 25.331*/

+    WORD                           wRgchCombIdx; /* 0..5 */

+    /* E-HICH-RGCH-SignatureSequence Signature Sequence; Ref: 10.3.6.100 in 25.331*/

+    WORD                           wSignatSequence; /* 0..39 */

+} T_zW_P_edch_rgch_info;

+

+typedef struct{

+    /* HICH channelization code; Ref: 10.3.6.101 in 25.331  E-HICH-ChannelisationCode */

+    WORD                           wEhichChannlCode; /* 0..127  */

+    /* E-HICH-RGCH-SignatureSequence Signature Sequence; Ref: 10.3.6.100 in 25.331*/

+    WORD                           wSignatSequence; /* 0..39 */

+} T_zW_P_edch_hich_info;

+

+typedef struct{

+    WORD                           wEchDlChanBitmap;

+

+    /* primary scrambling code of this RL */

+    WORD                           wEdchRlPrimSrc;

+    

+    T_zW_P_edch_rgch_info   tEdchErgchInfo;

+    T_zW_P_edch_hich_info   tEdchEhichInfo;

+} T_zW_P_edch_dl_per_rl_info;

+

+typedef struct{

+    WORD                           wPrimErntiFlg;

+    WORD                           wSecErntiFlg; 

+    

+    WORD                           wPrimErnti;

+    WORD                           wSecErnti;

+    /* Serving RL index in array  atEdchDRlAddRecfgInfo[ [MAX_edch_RL] */

+    WORD                           wEdchServRlIdx;     /* 0..(MAX_edch_RL-1) */

+    

+    /* number of enteries valid in array e_rl_info[L1_MAX_edch_RL] */

+    WORD                           wNumOfEdchRl;

+    T_zW_P_edch_agch_info           tEdchEagchInfo;

+    T_zW_P_edch_dl_per_rl_info     atEdchDlRlInfo[Z_W_P_MAX_EDCH_NO_OF_RL];

+} T_zW_P_edch_dl_info;

+

+

+typedef struct{

+      T_zW_P_edch_ul_info                  tEdchUlInfo;

+      T_zW_P_edch_dl_info                  tEdchDlInfo;

+}T_zW_P_edch_info;

+

+typedef struct{

+    WORD                                 wUlFreq;

+    WORD                                 wScrambCodeType;

+    DWORD                               dwScrambCodeNum; 

+    WORD                                 wPowerPreambleLen; 

+    WORD                                 wDpcchPowerOff;

+    

+    WORD                                 wNumOfRl;

+    WORD                                 wSecEdchActiveFlg;

+    T_zW_P_fdpch_dedicated_rl_params     atFdpchDedicatedRlParams[Z_W_P_MAX_NO_OF_RL];

+    

+    T_zW_P_edch_ul_info                         tEdchUlInfo;

+    T_zW_P_edch_dl_info                         tEdchDlInfo;

+} T_zW_P_sec_edch_info;

+

+typedef struct

+{    

+    WORD                       wT321;

+    WORD                       wDrx;

+    WORD                       wRxBurst; 

+    WORD                       wDrxInterrupHsdsch;

+} T_zW_P_fach_dpa_drx_info;

+

+typedef struct

+{

+    /* ACK-NACK repetition factor (1..4)   UL-DPCH-PowerControlInfo-r7 */

+    WORD                             wAackNackRepFactor;      /*DPCH¹¦ÂÊ¿ØÖÆ*/

+    

+    WORD                             wPowerControlAlgorith;  

+    WORD                             wTpcStepSize;

+    

+    WORD                             wMeasFeedBackFlg;

+    T_zW_P_MeasFeedBack      tMeasFeedBack;

+    

+    WORD                             wDeltaAckFlg;

+    WORD                             wDeltaAck; /* delta ACK (0..8) */

+    

+    WORD                             wDeltaNAckFlg;

+    WORD                             wDeltaNack; /* delta NACK (0..8) */

+} T_zW_P_fach_dpcch;

+

+typedef struct

+{

+    WORD                               wHrntiType; 

+    WORD                               wHrnti;

+    WORD                               wBcchHrnti; 

+    WORD                               wHsdpaDrxFlg;

+    WORD                               wHsdpcchSupAck;

+    WORD                               wFachDpcchFlg;

+    T_zW_P_hs_scch                     tHsscchConfig;

+    T_zW_P_hs_harq_info                tHsHarqInfo;    

+    T_zW_P_fach_dpa_drx_info           tHsdpaDrxInfo;

+    T_zW_P_fach_dpcch                  tFachDpcch;

+} T_zW_P_fach_dpa_info;

+

+typedef struct

+{

+    WORD                            wSymbolOff; 

+    WORD                            wFdpchChanCode;

+    WORD                            wUlDpcchScrambCodeType;

+    WORD                            wCommEdchRgchFlg;

+    DWORD                          dwUlDpcchScrambCode;

+    T_zW_P_comm_edch_rgch_info              tCommEdchRgchInfo;

+    T_zW_P_edch_hich_info                        tEdchEhichInfo;

+}T_zW_P_common_edch_resource_list;

+

+typedef struct

+{

+    WORD                                 wPriErntiFlg;

+    WORD                                 wPriErnti;

+    WORD                                  wResetFlg; 

+    WORD                                  wMaxTxPower;

+    WORD                                  wFdpchTpcCommandErrorRate;

+    /* 25.331, 10.3.5.7d:

+    If "rv0" is indicated, the UE shall only use E_DCH RV index 0. 

+    Default value is "rvtable", in which case the UE shall use an RSN based

+    RV index. */

+    WORD                                   wHarqRvConfig;

+

+    WORD                                   wAddEdchBackOff;

+    WORD                                   wEdchTti;

+    WORD                                   wEtfciTableIndex;

+    WORD                                   wCommonEdchResourceNum;

+

+    T_zW_P_edch_agch_info                       tEdchEagchInfo;

+    T_zW_P_edpdch_info                            tEdpdchInfo;

+    T_zW_P_edpcch_info                            tEdpcchInfo;

+    T_zW_P_common_edch_resource_list        atCommonEdchResourcelist[32];

+ } T_zW_P_fach_upa_info;

+

+typedef struct{

+

+    WORD                           wEaiInd;

+    WORD                           wDpcchPowerOffPe;

+    WORD                           wEaiPowerOff;

+    WORD                           wPadding;

+    T_zW_P_prach_sysinfo           tPrachSysinfo;/* ÔöÇ¿ÏÂPRACHÖ»ÓÐÒ»×é¡£*/

+}T_zW_P_hspa_plus_prach_info;

+

+typedef struct

+{

+    WORD                           wHrnti;/*½ÓÊÕÏÂÐÐHS-SCCHʱÓõ½µÄUE ±êʶ*/

+    WORD                           wBcchHrnti; /*ÔÚÏÂÐеÚÒ»ÌõHS-SCCHÉϽÓÊÕBCCHÉϵÄÏûϢʱÓõ½µÄרÓÃUE±êʶ*/

+    

+    T_zW_P_hs_scch             tHsscchConfig;

+    T_zW_P_hs_harq_info      tHsHarqInfo;    

+} T_zW_P_dcch_dtch_relate_info;

+

+typedef struct

+{

+    WORD                           wSecScrambCodeFlg;

+    WORD                           wSecScrambCode;

+    WORD                           wSubFrameNumOfPcch;/*number of subframes used to transmit the PAGING TYPE 1*/

+    WORD                           wHsdpaChanCode;

+    WORD                           wTbsNum;

+    WORD                           wPadding;

+    WORD                           awTbsList[2];

+}T_zW_P_pcch_relate_info;

+

+typedef struct

+{    

+    WORD                                     wDcchDtchRec;/*µ±Ç°ÊÇ·ñÖ§³Ö½ÓÊÕDTCHºÍDCCH£»0£º²»Ö§³Ö£»1£ºÖ§³Ö*/

+    WORD                                     wPadding;

+    T_zW_P_dcch_dtch_relate_info   tDcchDtchInfo; /*Dcch/DtchÉϵĽÓÊÕÅäÖÃÐÅÏ¢£¬½öµ±wDcch_dtch_rec_fg=1ʱÓÐЧ*/

+    T_zW_P_pcch_relate_info           tPcch_info; /*PcchÉϵĽÓÊÕÅäÖÃÐÅÏ¢£¬½öµ±wDcch_dtch_rec_fg=0ʱÓÐЧ*/    

+} T_zW_P_pch_dpa_info;

+

+

+

+

+/*==============================================================================

+ Ô­ÓP_ADD_PRACH_REQ( URRC->PHY )

+ ˵Ã÷: URRCÅäÖÃÎïÀí²ãËæ»ú½ÓÈëÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+    T_zW_P_prach_sysinfo    tPrachSysinfo;

+}T_zW_P_add_prach_req;

+

+

+/*==============================================================================

+ Ô­ÓP_W_UL_DPCH_SETUP_MODIFY_REQ( URRC->PHY )

+ ˵Ã÷: URRC½¨Á¢ÉÏÐÐרÓÃÎïÀíÐŵÀ  ÓÃÓÚ·ÇDCH½¨Á¢µ½DCH¼°DCHÈíÓ²Çл»,

+              ÒÔ¼°È¡Ïû°éËæDPCH£¬ÉÏÐÐUPA£¬ÏÂÐÐFDPCH¶ÔÓ¦µÄÉÏÐÐDPCCHÅäÖá£

+==============================================================================*/

+typedef struct{

+    WORD                       wMsgId; 

+    WORD                       wActTime;

+    /*ÓÐͬƵ£¬ÒìÆµÓ²ÇУ¬DCH̬¿çÖÆÊ½Çл»£¬CCO»ØÍËÅäULDPCHʱ wHandoverConfigReturnFlg==1.ÆäËûÇé¿öwHandoverConfigReturnFlg==0

+*/

+//    WORD                       wHandoverConfigReturnFlg;

+

+    WORD                       wHandoConfReturBitmap;/*Ó²ÇÐʧ°Ü»ØÍËָʾBITMAP. ´ÓÓÒÏò×óBIT0ÖÃ1±íʾµ±Ç°ÎªÖÆÊ½ÄÚÓ²ÇÐʧ°Ü»ØÍË£¬BIT1ÖÃ1±íʾ¿çÖÆÊ½Çл»Ê§°Ü»ØÍË£¬BIT2ÖÃ1±íʾ¿çÖÆÊ½CCOʧ°Ü»ØÍË*/

+    WORD                       wUlFreq;

+	

+    WORD                       wDlFreq; 

+    WORD                       wSpreadingFactor; 

+    DWORD                     dwUlScrambCode; 

+	

+    WORD                       wScrambCodeType;

+    WORD                       wNumOfDPDCH;/*0±íʾûÓÐÅäÖÃDPDCH,Èç¹ûÈ¡0£¬´ËʱtUlTrchReconfig Ò²ÊÇÎÞЧµÄ¡£½ö½öÅäÖÃULDPCCH**/

+    WORD                       wTfciFlg;

+    WORD                       wNumOfFbiBits;

+    

+    /*µ±wTfciExist; wNumFbiBits ¶¼²»´æÔÚʱ£¬wNumTPCBits¿ÉÑ¡´æÔÚ*/

+    WORD                       wNumOfTPCBits;

+    WORD                       wPunctLimit;/*DPDCH²»Îª0ÊDzÅÓÐЧ*/

+    

+    WORD                       wPowerPreambleLen;

+    WORD                       wDpcchPowerOff;

+	

+    WORD                       wDpcchPowerOffStep;

+    WORD                       wPowerControlAlgorithm; 

+    WORD                       wTpcStepSize; 

+    WORD                       wMaxTxPower;

+    

+

+T_zW_P_ul_dpch_trch_reconfig    tUlTrchReconfig;

+}T_zW_P_ul_dpch_setup_modify_req; 

+

+/*==============================================================================

+ Ô­ÓP_W_DL _DPCH_SETUP_MODIFY_REQ( URRC->PHY )

+ ˵Ã÷: URRCÇëÇóÎïÀí²ã½¨Á¢×¨ÓÃÎïÀíÐŵÀ£¨ÓÃÓÚDPDCH¼°DPCCHµÄÅäÖã©

+==============================================================================*/

+typedef struct{

+    WORD                                     wMsgId;

+    WORD                                     wSoftHandoverFlg;

+    WORD                                     wActTime;

+    /*ʱ¼ä±£³Ö(ÐèҪͬ²½ºÍ²»ÐèҪͬ²½)»¹ÊÇʱ¼äÖØ½¨Ó²ÇÐָʾ ȡֵ·¶Î§£¨0-3£©  0±íʾ³õʼ»¯   1±íʾ²»ÐèҪͬ²½µÄʱ¼ä±£³ÖÓ²ÇУ¬2±íʾÐèҪͬ²½µÄʱ¼ä±£³ÖÓ²ÇУ¬3±íʾʱ¼äÖØ½¨Ó²ÇС£*/

+    WORD                                     wTimingIndication;

+    

+    WORD                                     wDpcMod;

+    WORD                                     wPowerOffPilotPdpdch;

+    WORD                                     wSf;

+    WORD                                     wNumOfPilotBits;

+    WORD                                     wTfciFlg;  

+    WORD                                     wTrCHFixedFlg;  

+    /*N312,N313,N315*/

+    WORD                                     wN312;

+    WORD                                     wN313;

+    WORD                                     wN315;

+    WORD                                     wPadding;

+    DWORD                                   dwDoff;

+    WORD                                     wPostVerifyPeriodFlg;

+    WORD                                     wNumOfRl;

+    T_zW_P_dedicated_rl_params                atDedRlParams[Z_W_P_MAX_NO_OF_RL];

+    T_zW_P_dl_trch_reconfig                      tDlTrchReconfig;

+}T_zW_P_dl_setup_modify_req;

+

+

+/*==============================================================================

+ Ô­ÓP_W_DL _FDPCH_SETUP_MODIFY_REQ( URRC->PHY )

+ ˵Ã÷: URRCÇëÇóÎïÀí²ã½¨Á¢²¿·ÖרÓÃÎïÀíÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                                      wMsgId;

+    WORD                                      wSoftHandoverFlg;

+    WORD                                      wActTime;

+    /*Enumerated(Initialise,Maintain) 0:Initialise,1:Maintain*/

+    WORD                                      wTimingIndication;

+    WORD                                      wDpcMod;

+    WORD                                      wFdpchTpcErrorRate;

+    

+    /*N312,N313,N315*/

+    WORD                                      wN312;

+    WORD                                      wN313;

+    WORD                                      wN315;

+    WORD                                      wPadding;

+    DWORD                                    dwDoff;

+    WORD                                      wPostVerifyPeriodFlg;

+    WORD                                      wNumOfRl;

+    T_zW_P_fdpch_dedicated_rl_params         atFdpchDedRlParams[Z_W_P_MAX_NO_OF_RL];

+}T_zW_P_dl_fdpch_setup_modify_req;

+

+/*==============================================================================

+ Ô­ÓP_W_DPCH_SETUP_MODIFY_CNF( PHY->URRC )

+ ˵Ã÷: ÎïÀí²ã֪ͨURRCÅäÖü¤»îʱ¼äµ½,ÎïÀí²ãÒѾ­ÆôÓÃеÄÅäÖÃ,

+             ´ËʱUURRCÆô¶¯T312¶¨Ê±Æ÷.´ËÏûÏ¢ÓÃÓÚP_DL _DPCH_SETUP_MODIFY_REQºÍ

+             P_dl_FDPCH_SETUP_MODIFY_REQµÄ·´À¡

+==============================================================================*/

+typedef struct{

+    WORD                            wMsgId;

+    WORD                            wRlt ;

+}T_zW_P_dl_dpch_setup_modify_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_IN_SYNC_IND( PHY->URRC )

+ ˵Ã÷: ÎïÀí²ãÔÚ½¨Á¢×¨ÓÃÎïÀíÐŵÀʱ,֪ͨURRCͬ²½³É¹¦£¬ÌØÖ¸Ö÷ƵµãµÄͬ²½

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_in_sync_ind;

+

+/*==============================================================================

+ Ô­ÓP_W_OUT_SYNC_IND( PHY->URRC )

+ ˵Ã÷: ÎïÀí²ã֪ͨURRCʧ²½£¬ÌØÖ¸Ö÷ƵµãµÄʧ²½

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_out_sync_ind;

+

+/*==============================================================================

+ Ô­ÓP_W_UL_DPCH_REL_REQ( URRC->PHY )

+ ˵Ã÷: URRCÓÃÓÚÊÍ·ÅÉÏÐÐרÓÃÎïÀíÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                          wMsgId;

+    WORD                          wActTime;

+}T_zW_P_ul_dpch_rel_req;

+

+/*==============================================================================

+ Ô­ÓP_W_DL_DPCH_REL_REQ( URRC->PHY )

+ ˵Ã÷: URRCÓÃÓÚÊÍ·ÅÏÂÐÐרÓÃÎïÀíÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                          wMsgId;

+    WORD                          wActTime;

+}T_zW_P_dl_dpch_rel_req;

+

+/*==============================================================================

+ Ô­ÓP_W_DPCH_REL_CNF( PHY->URRC )

+ ˵Ã÷: µ×²ãÈ·ÈÏDPCHÐŵÀÊÍ·ÅÍê±Ï()¡£

+             ÊÇP_ul_DPCH_REL_REQ»òP_dl_DPCH_REL_REQµÄ·´À¡ÏûÏ¢¡£

+             µ±ÉÏÏÂÐÐDPCHÒ»Æðɾ³ýʱ£¬ÎïÀí²ãÖ»ÐèÒª»Ø¸´Ò»ÌõP_DPCH_REL_CNF

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_dpch_rel_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_REL_SCCPCH_REQ( URRC->PHY )

+ ˵Ã÷: URRC ÓÃÓÚÊͷŸ¨¹«¹²ÎïÀíÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wActTime;

+}T_zW_P_rel_sccpch_req;

+

+/*==============================================================================

+ Ô­ÓP_W_REL_SCCPCH_CNF( PHY->URRC )

+ ˵Ã÷: µ×²ãÈ·ÈÏSCCPCHÐŵÀÊÍ·ÅÍê±Ï

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_rel_sccpch_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_ADD_MODIFY_SCCPCH_REQ( URRC->PHY )

+ ˵Ã÷: URRC ÓÃÓÚÅäÖø¨¹«¹²ÎïÀíÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wSecScramblCodeFlg;

+    WORD                           wSecScramblCode;  /*Secondary scrambling code */

+    WORD                           wTxDivMode;     

+    WORD                           wSpreadingFactor;   

+    WORD                           wSccpchChanCode;   

+    WORD                           wSccpchChipsOffset;   

+    WORD                           wPilotExistence;   

+    WORD                           wTfciFlg;   

+    WORD                           wTrCHFixedFlg;

+    T_zW_P_dl_trch_reconfig        tDlTrchReconfig;

+}T_zW_P_add_modify_sccpch_req;

+

+/*==============================================================================

+ Ô­ÓP_W_PAGING_REQ( URRC->PHY )

+ ˵Ã÷: URRC ÓÃÓÚÅäÖÃѰºôÐŵÀ

+==============================================================================*/

+typedef struct{

+    WORD                                         wMsgId;

+    WORD                                         wPadding;

+    T_zW_P_add_modify_sccpch_req    tAddModifySccpchReq;

+    T_zW_P_pich_info                         tPichInfo;

+}T_zW_P_paging_req;

+

+/*==============================================================================

+ Ô­ÓP_W_STOP_PAGING_REQ( URRC->PHY )

+ ˵Ã÷: URRC ÓÃÓÚֹͣѰºô

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_stop_paging_req;

+

+/*==============================================================================

+ Ô­ÓP_W_STOP_PAGING_CNF( PHY->URRC )

+ ˵Ã÷: µ×²ãÈ·ÈÏÊÍ·ÅѰºôÐŵÀÍê±Ï

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_stop_paging_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_ADD_HSDPA_REQ( URRC->PHY )

+ ˵Ã÷: URRC ÓÃÓÚÅäÖÃHSDPAÏà¹ØÐŵÀ£¨ÐèÒªÓëDPCH»òFDPCHÅäÖÃÅäºÏʹÓã©

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wActTime; /*0~255; 256:ÎÞЧ*/

+    WORD                           wDtxDrxConfigFlg;    

+    WORD                           wHsscchLessFlg; 

+    

+    WORD                           wSecHsdpaInfoFlg;  

+    WORD                           wMimoParamFlg;/*¶ÔÓ¦atMimoInfo[0]ÖеIJÎÊý*/

+    WORD                           wSecCellMimoParaFlg; /*¶ÔÓ¦atMimoInfo[1]ÖеIJÎÊý*/

+    WORD                           wMacHdTyp;

+

+    T_zW_P_hs_dpcch           tHsdpcchConfigInfo;

+    T_zW_P_hs_harq_info      tHsHarqInfo;

+    T_zW_P_hsscch_less        tHsscchLessInfo;    

+    T_zW_P_dtx_drx_config    tDtxDrxConfig; 

+    T_zW_P_hsdpa_info         tHsdpaInfo;

+    T_zW_P_sec_hsdpa_info   tSecHsdpaInfo;

+    T_zW_P_mimo_info          atMimoInfo[2];

+}T_zW_P_hsdpa_config_req; 

+

+/*==============================================================================

+ Ô­ÓP_W_REL_HSDPA_REQ( URRC->PHY )

+ ˵Ã÷: URRCÊÍ·ÅHSDPAÅäÖÃÇëÇó

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wActTime;

+}T_zW_P_hsdpa_rel_req;

+

+/*==============================================================================

+ Ô­ÓP_W_REL_HSDPA_CNF( PHY->URRC )

+ ˵Ã÷: µ×²ãÈ·ÈÏÊÍ·ÅHSDPAÐŵÀÍê±Ï

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_hsdpa_rel_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_ADD_HSUPA_REQ( URRC->PHY )

+ ˵Ã÷: URRCÅäÖÃHSUPA

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wActTime;     

+    WORD                           wUlfreq;      

+    WORD                           wMaxTxPower;

+

+    WORD                           wUl16QAMFlg;

+    WORD                           wEtfciTableIndex;/* ·Ç16QAMʱȡֵ·¶Î§ÊÇ0µ½1.16QAMʱȡֵ·¶Î§ÊÇ2µ½3*/

+    WORD                           wSecEdchFlg;

+    WORD                           wPadding;

+    T_zW_P_edch_info          tEdchInfo;

+    T_zW_P_sec_edch_info    tSecEdchInfo;

+}T_zW_P_hsupa_config_req;

+

+/*==============================================================================

+ Ô­ÓP_W_HSUPA_REL_REQ( URRC->PHY )

+ ˵Ã÷: URRCɾ³ýHSUPA×ÊÔ´

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wActTime;

+}T_zW_P_hsupa_rel_req;

+

+/*==============================================================================

+ Ô­ÓP_W_HSUPA_REL_CNF( PHY->URRC )

+ ˵Ã÷: µ×²ãÈ·ÈÏɾ³ýHSUPA×ÊÔ´Íê±Ï

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;

+}T_zW_P_hsupa_rel_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_HSPA_PLUS_FACH_REQ( URRC->PHY )

+ ˵Ã÷: ÅäÖÃL1 FACHºÍIDLE̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ.½áºÏPRACHÅäÖÃÒ»ÆðʹÓÃ.

+             ÔöÇ¿FACH̬µ±ÏÂÐвÉÓÃDPAÊÇ£¬´ËʱwPlusUpaFlgÖÃ0£¬

+             ÉÏÐÐÐèÒªP_W_ADD_PRACH_REQÆÕͨRACHÅäÖÃ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wDlFreq;

+    WORD                           wPlusUpaFlg; 

+    WORD                           wPadding;

+    T_zW_P_fach_dpa_info           tFachDpaInfo;

+    T_zW_P_fach_upa_info           tFachUpaInfo;

+    T_zW_P_hspa_plus_prach_info    tPlusPrachInfo;

+} T_zW_P_hspa_plus_fach_req;

+

+/*==============================================================================

+ Ô­ÓP_W_HSPA_PLUS_PCH_REQ( URRC->PHY )

+ ˵Ã÷: ÅäÖÃL1 PCH̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wDlFreq; 

+    T_zW_P_pch_dpa_info     tPchDpaInfo; 

+    T_zW_P_pich_info           tPichInfo;    

+} T_zW_P_hspa_plus_pch_req;

+

+/*==============================================================================

+ Ô­ÓP_W_HSPA_PLUS_FACH_REL_REQ( URRC->PHY )

+ ˵Ã÷: ɾ³ýL1  FACHºÍIDLE̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wActTime;          /*0~255; 256:Á¢¼´ÆðЧ*/

+} T_zW_P_hspa_plus_fach_rel_req;

+

+/*==============================================================================

+ Ô­ÓP_W_HSPA_PLUS_PCH_REL_REQ( URRC->PHY )

+ ˵Ã÷: ɾ³ýL1  PCH̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPadding;      

+} T_zW_P_hspa_plus_pch_rel_req;

+

+/*==============================================================================

+ Ô­ÓP_W_HSPA_PLUS_FACH_REL_CNF( PHY->URRC )

+ ˵Ã÷: ÎïÀí²ã»Ø¸´¸øL1TµÄÔöÇ¿FACHÅäÖÃɾ³ýÈ·ÈÏÏûÏ¢

+==============================================================================*/

+typedef struct{

+    WORD                     wMsgId;

+    WORD                     wPadding;     

+} T_zW_P_hspa_plus_fach_rel_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_HSPA_PLUS_PCH_REL_CNF( PHY->URRC )

+ ˵Ã÷: ÎïÀí²ã»Ø¸´¸øL1TµÄÔöÇ¿PCHÅäÖÃɾ³ýÈ·ÈÏÏûÏ¢

+==============================================================================*/

+typedef struct{

+    WORD                     wMsgId;

+    WORD                     wPadding;      

+} T_zW_P_hspa_plus_pch_rel_cnf;

+

+/*==============================================================================

+ Ô­ÓP_W_HSSCCH_ORDER_IND( PHY->URRC )

+ ˵Ã÷: ÎïÀí²ãÊÕµ½HSSCCH ORDERºóÉϱ¨PS

+==============================================================================*/

+typedef struct{ 

+    WORD                     wMsgId;

+	WORD                     wHsscchOrderTypeInd;/*ͨ¹ý´Ë±êʶ£¬PHY֪ͨPS£¬¸Õ¸ÕÊÕµ½µÄORDERÖÐЯ´øµÄÀàÐÍ£¬¸ÃÀàÐ͵碌îÈ¥»îÐèÒª¸ù¾ÝwHsscchOrderTypeÏàӦλÅжϡ£*/

+    WORD                     wHsscchOrderType;

+	WORD                     wPadding;

+}T_zW_P_Hscch_Order_Ind;

+

+/*wHsscchOrderTypeInd  ±íʾµ±Ç°ÊÕµ½ÁËÄÄЩORDERµÄÀàÐÍ¡£ÓëwHsscchOrderTypeÖеÄÀàÐÍÒ»Ò»¶ÔÓ¦¡£

+´ÓÓÒÏò×ó£¬Ã¿¸öBIT·Ö±ð±íʾHSDSCH·þÎñ±ä¸ü£¬EPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTI,LESS£¬µÚ¶þƵµãDPA£¬µÚ¶þƵµãUPAÇé¿ö£¬ÏàӦλ ÖÃÒ»±íʾÊÕµ½ÁËÏàÓ¦ÀàÐ͵ÄORDER,¡£

+µÚ0±ÈÌØ£º1±íʾ¸ÕÊÕµ½HSDSCH·þÎñÐ¡Çø¸ü¸ÄµÄORDER £»

+µÚ1±ÈÌØ£»1±íʾ¸ÕÊÕµ½EPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTIµÄORDER

+µÚ2±ÈÌØ£º1±íʾ¸ÕÊÕµ½DTXÏà¹ØORDER

+µÚ3±ÈÌØ£º1±íʾ¸ÕÊÕµ½µÄÊÇDRX Ïà¹ØORDER

+µÚ4±ÈÌØ£º1±íʾ¸Õ¸ÕÊÕµ½µÄÊÇHS_SCCH_LESSÏà¹ØµÄORDER

+µÚ5±ÈÌØ£º1±íʾ¸Õ¸ÕÊÕµ½µÄÊǵÚ2ƵµãÏÂÐÐDPAÏà¹ØµÄORDER

+µÚ6±ÈÌØ£º1±íʾ¸Õ¸ÕÊÕµ½µÄÊǵÚ2ƵµãÉÏÐÐUPAÏà¹ØµÄORDER

+*/

+/*

+wHsscchOrderType´ÓÓÒÏò×ó£¬Ã¿¸öBIT·Ö±ð±íʾHSDSCH·þÎñ±ä¸ü£¬EPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTI,LESSµÄ¼¤»îÈ¥»î£¬µÚ¶þƵµãDPA¼¤»îÈ¥»î£¬µÚ¶þƵµãUPAµÄ¼¤»îÈ¥»îÇé¿ö

+µÚ0±ÈÌØ£º0±íʾHSDSCH·þÎñÐ¡Çø¸ü¸Ä,1±íʾδÊÕµ½HSDSCH·þÎñÐ¡Çø¸ü¸Ä. £»

+µÚ1±ÈÌØ£»1±íʾEPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTI

+µÚ2±ÈÌØ£º0±íʾȥ»îDTX£¬1±íʾ¼¤»îDTX

+µÚ3±ÈÌØ£º0±íʾȥ»îDRX£¬1±íʾ¼¤»îDRX

+µÚ4±ÈÌØ£º0±íʾȥ»îHS_SCCH_LESS£¬ 1±íʾ¼¤»îHS_SCCH_LESS

+µÚ5±ÈÌØ£º0±íʾȥ»îµÚ2ƵµãÏÂÐÐDPA£¬1±íʾ¼¤»îµÚ2ƵµãÏÂÐÐDPA

+µÚ6±ÈÌØ£º0±íʾȥ»îµÚ2ƵµãÉÏÐÐUPA£¬1±íʾ¼¤»îµÚ2ƵµãÉÏÐÐUPA

+

+*/

+/*==============================================================================

+ Ô­ÓP_W_NERBERCELL_HSSCCH_ORDER_REQ( URRC->PHY )

+ ˵Ã÷: ÇëÇóÎïÀí²ã¶Áȡָ¶¨Ð¡ÇøµÄHSSCCH ORDER.ÏìÓ¦ÏûÏ¢ÊÇP_Hscch_Order_Ind.

+==============================================================================*/

+typedef struct{

+    WORD                       wMsgId;

+    WORD                       wPriSrc;

+    WORD                       wMonitorTimeLen;

+    WORD                       wPadding;

+    T_zW_P_hs_scch         tHsscchConfigInfo;

+}T_zW_P_Hscch_Order_Req;

+

+/*==============================================================================

+ Ô­ÓP_W_NERBERCELL_HSSCCH_ORDER_ABORT_REQ( URRC->PHY )

+ ˵Ã÷: ÇëÇóÎïÀí²ãÈ¡Ïû¶Áȡָ¶¨Ð¡ÇøµÄHSSCCH ORDER.

+==============================================================================*/

+typedef struct{

+    WORD                           wMsgId;

+    WORD                           wPaddng;

+}T_zW_P_Hscch_Order_Abort_Req;

+

+

+/*==============================================================================

+ Ô­ÓW_P_EFACH_UPDATE_RNTI_REQ( URRC->PHY )

+ ˵Ã÷: ֪ͨÎïÀí²ã¸üÐÂרÓõÄHRNTI»òERNTI

+==============================================================================*/

+typedef struct{  

+    WORD                     wMsgId;

+    WORD                     wActTime;/*0~255; 256:Á¢¼´ÆðЧ*/

+    WORD                     wUpdateType;/*1£ºÖ»¸üÐÂH-RNTI£»2£ºÖ»¸üÐÂE-RNTI£»3£º¸üÐÂH-RNTIºÍE-RNTI;*/

+    WORD                     wHrnti;

+    WORD                     wPriErnti; /*רÓÃÖ÷ERNTI*/

+    WORD                     wPadding; 

+ }T_zW_P_efach_update_rnti_req;

+

+ /*==============================================================================

+ *                         RBCÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå -------end                        *

+ ==============================================================================*/

+  /*==============================================================================

+ *                         MCRÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå --------start                         *

+ ==============================================================================*/

+

+ /*==============================================================================

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍPHY²ã¼äµÄͬƵ²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:        

+                ͬƵ²âÁ¿ÅäÖÃÏûÏ¢ W_P_INTRA_FREQ_MEAS_REQ

+                ͬƵ²âÁ¿½á¹ûÏûÏ¢ W_P_INTRA_FREQ_MEAS_IND

+ ==============================================================================*/

+typedef struct {

+    WORD                            wCellId;

+    WORD                            wPrimSrc;

+    WORD                            wChipAccuracy;  

+    WORD                            wRefTimeDiff;    

+    WORD                            wTxDivInd;

+    WORD                            wSynInforNeed;     

+}T_zW_P_cell_info;

+

+typedef struct {

+    WORD                            wCellNum;

+    WORD                            wUarfcn;

+    T_zW_P_cell_info             atMeasCellInfo[Z_W_P_MAX_CELL_NUM];

+}T_zW_P_freq_meas_info;

+ 

+typedef struct {

+    WORD                            wUarfcn;

+    WORD                            wCellNum;

+    WORD                            awPrimSrc[Z_W_P_MAX_CELL_NUM];

+}T_zW_P_freq_not_meas_info;

+

+typedef struct {

+    WORD                            wMsgId;

+    WORD                            wDetectedSetQuantity;

+    WORD                            wMeasFreqNum;

+    WORD                            wNotMeasFreqNum;

+    DWORD                          dwMeasId;    

+    T_zW_P_freq_meas_info             atIntraFreqMeasInfo[Z_W_P_MAX_INTRAFREQ_NUM];

+    T_zW_P_freq_not_meas_info       atNotMeasFreqInfo[Z_W_P_MAX_INTRAFREQ_NUM];

+}T_zW_P_intra_freq_meas_req;

+

+

+typedef struct {

+    WORD                            wCellId;

+    WORD                            wPrimSrc;

+    WORD                            wSfnFlag:1;

+    WORD                            wCpichRscp:8;

+    WORD                            wCpichEcNo:7;

+    WORD                            wSfn;

+    WORD                            wOff;

+    WORD                            wTm;

+} T_zW_P_cell_meas_rlt; 

+

+typedef struct{

+    WORD                            wUarfcn;

+    WORD                            wCellNum:8;

+    WORD                            wRssi:8;

+    T_zW_P_cell_meas_rlt            atCellMeasRlt[Z_W_P_MAX_CELL_NUM];

+} T_zW_P_freq_meas_rlt;

+

+typedef struct {

+   WORD                             wMsgId;

+   WORD                             wFreqNum;

+   DWORD                           dwMeasId;

+   T_zW_P_freq_meas_rlt      atIntraFreqMeasRlt[Z_W_P_MAX_INTRAFREQ_NUM];

+}T_zW_P_intra_freq_meas_ind;

+

+ /*==============================================================================

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍPHY²ã¼äµÄÒìÆµ²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:        

+                ÒìÆµ²âÁ¿ÅäÖÃÏûÏ¢ W_P_INTER_FREQ_MEAS_REQ

+

+==============================================================================*/

+typedef struct{

+    WORD                            wUarfcn;    

+    WORD                            wCearchCellFlg; /*1±íʾ¸ÃƵµã²»½ö²âÁ¿RSSI»¹ÐèÒª½øÐÐÐ¡ÇøËÑË÷£¬²¢½øÐÐÐ¡Çø²âÁ¿½á¹ûÉϱ¨¡£0±íʾ¸ÃƵµã½ö²âÁ¿RSSI*/

+}T_zW_P_Blind_freq_meas_req;

+

+

+typedef struct {

+    WORD                            wMsgId;    

+    WORD                            wFreqNum;

+    WORD                            wBlindFreqNum;

+    WORD                            wLbsFlag;

+    DWORD                          dwTmeasInial; 

+    DWORD                          dwTmeas;

+    DWORD                          dwMeasId;    

+    T_zW_P_freq_meas_info              atInterFreqMeasInfo[Z_W_P_MAX_INTERFREQ_NUM];      /*wFreqNumÊýĿָʾ*/    

+    T_zW_P_Blind_freq_meas_req      atBlindFreq[Z_W_P_MAX_BLIND_INTERFREQ_NUM];        /*wBlindFreqNumÊýĿָʾ*/    

+}T_zW_P_inter_freq_meas_req;

+

+ /*==============================================================================

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍPHY²ã¼äµÄÒìÆµ²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:        

+                ÒìÆµ²âÁ¿½á¹ûÏûÏ¢ W_P_INTER_FREQ_MEAS_IND

+==============================================================================*/

+typedef struct

+{ 

+    WORD                            wPrimSrc;

+    WORD                            wCpichRscp;

+    WORD                            wCpichEcNo;

+    WORD                            wPadding;

+}T_zW_blind_cell_rlt;

+

+typedef struct

+{

+    WORD                            wUarfcn;

+    WORD                            wRssi;

+    WORD                            wCellNum; /* ¸ÃƵµãÏÂä²âÁ¿µÄÐ¡Çø¸öÊý */

+    WORD                            wPadding; 

+    T_zW_blind_cell_rlt          atBlindCellRlt[Z_W_P_MAX_BLIND_INTERFREQ_CELL_NUM];

+}T_zW_blind_uarfcn_rlt;

+

+

+typedef struct{

+    WORD                            wMsgId;

+    WORD                            wInterFreqNum;

+    WORD                            wBlindFreqNum;

+    WORD                            wRptFlg; /*0:ÖÜÆÚÉϱ¨ 1:ÌáǰÉϱ¨*/

+    DWORD                          dwMeasId; 

+    T_zW_P_freq_meas_rlt            atInterFreqMeasRlt[Z_W_P_MAX_INTERFREQ_NUM];

+    T_zW_blind_uarfcn_rlt             atBlindFreqRlt[Z_W_P_MAX_BLIND_INTERFREQ_NUM];

+}T_zW_P_inter_freq_meas_ind;

+

+

+/*==============================================================================

+        PHY->RRC

+        ¹¦ÄÜ:

+                RHYÏòRRC·¢ËÍ·þÎñÐ¡Çø²âÁ¿½á¹ûÉϱ¨

+        ½á¹¹:        

+                ·þÎñÐ¡Çø²âÁ¿½á¹ûÉϱ¨ÏûÏ¢ W_P_SERVCELL_MEAS_IND

+==============================================================================*/

+typedef struct {

+    WORD                            wMsgId;

+    WORD                            wPrimSrc; 

+    WORD                            wCpichRscp;    

+    WORD                            wCpichEcNo;

+    DWORD                          dwMeasId;

+    WORD                            wRssi; //·þÎñƵµãRSSIÖµ£¬È¡Öµ·¶Î§:0~76£¬¶ÔÓ¦-25dBm~-100dBm

+    WORD                            wPadding;

+}T_zW_P_servcell_meas_ind;

+

+/*==============================================================================

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍPHY²ã¼äµÄUEÄÚ²¿²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:    

+                UEÄÚ²¿²âÁ¿ÇëÇóÏûÏ¢ W_P_UE_INTERNAL_MEAS_REQ

+                UEÄÚ²¿²âÁ¿½á¹ûÉϱ¨     W_P_UE_INTERNAL_MEAS_IND            

+==============================================================================*/

+

+typedef struct { 

+    WORD                            wMsgId;

+    WORD                            wPadding;         

+    WORD                            wRepInterval;

+    WORD                            wTxPowerNeed:1;        

+    WORD                            wRxTxNeed:1;      

+    WORD                            wRssiNeed:1;          

+    WORD                            :13;

+    DWORD                           dwMeasId;

+}T_zW_P_ueinternal_meas_req; 

+

+

+typedef struct {    

+    WORD                            wPrimSrc;

+    WORD                            wRxTxTimeDiff;

+}T_zW_P_rxtx_time_diff_rlt;

+

+typedef struct {

+    WORD                            wMsgId;

+    WORD                            wPadding;

+    WORD                            wTxPowerFlag:1;            

+    WORD                            wRssiFlag:1;          

+    WORD                            :14;

+    WORD                            wTxPower;

+    WORD                            wRssi;

+    WORD                            wNumOfRxTxResults;

+    DWORD                          dwMeasId;  

+    T_zW_P_rxtx_time_diff_rlt       atRxTxTimeDiffRlt[Z_W_P_MAX_NO_OF_RL];

+}T_zW_P_ueinternal_meas_ind; 

+

+ /*==============================================================================

+         RRC->PHY

+         ¹¦ÄÜ:

+               RRCÏòPHY·¢Ë͵IJâÁ¿É¾³ýָʾ  

+         ½á¹¹:

+               ²âÁ¿ÊÍ·ÅÏûÏ¢ W_P_MEAS_REL_REQ_EV

+               wMeasTypes±àÂ룺ÏàÓ¦bitλÖÃ1±íʾÊÍ·Å´ËÀàÐͲâÁ¿£»·ñÔò²»ÊÍ·Å

+                               bit0: ServCellMeas

+                               bit1: IntraFreq

+                               bit2: InterFreq

+                               bit3£ºUeInterMeas

+ ==============================================================================*/

+typedef struct {

+    WORD                           wMsgId;

+    WORD                           wMeasTypes;         

+}T_zW_P_meas_rel_req;

+

+ /*==============================================================================

+        RRC->PHY

+        ¹¦ÄÜ:

+                Fach̬ϲâÁ¿Ê±»úÅäÖÃ

+        ½á¹¹:        

+                FMOÐÅÏ¢ÅäÖà W_P_FMO_INFO_REQ

+==============================================================================*/

+typedef struct {

+    WORD                           wMsgId;

+    WORD                           wFMONeed;           /*ָʾÊÇ·ñʹÓÃFMO¡£0±íʾȡÏûFMO£¬·Ç0Öµ±íʾÅäÖÃFMO*/

+    WORD                           wTtiPeriod;         /*=M_REP, measurement occasion cycle length */

+    WORD                           wTtiOffset;         /*=C_rnti RNTImod M_REP*/

+}T_zW_P_fmo_req;

+

+ /*==============================================================================

+        RRC->PHY

+        ¹¦ÄÜ:

+                Dch̬ÏÂѹËõģʽÐÅÏ¢ÅäÖÃ

+        ½á¹¹:        

+                ѹËõģʽÐÅÏ¢ÅäÖà W_P_COMPRESS_MODE_REQ

+==============================================================================*/

+typedef struct {   

+    WORD                           wCompressedModeUsage;  /*ÓÃÓÚÉÏÐУ¬ÏÂÐл¹ÊÇÉÏÏÂÐÐ*/

+    WORD                           wDlCompModeMethod;

+    WORD                           wUlCompModeMethod;

+    WORD                           wDlFrameType;           /*Ö¡ÀàÐÍA OR B*/

+    WORD                           wRpp; /* Recovery Period Power control mode during the frame after the transmission gap within the compressed frame  ģʽ0»¹ÊÇģʽ1*/

+    WORD                           wItp;/* nitial Transmit Power is the uplink power control method to be used to compute the initial transmit power after the compressed mode gapģʽ0»¹ÊÇģʽ1*/

+    WORD                           wDeltaSir1;/*ÏÂÐÐSIRµ÷ÕûÖµ*/

+    WORD                           wDeltaSirAfter1;

+    WORD                           wDeltaSir2;            /*Real(0..3 by step of 0.1),À©´ó10±¶*/

+    WORD                           wDeltaSirAfter2;

+}T_zW_P_static_info;

+

+typedef struct {

+    WORD                           wTgpsi;              /*gap ID 1-6 */

+    WORD                           wActiveFlg;          /*1=¼¤»î£»0=È¥»î*/

+    WORD                           wMeasPurpose;        /*1=ÒìÆµ £¬2=RAT*/

+    WORD                           wTgsn;               /*Æðʼʱ϶ºÅ*/

+    WORD                           wTgprc;              /*´«Êä¼ä¸ôÖØ¸´´ÎÊý, 0xFFFF±íʾÎÞÏÞ´ÎÊý*/

+    WORD                           wTgcfn;              /*´«Êä¼ä¸ôÁ¬½ÓÖ¡ºÅ£¬ÊǵÚһģʽµÄµÚÒ»¸öÎÞÏßÖ¡µÄCFN*/

+    WORD                           wTgl1;               /*µÚÒ»¸öGAPµÄ³¤¶È£¬Ê±Ï¶Êý*/

+    WORD                           wTgl2;               /*µÚ¶þ¸öGAPµÄ³¤¶È*/

+    WORD                           wTgpl;               /*´«Êä¼ä¸ô³¤¶È£¬Ö¡Êý*/

+    WORD                           wTgd;                /*Á½¸öGAPÆðʼµãµÄ¾àÀ룬ʱ϶Êý£¬0xFFFF±íÃ÷GapÄ£ÐÍÖв»´æÔÚµÚ¶þ¸öGap*/

+    T_zW_P_static_info         tCmStaicInfo;

+}T_zW_P_compress_gap_pattern;

+

+

+typedef struct {

+    WORD                           wMsgId;

+    WORD                           wCmPatternNum;

+    WORD                           wActTime;        /*ȡֵ·¶Î§0-255£¬256£¬ÆäÖÐ256±íʾÁ¢¼´¼¤»î*/

+    WORD                           wCmCellInfoFlg; /*ȡֵ0»ò1£¬±íʾÊÇ·ñЯ´øÁËÐ¡ÇøÐÅÏ¢wDlUarfcnºÍwPrimSrc. ȡֵ1ʱwDlUarfcnºÍwPrimSrcÓÐЧ£¬·ñÔòÎÞЧ*/

+    WORD                           wDlUarfcn;

+    WORD                           wPrimSrc;

+    T_zW_P_compress_gap_pattern    atCopressModePattern[Z_W_P_MAX_CM_NUM];

+}T_zW_P_compress_mode_req;

+

+/*==============================================================================

+        L1W->PHY

+        ¹¦ÄÜ:

+                FDDΪ¸¨Ä£Ê½Ï£¬ÊÕµ½µÄGAPÅäÖÃW_P_IRATGAPCONFIG_REQ

+        ½á¹¹:        

+                GAPÇëÇóÐÅÏ¢ W_P_IRATGAPCONFIG_REQ

+==============================================================================*/

+

+typedef struct

+{

+    WORD               wMsgId;

+    WORD               wIdleOrConnectFlg;/*FDDΪ¸¨ÖÆÊ½Ê±Ö÷ÖÆÊ½µÄ״̬£¬È¡ÖµÎª0±íʾ¿ÕÏÐ̬ȡֵΪ1±íʾÁ¬½Ó̬*/

+    WORD               wStartSfn;/*GAPÆðʼµãÖ¡ºÅ,ȡֵ·¶Î§ 0--4096*/

+    WORD               wStartOffChip;  /*GAPÆðʼµã.CHIPÆ«ÒÆ£¨chips£©,ÕæÕýµÄGAPÆðʼµãÊÇwStartSfn+wStartOffChip*/

+    DWORD             dwLength;/* GAPÄ£ÐͳÖÐøÊ±¼ä,µ¥Î»ÊÇ£¨chips£©*/

+}T_zW_P_irat_gap_config_req;

+

+/*==============================================================================

+        L1W<->PHY

+        ¹¦ÄÜ:

+                L1WºÍPHY²ã¼äµÄABORT GAPÅäÖýӿÚ

+        ½á¹¹:        

+                ÇëÇóÎïÀí²ãֹͣʹÓÃGAPÏûÏ¢ W_P_ABORT_IRAT_GAP_REQ

+                ÎïÀí²ã²»ÔÚʹÓÃGAPµÄÈ·ÈÏ W_P_ABORT_IRAT_GAP_CNF

+==============================================================================*/

+typedef struct { 

+    WORD                            wMsgId; 

+    WORD                            wPadding;

+}T_zW_P_abort_irat_gap_req;  

+

+typedef struct { 

+    WORD                            wMsgId; 

+    WORD                            wPadding;

+}T_zW_P_abort_irat_gap_cnf;

+

+ /*==============================================================================

+        PHY->L1W

+        ¹¦ÄÜ:

+                ÎïÀí²ãÉϱ¨gapʱ¼äÐÅÏ¢

+        ½á¹¹:        

+                ÎïÀí²ãÉϱ¨GAPʱ¼äÐÅÏ¢ÏûÏ¢ W_P_INACTIVE_TIME_IND

+==============================================================================*/

+typedef struct {

+    WORD                            wStartRtFrame;   /*GAPÆðʼµãÖ¡ºÅ,ȡֵ·¶Î§0-255£¬ÓÉÎïÀí²ãRTʱ»úÄ£256µÃµ½*/

+    WORD                             wStartChipOff;    /*GAPÆðʼµãÏà¶ÔÓÚwStartCfnµÄCHIPÆ«ÒÆ*/

+    DWORD                           dwLengthChip;  /*GAP³¤¶È*/

+

+}T_zW_P_gap_info;

+

+typedef struct {

+    WORD                            wMsgId;  

+    WORD                            wSeqNum;

+    WORD                            wGapNum;   

+    WORD                            Wpadding;

+    T_zW_P_gap_info            atGapInfo[Z_W_P_MAX_FRAME_GAP_NUM];  

+}T_zW_P_inact_time_ind;

+

+/*==============================================================================

+        L1W->PHY

+        ¹¦ÄÜ:

+                ÅäÖÃL1ÊÇ·ñÉϱ¨Æägapʱ¼ä£¬ÓÃÀ´½øÐÐ2G/LTEÐ¡ÇøµÄ¹¤×÷

+        ½á¹¹:        

+                ÅäÖÃL1ÊÇ·ñÉϱ¨Æägapʱ¼äÏûÏ¢ W_P_IDLE_PERIOD_REPMODE_REQ

+==============================================================================*/

+typedef struct {    

+    WORD                             wMsgId;    

+    WORD                             wReportingMode;          /*0: not reprot gap, 1:report gap*/

+    WORD                             wSeqNum;

+    WORD                             wPadding;

+

+}T_zW_P_idle_period_repmode_req;

+

+/*==============================================================================

+ *                         ²âÁ¿È«¾ÖÊý¾ÝÀàÐͶ¨Òå --------end                        *

+ ==============================================================================*/

+

+ 

+  /*==============================================================================

+ *                         Êý¾ÝÃæÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå start                    *

+ ==============================================================================*/

+ /*==============================================================================

+ ÏûÏ¢£ºP_RACH_PROCEDURE_REQ_EV( WMAC->PHY )

+ ˵Ã÷: MACÏ·¢Ëæ»ú½ÓÈëÇëÇó¸øÎïÀí²ã

+==============================================================================*/

+typedef struct {

+    WORD                        wMsgId;

+    WORD                        wSignatureBitmap;       /*¿ÉÓÃÇ©Ãûbitmap(16λ), BIT0ָʾµÚÒ»¸ö£¬BIT15ָʾ×îºóÒ»¸ö£¬ÓÒ±ßÊÇ×îµÍλ*/

+    WORD                        wSubchannelBitmap;      /*¿ÉÓÃ×ÓÐŵÀbitmap(12λ), BIT0ָʾµÚÒ»¸ö£¬BIT11ָʾ×îºóÒ»¸ö£¬ÓÒ±ßÊÇ×îµÍλ*/

+    WORD                        wLastFlag;              /*ָʾMACµÄRACH½ÓÈë¹ý³ÌÖд˴ÎÊÇ·ñÒÑΪµÚMmax´Î£¬¼´×îºóÒ»´Î£¨0~1£©*/

+}T_zW_P_rach_procedure_req;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºP_RACH_PROCEDURE_IND_EV( PHY->WMAC )

+ ˵Ã÷: ÎïÀí²ã»Ø¸´Ëæ»ú½ÓÈë³É¹¦

+==============================================================================*/

+typedef struct {

+    WORD                        wMsgId;

+    WORD                        wResult;                /*RACH ACCESS½á¹û£¨0~2£©£»0£ºACK£¬1£ºNACK£¬2£ºNO ACK*/

+}T_zW_P_rach_procedure_ind;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºP_POST_VERFY_FAIL_IND_EV( PHY->WMAC )

+ ˵Ã÷: ÔÚÓ²ÇÐL1ͬ²½A¹ý³Ìʱ£¬Èç¹û²ÉÓÃPostverfy£¬ÇÒÖ÷ÉÏÐÐÆµÂÊÉϵÄpost verfyʧ°ÜʱÎïÀí²ãÉϱ¨Ê§°Üָʾ

+==============================================================================*/

+typedef struct {

+    WORD                              wMsgId;

+    WORD                              wPadding;

+} T_zW_P_post_verfy_fail_ind;

+

+/*==============================================================================

+ ÏûÏ¢£ºT_zW_P_upa_grant_harq_info( PHY->WMAC )

+ ˵Ã÷: Ö¡ÖжÏÖÐÎïÀí²ãЯ´øµÄÊÚȨ¼°HARQÐÅÏ¢

+==============================================================================*/

+typedef struct {

+    WORD                        wHarqId;                /*¶ÔÓ¦½ø³ÌID£¨0~7£©*/

+    WORD                        wStatus;                /*¶ÔÓ¦½ø³ÌHARQ·´À¡½á¹û£¬0£ºACK£¬ 1£ºNACK */

+    WORD                        wServCellStatus;        /*·þÎñÐ¡ÇøÉÏָʾµÄHARQ·´À¡½á¹û£¬0£ºACK£¬ 1£ºNACK*/

+    WORD                        wPadding;

+}T_zW_P_harq_process_status;

+

+

+typedef struct {

+    WORD                        wCycle2Flag;            /*¸Ã±êʶÓÃÓÚ֪ͨPSÊÇ·ñ ¿ªÊ¼ÓÉCycle1½øÈëCycle2  £º0£ºÃ»ÓнøÈ룬1£ºÓÉcycle1½øÈëCycle2 .¸Ã±ê¼ÇÖ»Óе±ÎïÀí²ã´Ócycle1½øÈëcycle2ʱÖÃλΪ1£¬Í¨ÖªPS½øÈëCycle2£¬ÆäËûCycle1¼°Cycle2ÆÚ¼äµÄÉϱ¨µÄ¸Ã±ê¼Ç¾ùΪ0.*/

+    WORD                        wAGFlag;                /*ÊÇ·ñЯ´øAGÐÅÏ¢£¨0~1£©*/

+    WORD                        wAGIndex;               /*ÊÚȨֵË÷Òý£¨0~31£©£¬µ±wAGFlagΪ1ʱÓÐЧ*/

+    WORD                        wAGTypeAndScope;        /*IDÀàÐͺͷ¶Î§ÐÅÏ¢£¨0~2£©£»0:Primary ID&PerHARQ, 1:Primary ID&AllHARQ, 2:Secondary ID£¬µ±wAGFlagΪ1ʱÓÐЧ*/

+    WORD                        wPadding;

+    WORD                        wRGNum;                 /*ָʾ·þÎñRGºÍ·Ç·þÎñRGµÄ¸öÊý£¨0~4£©£»*/

+    WORD                        awRGValue[Z_W_P_MAX_RG_NUM];    /*RGÊý×飨0~3£©£¬0±íʾÎÞЧ£¬1±íʾ"UP"£¬2±íʾ"DOWN"£¬3±íʾ"HOLD"£¬ÆäÖеÚÒ»¸öĬÈÏÌîд·þÎñRGµÄÖµ*/

+}T_zW_P_hsupa_grant_info;

+

+

+typedef struct {

+    WORD                        wHarqBitmap;              /*ָʾÊÇ·ñЯ´øHARQ½ø³ÌÐÅÏ¢£¨bitmap£©£»BIT0£¨LSB£©£º¶ÔÓ¦Ö÷Ƶµã£¬BIT1¶ÔÓ¦¸¨Æµµã*/

+    WORD                        wGrantBitmap;             /*ָʾÊÇ·ñЯ´øÊÚȨÐÅÏ¢£¨bitmap£©£»BIT0£¨LSB£©£º¶ÔÓ¦Ö÷Ƶµã£¬BIT1¶ÔÓ¦¸¨Æµµã*/

+    T_zW_P_harq_process_status  tHarq[Z_W_P_MAX_UL_FREQUENCY_NUM];

+    T_zW_P_hsupa_grant_info     tGrant[Z_W_P_MAX_UL_FREQUENCY_NUM];

+}T_zW_P_upa_grant_harq_info;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºT_zW_P_grant_monitor_req( WMAC->PHY )

+ ˵Ã÷: ָʾµ±Ç°TTIÊÇ·ñÂú×ãmonitorÌõ¼þ,ÎïÀí²ã´Ó¹Ì¶¨»º´æÄÚ¶ÁÈ¡

+==============================================================================*/

+typedef struct {

+    WORD                        wFreqId;                /*ÔØ²¨ÐÅÏ¢£¬0±íʾµÚÒ»¸öÔØ²¨£¬1±íʾµÚ¶þ¸öÔØ²¨*/

+    WORD                        wActMonitor;            /*ָʾÊÇ·ñÂú×ãMonitorÌõ¼þ£¬0£º²»Âú×㣬1£ºÂú×ã*/

+}T_zW_P_grant_monitor_req;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºP_EFACH_NO_DATA_REQ_EV( WMAC->PHY )

+ ˵Ã÷: EFACHÏÂmacÎÞÊý¾Ý·¢ËÍʱ£¬Í¨ÖªÎïÀí²ãÎÞÊý¾Ý£¬ÎïÀí²ãÆôT321¶¨Ê±Æ÷

+==============================================================================*/

+typedef struct {

+    WORD                        wMsgId;

+    WORD                        wPadding;

+}T_zW_P_efach_no_data_req;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºW_P_ MAC_DTX_CYCLE_INFO_REQ_EV( WMAC->PHY )

+ ˵Ã÷: DCH̬MAC½øÈëMAC_DTXºó֪ͨÎïÀí²ãÖÜÆÚÄ£ÐÍ£¬ÒÔ±ãÎïÀí²ãÔÚEDCHÊý¾Ýǰ×î¶àÌáǰһ֡·¢DPCCH preamble

+==============================================================================*/

+

+typedef struct {

+    WORD                      wMsgId;

+    WORD                      wMacDtxInfoFlg;/*ȡֵ0»ò1£¬È¡ÖµÎª1ʱ£¬±íʾMAC_DTXcycle ÓÐЧ£¬È¡ÖµÎª0ʱÎÞЧ£¬¼´Í˳öMAC_DTX*/

+    WORD                      wMacDtxStartCfn;/*MAC_DRX cycleµÄÆðʼ֡ºÅ*/

+    WORD                      wMacDtxStartSubCfn;/*MAC_DRX cycleµÄÆðʼ×ÓÖ¡ºÅ*/

+    WORD                      wMacDtxCycle;/*MAC_DRX cycleµÄÖÜÆÚ³¤¶È*/

+    WORD                      wPadding;

+} T_zW_P_mac_dtx_cycle_info;

+

+/*==============================================================================

+ ÏûÏ¢£ºW_P_TFCI_CM_INFO_IND_EV( PHY->WMAC )

+ ˵Ã÷: ÿ´ÎÉÏÐÐDPCHÖØÅäÖÃʱ,ÎïÀí²ã±¨¸æ7×éTFCSÖиöTFCIµÄÖ§³ÖÇé¿ö Ntr=[8,14]ʱ

+==============================================================================*/

+

+typedef struct {

+	WORD                        awSupFlag[Z_W_P_MAX_UL_TFC_NUM]; // Z_W_P_MAX_UL_TFC_NUM = 64, Êý×éϱê±íʾtfci£¬ÔªËØÄÚÈݱíʾ¸ÃTFCIÊÇ·ñÖ§³Ö£¬1-Ö§³Ö£¬0-²»Ö§³Ö¡£

+} T_zW_P_tfci_sup_Info;

+

+typedef struct {

+    WORD                         wMsgId;

+    WORD                         wPadding;

+    T_zW_P_tfci_sup_Info   atTfciSupInfo[Z_W_P_MAX_NTR_NUM];// Ntr-8¶ÔÓ¦Êý×éϱê

+} T_zW_P_tfci_cm_Info;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºT_zW_P_ul_data_buffer( WMAC->PHY )

+ ˵Ã÷: ÉÏÐÐÊý¾Ý½Ó¿Ú( ·ÇUPA )

+==============================================================================*/

+typedef struct {

+    DWORD                      dwTrchBuffOff;          /*¸÷´«ÊäÐŵÀÊý¾ÝÔÚÊý×éÖжÔÓ¦µÄÆ«ÒÆ£¬ÒÔWORDΪµ¥Î»£¨0~583£©*/

+    WORD                        wTbNumAndTrchId;        /*´«ÊäÐŵÀidºÍ¶ÔÓ¦µÄtb¿é¸öÊý£¬¸ß8λ¶ÔÓ¦Trch Id£¬µÍ8λ¶ÔÓ¦Tb num*/

+    WORD                        wTbSize;                /*TB¿é´óС£¬µ¥Î»bit*/

+}T_zW_P_ul_trch_header;

+

+

+typedef struct {

+    WORD                        wTotalLength;           /*Êý¾Ý×ܹ²Õ¼ÓõÄWORDÊý£¨0~584£©*/

+    WORD                        wNumOfTrch;             /*´«ÊäÐŵÀ¸öÊý£¨1~8£©*/

+    WORD                        wTfci;                  /*Ñ¡ÔñµÄTfci£¨0~63£©*/

+    WORD                        wPadding;

+    T_zW_P_ul_trch_header       atUlTrchHeader[Z_W_P_MAX_UL_TRCH_NUM];

+    WORD                        awUlData[Z_W_P_MAX_NO_OF_UL_BYTES/2];

+}T_zW_P_ul_data_buffer;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºT_zW_P_dl_data_buffer( PHY->WMAC )

+ ˵Ã÷: ÏÂÐÐÊý¾Ý½Ó¿Ú( ·ÇDPA )

+==============================================================================*/

+typedef struct {

+    DWORD                      dwTrchBuffOff;          /*¸÷´«ÊäÐŵÀÊý¾ÝÔÚÊý×éÖжÔÓ¦µÄÆ«ÒÆ£¬ÒÔWORDΪµ¥Î»£¨0~583£©*/

+    WORD                        wTrchId;                /*´«ÊäÐŵÀid £¨1~8£©*/

+    WORD                        wTrchType;              /*´«ÊäÐŵÀÀàÐÍ£¨0~4£©,¼ûºê¶¨Òå*/

+    WORD                        wCfnAndTbNum;           /*Êý¾Ý·¢ËÍʱµÄCfnºÍTb¿é¸öÊý£¬¸ß8λΪTb num£¬µÍ8λΪCfn*/

+    WORD                        wSfn;                   /*Êý¾Ý·¢ËÍʱµÄϵͳ֡ºÅ£¨0~4095£©*/

+    WORD                        wTbSize;                /*TB¿é´óС£¬µ¥Î»bit*/

+    WORD                        wPadding;   

+    DWORD                      dwCrcCheck;             /*CRC½á¹û bitmap*/

+}T_zW_P_dl_trch_header;

+

+

+typedef struct {

+    WORD                        wTotalLength;           /*Êý¾Ý×ܹ²Õ¼ÓõÄWORDÊý£¨0~584£©*/

+    WORD                        wNumOfTrch;             /*´«ÊäÐŵÀ¸öÊý£¨1~8£©*/

+    WORD                        wTfci;                  /*Ñ¡ÔñµÄTfci£¨0~127£©*/

+    WORD                        wPadding;

+    T_zW_P_dl_trch_header       atDlTrchHeader[Z_W_P_MAX_DL_TRCH_NUM];   

+    WORD                        awDlData[Z_W_P_MAX_NO_OF_DL_BYTES/2];

+}T_zW_P_dl_data_buffer;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºT_zW_P_hsupa_buffer( WMAC->PHY )

+ ˵Ã÷: ÉÏÐÐÊý¾Ý½Ó¿Ú( UPA )

+==============================================================================*/

+typedef struct {

+    WORD                        wL;                     /*±íʾʹÓøÃE-TFCËùÓеÄE-DPDCHs£¬È¡Öµ·¶Î§(1~4)*/

+    WORD                        wBetaEc;                /*ȡֵ·¶Î§5~239¡£*/

+    WORD                        awBetaEd[4];            /*wL¸öÖµ£¬È¡Öµ·¶Î§5~377*/

+    WORD                        wSf;                         /*µÚÒ»ÌõE-dpdchµÄSF.ȡֵ·¶Î§0--512*/

+    WORD                        wPadding;

+}T_zW_p_etfc_gain_factor;

+

+

+typedef struct {

+    WORD                        wCfn;                   /*Á¬½ÓÖ¡ºÅ0--255*/

+    WORD                        wSubFrameNum;           /*×ÓÖ¡ºÅ0--4*/

+}T_zW_P_upa_trans_frame_num;

+

+typedef struct {

+    WORD                        wNej;

+    WORD                        wNdataJ;

+}T_zW_P_etfc_rm_info;

+

+typedef struct {

+    WORD                        wFreqId;                /*ָʾµ±Ç°ÊÇÄǸöÔØ²¨¶ÔÓ¦µÄÉÏÐÐÊý¾Ý£¬0±íʾµÚÒ»¸öÔØ²¨£¬1±íʾµÚ¶þ¸öÔØ²¨*/

+    WORD                        wErnti;                 /*´ËÊý¾Ý°ü¶ÔÓ¦µÄERNTI*/

+    WORD                        wHarqId;                /*HARQ½ø³ÌID£¨0~7£©*/

+    WORD                        wEtfci;                 /*Ñ¡ÔñµÄEtfci£¨0~127£©*/

+    T_zW_p_etfc_gain_factor     tEtfcGainFactor;

+    T_zW_P_etfc_rm_info         tEtfcRmInfo;

+    WORD                        wTbSize;                /*¶ÔÓ¦TB¿é´óСbits£¨18~22995£©*/

+    WORD                        wRsn;                   /*Tb¿é¶ÔÓ¦RSN£¨0~3£©*/

+    WORD                        wHappyBit;              /*Happy Bitָʾ£¨0~1£©*/

+    WORD                        wSchDataFg;             /*ָʾµ±Ç°ÊÇ·ñÊǵ÷¶ÈÊý¾Ý£¨0~1£©*/

+    T_zW_P_upa_trans_frame_num  tUpaTransFrameNum;

+//    WORD                        awHsupaData[Z_W_P_MAX_NO_OF_HSUPA_BYTES/2];  /*UPAÊý¾ÝÍ·ÐÅÏ¢·ÅÈë¹²ÏíRAM£¬UPAÊý¾ÝÐÅÏ¢Ö±½Ó°áÖÁÎïÀí²ãÓ²¼þ¼ÓËÙÆ÷E-UTR RAM*/

+}T_zW_P_hsupa_buffer;

+

+

+/*==============================================================================

+ ÏûÏ¢£ºT_zW_P_hsdpa_buffer( PHY->WMAC )

+ ˵Ã÷: ÏÂÐÐÊý¾Ý½Ó¿Ú( DPA )

+==============================================================================*/

+typedef struct {

+    WORD                        wTbSize;                /*Tb¿é´óСbit£¨120~27952£©*/

+    WORD                        wDataType;              /*ָʾ½ÓÊÕµÄÊý¾Ý¿éÀàÐÍ£¬0£ºÆäËû  1£ºPCCH  2£ºBCCH£»

+                                                        ÔÚEPCH̬»òEFACH̬ʹÓÃBCCH RNTI½âÂëʱ£¬Ôò¶ÔÓ¦wDataTypeÌîдBCCH£»

+                                                        ÔÚEPCH̬²»Ê¹ÓÃBCCH RNTI½âÂëʱ£¬¶ÔÓ¦wDataTypeÌîдPCCH£»

+                                                        ÆäËûÇé¿öÏÂwDataTypeÌîдÆäËû*/

+    WORD                        awHsdpaData[Z_W_P_MAX_NO_OF_HSDPA_BYTES/2];

+}T_zW_P_hsdpa_buffer;

+

+/*==============================================================================

+ÏûÏ¢£ºP_TFC_ETFC_PARAM_IND( WPHY->WMAC )

+˵Ã÷: L1½«¼ÆËãºÃµÄTFC gain factorÖµ¸øMAC£¬ÓÃÓÚETFCÏÞÖÆ¹ý³ÌʹÓÃ

+==============================================================================*/

+

+typedef struct {

+    WORD                        wTfci;                           /*Tfciֵ*/

+    WORD                        wPadding;

+    DWORD                       dwAjNumeratorLow;                /*¼ÆËãAjƽ·½ËùÓõķÖ×Ó,µÍ32λ*/

+    DWORD                       dwAjNumeratorHigh;               /*¼ÆËãAjƽ·½ËùÓõķÖ×Ó,¸ß32λ*/

+    DWORD                       dwAjDenominatorLow;              /*¼ÆËãAjƽ·½ËùÓõķÖĸ,µÍ32λ*/

+    DWORD                       dwAjDenominatorHigh;             /*¼ÆËãAjƽ·½ËùÓõķÖĸ,¸ß32λ*/

+}T_zW_P_tfc_gain_factor;/*signalledGainFactors & computedGainFactors*/

+

+typedef struct

+{

+    WORD                        wiMantissa;                      /*βÊý*/

+    WORD                        wiExp;                           /*¸ºÊý¼ÓÆ«ÒÆ¡£Ö¸Êý*/

+}T_zW_P_pc_flot_data;

+

+typedef struct {

+    WORD                        wMsgId;

+    WORD                        wNumOfTfc;                       /*Tfc Êý*/

+    WORD                        wUlDpdchNum;                     /*ÓëT_zW_P_ul_dpch_setup_modify_reqÖÐÐÅÔªwNumOfDPDCHÏàͬ*/    

+    WORD                        wPadding;

+

+    T_zW_P_tfc_gain_factor      atTfcParam[Z_W_P_MAX_UL_TFC_NUM];/*ËùÓÐTFCµÄBetaC,BetaD*/

+    T_zW_P_pc_flot_data         tPMax;

+}T_zW_P_tfc_etfc_param_ind;

+

+

+/*==============================================================================

+ÏûÏ¢£ºT_zW_P_ul_power_info( WPHY->WMAC )

+˵Ã÷:   TFC¹¦ÂÊ¿ØÖÆ

+==============================================================================*/

+typedef struct {

+    WORD                        wTfcPowerFlag;                            /*ÊÇ·ñЯ´øtfc power info£¨0~1£©*/

+    WORD                        wCompressedFlg;

+    WORD                        awExcessPowerFlag[Z_W_P_MAX_UL_TFC_NUM]; /*TFCIÊÇ·ñ³¬¹ý×î´ó´«Ê书ÂʵÄָʾ£¬Êý×éϱêΪTFCI£»Êý×éÄÚÈÝΪÈý¸öʱ϶µÄ²âÁ¿½á¹û£¨bitmap£©£¬BIT0£¨LSB£©£ºµÚÒ»¸öʱ϶²âÁ¿½á¹û£¬BIT1£ºµÚ¶þ¸öʱ϶²âÁ¿½á¹û£¬BIT2£ºµÚÈý¸öʱ϶²âÁ¿½á¹û*/

+}T_zW_P_ul_power_info;

+

+/*==============================================================================

+ÏûÏ¢£ºT_zW_P_upa_etfc_restrict_info( WPHY->WMAC )

+˵Ã÷:   ETFCÏÞÖÆ¹ý³ÌÐÅÏ¢

+==============================================================================*/

+typedef struct {

+    WORD                        wNpilotC;                             /*ѹËõÖ¡ÖУ¬Ã¿¸öʱ϶ÉÏDPCCHµÄpilot bitÊýÁ¿¡£È¡Öµ·¶Î§3~8bit*/

+    WORD                        wNpilotN;                             /*·ÇѹËõÖ¡ÖУ¬Ã¿¸öʱ϶ÉÏDPCCHµÄpilot bitÊýÁ¿¡£È¡Öµ·¶Î§3~8bit*/

+    WORD                        wNSlotC;                              /*ѹËõģʽ֡ÖУ¬²»·¢ËÍÊý¾ÝµÄʱ϶Êý¡£È¡Öµ·¶Î§1~15*/

+    WORD                        wPadding;

+}T_zW_P_dpch_compressed_info;

+

+typedef struct {

+    WORD                        wCompressedFlg;                       /*0-ÎÞѹËõģʽÐÅÏ¢£¬1-´æÔÚѹËõģʽÐÅÏ¢*/

+    WORD                        wBeltaHs;                             /*HsdpcchµÄÔöÒæÒò×Ó£¬·¶Î§0~38*15*/

+    WORD                        wEstimatePdpcchFilterSlotNum;         /*Â˲¨Ê±Ï¶¸öÊý*/

+    WORD                        wPadding;

+    T_zW_P_dpch_compressed_info tDpchCompressedInfo;                  /*ѹËõģʽÐÅÏ¢*/

+    T_zW_P_pc_flot_data         wEstimatePdpcchTarg[Z_W_P_MAX_UL_FREQUENCY_NUM];               /*DPCCHÆÀ¹À¹¦ÂÊ£¬Êý×éϱê0±íʾÖ÷Ƶ£¬Êý×éϱê1±íʾ¸¨Æµ£¬2msTTIʱÆÀ¹À3slots£¬10msTTIʱÆÀ¹À15slots¡£ÓÃÖ¸ÊýÐÎʽ±íʾ¡£Èç¹ûÊÇѹËõģʽ£¬¸Ã¹¦ÂÊÊÇÕÛËãºóµÄ¹¦ÂÊÖµ£¬¼´PDPCCH,target,i = PDPCCH,filtered,i¡Á (Npilot,N/ Npilot,C)*/

+}T_zW_P_upa_etfc_restrict_info;

+

+typedef struct {

+    WORD                      wPrimFreqTransFlg;                      /*Ö÷Ƶ,pc preambleÊÇ·ñ¿É·¢Êý¾Ý£¬»òѹËõģʽgapÊÇ·ñ¿É·¢Êý¾Ý¡£0£º²»ÔÊÐí·¢ËÍÊý¾Ý£¬1£ºÔÊÐí·¢Êý¾Ý*/

+    WORD                      wSecFreqTransFlg;  

+  }T_zW_P_upa_trans_info;

+

+typedef struct {

+    WORD                            wNtr[ Z_W_P_MAX_NTR_NUM];/*CMÔÚN+2--N+9Ö¡ÖУ¬Ã¿Ö¡ÖеÄÕ¼ÓÃʱ϶Êý£¬wNtr[0]¶ÔÓ¦N+2Ö¡,ÎïÀí²ãÔÚÊÕµ½CMÅäÖÃʱ¼°Ê±Éϱ¨£¬Ö®ºóµÄÉϱ¨Âú×ã CFN%8=0 Éϱ¨¡£Éϱ¨µÄÌáǰÁ¿Îª20MS*/

+    WORD                            wNtrStartCfn;/* Éϱ¨µÄNtr[0]ËùÔÚÖ¡Ö¡ºÅ*/

+    WORD                            wPadding;

+}T_zW_P_cm_ntr_info;

+

+/*==============================================================================

+ ½á¹¹£ºT_zW_P_data_frame_info( PHY->WMAC )

+ ˵Ã÷: Ö¡ÖжÏÊý¾ÝÐÅÏ¢Éϱ¨

+==============================================================================*/

+typedef struct {

+    WORD                                      wUph;

+    WORD                                      wDtxActive;         /*ÅäÖÃÁËDtxDrxºó£¬Ö¸Ê¾DtxÊÇ·ñ¼¤»î»òÈ¥»î£»0£ºÎÞЧ£¬1£ºÖ¸Ê¾¼¤»î£¬2£ºÖ¸Ê¾È¥»î*/

+    WORD                                      wDrxActive;         /*ÅäÖÃÁËDtxDrxºó£¬Ö¸Ê¾DrxÊÇ·ñ¼¤»î»òÈ¥»î£»0£ºÎÞЧ£¬1£ºÖ¸Ê¾¼¤»î£¬2£ºÖ¸Ê¾È¥»î*/

+    WORD                                      wSecCellActive;     /*ÅäÖõڶþƵµãºó£¬Ö¸Ê¾µÚ¶þƵµãÊÇ·ñ¼¤»î£»0£ºÎÞЧ£¬1£ºÖ¸Ê¾¼¤»î£¬2£ºÖ¸Ê¾È¥»î*/

+    WORD                                      wRachDchTransFg;               /*ָʾRACH,DCH´ËÖ¡ÊÇ·ñ¿ÉÒÔ·¢ËÍÊý¾Ý£¬0£º²»ÔÊÐí·¢ËÍÊý¾Ý£¬1£ºÔÊÐí·¢Êý¾Ý*/  

+    WORD                                      wCmNtrInfoFlg;

+    T_zW_P_cm_ntr_info                  tCmNtrInfo;

+    T_zW_P_upa_trans_info              tUpaTransInfo;

+    T_zW_P_upa_grant_harq_info      tGrantHarqInfo;

+    DWORD                                    dwCmPattern;                   /*Éϱ¨Ñ¹ËõģʽͼÑù£¬Ã¿¸ö×ÓÖ¡Éϱ¨Ò»´Î£¬Éϱ¨µÄÊÇ3¸ö×ÓÖ¡Ö®ºóµÄÖµ*/

+    

+    T_zW_P_ul_power_info               tUlPowerInfo;/*Õë¶ÔDPCH,ÎïÀí²ãÉϱ¨µÄÌáǰÁ¿ÊÇ2Ö¡*/

+

+    T_zW_P_upa_etfc_restrict_info    tEtfcRestrictInfo;/*Õë¶ÔUPA£¬ÎïÀí²ãÉϱ¨µÄÌáǰÁ¿ÊÇ2¸ö×ÓÖ¡*/

+}T_zW_P_data_frame_info; 

+

+/*==============================================================================

+    L1W->PHY

+    ʼþ£ºW_P_ZWPCG_REQ_EV

+    ¹¦ÄÜ:

+        ÐÞ¸Ä/²éѯWÎïÀí²ãÅäÖòÎÊý¡£

+==============================================================================*/

+typedef struct 

+{

+    WORD       wMsgId;

+    WORD       wCmd;      /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ */

+    WORD       awValFg[Z_ZWPCG_VALFG_NUM];   /* ±íʾadwValÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ */

+    DWORD      adwVal[Z_ZWPCG_VALFG_NUM];    /* ²ÎÊýÁÐ±í£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö */

+}T_zW_P_Zwpcg_Req; 

+

+/*==============================================================================

+    PHY->L1W

+    ʼþ£ºW_P_ZWPCG_CNF_EV

+    ¹¦ÄÜ:

+        ÐÞ¸Ä/²éѯWÎïÀí²ãÅäÖòÎÊýµÄÏìÓ¦ÏûÏ¢¡£

+==============================================================================*/

+typedef struct 

+{

+    WORD       wMsgId;

+    WORD       wCmd;      /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ£¬bMode=0/1¶¼ÓÐЧ */

+    WORD       wRslt;     /* ±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü  wCmdΪÉèÖÃÃüÁîʱÓÐЧ */

+    WORD       awValFg[Z_ZWPCG_PARAM_NUM]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/

+    LONG       alVal[Z_ZWPCG_PARAM_NUM];   /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/

+}T_zW_P_Zwpcg_Cnf;

+

+

+

+/*==============================================================================

+    L1W->PHY

+    ʼþ£ºW_P_RPI_SET_REQ_EV

+    ¹¦ÄÜ:

+        ÉèÖÃWPHYʹÓõÄ×î´ó·¢É书ÂʵÄRPI VAULE

+==============================================================================*/

+typedef struct 

+{

+    WORD    wMsgId;

+    WORD    wRpi; /* PUMAX¶ÔÓ¦µÄRPIµµÎ»£¬·¶Î§0/1/2 */

+}T_zW_P_rpi_set_req; 

+

+

+#define   Z_MAX_RPI_NR                                  (BYTE)3

+#define   Z_W_RPI_SUPPORT_MAX_BAND          (BYTE)8

+

+

+typedef struct 

+{

+    WORD    wBand;        /* ¶ÔÓ¦µÄBANDºÅ */

+    WORD    bPumax[Z_MAX_RPI_NR];   /* ÒÔrpiΪindexÈ·ÈÏ×î´ó·¢É书ÂÊpumax */

+}T_zBandRpiCfg; 

+

+/*==============================================================================

+    L1W->PHY

+    ʼþ£ºW_P_RPI_CFG_REQ_EV

+    ¹¦ÄÜ:

+        ÅäÖÃWÏÂ8¸öBAND£¬Ã¿¸öBANDÏÂRPIºÍPUMAXµÄÓ³Éä¹ØÏµ£¬ÆäÖÐRPI·¶Î§0~2

+==============================================================================*/

+typedef struct 

+{

+    WORD    wMsgId;

+    T_zBandRpiCfg    tWBandRpiCfg[Z_W_RPI_SUPPORT_MAX_BAND];

+}T_zW_P_rpi_cfg_req;

+

+

+

+/*==============================================================================

+ *                         Êý¾ÝÃæÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå end                   *

+ ==============================================================================*/

+

+

+

+/**************************************************************************

+ *        PSÓëWPHY ¹²ÏíDDRµÄ5MB ¿Õ¼ä                                   *

+ **************************************************************************/

+#if 0

+#if defined (_CHIP_ZX297550)

+#define DDR_BASE_ADDR_FOR_W            0x5800000

+#endif

+#if defined (_CHIP_ZX2804)

+#define DDR_BASE_ADDR_FOR_W           0x15800000

+#endif

+

+#endif

+/*PSÓëphy¹²ÏíDDR¸ù¾ÝÒµÎñÇé¿ö·Ö³É5¸öµÈ¼¶*/

+#define PS_WPHY_DL_DATA_DDR_GRADE_NUM           (5)

+#define PS_MAC_HEAD_IFNO_SIZE                   620//ec616000258401

+

+#define PS_WPHY_DL_DATA_TYPE0_GRADE_BUF_SIZE    0//(86 + PS_MAC_HEAD_IFNO_SIZE)

+#define PS_WPHY_DL_DATA_TYPE1_GRADE_BUF_SIZE    0//(238 + PS_MAC_HEAD_IFNO_SIZE)

+#define PS_WPHY_DL_DATA_TYPE2_GRADE_BUF_SIZE    0//(682 + PS_MAC_HEAD_IFNO_SIZE)

+#define PS_WPHY_DL_DATA_TYPE3_GRADE_BUF_SIZE    0//(1980 + PS_MAC_HEAD_IFNO_SIZE)

+#define PS_WPHY_DL_DATA_TYPE4_GRADE_BUF_SIZE    (5282 + PS_MAC_HEAD_IFNO_SIZE)

+

+

+#define PS_WPHY_DL_DATA_TYPE0_GRADE_BUF_NUM     0//505

+#define PS_WPHY_DL_DATA_TYPE1_GRADE_BUF_NUM     0//505

+#define PS_WPHY_DL_DATA_TYPE2_GRADE_BUF_NUM     0//400

+#define PS_WPHY_DL_DATA_TYPE3_GRADE_BUF_NUM     0//300

+#define PS_WPHY_DL_DATA_TYPE4_GRADE_BUF_NUM     131//200

+

+#define PS_WPHY_DL_DATA_TYPE_GRADE_BUF_NUM_ALL    (PS_WPHY_DL_DATA_TYPE0_GRADE_BUF_NUM + PS_WPHY_DL_DATA_TYPE1_GRADE_BUF_NUM + PS_WPHY_DL_DATA_TYPE2_GRADE_BUF_NUM\

+                                +PS_WPHY_DL_DATA_TYPE3_GRADE_BUF_NUM + PS_WPHY_DL_DATA_TYPE4_GRADE_BUF_NUM)//add by shideyou 

+

+/**************************************************************************

+ *        PSÓëWPHY ¹²ÏíRAMµÄ60K ¿Õ¼äPS_PHY_BASE_ADDR+144K---PS_PHY_BASE_ADDR+208K                                   *

+ **************************************************************************/

+#ifdef Z_SEND_TO_SIMPHY

+#define    PS_PHY_BASE_ADDR                     0x00000004//²úÆ·ÏßÌṩ

+#define    PS_WPHY_BASE_ADDR                    (PS_PHY_BASE_ADDR +24000)

+#else

+#define    PS_WPHY_BASE_ADDR                    IRAM_BASE_ADDR_FOR_W

+#endif

+

+#if 0

+#define    PS_WPHY_EVENT_ADDR                   PS_WPHY_BASE_ADDR

+

+/*PS ¸øÎïÀí²ã·¢ËÍÏûÏ¢µÄÆðʼµØÖ·*/

+#define    PS_TO_WPHY_EVENT_ADDR                PS_WPHY_BASE_ADDR

+

+#define    PS_TO_WPHY_ENENT_BUF_SIZE            (0X61BC >> CPU_SHIFT)     //add by shideyou  /*PS->WPHY  ÏûÏ¢²¿·ÖÕ¼ÓõÄRAM¿Õ¼ä´óС*/

+

+/*ÎïÀí²ã¸øPS·¢ËÍÏûÏ¢µÄÆðʼµØÖ·*/

+#define    WPHY_TO_PS_EVENT_ADDR                (PS_WPHY_BASE_ADDR + PS_TO_WPHY_ENENT_BUF_SIZE)

+

+/*PSÓëWPHY  ÏûÏ¢²¿·ÖÕ¼ÓõÄRAM¿Õ¼ä´óС*/

+#define    PS_WPHY_ENENT_BUF_SIZE               (0X8110 >> CPU_SHIFT)

+#endif

+

+/*Êý¾Ý±£»¤Çø´óС*/

+#define    PS_WPHY_SAFEGUARD_SIZE               (4 >> CPU_SHIFT)

+

+#if 0

+/*ÆÕͨÉÏÐÐÊý¾ÝµÄÆðʼµØÖ·*/

+#define    PS_WPHY_UL_DATA_ADDR                 (PS_WPHY_EVENT_ADDR + PS_WPHY_ENENT_BUF_SIZE +PS_WPHY_SAFEGUARD_SIZE)

+

+#define   PS_WPHY_UL_RACH_DPCH_ADDR             PS_WPHY_UL_DATA_ADDR

+#define   PS_W_UL_RACH_DPCH_BUF_SIZE            (2* sizeof(T_zW_P_ul_data_buffer))

+#endif

+/*UPA¿ØÖÆÐÅÏ¢²¿·ÖÆðʼµØÖ·*/

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ_NUM         8   //add by shideyou ,ºóÃæÈç¹ûÖ§³ÖMIMOʱÐèÒª¸Ä³É16

+//#define  PS_WPHY_UPA_CTRL_INFO_ADDR             (PS_W_UL_RACH_DPCH_BUF_SIZE + PS_WPHY_UL_RACH_DPCH_ADDR+ 2* PS_WPHY_SAFEGUARD_SIZE)  //modify by shideyou,  add 4 byte for share harqid

+#define  PS_WPHY_UPA_CTRL_INFO_ADDR             (PS_WPHY_BASE_ADDR + 2* PS_WPHY_SAFEGUARD_SIZE)  //modify by shideyou,  add 4 byte for share harqid

+#define  PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE     (sizeof(T_zW_P_hsupa_buffer))

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR    PS_WPHY_UPA_CTRL_INFO_ADDR

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ1_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE)

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ2_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (2*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ3_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (3*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ4_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (4*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ5_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (5*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ6_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (6*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))

+#define  PS_WPHY_UPA_CTRL_INFO_HARQ7_ADDR    (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (7*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))

+

+#define  PS_WPHY_UPA_CTRL_INFO_BUF_SIZE        (16* PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE)/*¿¼Âǵ½Ö§³ÖMIMOµÄÇé¿ö*/

+

+

+/*ÎïÀí²ãÓ²¼þW-EUTR²¿·ÖUPA´æ·ÅÊý¾ÝµØÖ·£º*/

+#if defined (_CHIP_ZX2804)

+/*2804ƽ̨£º 0x5040 0000; wphyÌṩ*/

+#define  WPHY_UPA_DATA_BASE_ADDR                     (0X40B00000 >> CPU_SHIFT)

+#endif

+#if defined(_CHIP_ZX297520) || defined(_CHIP_ZX297520V2)  || defined(_CHIP_ZX297520V1_1)

+/*7520ƽ̨£º */

+#define  WPHY_UPA_DATA_BASE_ADDR                     (0XA4000000 >> CPU_SHIFT)

+#endif

+#if defined (_CHIP_ZX297520V3) 

+/*7520V3ƽ̨£º */

+#define  WPHY_UPA_DATA_BASE_ADDR                     DDR_BASE_ADDR_WUPA_DATA//(0X2759AC00 >> CPU_SHIFT)

+#endif

+#if defined (_CHIP_ZX297550A)

+/*7550Aƽ̨£º0xA280 0000;*/

+#define  WPHY_UPA_DATA_BASE_ADDR                     (0XA2800000 >> CPU_SHIFT)

+#endif

+#if defined (_CHIP_ZX297520V3) 

+/*7520V3ƽ̨£º UPAÊý¾ÝÔÚDDRÉÏ*/

+#define  WPHY_UPA_DATA_HARQ_BASE_ADDR                0

+#define  WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE           ((0X168*4) >> CPU_SHIFT)

+#define  WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE          ((0X2d0*4) >> CPU_SHIFT)

+#else

+#define  WPHY_UPA_DATA_HARQ_BASE_ADDR                (0Xb000*4)

+#define  WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE           (0X168*4)

+#define  WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE          (0X2d0*4)

+#endif

+

+#define  WPHY_UPA_DATA_TTI2_HARQ0_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR ) 

+#define  WPHY_UPA_DATA_TTI2_HARQ1_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI2_HARQ2_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 2*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI2_HARQ3_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 3*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI2_HARQ4_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 4*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI2_HARQ5_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 5*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI2_HARQ6_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 6*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI2_HARQ7_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 7*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE) 

+

+#define  WPHY_UPA_DATA_TTI10_HARQ0_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR ) 

+#define  WPHY_UPA_DATA_TTI10_HARQ1_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI10_HARQ2_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 2*WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE) 

+#define  WPHY_UPA_DATA_TTI10_HARQ3_BUF_ADDR   (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 3*WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE) 

+

+

+/*Ö¡ÖжÏÐÅÏ¢°üÀ¨Êý¾Ý²¿·Ö£¬ÒÔ¼°Ö¡ºÅ£¬PSÓëÎïÀí²ã¹²ÏíµÄÆäËûÐÅÏ¢ÈçDRX GRANT REQÐÅÏ¢*/

+#define  PS_WPHY_FRAME_DATA_INFO_ADDR              (PS_WPHY_UPA_CTRL_INFO_ADDR  + PS_WPHY_UPA_CTRL_INFO_BUF_SIZE + PS_WPHY_SAFEGUARD_SIZE)

+#define  PS_WPHY_FRAME_DATA_BUF_SIZE                 (sizeof(T_zW_P_data_frame_info))

+

+

+/*Ö¡ºÅÏà¹ØÐÅÏ¢*/

+#define PS_WPHY_CFN_ADDR                                      (PS_WPHY_FRAME_DATA_BUF_SIZE + PS_WPHY_FRAME_DATA_INFO_ADDR + PS_WPHY_SAFEGUARD_SIZE)

+#define PS_WPHY_SUBFRAME_ADDR                            ((4>>CPU_SHIFT) + PS_WPHY_CFN_ADDR)

+#define PS_WPHY_SFN_ADDR                                      ((4>>CPU_SHIFT) + PS_WPHY_SUBFRAME_ADDR)

+#define PS_WPHY_RTSFN_ADDR                                  ((4>>CPU_SHIFT) + PS_WPHY_SFN_ADDR)

+#define PS_WPHY_RTCFN_ADDR                                  ((4>>CPU_SHIFT) + PS_WPHY_RTSFN_ADDR)/*ÎïÀí²ãÿ¸öÖ¡ÖжÏÉϱ¨µÄRT Ïà¹ØCFN£¬È¡Öµ·¶Î§0-255.ÓÉÎïÀí²ãRTʱ»úÄ£256µÃµ½*/

+

+/*ÓÃÓÚÊý¾Ý·¢ËÍ¿ØÖƵÄTransFlg.ÎïÀí²ãд,PS¶Á*/

+#define PS_WPHY_TRANSFLG_ADDR                            ((4>>CPU_SHIFT) + PS_WPHY_RTCFN_ADDR)

+

+/*ÓÃÓÚDRX¿ØÖƵÄGRANT MONITOR REQ.PSдÎïÀí²ãÖ¡Í·¶Á*/

+#define PS_WPHY_GRANT_MONITOR_REQ_ADDR        ((4>>CPU_SHIFT) + PS_WPHY_TRANSFLG_ADDR + PS_WPHY_SAFEGUARD_SIZE)

+#define PS_WPHY_GRANT_MONITOR_REQ_BUF_SIZE  (sizeof( T_zW_P_grant_monitor_req))

+

+

+/*Çý¶¯Î¬»¤¹²ÏíDDRµÄRING BUF¶ÓÁÐÐÅÏ¢£ºÕ¼ÓÃBUFºÍ¿ÕÏÐBUF add by shideyou*/

+

+/*IRAM DL free buf addr  add by shideyou*/

+#define PS_WPHY_FREE_BUF_ADDR    (PS_WPHY_GRANT_MONITOR_REQ_ADDR + PS_WPHY_GRANT_MONITOR_REQ_BUF_SIZE)

+#define PS_WPHY_FREE_BUF_SIZE    ((2*4*PS_WPHY_DL_DATA_DDR_GRADE_NUM +  4*(PS_WPHY_DL_DATA_TYPE_GRADE_BUF_NUM_ALL + PS_WPHY_DL_DATA_DDR_GRADE_NUM))>>CPU_SHIFT)

+

+#if 0

+/*IRAM DL send buf addr  add by shideyou*/

+#define PS_WPHY_SEND_BUF_NUM    15      

+#define PS_WPHY_SEND_BUF_ADDR    (PS_WPHY_FREE_BUF_ADDR + PS_WPHY_FREE_BUF_SIZE)

+#define PS_WPHY_SEND_BUF_SIZE    ((2*4 + 4 * (PS_WPHY_SEND_BUF_NUM + 1))>>CPU_SHIFT)

+#endif

+

+/*HFN address  add by shideyou.outputed by wphy and used for TMT */

+#define WPHY_HFN_ADDRESS  (PS_WPHY_FREE_BUF_ADDR + PS_WPHY_FREE_BUF_SIZE)

+#define WPHY_HFN_SIZE         (0x4 >>CPU_SHIFT)

+#endif        // Z_PS_WPHY_INTERFACE_H

+

+

+

diff --git a/pub/include/ps_phy/rpmsg_channel.h b/pub/include/ps_phy/rpmsg_channel.h
new file mode 100644
index 0000000..ab4993e
--- /dev/null
+++ b/pub/include/ps_phy/rpmsg_channel.h
@@ -0,0 +1,124 @@
+/*****************************************************************************

+ *°æ±¾ËùÓÐ (C)2017ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £ºPS-PHYͨѶͨµÀ¶¨Òå

+ *  ÎļþÃû    ps_phy_channel.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£º

+ *  ʵÏÖ¹¦ÄÜ£ºÐ­ÒéÕ»ºÍÎïÀí²ãÖ®¼äͨѶͨµÀµÄ¶¨Òå

+ *  ×÷Õß        £º

+ *  °æ±¾        £º

+ *  Íê³ÉÈÕÆÚ£º

+ *  ÆäËü˵Ã÷£ºÐ½¨

+ *

+ *****************************************************************************/

+#ifndef    _PS_PHY_CHANNEL_H

+#define    _PS_PHY_CHANNEL_H

+

+/**************************************************************************

+ *                        Í·Îļþ°üº¬                                      *

+ **************************************************************************/

+//#include "drv_rpmsg.h"

+//#ifndef _OS_WIN

+//#include "ram_config.h"

+//#endif

+/**************************************************************************************************

+ICPͨµÀÃüÃû¹æÔò

+   RP_MSG_LTE_PS_PHY_SYNC

+           |  |   |    |

+		   |  |   |    |--> ÏûÏ¢ÀàÐÍ

+		   |  |   |--> ºË2     

+		   |  |------>ºË1

+		   |-->ʹÓÃÖÆÊ½	   

+***************************************************************************************************/

+

+

+/******************************************************************************************

+//PS<->PHYÖ®¼ä¹²¿É¶¨Òå64¸öͨµÀ

+******************************************************************************************/

+

+//LTE

+#define RP_MSG_LTE_PHY_PS_WAKEUP            channel_10   //PHY»½ÐÑPSͨµÀ£¬PSÊ¡µç²à»Øµ÷º¯Êý´¦Àí

+#define RP_MSG_LTE_PHY_PS_SYNC              channel_11   //ps¡¢ltephyÖ®¼äµÄͬ²½ÏûÏ¢

+#define RP_MSG_LTE_PHY_PS_ASYNC             channel_12   //ps¡¢ltephyÖ®¼äµÄÒì²½ÏûÏ¢

+#define RP_MSG_LTE_PHY_PS_ICP               channel_13   //ps¡¢ltephy·¢ËÍÒì²½ÏûϢʱ£¬´¥·¢ICP

+

+//Ë«´ýÐÂÔöÕ»2µÄͨµÀºÅ

+#define RP_MSG_LTE_PHY_PS_SYNC_2              channel_14   //ps¡¢ltephyÖ®¼äµÄͬ²½ÏûÏ¢

+#define RP_MSG_LTE_PHY_PS_ASYNC_2             channel_15   //ps¡¢ltephyÖ®¼äµÄÒì²½ÏûÏ¢

+//#define RP_MSG_LTE_PHY_PS_ICP_2               channel_16   //ps¡¢ltephy·¢ËÍÒì²½ÏûϢʱ£¬´¥·¢ICP

+

+//TD

+#define RP_MSG_TD_PS_PHY_MSG                channel_21    //ps¡¢tdphyÖ®¼äµÄÏûϢͨµÀ

+#define RP_MSG_TD_PS_PHY_UPA_DATA           channel_22

+#define RP_MSG_TD_PS_PHY_LPM_WAKEUP         channel_23

+#define RP_MSG_TD_PHY_PS_WAKEUP             channel_24 //»½ÐÑͨµÀ

+#define RP_MSG_TD_PHY_PS_FRAME_INT          channel_25 //0x100000000

+//#define RP_MSG_TD_DPRAM_CMD                 channel_26 //H2U  U2H

+#define RP_MSG_TD_EAGCH_DATA                channel_27 //EAGCH  only phy--->ps

+#define RP_MSG_TD_BCH_DATA                  channel_28 //BCH  only phy--->ps

+#define RP_MSG_TD_HSUPA_DATA                channel_29 //TD HSUPAÊý¾Ýps--->phy

+

+

+//W

+#define RP_MSG_W_PS_PHY_MSG                 channel_31//Éϱ¨

+#define RP_MSG_W_PHY_PS_WAKEUP              channel_32

+#define RP_MSG_W_PS_PHY_UPA_DATA            channel_33//0x100000000

+#define RP_MSG_W_PS_PHY_LPM_WAKEUP          channel_34//0x400000000

+#define RP_MSG_W_PHY_PS_FRAME_INT           channel_35//0x2

+//#define RP_MSG_W_DPRAM_CMD                  channel_36//DPRAM CMD

+

+//td,W ²»Í¬Ê±´æÔÚ¸´ÓÃͨµÀ

+#define RP_MSG_TD_W_UL_DATA                 channel_37 //TD,WÆÕͨÉÏÐÐÊý¾Ý

+#define RP_MSG_TD_W_DL_DATA                 channel_38 //TD,WÆÕͨÏÂÐÐÊý¾Ý

+#define RP_MSG_TD_W_HSDPA_DATA              channel_39 //TD,W DPAÊý¾Ý

+

+

+//PUB

+#define RP_MSG_PS_PHY_RAMDUMP               channel_40     //arm¡¢zspÖ®¼äµÄramdumpͨµÀ

+#define RP_MSG_PHY_PS_DDR_DVFS              channel_41     //ddrµ÷ƵͨµÀ

+//#define RP_MSG_UICC_VSIMAGT_CHANNEL         channel_42     //vsim ͨµÀ

+

+/******************************************************************************************

+Éæ¼°M0ºËµÄ£¬Ã¿¸öºËÓëM0Ö®¼ä¹²10¸öͨµÀ

+******************************************************************************************/

+

+//PHY<->M0

+#define RP_MSG_PHY_M0_AXI_DFS               channel_1     //axiµ÷ƵͨµÀ

+#define RP_MSG_M0_PHY_WDT                   channel_2     //m0¡¢zspÖ®¼äµÄWDT

+

+//PS<->M0

+#define RP_MSG_PS_M0_AXI_DFS                channel_1     //axiµ÷ƵͨµÀ

+#define RP_MSG_M0_PS_WDT                    channel_2     //m0¡¢armÖ®¼äµÄWDT

+

+#define ICP_CHANNEL_DEFAULT_SIZE            (UINT32)255

+

+

+/******************************************************************************************

+PS¡¢PHYÔ¼¶¨¸÷Êý¾Ý¿éµÄ´óС£¬ÊýÄ¿ºê

+******************************************************************************************/

+#define RP_MSG_TD_EAGCH_DATA_BLOCK_SIZE    40/*¶ÔÓ¦RP_MSG_TD_EAGCH_DATAͨµÀ*/

+#define RP_MSG_TD_EAGCH_DATA_BLOCK_NUM     2

+

+#define RP_MSG_TD_BCH_DATA_BLOCK_SIZE        48/*¶ÔÓ¦RP_MSG_TD_BCH_DATAͨµÀ*/

+#define RP_MSG_TD_BCH_DATA_BLOCK_NUM         1

+

+#define RP_MSG_TD_HSUPA_DATA_BLOCK_SIZE     1440/*¶ÔÓ¦RP_MSG_TD_HSUPA_DATAͨµÀ*/

+#define RP_MSG_TD_HSUPA_DATA_BLOCK_NUM     2

+

+#define RP_MSG_TD_W_UL_DATA_BLOCK_SIZE       1244/*¶ÔÓ¦RP_MSG_TD_W_UL_DATAͨµÀ*/

+#define RP_MSG_TD_W_UL_DATA_BLOCK_NUM        1

+

+#define RP_MSG_TD_W_DL_DATA_BLOCK_SIZE      1340/*¶ÔÓ¦RP_MSG_TD_W_DL_DATAͨµÀ. W¸ñʽ[T_zW_P_dl_data_buffer]; TD¸ñʽ  [T_zTD_P_mac_dl_buffer]*/

+#define RP_MSG_TD_W_DL_DATA_BLOCK_NUM        3

+

+#define RP_MSG_TD_W_HSDPA_DATA_BLOCK_SIZE   5284/*¶ÔÓ¦RP_MSG_TD_W_HSDPA_DATAͨµÀ.W¸ñʽ[T_zW_P_hsdpa_buffer]; TD¸ñʽ[T_zTD_P_mac_Hsdpa_Buf]*/

+#define RP_MSG_TD_W_HSDPA_DATA_BLOCK_NUM     5

+

+#define RP_MSG_TD_PS_TO_PHY_CMD_SIZE    5020

+#define RP_MSG_TD_PHY_TO_PS_CMD_SIZE     3620

+

+#define RP_MSG_W_PS_TO_PHY_CMD_SIZE    25020

+#define RP_MSG_W_PHY_TO_PS_CMD_SIZE     8020

+

+

+#endif // _PS_PHY_CHANNEL_H

diff --git a/pub/include/ps_phy/tdpsphyint.h b/pub/include/ps_phy/tdpsphyint.h
new file mode 100644
index 0000000..806646d
--- /dev/null
+++ b/pub/include/ps_phy/tdpsphyint.h
@@ -0,0 +1,2743 @@
+/*****************************************************************************

+ *°æ±¾ËùÓÐ (C)2010ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾

+ *  Ä£¿éÃû  £ºPS

+ *  ÎļþÃû  £ºtdpsphyint.h

+ *  Îļþ±êʶ£º

+ *  Ïà¹ØÎļþ£º

+ *  ʵÏÖ¹¦ÄÜ£ºPSºÍTD PHYµÄ½Ó¿Ú¶¨Òå

+ *  ×÷Õß    £º

+ *  °æ±¾    £º

+ *  Íê³ÉÈÕÆÚ£º

+ *  ÆäËü˵Ã÷£º

+ *

+ *  Ð޸ļǼ1£º

+ *    ÈÕ  ÆÚ£º2010.05.18

+ *    ÐÞ¸ÄÈË£º ZHUO Bibo

+ *    ÐÞ¸ÄÄÚÈÝ£º

+ *     1) ºÏ²¢tdmacphyint.hºÍtdrrcphyint.hÁ½·ÝÍ·ÎļþµÄÄÚÈÝ

+ **  Ð޸ļǼ2£º

+ *    ÈÕ  ÆÚ£º2011.09.02

+ *    ÐÞ¸ÄÈË£º sun chang jiang

+ *    ÐÞ¸ÄÄÚÈÝ£º

+ *     1) T_zTD_P_IratGapConfig_ReqÖвÎÊýwShortGapFlg¸üÃûΪwIdleOrConnectFlg£¬²¢ÐÞ¸Ä×¢ÊÍ£»

+        2)T_zTD_P_hsdpa_config_reqÖÐÔö¼Ó²ÎÊýwMacHdTyp

+        3)T_zTD_P_CPhy_InterMeas_ReqÖеĺêMULTI_IRAT_2963È¥µô¡£

+ **  Ð޸ļǼ3£º

+ *    ÈÕ  ÆÚ£º2011.09.28

+ *    ÐÞ¸ÄÈË£º sun chang jiang

+ *    ÐÞ¸ÄÄÚÈÝ£º

+ *     1) T_zTD_P_hsupa_config_reqÖе±¿ªR9ºêʱÔö¼Ó²ÎÊýtUplink_timing_advance_control¡£

+ **  Ð޸ļǼ4£º

+ *    ÈÕ  ÆÚ£º2011.11.11

+ *    ÐÞ¸ÄÈË£º sun chang jiang

+ *    ÐÞ¸ÄÄÚÈÝ£º

+ *     1) È¥µôR7_SUPPORT¡£

+     *  Ð޸ļǼ5£º

+ *    ÈÕ  ÆÚ£º2012.03.12

+ *    ÐÞ¸ÄÈË£ºÎ¤ÓñÕä

+ *    ÐÞ¸ÄÄÚÈÝ£º    

+ *      1)Ôö¼ÓÏûÏ¢½á¹¹T_zTD_P_DetectCellInfo

+         2)Ôö¼Óºê¶¨ÒåZ_TD_P_MAX_DETECT_CELL_NUM

+

+     *  Ð޸ļǼ6£º

+ *    ÈÕ  ÆÚ£º2012.05.10

+ *    ÐÞ¸ÄÈË£ºËﳤ½­

+ *    ÐÞ¸ÄÄÚÈÝ£º    

+ *      1)T_zTD_P_UlDpch_setup_mod_reqÖеIJÎÊýwSpec_burst_generation_periodÔö¼Ó×¢ÊÍ

+         2£©Ôö¼ÓÏûÏ¢½á¹¹T_zTD_P_Ul_phy_ch_ctrl_req

+     *  Ð޸ļǼ7£º

+ *    ÈÕ  ÆÚ£º2012.05.10

+ *    ÐÞ¸ÄÈË£ºËﳤ½­

+ *    ÐÞ¸ÄÄÚÈÝ£º    

+        1£©T_zTD_P_hsdsch_sps_infoÖÐÔö¼ÓwInitSpsInfoFgÓÃÓÚ±íʾtInitSpsInfoÊÇ·ñÓÐЧ£¬Í¬Ê±È¥µô²ÎÊýwPadding£¬±£³ÖËÄ×Ö½Ú¶ÔÆë£»

+        2£©T_zTD_P_edch_sps_infoÖÐÔö¼ÓwInitSpsInfoFgÓÃÓÚ±íʾtInitSpsInfoÊÇ·ñÓÐЧ£¬Í¬Ê±Ôö¼Ó²ÎÊýwPadding£¬±£³ÖËÄ×Ö½Ú¶ÔÆë£»

+     *  Ð޸ļǼ8£º

+ *    ÈÕ  ÆÚ£º2012.5.16

+ *    ÐÞ¸ÄÈË£ºÕÅÅô³Ì

+ *    ÐÞ¸ÄÄÚÈÝ£º

+       1£©  Z_TD_P_MAX_INTER_FREQ_NUM ÓÉ9¸Ä³É16

+       2£© Z_TD_P_MAX_BLIND_INTER_FREQ ÓÉ9¸Ä³É16

+*  Ð޸ļǼ9£º

+ *    ÈÕ  ÆÚ£º2012.06.14

+ *    ÐÞ¸ÄÈË£ºËﳤ½­

+ *    ÐÞ¸ÄÄÚÈÝ£º    

+ *      1)Z_TD_P_MAX_UL_TS¸ÄΪ4

+         2£©Z_TD_P_MAX_NO_OF_UL_BYTES¸ÄΪ1168

+        2£©T_zTD_P_CPhy_UeIntMeas_IndΪÁËËÄ×Ö½Ú¶ÔÆë£¬Ôö¼ÓwPadding;

+*  Ð޸ļǼ10£º

+ *    ÈÕ  ÆÚ£º2012.07.10

+ *    ÐÞ¸ÄÈË£ºËﳤ½­

+ *    ÐÞ¸ÄÄÚÈÝ£º    ѰºôÏÂÒÆ¹¦ÄÜÐÞ¸Ä

+ *      1)T_zTD_P_paging_reqÖÐÔö¼ÓT_zTD_P_UeId

+         2£©ÐÂÔö×ӽṹT_zTD_P_UeId¡¢T_zTD_P_URnti¡¢T_zTD_P_ImsiGsm

+ *  Ð޸ļǼ11£º

+ *    ÈÕ  ÆÚ£º2013.04.18

+ *    ÐÞ¸ÄÈË£ºÕÅÅô³Ì

+ *    ÐÞ¸ÄÄÚÈÝ£º    GAPÇëÇóÉϱ¨Ôö¼ÓÎÕÊÖ×Ö¶Î

+ *      1)T_zTD_P_umts_idle_PeriodRep_reqÖÐÔö¼ÓdwGapId

+        2)T_zTD_P_umts_inact_time_indÖÐÔö¼ÓdwGapId

+*/ 

+

+#ifndef Z_TDPS_PHY_INTERFACE_H

+#define Z_TDPS_PHY_INTERFACE_H

+

+/**************************************************************************

+*                        Í·Îļþ°üº¬                                      *

+**************************************************************************/

+

+/**************************************************************************

+*                         ³£Á¿¶¨Òå                                       *

+**************************************************************************/

+

+

+/**************************************************************************

+*                         È«¾Öºê¶¨Òå                                     *

+**************************************************************************/

+#define Z_TD_P_MAX_NO_OF_UL_BYTES                 (WORD)1168           /*°´ÉÏÐÐ384k¼Æ*/

+#define Z_TD_P_MAX_NO_OF_DL_BYTES                 (WORD)1168            /*°´ÏÂÐÐ384k¼Æ*/

+

+#ifndef _USE_HSPAPLUS

+#define Z_TD_P_MAX_NO_OF_HSDPA_BYTES              (WORD)1756          /*°´2.8M£¬ÎïÀí²ãÿ5msͶµÝ¼Æ(14043bit))*/

+#define Z_TD_P_HSDPA_DATA_LEN                     (WORD)1756          /*Ò»¿éHSDPAÊý¾Ý³¤¶È*/

+#else

+#define Z_TD_P_MAX_NO_OF_HSDPA_BYTES              (WORD)2634          /*°´2.8M£¬ÎïÀí²ãÿ5msͶµÝ¼Æ(14043bit))*/

+#define Z_TD_P_HSDPA_DATA_LEN                     (WORD)2634          /*Ò»¿éHSDPAÊý¾Ý³¤¶È*/

+#endif

+

+#define Z_TD_P_MAX_NO_OF_HSUPA_BYTES              (WORD)1400          /*°´ÉÏÐÐ1.1M¼Æ*/

+

+

+

+

+/*Ð¡ÇøËÑË÷Ïà¹Øºê¶¨Òå*/

+#define Z_TD_P_MAX_FREQSCAN_FREQ_NUM              (WORD)32

+#define Z_TD_P_MAX_RSSI_RESULTS_NUM               (WORD)32

+#define Z_TD_P_MAX_SRH_RESULTS_NUM                (WORD)8

+#define Z_TD_P_MAX_NUM_OF_BCH_DWORDS              (WORD)8

+

+#define Z_TD_P_CELLSRHTYPE_STRONGEST              (WORD)0

+#define Z_TD_P_CELLSEARCHTYPE_BLIND               (WORD)1

+#define Z_TD_P_CELLSEARCHTYPE_SPEC                (WORD)2

+

+/*²âÁ¿Ïà¹Øºê¶¨Òå*/

+#define Z_TD_P_MAX_INTER_FREQ_NUM                 (WORD)16     /*×î¶àÖ§³ÖµÄÒìÆµ²âÁ¿ÔØÆµÊý*/

+#define Z_TD_P_MAX_INTRA_CELL_NUM                 (WORD)32    /*×î¶à¿Éͬʱ²âÁ¿Í¬ÆµÐ¡ÇøÊý*/

+#define Z_TD_P_MAX_INTER_CELL_NUM                 (WORD)32    /*×î¶à¿Éͬʱ²âÁ¿ÒìÆµÐ¡ÇøÊý*/

+#define Z_TD_P_MAX_BLIND_INTER_FREQ               (WORD)(0x10)

+#define Z_TD_P_MAX_BLIND_INTER_CELL               (WORD)(0x03)

+#define Z_TD_P_INTER_INVALID_CELLID               (WORD)(0xFFFE)

+#define Z_TD_P_MAX_DETECT_CELL_NUM                (WORD)4

+

+/*ÎÞÏß×ÊÔ´ÅäÖÃÏà¹Øºê¶¨Òå*/

+#define Z_TD_P_MAX_PRACH_FPACH                    (WORD)(0x08)

+#define Z_TD_P_MAX_UL_TRCH_NUM                    (WORD)8 

+#define Z_TD_P_MAX_DL_TRCH_NUM                    (WORD)8

+#define Z_TD_P_MAX_DL_TS                          (WORD)4

+#define Z_TD_P_MAX_UL_TS                          (WORD)4  

+

+#define Z_TD_P_MAX_DL_CCTRCH_NUM                  (WORD)1

+#define Z_TD_P_MAX_UL_CCTRCH_NUM                  (WORD)1

+#define Z_TD_P_MAX_DL_TF_NUM                      (WORD)64

+#define Z_TD_P_MAX_DL_TFCS_NUM                    (WORD)128

+#define Z_TD_P_MAX_UL_TF_NUM                      (WORD)32

+#define Z_TD_P_MAX_UL_TFCS_NUM                    (WORD)64

+

+/*coding type macro defination*/

+#define    Z_TD_P_NO_CODING_TYPE                  (WORD)(0x00)

+#define    Z_TD_P_CC12_TYPE                       (WORD)(0x01)

+#define    Z_TD_P_CC13_TYPE                       (WORD)(0x02)

+#define    Z_TD_P_TURBO_CODING_TYPE               (WORD)(0x03)

+

+/*crc length macro defination*/

+#define    Z_TD_P_CRC_LENGTH_0                    (WORD)(0x00)

+#define    Z_TD_P_CRC_LENGTH_1                    (WORD)(0x01)

+#define    Z_TD_P_CRC_LENGTH_2                    (WORD)(0x02)

+#define    Z_TD_P_CRC_LENGTH_3                    (WORD)(0x03)

+#define    Z_TD_P_CRC_LENGTH_4                    (WORD)(0x04)

+

+#define    Z_TD_P_MAX_PRACH_FPACH_CODE            (WORD)4

+

+#define    Z_TD_P_MAX_H_PROCESS                   (WORD)0x08

+

+/*MAC-dÏà¹Øºê¶¨Òå*/

+#define    Z_TD_P_MAX_QUEUE_ID                    (WORD)8

+#define    Z_TD_P_MAX_MAC_D_PDU_SIZE              (WORD)8

+

+#define    Z_TD_P_MAX_HS_SCCH                     (WORD)4

+

+

+#define    Z_TD_P_CH_CODE_NUM                     (WORD)16

+

+/*˫ģÖÐGAP¸öÊýºê¶¨Òå*/

+#define    Z_TD_P_MAX_GAP_NUM                     (WORD)8

+

+/*UPAÏà¹Øºê¶¨Òå*/

+#define     Z_TD_P_MAX_EPUCH_TS_NUM               (WORD)5

+#define     Z_TD_P_MAX_EAGCH_NUM                  (WORD)4

+#define     Z_TD_P_MAX_SCH_EHICH_NUM              (WORD)4

+

+/*´«ÊäÐŵÀÀàÐÍ,½öÓÃÓÚºÍÎïÀí²ãµÄ½Ó¿ÚÖÐ*/

+#define     Z_TD_P_PCH                            (WORD)0x0

+#define     Z_TD_P_FACH                           (WORD)0x1

+#define     Z_TD_P_DL_DCH                         (WORD)0x2

+#define     Z_TD_P_RACH                           (WORD)0x3

+#define     Z_TD_P_UL_DCH                         (WORD)0x4

+

+/*ÉèÖÃTDÎïÀí²ãÊÇ·ñÖ÷ģʽ*/

+#define     Z_TD_P_IRAT_MODE_SLAVE                (WORD)0    /*ÉèÖÃΪ¸¨Ä£Ê½*/

+#define     Z_TD_P_IRAT_MODE_MASTER               (WORD)1    /*ÉèÖÃΪÖ÷ģʽ*/

+

+#ifdef R9_SUPPORT

+#define    Z_TD_P_MAX_CARRIER                 (WORD)3

+

+#define Z_TD_P_MAX_HSDSCH_RX_PATTERN_NUM      (WORD)4

+#define Z_TD_P_MAX_HSDSCH_TBS_NUM             (WORD)4

+#define Z_TD_P_MAX_EDCH_TX_PATTERN_NUM        (WORD)4

+#endif

+

+/*TD PS -> TD PHY  ´ÓLTE  PS_EPHY.hÒÆ¹ýÀ´µÄ*/

+#define ZPS_TDS_P_SLEEP_TIME_INT_ICP_CF   (UINT32)(0x00000001) //ÔÊÐíZSP½øË¯ÃßÖжϣ¬6300ʹÓã¬ÆäËûÏîÄ¿£¨7502£¬7510£¬7550)²»Ó㬱£Áô

+#define ZPS_TDS_P_WAKEUP_INT_ICP_CF       (UINT32)(0x00000002) //Òì³£»½ÐÑÖжϣ¬¸÷ÏîÄ¿¶¼Ê¹ÓÃ

+#define ZPS_TDS_P_UPA_INT_ICP_CF          (UINT32)(0x00000004) //UPAÈ¡Êý¾ÝÖжϣ¬¸÷ÏîÄ¿¶¼Ê¹ÓÃ

+#define ZPS_TDS_P_WAIT20MS_INT_ICP_CF     (UINT32)(0x00000008) //֪ͨTDÎïÀí²ã»½ÐѺó20msÄÚ²»ÔÊÐí½øË¯Ãߣ¬7502ʹÓã¬ÆäËûÏîÄ¿²»Ê¹Ó㬱£Áô

+/*TD_PHY->TD_PS*/

+#define    ZPS_TDS_P_INT_ICP_CF           (UINT32)(0x00000001)  //TDÎïÀí²ãICPÖжϸøPS£¬¹©TD PHY»½ÐÑPSʹÓ㻣¨×ÓÖ¡ÖжÏÒÔºóÓÉLPMÌṩ£©

+#define    ZPS_TD_REQ_INT_MASK                  (UINT32)(0x000000FF) /**/

+#define    ZPS_TD_IND_INT_MASK                  (UINT32)(0x000000FF) /**/

+/*TDÖ÷Ä£Á¬½Ó̬(FACH ¡¢DCH)ÎïÀí²ãÉϱ¨GAPÐèÒª¿Û³ýµÄÉ䯵±£»¤¼ä¸ôµ¥Î»CHIP, 7510°æ±¾Í·Î²·Ö±ð¿Û³ý10 260. 7502°æ±¾Í·Î²¿Û³ý64 320*/

+

+#ifdef _CHIP_ZX297502

+#define Z_TD_P_MEAS_DCHGAP_START_OFF                 (WORD)64

+#define Z_TD_P_MEAS_DCHGAP_TAIL_OFF                  (WORD)320

+#else

+#define Z_TD_P_MEAS_DCHGAP_START_OFF                 (WORD)10

+#define Z_TD_P_MEAS_DCHGAP_TAIL_OFF                  (WORD)260

+#endif

+

+#define Z_ZTPCG_VALFG_NUM                            (WORD)8

+#define Z_ZTPCG_PARAM_NUM                            (WORD)25

+

+/**************************************************************************

+*                         È«¾ÖÊý¾ÝÀàÐͶ¨Òå                                   *

+**************************************************************************/

+typedef struct {

+    DWORD                                       dwTrch_buff_offset;  

+

+    WORD                                        wTb_number_and_trch_id;   

+    WORD                                        wTb_size;

+}T_zTD_P_ul_trch_header;

+

+typedef struct {

+    DWORD                                       dwTrch_buff_offset;     /*¸ÃTrchÊý¾ÝÓëDPRAMÖÐÖ¸¶¨BufferµÄÆðÊ¼Æ«ÒÆÁ¿£¬ÒÔWORDΪµ¥Î»*/   

+    WORD                                        wTrch_id;  

+    WORD                                        wTrch_type; 

+    WORD                                        wCfn_and_tb_number;     /*¸ß8bitΪTbNum£¬µÍ8bitΪCFN£¨´Ó¿Õ¿Ú½ÓÊÕµ½Êý¾ÝµÄÆðʼCFN£©*/

+    WORD                                        wSfn;                   /*´Ó¿Õ¿Ú½ÓÊÕµ½Êý¾ÝµÄÆðʼSFN*/

+    WORD                                        wTb_size;               /*ÓÐЧµÄTB¿é³¤¶È£¬ÒÔbitΪµ¥Î»£¬µÍλÌî³ä0*/

+    WORD                                        wPadding;   

+    DWORD                                       dwCrc_check;             /*°´TB¿é¶¨ÒåµÄbitmap, invalid for HS-DSCH because L1 send HS-data to MAC only when crc is ok*/

+}T_zTD_P_dl_trch_header;

+

+typedef struct {

+    WORD                                        wTotal_length;   

+    WORD                                        wNr_trch;    

+

+    WORD                                        wTfci;     

+    WORD                                        wUl_cctrch_id;                  /*equivalent to tfcs id, value:1~8*/

+

+    T_zTD_P_ul_trch_header                   atUl_trch_header[Z_TD_P_MAX_UL_TRCH_NUM];

+

+    WORD                                        awUl_data_area[Z_TD_P_MAX_NO_OF_UL_BYTES/2];

+}T_zTD_P_mac_ul_buffer;

+

+/*MACÓëÎïÀí²ã¼äÏÂÐÐDCH/FACH/PCHÊý¾Ý½»»¥½Ó¿Ú¶¨Òå*/

+typedef struct {

+    WORD                                        wTotal_length;    

+    WORD                                        wNr_trch;   

+     

+    WORD                                        wTfci; 

+    WORD                                        wDl_cctrch_id;                 /*equivalent to tfcs id, value:1~8*/

+

+    T_zTD_P_dl_trch_header                   atDl_trch_header[Z_TD_P_MAX_DL_TRCH_NUM];   

+

+    WORD                                        wDl_data[Z_TD_P_MAX_NO_OF_DL_BYTES/2];

+}T_zTD_P_mac_dl_buffer;

+

+/*MACÓëÎïÀí²ã¼äHSDPAÊý¾Ý½»»¥½Ó¿Ú¶¨Òå*/

+typedef struct {

+    WORD                                        wTbSize;

+    WORD                                        wPadding;

+

+    WORD                                        awHsdpaData[Z_TD_P_MAX_NO_OF_HSDPA_BYTES/2];

+}T_zTD_P_mac_Hsdpa_Buf;

+

+/*==============================================================================

+ Ô­ÓZ_P_TFC_POWER_IND_Ev( PHY->UMAC )

+ ˵Ã÷: 

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wPadding;

+

+    WORD                                        wTfci;

+    WORD                                        wExcess_power_flag;              /* "0" is Supported state->Excess-Power state;"1" is Excess-Power state->Supported state*/

+}T_zTD_P_TFC_POWER_IND;

+

+

+/*==============================================================================

+ Ô­ÓZ_P_RACH_PROCEDURE_IND_Ev( PHY->UMAC ),Z_P_ERUCCH_PROCEDURE_IND_Ev( PHY->UMAC )

+ ˵Ã÷: 

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wResult;                         /* "1" is success; "0" is failure*/

+}T_zTD_P_RACH_PROCEDURE_IND;

+

+

+/*==============================================================================

+ Ô­ÓZ_P_RACH_PROCEDURE_CNF_Ev(PHY -> UMAC),Z_P_ERUCCH_PROCEDURE_CNF_Ev(PHY -> UMAC)

+ ˵Ã÷: 

+==============================================================================*/

+typedef    struct{

+	WORD								        wMsgId;

+    WORD                                        wPadding;

+} T_zTD_P_RACH_PROCEDURE_CNF;

+

+/*==============================================================================

+ Ô­ÓZ_P_ABORT_RACH_PROCEDURE_REQ_Ev( UMAC->PHY ),Z_P_ABORT_ERUCCH_PROCEDURE_REQ_Ev( UMAC->PHY )

+ ˵Ã÷: 

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wPadding; 

+}T_zTD_P_ABORT_RACH_PROC_REQ;

+

+/**************************************************************************

+ *                         HSUPAÅäÖÃ                              *

+ **************************************************************************/

+typedef struct {

+    WORD                                        wHarqId;                                

+    WORD                                        wStatus;      /*¸Ã½ø³ÌACK/NACK½á¹ûÐÅÏ¢¡£0£ºACK£»1£ºNACK*/

+}T_zTD_P_HARQ_PROCESS_STATUS;

+

+

+typedef struct {

+    WORD                                        wAbsolute;   /*¾ø¶ÔÊÚȨֵ*/

+    WORD                                        wSf;           /*À©ÆµÂ룬µÍbyte,´Ó×óµ½ÓÒ±íʾÀ©ÆµÂë*/

+    WORD                                        wTRRI;       /*µÍ°ËλµÍ5¸öbit±íʾʱ϶×ÊÔ´ÐÅÏ¢µÄλͼ*/ 

+    WORD                                        wEni;        /*E-UCCHÊýĿָʾ*/

+    WORD                                        wCode;        /*ÂëµÀÐÅÏ¢£¬Ð­ÒéÕ»±¾Éí²»×öÏà¹Ø´¦Àí£¬Ö»ÊǺÍÊý¾ÝÏ·¢µÄʱºòÔÙ´ø»Ø¸øÎïÀí²ã*/

+    WORD                                        wRdiFlag;    /*³ÖÐøÖÜÆÚָʾ£¬±íʾ´ËÊÚȨÊÇǰ´ÎÊÚȨµÄ³ÖÐø£¬³õ´Î³öÏÖRDIÖÃ0£¬ºóÐø³öÏÖʱ£¬RDIÖÃ1£¬²¢Ð¯´øÊÚȨ*/

+    WORD                                        wEi;         /*ÏÂÒ»¸öÖÜÆÚÄÚE-HICHÐŵÀµÄÊýÄ¿£¬Ð­ÒéÕ»±¾Éí²»×÷´¦Àí£¬»Ø´ø¸øÎïÀí²ã*/

+    WORD                                        wRdiEndFlag;    

+}T_zTD_P_HSUPA_GRANT_INFO;

+

+

+typedef struct {

+    WORD                                        wNonSchFlag;    /*ÉϲãЭÒéÕ»ÊÇ·ñ¿ÉÒÔ×¼±¸·Çµ÷¶ÈÊý¾ÝµÄ±êʶ£¬0£º²»¿ÉÒÔ×¼±¸£»1£º¿ÉÒÔ×¼±¸·Çµ÷¶ÈÊý¾Ý*/ 

+    WORD                                        wRefBetaE;    /*ÎïÀí²ã×Ô¼º¼ÆËãµÄ²Î¿¼BetaÖµ£¬Ð­ÒéÕ»ÓÃÊÚȨ£¨µ÷¶È/SPS/·Çµ÷¶È£©ÓëÆä±È½Ï£¬È¡½ÏСֵ×÷Ϊ¿ÉÓ÷¢É书ÂÊ*/

+#ifdef R9_SUPPORT

+    WORD                                        wSpsFlag;    /*SPSµ÷¶È±êÖ¾£¬0£º²»¿ÉÒÔ×¼±¸SPSÊý¾Ý´«Ê䣬1--¿ÉÒÔ×¼±¸SPSÊý¾Ý´«Êä*/

+    WORD                                        wDrxActiveFlag;/*DRXʹÄܱêÖ¾£¬0--¹Ø±Õ£¬1--´ò¿ª*/	

+#endif

+    WORD                                        wPhyChCorExsistFlag;/*E-PUCHÓëÆäËûÀàÐÍÎïÀíÐŵÀ²¢´æÓÚͬһ×Ó֡ͬһʱ϶µÄ±êÖ¾£¬ÔÚwEagchFlag»òÕßwNonSchFlag»òÕßwSpsFlagΪ1ʱÓÐЧ£¬0--²»²¢´æ£¬1--²¢´æ*/

+    WORD                                        wEagchFlag;    /*µ÷¶ÈÊÚȨÐÅÏ¢ÊÇ·ñÓÐЧµÄ±êʶ¡£0£ºÎÞЧ£»1£ºÓÐЧ*/

+    T_zTD_P_HSUPA_GRANT_INFO                 tGrant;        /*ÊÚȨÐÅÏ¢£¬Ö»ÓÐÔÚwEagchFlag»òwSpsFlagָʾÓÐЧʱ²Å¿ÉÒÔ¶ÁÈ¡*/

+    WORD                                        wHarqFlag;    /*HARQÐÅÏ¢ÊÇ·ñÓÐЧµÄ±êʶ*/

+    WORD                                        wSubFrame;    /*ÓÃÓÚÎïÀí²ãÅбðЭÒéÕ»´¦ÀíÊÇ·ñ³¬Ê±µÄ×ÓÖ¡ºÅ*/

+    T_zTD_P_HARQ_PROCESS_STATUS              tHarq;        /*HARQµ¥½ø³ÌµÄACK/NACK½á¹ûÐÅÏ¢*/

+}T_zTD_P_UPA_GRANT_HARQ_INFO;

+

+typedef struct {

+    WORD                                        wTchType;        /*ÐŵÀÀàÐÍ£¬·ÖΪE-RUCCHºÍE-DCH*/ 

+    WORD                                        wHarqId;        /*ÓÃÓÚ±¾´ÎÊý¾Ý·¢Ë͵ÄHARQ ½ø³ÌID£¬0~7*/ 

+    WORD                                        wRefBetaE;    /*ÎïÀí²ã·¢ËÍÊý¾ÝµÄÔöÒæÒò×Ó*/                 

+    WORD                                        wEtfci;             

+    WORD                                        wTbSize;        

+    WORD                                        wModuleType;    /*±¾´Î·¢Ë͵ĵ÷ÖÆ·½Ê½ 0:QPSK; 1:16qam*/

+    WORD                                        wRsn;            /*ÈßÓà°æ±¾ºÅ£¬RSN µÈÓÚ0±íʾÐÂÊý¾Ý£¬RSN´óÓÚ0±íÊ¾ÖØ´«*/

+    WORD                                        wSubFrame;    /*ָʾ¸Ã´«Êä¿éµÄ·¢ËÍ×ÓÖ¡ºÅ*/ 

+#ifdef R9_SUPPORT

+    WORD                                        wSpsFlag;    /*SPSÊý¾Ý±êÖ¾*/

+    WORD                                        wPadding; 

+#endif

+    T_zTD_P_HSUPA_GRANT_INFO                 tGrant; /*»Ø´ø¸øÎïÀí²ãµÄÊÚȨÐÅÏ¢¡£ÊÇ·ñÐèÒª¶ÁÈ¡¸ÃÔªËØÄÚ²¿µÄ¾ø¶ÔÊÚȨֵ£¬ÎïÀí²ãÐèÒª¸ù¾ÝHARQ½ø³ÌID½øÐÐÅжϣ¬Ö»ÔÚµ÷¶ÈÊý¾ÝʱÓÐЧ*/

+} T_zTD_PHSUPA_BUF_HEADER;

+

+typedef struct {

+    T_zTD_PHSUPA_BUF_HEADER                  tBufHeader;    /* HSUPAÊý¾Ý»º³åÇøÍ·ÐÅÏ¢*/

+    WORD                                        awData[Z_TD_P_MAX_NO_OF_HSUPA_BYTES/2];  

+}T_zTD_P_HSUPA_UL_BUFFER;

+

+/*==============================================================================

+ Ô­ÓT_zTD_P_mac_Set_Agch_Req_Ev( UMAC->PHY )

+ ˵Ã÷: ÉϲãЭÒéջָʾÎïÀí²ã¿ªÊ¼/Í£Ö¹¼àÌýE-AGCHÐŵÀµÄÃüÁî

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wResult;       /* ָʾÎïÀí²ãÊÇ·ñÍ£Ö¹¼àÌýE-AGCHÐŵÀ¡£0£º¼ÌÐø¼àÌý£»1£ºÍ£Ö¹¼àÌý*/

+}T_zTD_P_mac_Set_Agch_Req_Ev;

+#ifdef R9_SUPPORT

+/*==============================================================================

+ Ô­ÓP_SYNC_CMD_RESP_EV( PHY->UMAC )

+ ˵Ã÷: ÔÚÔöÇ¿Cell-PCH̬Ï£¬ÎïÀí²ãÊÕµ½HS-SCCHÉϵÄͬ²½ÃüÁîºó£¬·¢¸ÃÏûϢ֪ͨMAC×öÉÏÐÐͬ²½

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wPadding; 

+}T_zTD_P_Sync_Cmd_Resp;

+/*==============================================================================

+ Ô­ÓP_CELL_RESEL_REQ_EV( UMAC->PHY )

+ ˵Ã÷: ÔÚÔöÇ¿Cell-FACH̬Ï£¬MAC֪ͨÎïÀí²ã£¬Ð¡ÇøÖØÑ¡ÇëÇó

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wPadding; 

+}T_zTD_P_Cell_Resel_Req;

+/*==============================================================================

+ Ô­ÓP_CELL_RESEL_CNF_EV( PHY->UMAC )

+ ˵Ã÷: ÔÚÔöÇ¿Cell-FACH̬Ï£¬ÎïÀí²ã»Ø¸´MAC£¬Ð¡ÇøÖØÑ¡È·ÈÏ

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+    WORD                                        wPadding; 

+}T_zTD_P_Cell_Resel_Cnf;

+#endif

+

+/************************************************************************/

+/*                         RBCÈ«¾ÖÀàÐͶ¨Òå                              */

+/************************************************************************/

+/*10.3.6.41 Midamble Shift and burst type*/

+typedef struct{

+    /*wMidamble_allocation_mode:0:default midamble,1:Common midamble,2:UE specific midamble*/

+    WORD                                        wMidamble_allocation_mode;

+    /*wMidamble_configuration:Integer(2,4,6,8,10,12,14,16)*/

+    WORD                                        wMidamble_configuration;

+    

+    /*this IE is mandatory present,when wMidamble_allocation_mode is 2:UE specific midamble*/

+    WORD                                        wMidamble_shift;

+}T_zTD_P_mid_shift_bur_type;

+

+/*10.3.6.51a Prach channelisation code 1.28 Mcps TDD*/

+typedef struct{

+    /*

+        Enumerated(4/1)

+            wSpread_factor = 4

+            wChannelisation_code = 1

+        Enumerated(16/1)

+            wSpread_factor = 16

+            wChannelisation_code = 1

+    */

+    WORD                                        wSpread_factor;

+    WORD                                        wChannelisation_code;

+}T_zTD_P_CHANNELISATION_CODE;

+

+/*10.3.6.51a    PRACH Channelisation Code*/

+typedef struct{

+    /*wChannelisation_code_number:1 to 4*/

+    WORD                                        wChannelisation_code_number;

+

+    /*channelisation list*/

+    T_zTD_P_CHANNELISATION_CODE              atChannelisation_code[Z_TD_P_MAX_PRACH_FPACH_CODE];

+}T_zTD_P_Prach_Ch_code; /*9Word*/

+

+/*10.3.6.35a  FPACH info*/

+typedef struct{

+    /*wTimeslot_number: (0..6)*/

+    WORD                                        wTimeslot_number;

+    /*Integer(1..4)*/

+    WORD                                        wWt;

+    

+    /*channelisation code: (16/1..16/16)*/

+    T_zTD_P_CHANNELISATION_CODE              tChannelisation_code;

+    

+    /*10.3.6.41:T_zmidamble_shift_burst_type*/

+    T_zTD_P_mid_shift_bur_type        tMidamble_shift_burst_type;

+}T_zTD_P_fpach_info; /*7Word*/

+

+/*PRACH-FPACH*/

+typedef struct{

+    /*10.3.6.84 Timeslots number:Integer(0..6)*/

+    WORD                                        wTime_slot_number;

+    

+    /*10.3.6.51a PRACH channelisation on code 1.28 Mcps TDD*/

+    T_zTD_P_Prach_Ch_code        tPrach_channelisation_code;

+    

+    /*10.3.6.41 Midamble shift and burst type*/

+    T_zTD_P_mid_shift_bur_type        tMidamble_shift_burst_type;    

+    

+    /*10.3.6.35a FPACH    info*/

+    T_zTD_P_fpach_info                       tFpach_info;

+}T_zTD_P_prach_fpach_info; /*20Word*/

+

+/*10.3.6.91 Uplink DPCH power control info*/

+typedef struct {

+    /*wUl_target_sir   0:not exist 1:exist*/

+    WORD                                        wUl_target_sir_flg:1;        

+    /*wPrimary_ccpch_tx_power_flg   0:not exist 1:exist*/

+    WORD                                        wPrimary_ccpch_tx_power_flg:1;        

+    

+    /*

+        Real(-11..20 by step of 0.5dB);For 1.28 Mcps TDD this parameter

+        represents PRXdpchdes with range Integer(-120..-58) by step 1

+        wUl_target_sir  = (x-(-120)/0.5 )

+        

+    */

+    WORD                                        wUl_target_sir;

+    /* Integer(1,2,3)*/

+    WORD                                        wTpc_step_size;   

+       

+    /* Integr(6...50)*/

+    WORD                                        wPrimary_ccpch_tx_power;   

+    /*1:¹À¼Æbeacon·Ëð 0:²»¹À¼Æ*/

+    WORD                                        wBeacon_pl_est;

+	WORD										wPadding;

+}T_zTD_P_ul_dpch_power_ctrl;

+

+/*10.3.6.96  Uplink Timing Advance Control*/

+typedef struct {

+    /*Integer(1..8)*/

+     WORD                                       wUl_Sync_Step_Size;

+    /*Integer(1..8)*/

+     WORD                                       wUl_Sync_Freq;

+    

+    /*0: Syn parameter not exist; 1:Syn parameter exist*/

+    WORD                                        wSync_Param_Flg;

+    /*SYNC_UL codes bitmap: Bitstring(8)*/    

+    WORD                                        wSynl_up_codes;

+    

+    /*FPACH info 10.3.6.35a*/

+    T_zTD_P_fpach_info                       tFpach_info;    

+    

+    /*PRXupPCHdes: Integer(-120..-58 by step 1)

+        wPrx_up_pch_des    =    (x-(-120))

+    */

+    WORD                                        wPrx_up_pch_des;

+    /*Max SYNC_UL Transmissions,Integer(1,2,4,8)*/

+    WORD                                        wMax_sync_ul_transmissions;

+    

+    /*Integer(0,1,2,3)*/

+    WORD                                        wPower_ramp_step;

+    

+    WORD                                        wUarFcn_flg;

+    WORD                                        wUppch_chip_shift_flg;

+    WORD                                        wUarFcn;

+    WORD                                        wUppch_chip_shift;

+}T_zTD_P_ul_timing_advance;

+

+/*10.3.6.10 Common timeslot info*/

+typedef struct{

+    /*Enumerated(Frame,Timeslot)     0:Frame 1:Timeslot*/

+    WORD                                        wSecond_interleaving_mode;

+    /*TFCI coding    Integer(4,8,16,32)*/

+    WORD                                        wCfci_coding;

+    

+    /*Real(0.40..1.0  by step of 0.04)

+        wPuncturing_limit    = (x-0.40)/0.04

+    */

+    WORD                                        wPuncturing_limit;

+    /*Repetition period        Integer(1,2,4,8,16,32,64)*/

+    WORD                                        wRepetition_period;

+    

+    /*Integer(1..bRepetition_period-1)*/

+    WORD                                        wRepetition_length;

+}T_zTD_P_common_ts_info;

+

+

+/*10.3.6.37 Individual timeslot info*/

+typedef struct{

+    /*10.3.6.84 :Integer(0..6)*/

+    WORD                                        wTimeslot_number;

+    /*TFCI existence   0:false 1:true*/

+    WORD                                        wTfci_existence;

+    

+    /*10.3.6.41 Midamble shift and burst type*/

+    T_zTD_P_mid_shift_bur_type        tMidamble_shift_burst_type;

+    

+    /*Enumerated(QPSK,8PSK) 0:QPSK 1:8PSK*/

+    WORD                                        wModulation;

+    /*Enumerated(0,1,16/SF)*/

+    WORD                                        wSs_tpc_symbols;

+    

+    /*Integer(1..15)*/

+    WORD                                        wAdditional_tpc_ss_symbols_flg;

+    WORD                                        wAdditional_tpc_ss_symbols;

+}T_zTD_P_individual_ts_info;

+

+/*10.3.6.17 Downlink channelisation codes*/    

+/*Consecutive codes: First Individual timeslot info and first timeslot channelisation codes*/                                                

+typedef struct{

+    /*channelisation code :16/x*/

+    T_zTD_P_CHANNELISATION_CODE              tFirst_channelisation_code;

+

+    /*channelisation code :16/x*/

+    T_zTD_P_CHANNELISATION_CODE              tLast_channelisation_code;

+}T_zTD_P_consecutive_codes;

+

+/*10.3.6.17*/

+typedef struct{

+    WORD                                        wType;

+    union{

+        /*Consecutive codes*/

+        T_zTD_P_consecutive_codes            tdown_channelisation_code;

+            

+        /*Each bit indicates the availability of a channelisation code for SF16*/

+        WORD                                    wChannelisation_code_bitmap;

+    }tChannelisation_code;                            

+}T_zTD_P_dl_ch_codes;

+

+/*

+typedef struct{

+    WORD                                        wSf;            //À©ÆµÒò×Ó£¬È¡Öµ1»òÕß16//

+    WORD                                        wChCodeNum;     //ÐŵÀ»¯Âë¸öÊý£¬È¡Öµ:1 to 16//

+    WORD                                        awChCode[16];    //ÐŵÀ»¯Â룬ȡֵ1µ½SF//                        

+}T_zTD_P_dl_ch_codes;

+*/

+

+/*10.3.6.32 Downlink Timeslots and Codes*/

+typedef struct{

+    T_zTD_P_dl_ch_codes                      tDown_channelisation_code;

+    T_zTD_P_individual_ts_info               tIndividual_timeslot_info;

+}T_zTD_P_dl_ts_codes_element;

+

+/*10.3.6.32*/

+typedef struct{

+    WORD                                        wTs_and_ch_number;

+    T_zTD_P_dl_ts_codes_element              atDownlink_timeslots_code[Z_TD_P_MAX_DL_TS];

+}T_zTD_P_dl_ts_codes;

+

+

+typedef struct{

+    WORD                                        wTfcs_id;

+    /*time info*/    

+    WORD                                        wActive_time;

+

+    WORD                                        wDuration;

+

+    /*10.3.6.10 Common timeslot info*/

+    T_zTD_P_common_ts_info                   tCommon_timeslot_info;

+

+    /*10.3.6.32 Downlink  DPCH timeslots and codes*/

+    T_zTD_P_dl_ts_codes                      tDownlink_dpch_timeslot_codes;

+}T_zTD_P_dl_cctrch_list;

+

+

+/*10.3.6.94 uplink channelisation codes*/    

+typedef struct{

+    WORD                                        wNum;

+    T_zTD_P_CHANNELISATION_CODE              atUplink_channelisation[2];                        

+}T_zTD_P_ul_ch_codes;

+

+/*10.3.6.32 uplink Timeslots and Codes*/

+typedef struct{

+    T_zTD_P_ul_ch_codes                      tUplink_channelisation_code;

+    T_zTD_P_individual_ts_info               tIndividual_timeslot_info;

+}T_zTD_P_ul_ts_codes_element;

+

+

+typedef struct{

+    WORD                                        wTs_and_channelisation_number;

+    T_zTD_P_ul_ts_codes_element              atUplink_timeslots_code[Z_TD_P_MAX_UL_TS];

+}T_zTD_P_ul_timeslots_codes;

+

+

+typedef struct{

+    WORD                                        wTfcs_id;

+    /*time info*/    

+    WORD                                        wActive_time;

+

+    WORD                                        wDuration;

+    

+    /*10.3.6.10 Common timeslot info*/

+    T_zTD_P_common_ts_info                   tCommon_timeslot_info;

+

+    /*10.3.6.32 Downlink  DPCH timeslots and codes*/

+    T_zTD_P_ul_timeslots_codes               tUplink_dpch_timeslot_codes;

+}T_zTD_P_ul_cctrch_list;

+

+

+

+typedef struct{

+    /*Integer(0..6)*/

+    WORD                                        wTimeslot_number;

+

+    /*Enumerated((16/1)..(16/16))*/

+    T_zTD_P_CHANNELISATION_CODE              tChannelisation_code;

+

+    /*Midamble allocation mode

+        Enumerated(Default Midamble,Common Midamble,UE specific Midamble)

+        wMidamle_allocation_mode=0,1,2 

+    */

+    WORD                                        wMidamble_allocation_mode;

+

+    /*Midamble configuration

+        Integer(2,4,6,8,10,12,14,16)

+    */

+    WORD                                        wMidamble_configuration;

+    /*Integer(0..15)*/

+    WORD                                        wMidamble_shift;

+

+    /*

+    Integer(-7..8)

+    wAck_nack_power_offset = x-(-7)

+    x=wAck_nack_power_offset - 7

+    */

+    WORD                                        wAck_nack_power_offset;

+    /*

+        Integer(-120..-58)

+        wPRXhs_sich    =   x-(-120);

+        x = wPRXhs_sich - 120;        

+    */

+    WORD                                        wPRXhs_sich;

+    

+    /*

+        Integer(1,2,3)

+    */

+    WORD                                        wTpc_step_size;

+}T_zTD_P_hs_sich;

+

+typedef struct{

+/*

+    //scchµÄ½ÓÊÕÆµÂÊ

+    WORD                                         wScch_rx_freq;      

+*/

+    /*Integer(0..6)*/

+    WORD                                        wTimeSlot_number;

+

+    /*first Channelisation code*/

+    T_zTD_P_CHANNELISATION_CODE              tFirst_channelisation_code;

+    

+    /*second channelisation code*/

+    T_zTD_P_CHANNELISATION_CODE              tSecond_channelisation_code;

+

+    /*Midamble allocation mode

+        Enumerated(Default Midamble,Common Midamble,UE specific Midamble)

+        wMidamle_allocation_mode=0,1,2 

+    */

+    WORD                                        wMidamble_allocation_mode;

+

+    /*

+        This IE is mandatory present when the value of the IE "Midamble Allocation Mode"

+        is "UE specific Midamble" and not needed otherwise.

+        Integer(0..15)

+    */    

+    WORD                                        wMidamble_shift;

+    /*

+        Integer(2,4,6,8,10,12,14,16)

+    */

+    WORD                                        wMidamble_configuration;

+

+    /*

+           wBler_targetµÄ·¶Î§Îª0ÖÁ63£»ÎïÀí²ãÊÕµ½ºóÒª*£¨-0.05£©µÃµ½Êµ¼ÊÖµ 

+    */

+    WORD                                        wBler_target;

+

+    /*sich info*/

+    T_zTD_P_hs_sich                          tHs_sich;

+

+}T_zTD_P_hs_scch;

+

+typedef struct{

+    /*Midamble allocation mode

+        Enumerated(Default Midamble,Common Midamble,UE specific Midamble)

+        wMidamle_allocation_mode=0,1,2 

+    */

+    WORD                                        wMidamble_allocation_mode;

+    /*Midamble configuration

+        Integer(2,4,6,8,10,12,14,16)

+    */

+    WORD                                        wMidamble_configuration;

+

+    /*Integer(0..15)*/

+    WORD                                        wMidamble_shift;

+}T_zTD_P_hs_dpsch_midamble;

+

+typedef struct{

+    WORD                                        wNumber_process;

+    /*memory partitioning 0:implicit 1:explicit*/

+    WORD                                        wMemory_partitioning;

+

+    DWORD                                       dwProcess_memory_size[Z_TD_P_MAX_H_PROCESS];

+}T_zTD_P_hs_harq_info;

+

+

+typedef struct {

+    WORD                                        wTime_slot_number;

+    T_zTD_P_mid_shift_bur_type               tMidamble_shift_burst_type;        /*E-PUCHµÄmidamble modeÖ»ÄÜÈ¡0»ò2*/    

+}T_zTD_P_epuch_midam;

+

+typedef struct{

+    WORD                                        wSnpl_type;            /*0:Íø²àδָ¶¨£¬¿ÉÖ±½ÓÌîSNPL=9; 1£ºtype1; 2£ºtype2*/

+    WORD                                        wPrx_base_des;        /*Reference desired power level for E-PUCH,ʵ¼ÊÖµ=x-112£¬È¡Öµ·¶Î§0-62.*/

+    WORD                                        wBeacon_pl_est;        /*1-·Ëð¹À¼ÆÊ±¿¼ÂÇbeacon£»0-²»¿¼ÂÇ*/

+    WORD                                        wTpc_step_size;        /*Pe-baseÖеÄstep²ÎÊý¡£Êý¾Ý·¶Î§£º1..3*/

+    WORD                                        wPow_ctrl_gap;        /*×ÓÖ¡¸öÊý£¬TPCʱ¼äÍ£¶ÙÃÅÏÞ£¬0..255*/

+    WORD                                        wSync_step_size;    /*µ÷ÕûÉÏÐд«Ê䶨ʱµÄ²½³¤,1..8*/    

+    WORD                                        wSync_freq;            /*µ÷ÕûÉÏÐд«Ê䶨ʱµÄƵÂÊ,1..8*/

+	WORD										wPadding;

+}T_zTD_P_epuch_pwr_info;

+

+typedef struct{

+    WORD                                        wTime_slot_number;

+    T_zTD_P_mid_shift_bur_type               tMidamble_shift_burst_type;                

+    T_zTD_P_CHANNELISATION_CODE              tFirst_channelisation_code;    

+    T_zTD_P_CHANNELISATION_CODE              tSecond_channelisation_code;    

+}T_zTD_P_hs_eagch;

+

+typedef struct{

+    WORD                                        wTime_slot_number;

+    T_zTD_P_mid_shift_bur_type               tMidamble_shift_burst_type;        /*E-HICHµÄmidamble modeÖ»ÄÜÈ¡0»ò2*/

+    T_zTD_P_CHANNELISATION_CODE              tChannelisation_code;    

+}T_zTD_P_hs_ehich;

+

+typedef struct{

+    WORD                                        wRdi_ind;                /*0:RDI²»´æÔÚ 1:RDI´æÔÚ*/

+

+    WORD                                        wEagch_num;                /*E-AGCHÐŵÀÐÅÏ¢Áбí*/

+    T_zTD_P_hs_eagch                         atEagch_config[Z_TD_P_MAX_EAGCH_NUM];

+    WORD                                        wTpc_step_size;            /*E-AGCHµÄ¹¦¿Ø²½³¤,1..3*/

+    WORD                                        wEagch_bler_target;        /*ʵ¼ÊÖµ=(x-63)*0.05£¬È¡Öµ·¶Î§0~63*/

+

+    WORD                                        wEhich_num;                /*E-HICHÐŵÀÐÅÏ¢Áбí*/

+    T_zTD_P_hs_ehich                         atEhich_config[Z_TD_P_MAX_SCH_EHICH_NUM];

+    WORD                                        awEi[Z_TD_P_MAX_SCH_EHICH_NUM];    /*ÿ¸öE-HICHµÄ±êʶ,ȡֵ·¶Î§0~3*/

+

+    WORD                                        wEpuch_num;                /*E-PUCHÐŵÀÐÅÏ¢Áбí*/

+    T_zTD_P_epuch_midam                      atEpuch_midam_list[Z_TD_P_MAX_EPUCH_TS_NUM];

+}T_zTD_P_hs_sch_tr;

+

+typedef struct{

+    WORD                                        wEucch_num;                    /*e-ucch¸öÊý£¬1~8*/

+

+    WORD                                        wEpuch_act_time;               /*E-PUCHÆðЧ֡ºÅ£¬0~255*/        

+    WORD                                        wEpuch_sub_frame;              /*E-PUCHÆðЧ×ÓÖ¡ºÅ£¬0~1*/

+    WORD                                        wEpuch_rep_prd;                /*E-PUCHÖØ¸´ÖÜÆÚ£¬1/2/4/8/16/32¸öTTI*/

+    WORD                                        wEpuch_rep_len;                /*E-PUCH×ÊÔ´³¤¶È£¬È¡Öµ1..wEpuch_rep_prd-1,wEpuch_rep_prd=1ʱȡֵΪ1*/

+	WORD										wEpuch_prri;                   /*E-PUCH×î´ó¹¦ÂÊ×ÊÔ´£¬1~32*/

+

+    WORD                                        wEpuch_num;                    /*E-PUCHÐŵÀÐÅÏ¢Áбí*/    

+    T_zTD_P_epuch_midam                      atEpuch_midam_list[Z_TD_P_MAX_EPUCH_TS_NUM];/*E-PUCHʱ϶ºÍMidÂëÐÅÏ¢*/

+    T_zTD_P_CHANNELISATION_CODE              tChannelisation_code;          /*E-PUCHÐŵÀ»¯Âë*/

+

+    WORD                                        wEhich_sig_group_idx;          /*E-HICHÐŵÀËùʹÓõÄSignatureSeqIndex£¬0~19.25221 5A.3.17*/

+    T_zTD_P_hs_ehich                         tEhich_config;                 /*E-HICHÐŵÀÅäÖÃ*/

+}T_zTD_P_hs_non_sch_tr;

+

+typedef struct{  /*L1ʹÓÃÉÏÐÐDPCHʱ϶ºÍÐŵÀ»¯ÂëÀ´½¨Á¢ÉÏÐÐDPCHºÍPLCCHµÄÓ³Éä¹ØÏµ*/

+    WORD                                        wUl_dpch_ts;                  /*PLCCHËù¶ÔÓ¦ÉÏÐÐDPCHʱ϶*/

+    WORD                                        wPlcch_seq_num;               /*1..14£¬º¬Òå´ý²é*/

+    WORD                                        wPlcch_ts;                    /*0..6*/

+    WORD                                        wTpc_target_rate;             /*0..10*/

+    T_zTD_P_CHANNELISATION_CODE              tUl_dpch_channelsation_code;  /*PLCCHËù¶ÔÓ¦ÉÏÐÐDPCHÂë*/

+    T_zTD_P_CHANNELISATION_CODE              tPlcch_channelisation_code;

+}T_zTD_P_plcch_info;

+#ifdef R9_SUPPORT

+typedef struct{

+    WORD                                    wHs_scch_recv_freq;/*HS-SCCH/HS-SICH¶ÔÓ¦µÄƵµã*/

+    WORD                                    wPadding;

+    T_zTD_P_hs_scch                         tHs_scch_configuration;

+}T_zTD_P_mc_hs_scch;

+

+/*Rx or Tx Pattern*/

+typedef struct{

+    WORD                             wRepetition_period;/*ÖØ¸´ÖÜÆÚ£¬È¡Öµ·¶Î§1,2,4,8,16,32*/

+    WORD                             wRepetition_length; /*ÖØ¸´³¤¶È£¬È¡Öµ·¶Î§1..bRepetition_period-1£¬µ±wRepetition_period=1ʱ¸ÃÖµÎÞЧ*/

+}T_zTD_P_pattern;

+/*Hsdsch sps²Ù×÷¶ÔÓ¦µÄHarqÐÅÏ¢*/

+typedef struct{

+    WORD                        wNumber_process;/*Hs-scch sps²Ù×÷ËùÄÜʹÓõÄHARQ½ø³Ì¸öÊý£¬È¡Öµ·¶Î§1~8*/

+    WORD                        wPadding;

+    DWORD                       dwProcess_memory_size;/*Hs-scch sps²Ù×÷ËùÄÜʹÓõÄ×ܵÄÐéÄâIR bufferµÄ´óС£¬È¡Öµ·¶Î§£º800~16000 by step of 800£¬

+	                                                                                                                                    17600~32000 by step of 1600£¬36000~80000 by step of 4000£¬88000~160000 by step of 8000£¬ 176000~304000 by step of 16000*/

+}T_zTD_P_hsdsch_sps_harq_info;

+/*ÓÃÓÚsps²Ù×÷µÄHs-dschÂë×ÊÔ´ÐÅÏ¢:µ±wStartCodeInfo¶ÔӦΪ16/16£¬wStopCodeInfo¶ÔӦΪ1/16ʱ£¬±íʾSFΪ1*/

+

+typedef struct

+{	

+    WORD	                wStartCodeInfo;	/*ÆðʼÐŵÀ»¯ÂëÐÅÏ¢;ȡֵΪ0¡­.15;·Ö±ð¶ÔÓ¦µÄÐŵÀ»¯ÂëΪ1/16¡­..16/16*/

+    WORD	                wStopCodeInfo;/*½áÊøµÄÐŵÀ»¯ÂëÐÅÏ¢;ȡֵΪ0¡­.15;·Ö±ð¶ÔÓ¦µÄÐŵÀ»¯ÂëΪ1/16¡­..16/16*/

+}T_zTD_P_code_resource_info;

+

+/*Hs-dsch¶ÔÓ¦µÄ³õʼspsÐÅÏ¢*/

+typedef struct

+{

+    WORD						                wTsInfo;/*·ÖÅäµÄÓÃÓÚspsµÄHs-pdsch¶ÔÓ¦µÄʱ϶ÐÅÏ¢£¬µÍÎåλÓÐЧ£¬Ö¸¶¨Î»ÖÃλ±íʾÏàӦʱ϶ÓÃÓÚsps²Ù×÷¡£*/			

+    WORD						                wActTime;/*¼¤»îʱ¼ä£¬È¡Öµ·¶Î§0~255*/

+    WORD						                wSubFrameNum; /*×ÓÖ¡ºÅ£¬È¡Öµ0£¬1*/

+    WORD						                wInitTbsIdx;/*³õʼTbsË÷ÒýºÅ£¬È¡Öµ·¶Î§0~3*/

+    WORD                                        wInitRxPatternIdx; /*³õʼRxPatternË÷ÒýºÅ£¬È¡Öµ·¶Î§0~3*/

+    WORD                                        wHssichIdx;   /*hssichË÷ÒýºÅ£¬È¡Öµ·¶Î§0~3*/

+    WORD                                        wMod;  /*ȡֵ0±íʾmodQPSK£¬1±íʾ mod16QAM*/

+    WORD                                        wPadding; 

+    T_zTD_P_code_resource_info	                tCodeResourceInfo;	/*HS-PDSCHÐŵÀ»¯ÂëÐÅÏ¢£»µ±StartΪ16£¬stopΪ1ʱ£¬±íʾsfΪ1*/

+}T_zTD_P_init_hsdsch_sps_info;

+/*Edch¶ÔÓ¦µÄ³õʼspsÐÅÏ¢*/

+typedef struct

+{

+    WORD                                 wEucch_num;/*e-ucch¸öÊý£¬1~8*/

+    WORD						         wTsInfo;/*·ÖÅäµÄÓÃÓÚspsµÄE-DCH¶ÔÓ¦µÄʱ϶ÐÅÏ¢£¬µÍÎåλÓÐЧ£¬Ö¸¶¨Î»ÖÃλ±íʾÏàӦʱ϶ÓÃÓÚsps²Ù×÷*/

+    WORD						         wEpuch_prri;/*E-PUCH×î´ó¹¦ÂÊ×ÊÔ´£¬1~32*/

+    WORD						         wActTime;/*¼¤»îʱ¼ä£¬È¡Öµ·¶Î§0~255*/

+    WORD						         wSubFrameNum;/*×ÓÖ¡ºÅ£¬È¡Öµ0£¬1*/

+    WORD                                 wInitTxPatternIdx; /*³õʼTxPatternË÷ÒýºÅ£¬È¡Öµ·¶Î§0~3*/

+    T_zTD_P_CHANNELISATION_CODE	         tCodeResourceInfo;	/*EdchÐŵÀ»¯ÂëÐÅÏ¢*/

+}T_zTD_P_init_edch_sps_info;

+

+/*HSDSCHµÄSPSÐÅÏ¢*/

+typedef struct{

+    WORD                            wHssichNum; /*hs-sichÐŵÀ¸öÊý*/

+    WORD                            wPatternNum;/*Rx Pattern¸öÊý£¬È¡Öµ·¶Î§1~4*/

+    WORD                            wTbsNum; /*Tb size¸öÊý£¬È¡Öµ·¶Î§1~4*/

+    WORD                            wInitSpsInfoFg;/*0:tInitSpsInfoÎÞЧ£»1:tInitSpsInfoÓÐЧ*/

+    WORD                            awTbs[Z_TD_P_MAX_HSDSCH_TBS_NUM];/*ÿ¸öTbSizeµÄË÷Òý£¬È¡Öµ·¶Î§1~63*/

+	

+    T_zTD_P_pattern                 atRxPattern [Z_TD_P_MAX_HSDSCH_RX_PATTERN_NUM];

+    T_zTD_P_hsdsch_sps_harq_info    tHarqInfo; 

+    T_zTD_P_hs_sich                 atHssich [Z_TD_P_MAX_HS_SCCH];

+    T_zTD_P_init_hsdsch_sps_info    tInitSpsInfo;

+}T_zTD_P_hsdsch_sps_info;

+/*EDCHµÄSPSÐÅÏ¢*/

+typedef struct{

+    WORD                                  wEhich_sig_group_idx; /*E-HICHÐŵÀËùʹÓõÄSignatureSeqIndex£¬0~19.25221 5A.3.17*/ 

+    WORD                                  wInitSpsInfoFg;/*0:tInitSpsInfoÎÞЧ£»1:tInitSpsInfoÓÐЧ*/

+    WORD                                  wPadding;

+    WORD                                  wPatternNum; /*TxPattern¸öÊý*/

+    T_zTD_P_pattern                       atTxPattern [Z_TD_P_MAX_EDCH_TX_PATTERN_NUM];  

+    T_zTD_P_hs_ehich                      tEhich_config;  

+    T_zTD_P_init_edch_sps_info            tInitSpsInfo;

+}T_zTD_P_edch_sps_info;

+/*¿ØÖÆÐŵÀHSSCCH DRX²Ù×÷ÐÅÏ¢*/

+typedef struct { 

+    WORD                            wInactivity_threshold_flg;	/*1-±íʾwInactivity_thresholdÓÐЧ£»0-±íʾwInactivity_thresholdÎÞЧ*/

+    WORD                            wEnabling_delay;	/*ÆðЧÑÓ³Ù£¬µ¥Î»£ºÎÞÏßÖ¡£¬È¡Öµ·¶Î§0£¬1£¬2£¬4£¬8£¬16£¬32£¬64£¬128£¬infinity£¨0xffff£©*/

+    WORD                            wDrx_cycle;/*DRXÖÜÆÚ£¬µ¥Î»×ÓÖ¡£¬È¡Öµ·¶Î§1£¬2£¬4£¬8£¬16£¬32£¬64£¬128*/

+    WORD                            wInactivity_threshold;/*DRXÖÜÆÚµÄÈ¥¼¤»îÃÅÏÞ£¬µ¥Î»£º×ÓÖ¡£¬È¡Öµ·¶Î§1£¬2£¬4£¬8£¬16£¬32£¬64£¬128£¬256£¬512£¬infinity£¬½öµ±wInactivity_threshold_flgΪ1ʱÓÐЧ*/

+    WORD                            wDrx_offset; /*DRXÆ«ÒÆ£¬µ¥Î»×ÓÖ¡£¬È¡Öµ·¶Î§0¡­63*/

+    WORD                            wPadding;

+}T_zTD_P_hsscch_ctrl_ch_drx;

+/*¿ØÖÆÐŵÀEAGCH DRX²Ù×÷ÐÅÏ¢*/

+typedef struct { 

+    WORD                            wDrx_cycle;/*DRXÖÜÆÚ£¬µ¥Î»×ÓÖ¡£¬È¡Öµ·¶Î§1£¬2£¬4£¬8£¬16£¬32£¬64£¬128*/

+    WORD                            wDrx_offset;/*DRXÆ«ÒÆ£¬µ¥Î»×ÓÖ¡£¬È¡Öµ·¶Î§0¡­63*/

+}T_zTD_P_eagch_ctrl_ch_drx;

+/*¹²ÏíÐŵÀµÄͬ²½Ï¢*/

+typedef struct { 

+    WORD                                 wOut_of_sync_win; /*ʧ²½´°£¬40,80,160,320,640,µ¥Î»ms*/

+    WORD                                 wHsscch_tpc_step_size;/*µ±ÏÂÐÐDPCH¡¢EAGCH¶¼Ã»ÓÐÅäÖÃʱ¸ÃÖµÓÐЧ£»È¡ÖµÎª1£¬2£¬3*/

+    /*N312,N313,N315*/

+    WORD                                 wN312;

+    WORD                                 wN313;

+    WORD                                 wN315; 

+    WORD                                 wPadding;

+}T_zTD_P_share_ch_sync_para;

+/*PCH ̬ÏÂDPAÓ³Éäµ½DCCH/DTCHʱ£¬¶ÔÓ¦µÄÅäÖÃÐÅÏ¢*/

+typedef struct

+{	

+    WORD                           wrec_win_size;/*DCCH/DTCH¶ÔÓ¦µÄ½ÓÊÕ´°´óС£¬1~16£¬µ¥Î»£º×ÓÖ¡*/

+    WORD                           wH_rnti;/*½ÓÊÕÏÂÐÐHS-SCCHʱÓõ½µÄUE ±êʶ*/

+    WORD	                       wBcchHrnti; /*ÔÚÏÂÐеÚÒ»ÌõHS-SCCHÉϽÓÊÕBCCHÉϵÄÏûϢʱÓõ½µÄרÓÃUE±êʶ*/

+    WORD                           wHS_scch_num;/*HS-SCCH¸öÊý*/

+    WORD                           wPadding;

+    T_zTD_P_hs_dpsch_midamble      tHs_pdsch_midamble_cfg;

+    T_zTD_P_hs_scch                atHs_scch_configuration[Z_TD_P_MAX_HS_SCCH]; /*HS-SCCHÅäÖÃÐÅÏ¢£¬ÓÃÓÚBCCHºÍDCCH/DTCH½ÓÊÕ£¬½ÓÊÕBCCHʱֻ¼àÌýµÚÒ»ÌõHs-ScchÐŵÀ*/

+    T_zTD_P_hs_harq_info           tHs_harq_info;

+}T_zTD_P_Dcch_dtch_rec_para;

+/*DPAÓ³Éäµ½PCCHʱ£¬¶ÔÓ¦µÄÅäÖÃÐÅÏ¢*/

+typedef struct

+{	

+    T_zTD_P_hs_dpsch_midamble          tHs_pdsch_midamble_cfg;

+    T_zTD_P_code_resource_info         tCode_res_info;

+    WORD                               wSubChSize;/*Ѱºô×ÓÐŵÀ´óС£¬µ¥Î»£ºÖ¡£»1~3*/

+    WORD                               wTbsNum;/*TBS list¶ÔÓ¦µÄ¸öÊý*/

+    WORD                               awTbsList[2];

+    WORD                               wTrri; /*¿ÉÓÃÓÚHSPDSCHµÄʱ϶×ÊÔ´ÐÅÏ¢£¬bit0ÖÃλ±êʶTS0¿ÉÓã¬bit1ÖÃλ±êʶTS2¿ÉÓã¬...bit5ÖÃλ±êʶTS6¿ÉÓ㬵Í6λÓÐЧ£»TS1²»ÓÃ*/

+}T_zTD_P_pcch_relate_info;

+/*µ±Cell-FACH̬֧³ÖHSDSCHµÄDRX²Ù×÷ʱ£¬¶ÔÓ¦µÄDRXÐÅÏ¢*/

+typedef struct

+{	

+    WORD                        wT321;/*¼àÌý¶¨Ê±Æ÷£¬È¡Öµ·¶Î§£º100£¬200£¬400£¬800ms*/

+    WORD                        wDrx;/*ȡֵ·¶Î§£»4£¬8£¬16£¬32Ö¡*/

+    WORD                        wRx_burst; /*ȡֵ·¶Î§£»1£¬2£¬4£¬8£¬16Ö¡*/

+    WORD                        wPadding;

+}T_zTD_P_fach_dpa_drx_info;

+/*ÅäÖøøL1µÄ¹«¹²ERNTIÁбí*/

+typedef struct {

+    WORD				     wStartErnti;/*16bitµÄÆðʼE-RNTIÐÅÏ¢*/

+    WORD                     wGroupNum; /*·¶Î§1...32*/

+    WORD                     wErntiNumPerGroup;  /*ȡֵ1...2*/

+    WORD                     wPadding;  

+}T_zTD_P_CommonErntiInfo;

+

+/*ÅäÖÃFACH»òIDLE̬ϵÄDPAÐÅÏ¢*/

+typedef struct

+{	

+    WORD                        wPower_ctrl_gap; /*HS-SICHµÄ´«Êä¼ä¸ôÃÅÏÞ£¬×ÓÖ¡¸öÊý£¬0~255*/          

+    WORD                        wPl_compensation_switch; /*1:HS-SICHʵ¼Ê´«Êä¼ä¸ôСÓÚÃÅÏÞʱÐè×÷·Ëð²¹³¥ 0:²»×÷·Ëð²¹³¥*/

+    WORD                        wH_rnti_type; /*HRNTIµÄÀàÐÍ£»0-¹«¹²HRNTI£»1-רÓÃHRNTI*/

+    WORD                        wH_rnti;/*½ÓÊÕÏÂÐÐHS-SCCHʱÓõ½µÄUE ±êʶ*/

+    WORD	                    wBcchHrnti; /*ÔÚÏÂÐеÚÒ»ÌõHS-SCCHÉϽÓÊÕBCCHÉϵÄÏûϢʱÓõ½µÄרÓÃUE±êʶ*/

+    WORD                        wTs0Ind;/*1£º±íÊ¾Íø²àÔÊÐí½«ÏÂÐÐHSPDSCHÓÃÓÚTs0£¬0£º±íʾ²»ÔÊÐí*/

+    WORD                        wHS_scch_num;/*HS-SCCH¸öÊý*/

+    WORD                        wHsdpa_drx_fg;/*1£ºµ±Ç°HsdpaÖ§³ÖDRX²Ù×÷£»0£º²»Ö§³ÖDrx²Ù×÷£»wH_rnti_type==1ʱÓÐЧ*/

+    WORD                        wPadding;

+

+    T_zTD_P_hs_scch             atHs_scch_configuration[Z_TD_P_MAX_HS_SCCH];

+    T_zTD_P_hs_dpsch_midamble   tHs_pdsch_midamble_cfg;

+    T_zTD_P_hs_harq_info        tHs_harq_info;	

+    T_zTD_P_fach_dpa_drx_info   tHsdpa_drx_info;	

+}T_zTD_P_fach_dpa_info;

+/*FACH»òIDLE̬ϵÄÔöÇ¿UpaÅäÖÃ*/

+typedef struct

+{	

+    WORD                          wE_rnti_type;/*µ±Ç°Ê¹ÓÃE-RNTIÀàÐÍ£¬£»1-רÓÃERNTI£»0-¹«¹²ERNTI*/

+    WORD                          wE_rnti; /*רÓõÄERNTI£¬½öµ±wE_rnti_type=1ʱÓÐЧ */

+    WORD                          wReset_flg; /*0:not reset 1:reset*/

+    WORD                          wHarq_info; /**/

+    WORD                          wN_ehich; /*E-PUCHºÍE-HICHÏà¸ôµÄʱ϶Êý,4~15*/

+    WORD                          wPrimary_ccpch_tx_power;/* Integer(6..43)dBm    */

+    WORD                          wMax_allowed_ul_tx_power;/*Integer(-50..33)        bMax_allowed_ul_tx_power = (x -(-50))     */

+	WORD                          wUppch_chip_shift_flg;

+    WORD                          wUppch_chip_shift;

+    WORD                          wPadding;

+    T_zTD_P_CommonErntiInfo       tCommonErnti;

+    T_zTD_P_epuch_pwr_info        tEpuch_pwr_info; 

+    T_zTD_P_hs_sch_tr             tHs_sch_tr_info; 

+}T_zTD_P_fach_upa_info;

+/*ÅäÖÃPCH̬ϵÄDPAÐÅÏ¢*/

+typedef struct

+{	

+    WORD                             wTs0Ind;/*1£º±íÊ¾Íø²àÔÊÐí½«ÏÂÐÐHSPDSCHÓÃÓÚTs0£¬0£º±íʾ²»ÔÊÐí*/

+    WORD                             wDcch_dtch_rec_fg;/*µ±Ç°ÊÇ·ñÖ§³Ö½ÓÊÕDTCHºÍDCCH£»0£º²»Ö§³Ö£»1£ºÖ§³Ö*/

+	

+    T_zTD_P_Dcch_dtch_rec_para       tDcch_dtch_rec_para; /*Dcch/DtchÉϵĽÓÊÕÅäÖÃÐÅÏ¢£¬½öµ±wDcch_dtch_rec_fg=1ʱÓÐЧ*/

+    T_zTD_P_pcch_relate_info         tPcch_info; /*PcchÉϵĽÓÊÕÅäÖÃÐÅÏ¢£¬½öµ±wDcch_dtch_rec_fg=0ʱÓÐЧ*/

+}T_zTD_P_pch_dpa_info;

+

+#endif

+

+/**************************************************************************

+ *                         CSRÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå                                       *

+ **************************************************************************/

+typedef struct{   

+    WORD                                        wFreq_start_range;

+    WORD                                        wFreq_end_range;                         

+}T_zTD_P_frequency_range;

+          

+typedef struct{

+    WORD                                        wFrequency;

+    WORD                                        wRssi;

+}T_zTD_P_scan_result;

+

+typedef struct{    

+    WORD                                        wCell_parameter_id;    

+    WORD                                        wPccpch_rscp;  

+}T_zTD_P_cell_params;

+

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+        ¿ÉÄܳöÏÖµÄÔÚ³õʼ״̬£¬IDLE̬£¬CELL_PCH̬£¬CELL_URA̬£¬CELL_FACH̬£»

+        ÓзþÎñÐ¡ÇøÊ±£¬ÓÅÏȽÓÊÕpage¡¢sccpchºÍÔ­À´µÄ²âÁ¿ÈÎÎñ£¬ÔÚÊ£ÓàµÄ¿ÕÏÐʱ¼äÄÚ£¬

+        ¾¡¿ì½øÐÐfreq scanµÄ¹¤×÷¡£

+    ½á¹¹:

+                   T_zP_TD_frequency_scan_req

+

+******************************************************/

+typedef struct

+{    

+    WORD                                        wMsgId;    //delt1123

+    /*ɨÃèµÄƵ¶Î·¶Î§:1~32*/

+    WORD                                        wNumFreqRange;     

+    WORD                                        wSeqNum; /*¶¨Ò嵱ǰµÄɨƵÏûÏ¢ÐòºÅ,·¶Î§0-65535*/

+    WORD                                        wPadding;

+    /*

+     wFreqStartRange:ÆðʼƵµãµÄUARFCN,·¶Î§9254~10121

+     wFreqEndRange:½áÊøÆµµãµÄUARFCN,·¶Î§:9254~1-121

+    */

+    T_zTD_P_frequency_range                  atFrequencyRange[Z_TD_P_MAX_FREQSCAN_FREQ_NUM];  

+}T_zTD_P_frequency_scan_req;

+

+

+typedef   struct{

+	WORD								        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_abort_freq_scan_cnf;

+

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+                Í£Ö¹L1ƵÂÊɨÃè

+    ½á¹¹:

+                T_zP_TD_abort_freq_scan_req,¿Õ½á¹¹

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_abort_freq_scan_req;

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+                    L1Íê³ÉɨƵºó£¬Í¨¹ýÏûÏ¢P_FREQUENCY_SCAN_IND

+                   Éϱ¨²âÁ¿½á¹û£¬Éϱ¨µÄRSSIµÄÖµÊÇÒ»¸öS16ÀàÐÍ£¬¸ÃÖµ

+                   Ϊʵ¼Ê²âÁ¿µÄRSSI£¨dbm£©£«100£»

+    ½á¹¹:

+                    T_zP_TD_frequency_scan_ind

+

+******************************************************/

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wNoOfRssiMeas;     /*·µ»ØµÄRSSI²âÁ¿½á¹ûµÄÊýÄ¿,·¶Î§:1~32 */   

+    WORD                                        wSeqNum; /*·µ»ØµÄɨƵÏûÏ¢ÐòºÅ,·¶Î§0-65535*/

+    WORD                                        wPadding;   

+    /*

+        T_scan_result:

+             wFrequency:ƵµãºÅ,·¶Î§Îª9254~10121

+             swRssiÿ¸öƵµãµÄRSSIÖµ,ÖµµÄʵ¼Ê·¶Î§ÊÇʵ¼ÊȡֵµÄRSSI+100,ЭÒéȡֵ-100~-25,

+             ´Ë×Ö¶ÎȡֵΪ0~75

+    */

+    T_zTD_P_scan_result                      atRssiResult[Z_TD_P_MAX_RSSI_RESULTS_NUM];    //32 delete1123

+}T_zTD_P_frequency_scan_ind;

+

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        Ö¸¶¨ÆµµãÉϲéÕÒÖ¸¶¨ÊýÄ¿Ð¡Çø,Èç¹ûµ±Ç°ÒÑÓзþÎñÐ¡Çø,L1ÐèҪͬʱ±£³Ö·þ

+    ÎñÐ¡ÇøÍ¬²½,ÒÔ¼°½ÓÊÕѰºô¡¢SCCPCHÏÂÐÐÊý¾ÝµÈ.Èç¹ûÊÕµ½Ñ°ºôµÈÇé¿öÐè

+    ÒªÖжÏL1Ð¡ÇøËÑË÷,ÖжϺóL1²»ÔÙÏòЭÒéÕ»Éϱ¨ÒÑ·¢ÏÖÐ¡ÇøÐÅÏ¢.

+        Èç¹û    num_of_cell_idÈ¡0,ÇëÇóL1ÔÚÖ¸¶¨ÆµµãÉÏäËÑÐ¡ÇøÂú×ãmin_rscp_

+    threshold    ÃÅÏÞµÄnum_of_result¸öÐ¡ÇøÉϱ¨.

+        Èç¹ûnum_of_cell_idÈ¡·Ç0Öµ£¬ÇëÇóL1ÔÚÖ¸¶¨cell_parameter_idµÄÐ¡ÇøÁÐ

+    ±íÖÐËÑË÷Âú×ãwMinRscpÃÅÏÞµÄÐ¡ÇøÉϱ¨.

+    ½á¹¹:T_zP_TD_cell_search_req

+        

+******************************************************/

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wSeqNum;     /*¶¨Ò嵱ǰµÄcell searchÏûÏ¢ÐòºÅ¡£Êý¾Ý·¶Î§£º0~65535 */     

+

+    /*ƵµãºÅ9254~10121*/

+    WORD                                        wFrequency;    

+    /*ËÑË÷ÀàÐÍ

+        0:·µ»ØÖ¸¶¨ÆµµãµÄ×îÇ¿Ð¡Çø

+        1:·µ»ØÖ¸¶¨ÆµµãµÄÐ¡ÇøÁбí

+        2:·µ»ØÖ¸¶¨cell_parameter_id µÄÐ¡Çø

+    */

+    WORD                                        wSearchType;   

+

+    /*Ö¸¶¨ÆµµãÐèÒªËÑË÷µÄÐ¡ÇøÊýÄ¿*/

+    WORD                                        wNumOfResult;

+    /*ËÑË÷Ð¡ÇøÐèÒªÂú×ãµÄ×îµÍRSCPÃÅÏÞÖµ*/

+    WORD                                        wMinRscpThreshold;

+

+    /*Ö¸¶¨´ýËÑË÷Ð¡ÇøµÄÊýÄ¿0:±íʾָ¶¨ÆµµãäËÑÐ¡Çø;·Ç0±íʾÔÚÖ¸¶¨cell_parameter_idµÄÐ¡Çø

+    ÁбíÖÐËÑË÷Í¬ÆµÐ¡Çø*/

+    WORD                                        wNumOfCellId;                                 

+    

+    /*´ýËÑË÷Ð¡ÇøµÄcell_parameter_id*/

+    WORD                                        awCellParameterId[Z_TD_P_MAX_SRH_RESULTS_NUM];     

+    

+    /*Ö¸Ê¾Ð¡ÇøSFN-SFNʱ¼ä²îÖµÊÇ·ñ´æÔڵıêÖ¾,ÿ¸öÐ¡ÇøÒ»¸ö,¶ÔÓ¦cell_parameter_idÁбíÖеÄÐ¡Çø

+        0:²»´æÔÚ

+        1:´æÔÚ

+    */

+    WORD                                        awTimeDiffBitMap;

+

+    /*dch:¶ÔÓ¦SFN-CFN observed time difference

+      ÆäËü״̬¶ÔÓ¦sfn-sfn observed time difference

+    */

+    WORD                                        awOff[Z_TD_P_MAX_SRH_RESULTS_NUM];  

+    WORD                                        awTm[Z_TD_P_MAX_SRH_RESULTS_NUM];

+}T_zTD_P_cell_search_req;

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+        Í£Ö¹ÎïÀí²ãµÄÐ¡ÇøËÑË÷

+    ½á¹¹:T_abort_cell_srh_req

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_abort_cell_srh_req;

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        Í£Ö¹ÎïÀí²ãµÄÐ¡ÇøËÑË÷ÎïÀí²ãÓ¦´ð

+    ½á¹¹:T_abort_cell_srh_cnf

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding0;

+}T_zTD_P_abort_cell_srh_cnf;

+

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        Éϱ¨Ö¸¶¨ÆµµãÉÏÂú×ã×îµÍRSCPÃÅÏÞÖµµÄÐ¡ÇøµÄ²âÁ¿½á¹û

+    ½á¹¹:T_zP_TD_cell_search_ind

+******************************************************/

+typedef struct

+{

+    WORD                                        wMsgId;

+    WORD                                        wSeqNum; /*·µ»Øµ±Ç°µÄcell searchÏûÏ¢ÐòºÅ¡£Êý¾Ý·¶Î§£º0~65535*/

+    

+    WORD                                        wFrequency;          /*ͬ²½Ð¡ÇøËùÔÚÆµµã*/

+    WORD                                        wNoOfFoundCells;   /*ËÑË÷µ½µÄÂú×ã×îµÍRSCPÃÅÏÞµÄÐ¡ÇøÊýÄ¿,0±íʾ¸ÃƵµãδÕÒµ½Ð¡Çø*/ 

+

+    /*

+        T_cell_params:

+            wCellparameterId:ÒѾ­ËÑË÷µ½µÄÐ¡ÇøL1±êʶ;0~127

+            wPccpchRscp:ÒÑËÑË÷Ð¡ÇøµÄpccpchÐŵÀRSCP;0~91

+            swDeltaRscp:µ±pccpchÐŵÀµÄrscpֵСÓÚ0ʱ,¸ÃÖµ±ØÑ¡.

+    */

+    T_zTD_P_cell_params                      atCell[Z_TD_P_MAX_SRH_RESULTS_NUM];                   

+}T_zTD_P_cell_search_ind;

+

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+        ¸ÃÏûÏ¢¿ÉÄÜÔÚÈκÎ״̬Ï·¢Éú£¬ÓÃÓÚÈ·ÈÏij¸öÖ¸

+                   ¶¨µÄÐ¡ÇøµÄSFN¿ÉÒÔÕý³£½âÂë¡£

+    ½á¹¹:

+                   T_zP_TD_bch_read_req

+                    

+        

+******************************************************/

+typedef struct

+{

+    WORD                                        wMsgId;

+    WORD                                        wBchPriority; /*0:±íʾBCH¶ÁÈ¡ÓÅÏȼ¶µÍÓÚIDLEģʽѰºô½ÓÊÕ(ÒìÆµÇé¿ö);  1:±íʾBCH¶ÁÈ¡ÓÅÏȼ¶¸ßÓÚIDLEģʽѰºô½ÓÊÕ(ÒìÆµÇé¿ö)*/

+    

+    WORD                                        wFrequency;           /*ÐèÒª½âÂëÐ¡ÇøËùÔÚÆµµãUARFCN*/

+    WORD                                        wCellParameterId;    /*ÐèÒª½âÂëÐ¡ÇøµÄL1±êʶ*/

+}T_zTD_P_bch_read_req;

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        ÓÃÓÚ·´À¡CPhy_SfnDecode_Req£¬±íʾ¸ÃÐ¡Çø¿ÉÒÔÕýÈ·¶ÁÈ¡BCH¡£

+                   ÁíÍâÔÚDCHÁ´Â·½¨Á¢£¬Ìí¼Ó¹ý³ÌÖУ¬FW×Ô¶¯¶Ô¸ÃÁ´Â·µÄSFN½øÐнâÂë

+                   £¬²¢·´À¡¸øL1U£¬´Ó¶øÈ·ÈϸÃÐ¡ÇøÊÇ¿ÉÒÔʹÓõġ£

+    ½á¹¹:

+                  T_zP_TD_sfn_decode_ind

+                   

+    Ôݲ»¿¼ÂÇ        

+******************************************************/

+/*

+typedef struct

+{   

+    WORD                                        wMsgId;

+    WORD                                        wResult;  //0:success ±íʾÒѾ­µÃµ½SFN; 1:failure±íʾSFNδ֪;

+}T_zTD_P_sfn_decode_ind;

+*/

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        ¸ÃÏûÏ¢¿ÉÄÜÔÚÈκÎ״̬Ï·¢Éú£¬´ò¿ªBCH¶ÁϵͳÐÅÏ¢£¬

+                   °üÀ¨·þÎñÐ¡ÇøºÍÏàÁÚÐ¡Çø£¬ÎÞÏìÓ¦ÏûÏ¢¡£

+    ½á¹¹:

+        T_zP_TD_bch_open_req

+******************************************************/

+typedef struct {

+    WORD                                        wMsgId;    

+    WORD                                        wType;      /* ¶ÁÈ¡ÀàÐÍ£¬0£ºÖ¸¶¨¶ÁÈ¡   1£ºÁ¬Ðø¶ÁϵͳÐÅÏ¢±¨¸øÐ­ÒéÕ»£¬²»Çø·ÖMibºÍSib*/

+    WORD                                        wFrequency;    /*ÐèÒª¶ÁÈ¡BCHµÄÐ¡ÇøËùÔ򵀮µµã*/

+    

+    WORD                                        wCellParameterId;    /*ÐèÒª¶ÁÈ¡BCHµÄÐ¡ÇøL1±êʶ*/

+    WORD                                        wTimeDiffInd;       /*dch:¶ÔÓ¦SFN-CFN observed time difference;  ÆäËü״̬¶ÔÓ¦sfn-sfn observed time difference */

+

+    WORD                                        wOff;                     

+    WORD                                        wTm;

+    /*µ±wType=0ʱÏÂÃæ3¸öÔªËØÓÐЧ,µ±L1ÒÔgapģʽ½øÐÐÖ¸¶¨¶Áȡʱ£¬Ö»ÒªÓÐЧgap´óÓÚÒ»¸öbch TTI£¬¼´Ê¹gap³¤¶ÈСÓÚÖØ¸´³¤¶È£¬Ò²ÐèҪȥ¶ÁÈ¡£¬Ð­ÒéÕ»ÏÔʾµÄ½øÐÐBCH_REALEASE*/

+    WORD                                        wBch_occasion;  /*Ö¸¶¨¶ÁÈ¡µÄÖÜÆÚµÄÆðʼλÖ㬵¥Î»ÎÞÏßÖ¡£¬Êý¾Ý·¶Î§£º0~ÖØ¸´ÖÜÆÚ-2*/

+    WORD                                        wRep_period;    /*Ö¸¶¨¶ÁÈ¡µÄÖØ¸´ÖÜÆÚ£¬µ¥Î»ÎÞÏßÖ¡£¬Êý¾Ý·¶Î§£º1~4096*/

+    WORD                                        wRep_len;       /*Ö¸¶¨¶ÁÈ¡µÄÖØ¸´³¤¶È£¬µ¥Î»ÎÞÏßÖ¡£¬Êý¾Ý·¶Î§£º2~ÖØ¸´ÖÜÆÚ-2*/

+}T_zTD_P_bch_open_req;

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        ´ò¿ªBCHºóL1Öð¿éÉϱ¨ÏµÍ³ÐÅϢָʾ£¬Ð­ÒéÕ»ÊÕµ½´Ëָʾºó

+                   È¥¹Ì¶¨Buffer¶ÁϵͳÐÅÏ¢Êý¾Ý

+    ½á¹¹:

+    ˵Ã÷:¸Ã½á¹¹¶ÔÓ¦Êý¾Ý´æ·ÅÔÚDPRAMµÄÊý¾ÝÇøÓòÖУ¬¹Ê°´16bit¶ÔÆë¡£    

+******************************************************/

+typedef struct {

+    WORD                                        wMsgId;

+    WORD                                        wSfn;  /*½âÂëBCHÊý¾ÝµÄÊ×Ö¡µÄϵͳ֡ºÅ0~4095*/ 

+    /*

+        0:±íʾ´«Êä¿é½âÂëÕýÈ·

+        1:±íʾCRC½âÂë´íÎó;

+        2:±íʾµ÷¶È³åÍ»,BCHûÓжÁÈ¡,Êý¾ÝÎÞЧ

+    */

+    WORD                                        wCrcCheck;  

+    WORD                                        wFrequency;

+    WORD                                        wCellParameterId;

+    WORD                                        wPadding; 

+    

+    WORD                                        awDataArea[Z_TD_P_MAX_NUM_OF_BCH_DWORDS*2];   

+}T_zTD_P_Bch_Buffer;

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        Èç¹ûL1¶ÁBCHʧ°Ü£¬ÓÃP_BCH_READ_REJÏûϢ֪ͨЭÒéÕ»

+    ½á¹¹:

+        T_zP_TD_bch_open_rej

+******************************************************/

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wCause;   /*0:¶ÁÈ¡BCHÓëÔ­SCCPCH³åÍ»,ÔÊÐíɾ³ýSCCPCHÖØ¶Á;   1:ÒòÐźŽϲî,ÎÞ·¨¶ÁÈ¡BCH;  */  

+    WORD                                        wFrequency;

+    WORD                                        wCellParameterId;

+}T_zTD_P_bch_open_rej;

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+        ЭÒéÕ»ÇëÇóL1Í£Ö¹½ÓÊÕϵͳÐÅÏ¢,ÊÍ·ÅBCH

+    ½á¹¹:

+            T_zP_TD_bch_release_req

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_bch_release_req;

+

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        L1È·ÈÏЭÒéջֹͣ½ÓÊÕϵͳÐÅÏ¢

+    ½á¹¹:

+            T_zTD_P_bch_release_cnf

+******************************************************/

+typedef struct{

+    WORD			                            wMsgId;

+    WORD                                        wPadding0;

+}T_zTD_P_bch_release_cnf;

+

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+        RRCÔÚϵͳÐÅÏ¢¶ÁÈ¡Íê³Éºó£¬ÈÏÎªÐ¡Çø¿É

+                   פÁô£¬·¢ËÍ´ËÏûϢ֪ͨÎïÀí²ã´ËÐ¡ÇøÎª·þ

+                   ÎñÐ¡Çø¡£

+    ½á¹¹:

+        T_zP_TD_camp_on_a_cell_req

+******************************************************/

+typedef struct

+{

+    WORD                                        wMsgId;    

+    WORD                                        wPadding;

+    

+    WORD                                        wFrequency;  /*·þÎñÐ¡ÇøËùÔÚÆµµã*/  

+    WORD                                        wCellParameterId; /*·þÎñÐ¡ÇøL1±êʶ*/

+}T_zTD_P_camp_on_a_cell_req;

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+        µ×²ãÈ·ÈÏפÁôÐ¡Çø¡£

+    ½á¹¹:

+        T_zTD_P_camp_on_a_cell_cnf

+******************************************************/

+typedef struct

+{

+    WORD                                        wMsgId;    

+    WORD                                        wPadding;

+}T_zTD_P_camp_on_a_cell_cnf; 

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+            ЭÒéջ֪ͨÎïÀí²ãÊÍ·ÅËùÓÐ×ÊÔ´

+    ½á¹¹:

+            T_zTD_P_Reset_req

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wRfStat;    /*É䯵³õʼ»¯ºó״̬£¬1¡ª¡ªÉ䯵¿ÉÓã¬0¡ª¡ªÉ䯵²»¿ÉÓÃ*/

+}T_zTD_P_Reset_req;

+

+/******************************************************

+    PHY->RRC

+    ¹¦ÄÜ:

+            ÎïÀí²ã֪ͨЭÒéÕ»ÊÍ·ÅËùÓÐ×ÊÔ´½áÊø

+    ½á¹¹:

+            T_zTD_P_reset_cnf

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_reset_cnf;

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+            ЭÒéջ֪ͨÎïÀí²ãģʽÀàÐÍ£¬ÊÇGSM mode»òÕßUMTS mode£¬

+            µ±Ð­ÒéÕ»ÈÏΪTD L1ÐèÒªÓÃgapʱ¼ä¹¤×÷ʱ£¬ÔòÉèÖÃΪGSM mode£»

+            ·ñÔòΪUMTS mode£»

+            TD L1¸ù¾ÝģʽÀàÐÍ£¬À´ÅжϺóÐø¹¤×÷Ðè²»ÐèÒªµÈ´ýgapʱ¼äÀ´½øÐÐ

+    ½á¹¹:

+            T_set_irat_mode_Req

+******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wModeTypes; /*0-Gsm mode£¬1-Umts mode*/       

+}T_zTD_P_set_irat_mode_Req;

+

+

+/******************************************************

+    RRC->PHY

+    ¹¦ÄÜ:

+        ЭÒéÕ»ÃüÁîL1½øÈë˯Ãß״̬,Ö±µ½Ð­ÒéÕ»

+                   ͨ¹ýARM´¦ÀíÆ÷»½ÐÑDSP´¦ÀíÆ÷

+    ½á¹¹:

+        T_zP_TD_td_sleep_req

+    ´ý¶¨

+******************************************************/

+/*

+typedef struct{

+    WORD                                        wEnable;

+    WORD                                        wPadding;

+}T_zTD_P_sleep_req;

+*/

+

+/**************************************************************************

+ *                         ²âÁ¿È«¾ÖÊý¾ÝÀàÐͶ¨ÒåSTART                                       *

+ **************************************************************************/

+typedef struct{

+    WORD                                        wCellID;    

+    WORD                                        wCellPara;    

+    WORD                                        wChipAccuracy;  /*ȡֵΪ0£¬40£¬256£¬2560ÆäÖÐȡֵΪ0ʱ±íʾÎÞÂëÆ¬¾«¶ÈÐÅÏ¢¡£*/

+    WORD                                        wRefTimeDiff;    

+    WORD                                        wRefPwr;        /*PCCPCH²Î¿¼·¢É书ÂÊ£¬È¡Öµ6..43*/

+    WORD                                        wSnplInd;        /*ָʾÊÇ·ñ²ÎÓëSNPL¼ÆË㣬1:²ÎÓë 0:²»²ÎÓë*/

+    WORD                                        wTsNum;           

+    WORD                                        awTsList[Z_TD_P_MAX_DL_TS];

+}T_zTD_P_CellInfo;

+

+/**************************************************************************

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍPHY²ã¼äµÄͬƵ²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:        

+                ͬƵ²âÁ¿ÅäÖÃÏûÏ¢P_INTRA_FREQ_MEAS_REQ

+                ͬƵ²âÁ¿½á¹ûÏûÏ¢P_INTRA_FREQ_MEAS_IND 

+ **************************************************************************/

+

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wDetectedSetQuantity;

+    WORD                                        wNumberOfCellMeas;            

+    WORD                                        wPadding;

+    WORD                                        wRefTimeDiffInd;/*¶¨ÒåwRefTimeDiff ²ÎÊý¸ø³öµÄÆ«²îÊÇSFN-SFN timing difference»òÊÇSFN-CFN timing differenceÒÔ¼°ÏàӦʱ¼ä²îµÄÀàÐÍ¡£

+                                                                    b0£ºtiming difference.0£½SFN-SFN timing difference£¬1£½SFN-CFN timing difference

+                                                                    b1£ºtypeInd.0=TYPE1,1=TYPE2*/

+    WORD                                        wNotMeasCellNum;/*²»ÐèÒª²âÁ¿µÄÐ¡ÇøÊý*/

+

+    T_zTD_P_CellInfo                         atCellInfo[Z_TD_P_MAX_INTRA_CELL_NUM];  

+               

+    DWORD                                       dwMeasId;   

+                     

+    DWORD                                       dwRscpNeed;  

+                   

+    DWORD                                       dwIscpNeed; 

+

+    DWORD                                       dwCellSynInforNeed; 

+    

+    WORD                                        wNotMeasCellPara[Z_TD_P_MAX_INTRA_CELL_NUM]; /*²»ÐèÒª²âÁ¿µÄÐ¡ÇøwCellPara */

+}T_zTD_P_CPhy_IntraMeas_Req;                 /*273B*/

+

+typedef struct{

+    WORD                                        wCellID;            

+    WORD                                        wCellPara;    

+    WORD                                        wRscpFlag:1;

+    WORD                                        wSfnFlag:1;

+    WORD                                        :14;  

+    WORD                                        wRscp;             

+     

+    WORD                                        wTsNum;            

+    WORD                                        wSfn;               

+    WORD                                        wOff;               

+    WORD                                        wTm;    /*DCH̬ÏÂTMÖµÎÞЧ*/            

+

+    WORD                                        awTsList[Z_TD_P_MAX_DL_TS];

+    WORD                                        awIscp[Z_TD_P_MAX_DL_TS];    

+}T_zTD_P_CellMeasRlt; 

+

+typedef struct{

+   WORD                                         wMsgId;

+   WORD                                         wPadding;

+   

+   WORD                                         wCellNum;          

+   WORD                                         wFailCellNum;     

+

+   T_zTD_P_CellMeasRlt                       atMeasRltList[Z_TD_P_MAX_INTRA_CELL_NUM]; /*Êý×éÐ¡ÇøÓëÐ¡ÇøID¶ÔÓ¦*/

+

+   DWORD                                        dwMeasId;            

+

+   DWORD                                        dwFailCellBitMap; 

+}T_zTD_P_CPhy_IntraMeas_Ind;       /*424B*/    /*Èç¹ûÈ¡×î´ó32¸öÐ¡Çø840B*/                      

+

+

+/**************************************************************************

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍÎïÀí²ã¼äµÄÒìÆµ²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:

+                Ƶ¼ä²âÁ¿ÅäÖÃÏûÏ¢                   P_INTER_FREQ_MEAS_REQ

+                Ƶ¼ä²âÁ¿½á¹ûÏûÏ¢                   P_INTER_FREQ_MEAS_IND

+				äƵµã²âÁ¿³öµÄÐ¡Çø²âÁ¿½á¹ûÉϱ¨     P_INTER_FREQ_BLIND_MEAS_IND

+ **************************************************************************/

+/* ƵµãÐÅÏ¢ */

+typedef struct  

+{

+    WORD                                        wFreq;            /*Ƶµã*/

+    WORD                                        wStartPos:8 ;     /*¸ÃƵµãÐ¡ÇøÔÚÐ¡ÇøÐÅÏ¢±íÖÐµÄÆðʼλÖÃ*/

+    WORD                                        wCellNum:8;        /*¸ÃƵµãÉϵÄÐ¡ÇøÊý*/

+    WORD                                        wHighPrio;         /* ÖÃ1±íʾ¸ÃƵµãÏà¶ÔÓÚ·þÎñƵµãΪ¸ßÓÅÏȼ¶ */

+    WORD                                        wPadding;

+}T_zTD_P_FreqMeasInfo;

+

+typedef struct {

+    WORD                                        wMsgId;

+#ifdef R9_SUPPORT

+    WORD                                        wBlindRepFlg;/*ÊÇ·ñÊÇäƵµãÉϱ¨·½Ê½   1±íʾäƵµãÉϱ¨  0±íʾÒìÆµÉϱ¨·½Ê½*/

+    DWORD                                        dwTmeasInial; /*³õʼ²âÁ¿Éϱ¨ÖÜÆÚ£¬µ¥Î»MS.ÎïÀí²ãÔÚÍê³ÉËùÓÐÆµµã²âÁ¿ºóÖÜÆÚδ³¬Ê±Ò²¿ÉÒÔÌáǰÉϱ¨²âÁ¿½á¹û¡£

+	                                                                                                                                                                 ÖÜÆÚÄÚ²âÁ¿½á¹ûÉϱ¨×î³Ù²»Äܳ¬¹ýdwTmeasInialÉϱ¨ÖÜÆÚ¡£dwTmeasInial³¬Ê±ºóÆô¶¯wTmeas£¬ÎïÀí²ãÖÜÆÚÄÚ²âÁ¿½á¹ûµÄÌáǰÉϱ¨²»Ó°ÏìÖÜÆÚµÄÆô¶¯µã¡£*/

+    WORD                                        wTmeas;/*Õý³£Éϱ¨ÖÜÆÚ£¬µ¥Î»MS¡£ÎïÀí²ãÖÜÆÚÄÚ²âÁ¿½á¹ûµÄÌáǰÉϱ¨²»Ó°ÏìÖÜÆÚµÄÆô¶¯µã¡£ÖÜÆÚÄÚ²âÁ¿½á¹ûÉϱ¨×î³Ù²»Äܳ¬¹ýwTmeasÉϱ¨ÖÜÆÚ*/

+#endif

+    WORD                                        wCellNum;

+    WORD                                        wFreqNum;

+    WORD                                        wRefTimeDiffInd;

+    

+    T_zTD_P_FreqMeasInfo                     atFreqInfo[Z_TD_P_MAX_INTER_FREQ_NUM];

+    T_zTD_P_CellInfo                         atCellInfo[Z_TD_P_MAX_INTER_CELL_NUM];

+    

+    DWORD                                       dwMeasId;

+    DWORD                                       dwRssiNeed;

+    DWORD                                       dwRscpNeed;

+    DWORD                                       dwIscpNeed;

+    DWORD                                       dwCellSynInforNeed;

+}T_zTD_P_CPhy_InterMeas_Req;

+

+

+typedef struct{

+    WORD                                        wCellID;

+    WORD                                        wRscpFlag:1;

+    WORD                                        wSfnFlag:1;

+    WORD                                        wRssiFlag:1;  

+    WORD                                        :13;  

+

+    WORD                                        wRscp;             

+    WORD                                        wTsNum; 

+              

+    WORD                                        awTsList[Z_TD_P_MAX_DL_TS];

+

+    WORD                                         awIscp[Z_TD_P_MAX_DL_TS]; 

+      

+    WORD                                        wSfn;               

+    WORD                                        wOff;

+                   

+    WORD                                        wTm;

+    WORD                                        wRssi;                    

+}T_zTD_P_UarfcnMeasRlt; 

+

+

+typedef struct {

+    WORD                                        wMsgId;                        

+    WORD                                        wRptFlg; /*0:ÖÜÆÚÉϱ¨ 1:ÌáǰÉϱ¨*/

+

+    WORD                                        wFailCellNum;      

+    WORD                                        wCellNum; 

+

+    DWORD                                       dwMeasId;           

+

+    DWORD                                       dwFailCellBitMap; 

+

+    T_zTD_P_UarfcnMeasRlt                    atCellMeasRltList[Z_TD_P_MAX_INTER_CELL_NUM];

+}T_zTD_P_CPhy_InterMeas_Ind;           /**456B*//*Èç¹ûÈ¡×î´ó32¸öÐ¡Çø904B*/

+

+

+typedef struct

+{ 

+	WORD                                        wCellParam;  /* Ð¡ÇøMid ID*/

+	WORD                                        wRscp;

+}T_zTD_P_BlindCellRlt;

+

+

+typedef struct

+{

+    WORD 	                                    wArfcn;

+    WORD			                            wRssi;

+	

+    WORD                                        wCellNum;   /* ¸ÃƵµãÏÂä²âÁ¿µÄÐ¡Çø¸öÊý */

+    T_zTD_P_BlindCellRlt   					atBlindCellRlt[Z_TD_P_MAX_BLIND_INTER_CELL];

+}T_zTD_P_BlindUarfcnRlt;

+

+

+typedef struct {

+    WORD                                        wMsgId;

+

+    WORD                                        wFreqNum;

+    T_zTD_P_BlindUarfcnRlt                      atFreqRlt[Z_TD_P_MAX_BLIND_INTER_FREQ];

+    DWORD                                       dwMeasId;

+    WORD                                        wRptFlg; /*0:ÖÜÆÚÉϱ¨ 1:ÌáǰÉϱ¨*/

+    WORD                                        wPadding;

+}T_zTD_P_InterBlindMeas_Ind;

+                                 

+/**************************************************************************

+        RRC<->PHY

+        ¹¦ÄÜ:   RRCºÍÎïÀí²ã¼äµÄ¼ì²âÐ¡ÇøÉϱ¨½Ó¿Ú

+        ½á¹¹:   

+                ÎïÀí²ã±¨¸æ¼ì²âÐ¡ÇøÏûÏ¢P_DETECT_CELL_INFO_IND_EV

+             

+ **************************************************************************/

+typedef struct 

+{    

+    WORD                       wUarfcn; /*¼ì²âÐ¡ÇøµÄƵµã*/

+    WORD                       wParaId;/*¼ì²âÐ¡ÇøµãµÄ²ÎÊýID*/

+    WORD                       wRscp;  /*¼ì²âÐ¡Çø²âÁ¿Öµ*/

+    WORD                       wPadding;

+}T_zTD_P_DetectCellInfoRlt;

+

+typedef struct 

+{    

+    WORD                           wMsgId;

+    WORD                           wDetectCellNum;      /* Ð¡ÇøÊýÄ¿£¬Ã»ÓÐÇ¿Ð¡ÇøÊ±Éϱ¨¼ì²âÐ¡ÇøÊýÄ¿ÊÇ0 */

+    T_zTD_P_DetectCellInfoRlt      atDetectCellInfo[Z_TD_P_MAX_DETECT_CELL_NUM];  /*ÎïÀí²ãÉϱ¨µ±Ç°×îÇ¿µÄ4Ç¿Ð¡Çø£¬ÓÉÇ¿µ½ÈõÌî³ä*/

+}T_zTD_P_DetectCellInfo;

+/**************************************************************************¡¢

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍÎïÀí²ã¼äµÄÖÊÁ¿²âÁ¿ÅäÖýӿÚ

+        ½á¹¹:

+                ÖÊÁ¿²âÁ¿ÅäÖÃÏûÏ¢P_QUALITY_MEAS_REQ

+                ÖÊÁ¿²âÁ¿½á¹ûÏûÏ¢P_QUALITY_MEAS_IND 

+ **************************************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+

+    DWORD                                       dwMeasId;

+     

+    WORD                                        abTfcsId[Z_TD_P_MAX_DL_CCTRCH_NUM];

+    WORD                                        wCCTrchNum;

+}T_zTD_P_QualMeas_Req; 

+

+

+typedef struct {

+    WORD                                        wTfcsId;

+    WORD                                        awSir[Z_TD_P_MAX_DL_TS];        

+}T_zTD_P_CCTrchSirMeasRlt; /*5Word*/

+

+typedef struct {

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+    

+    DWORD                                       dwMeasId;   

+

+    T_zTD_P_CCTrchSirMeasRlt                 atCctrchMeasList[Z_TD_P_MAX_DL_CCTRCH_NUM]; 

+    WORD                                        wCctrchNum;        

+}T_zTD_P_CPhy_QualMeas_Ind; 

+                     

+

+/**************************************************************************

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCºÍÎïÀí²ã¼ûµÄÄÚ²¿²âÁ¿ÅäÖýӿÚ

+         ½á¹¹:

+                UEÄÚ²¿²âÁ¿ÅäÖÃÏûÏ¢P_UE_INTERNAL_MEAS_REQ

+                UEÄÚ²¿²âÁ¿½á¹ûÏûÏ¢P_UE_INTERNAL_MEAS_IND 

+ **************************************************************************/

+typedef struct { 

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+

+    DWORD                                       dwMeasId;           

+    WORD                                        wRepInterval;

+    WORD                                        wTxPowerNeed:1;      

+    WORD                                        wTadvNeed:1;         

+    WORD                                        wRssiNeed:1;          

+    WORD                                        :13;

+}T_zTD_P_CPhy_UeIntMeas_Req; 

+

+

+typedef struct {

+    WORD                                        wMsgId;

+    

+    WORD                                        wTxPowerFlag:1;      

+    WORD                                        wTadvFlag:1;        

+    WORD                                        wRssiFlag:1;          

+    WORD                                        :13;

+    

+    WORD                                        awTxPower[Z_TD_P_MAX_UL_TS];  

+ 

+    WORD                                        wRssi;

+    WORD                                        wPadding;

+

+    WORD                                        wTadv;

+    WORD                                        wSfn;

+ 

+    DWORD                                       dwMeasId;  

+}T_zTD_P_CPhy_UeIntMeas_Ind; 

+

+

+ 

+/**************************************************************************

+        RRC<->PHY

+        ¹¦ÄÜ:

+                RRCÏòPHY·¢ËÍFMOÅäÖÃ

+        ½á¹¹:

+                FachMeasureOccasionÅäÖÃÏûÏ¢P_FMO_INFO_REQ

+ **************************************************************************/

+typedef struct {

+    WORD                                        wMsgId;

+    WORD                                        wFMONeed;           /*ָʾÊÇ·ñʹÓÃFMO¡£0±íʾȡÏûFMO£¬·Ç0Öµ±íʾÅäÖÃFMO*/

+    WORD                                        wTtiPeriod;         /*=M_REP, measurement occasion cycle length */

+    WORD                                        wTtiOffset;         /*=C_RNTI mod M_REP*/

+}T_zTD_P_CPhy_FMOInfo_Req;

+

+

+

+/**************************************************************************

+         PHY->RRC

+         ¹¦ÄÜ:

+                  PHYÏòRRC·¢Ë͵ķþÎñÐ¡Çø²âÁ¿½á¹ûÉϱ¨  

+          ½á¹¹:

+                 ²âÁ¿ÊÍ·ÅÏûÏ¢P_SERVCELL_MEAS_IND

+ **************************************************************************/

+

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wCellID;  

+    WORD                                        wCellPara; 

+    

+    WORD                                        wRscpFlag:1;

+    WORD                                        :15;

+

+    WORD                                        wRscp;  

+    

+    WORD                                        wTsNum;            

+

+    WORD                                        awTsList[Z_TD_P_MAX_DL_TS];

+    WORD                                        awIscp[Z_TD_P_MAX_DL_TS];

+    DWORD                                       dwMeasId;

+} T_zTD_P_CPhy_SerCellMeas_Ind; /*24B*/

+

+/**************************************************************************

+         RRC->PHY

+         ¹¦ÄÜ:

+                  RRCÏòPHY·¢Ë͵IJâÁ¿É¾³ýָʾ  

+          ½á¹¹:

+                 ²âÁ¿ÊÍ·ÅÏûÏ¢P_MEAS_REL_REQ

+ **************************************************************************/

+/*measTypes±àÂ룺ÏàÓ¦bitλÖÃ1±íʾÊÍ·Å´ËÀàÐͲâÁ¿£»·ñÔò²»ÊÍ·Å

+    b0:ServCellMeas

+    b1:IntraFreq

+    b2:InterFreq

+    b3:InterRAT

+    b4 :TrafficMeas

+    b5:Quantity

+    b6:UEInteral

+    b7:Position

+ */

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wMeasTypes;         

+}T_zTD_P_CphyMeasRel_Req;  

+

+/**************************************************************************

+ *                         ²âÁ¿È«¾ÖÊý¾ÝÀàÐͶ¨ÒåEND                                       *

+ **************************************************************************/

+

+/*    RRC->PHY

+    ½á¹¹:T_zP_TD_dl_setup_modify_req

+    ÓÃ;:RRCÇëÇóÎïÀí²ã½¨Á¢×¨ÓÃÎïÀíÐŵÀ

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+    WORD                                        wPrimary_freq;      /*primary   frequency*/   

+

+    WORD                                        wWorking_freq;      /*secondary frequency*/

+    /*SFN-SFN ²îÖµ*/

+    WORD                                        wOff_flg;           /*bOff_flg: 0:ÎÞЧ 1:ÓÐЧ*/

+

+    WORD                                        wOff;

+    WORD                                        wSpecial_burst_schedule_para;   /*ÌØÊâÍ»·¢µ÷¶È²ÎÊý*/

+

+    WORD                                        wActive_time;       /*CFN:0~255*/

+    WORD                                        wTiming_indication; /*Enumerated(Initialise,Maintain) 0:Initialise,1:Maintain*/

+

+    /*

+        CFN-targetSFN frame offset Integer(0..255)

+        This IE is optional if the IE "Timing indicator" is set to "Initialise" .Otherwise it is not needed

+    */

+    WORD                                        wCfn_target_sfn_frame_offset;

+    /*wTpc_step_size_flg 

+         0:wTpc_step_size not  exist

+         1:wTpc_step_size exists 

+    */

+    WORD                                        wTpc_step_size_flg;

+

+    /*Integer(1,2,3)*/

+    WORD                                        wTpc_step_size;    

+    /*10.3.6.16 Default  DPCH Offset Value :Integer(0..7)*/

+    WORD                                        wDefault_dpch_offset_value;

+

+    /*10.3.6.9:Cell parameters id:Integer(0..127)*/

+    WORD                                        wCell_parameters_id;

+    /*N312,N313,N315*/

+    WORD                                        wN312;

+

+    WORD                                        wN313;

+    WORD                                        wN315;

+

+    T_zTD_P_dl_cctrch_list                   tDl_cctrch_list;

+}T_zTD_P_dl_setup_modify_req;

+

+/*    

+    PHY->RRC

+    ½á¹¹:T_zTD_P_Dl_Rl_setup_mod_cnf

+    ÓÃ;:ÎïÀí²ã֪ͨRRCÅäÖü¤»îʱ¼äµ½,ÎïÀí²ãÒÑ

+    ¾­ÆôÓÃеÄÅäÖÃ,´ËʱRRCÆô¶¯T312¶¨Ê±Æ÷

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wRlt;    /*0:¼¤»î³É¹¦£¬1:¼¤»îʧ°Ü*/

+}T_zTD_P_dl_rl_setup_mod_cnf;

+

+/*    

+    RRC->PHY

+    ÎïÀí²ã֪ͨRRCÅäÖü¤»îʱ¼äµ½,ÎïÀí²ãÒÑ

+    ¾­ÆôÓÃеÄÅäÖÃ,´ËʱRRCÆô¶¯T312¶¨Ê±Æ÷

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActive_time;       /*CFN:0~255£¬256±íʾÁ¢¼´¼¤»î*/

+}T_zTD_P_dl_dpch_rel_req;

+

+

+/*    

+    PHY->RRC

+    µ×²ãÈ·ÈÏDPCHÐŵÀÊÍ·ÅÍê±Ï

+*/

+typedef struct{

+	WORD								        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_dpch_rel_cnf;

+

+

+/*

+    PHY->RRC

+    ½á¹¹:T_zP_TD_in_sync_ind

+    ÓÃ;:ÎïÀí²ãÔÚ½¨Á¢×¨ÓÃÎïÀíÐŵÀʱ,֪ͨRRCͬ²½³É¹¦    

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_in_sync_ind;

+

+/*

+    PHY->RRC

+    ½á¹¹:T_zP_TD_out_sync_ind

+    ÓÃ;:ÎïÀí²ã֪ͨRRCʧ²½

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_out_sync_ind;

+

+/*

+    RRC->PHY

+    ½á¹¹:T_zP_TD_ul_dpch_setup_modify_req

+    ÓÃ;:RRC½¨Á¢ÉÏÐÐרÓÃÎïÀíÐŵÀ

+*/

+typedef struct{

+    WORD                                        wMsgId; 

+    WORD                                        wTxAdv;       /*dchÉÏÐÐÊý¾Ý·¢Ë͵ÄÌáǰÁ¿£¬ÒÔ֡Ϊµ¥Î»*/

+

+    WORD                                        wActive_time; /*0~255; 256:ÎÞЧ*/ 

+    WORD                                        wPrimary_freq;  /*ƵµãÐÅÏ¢*/

+

+    WORD                                        wWorking_freq;

+    WORD                                        wCell_parameters_id;

+

+    WORD                                        wDynamic_sf;    /*¶¯Ì¬À©ÆµÒò×Ó*/

+    /*ÌØÊâÍ»·¢Éú³ÉʱÆÚ*/

+    WORD                                        wSpec_burst_generation_period;/*(ȡֵ0,2,4,8,16,32,64,128,256,µ¥Î»frame;0±íʾ²»Æô¶¯UL DPCH DTX,ÆäÓàÖµ´ú±íÆô¶¯UL DPCH DTX)*/

+    /*maximum allowed ul tx power

+        Integer(-50..33)

+        bMax_allowed_ul_tx_power = (x -(-50))

+        

+    */

+

+    WORD                                        wMax_allowed_ul_tx_power;

+    

+    /*10.3.6.91    Uplink dpch power control info*/

+    T_zTD_P_ul_dpch_power_ctrl               tUl_dpch_power_ctrl_info;

+    

+    /*10.3.6.96    Uplink Timing Advance Control*/

+    T_zTD_P_ul_timing_advance                tUplink_timing_advance_control;

+    

+    /*ul tfcs list*/

+    T_zTD_P_ul_cctrch_list                   tUl_cctrch_list;

+}T_zTD_P_UlDpch_setup_mod_req;

+

+/*    RRC->PHY

+    ÓÃ;    RRCÓÃÓÚÊÍ·ÅÉÏÐÐרÓÃÎïÀíÐŵÀ

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActive_time;       /*CFN:0~255£¬256±íʾÁ¢¼´¼¤»î*/

+}T_zTD_P_ul_dpch_rel_req;

+

+/*    PHY->RRC

+    ½á¹¹:T_zP_TD_ul_establish_ind

+    ÓÃ;:ÎïÀí²ã·´À¡ÉÏÐÐÁ´Â·½¨Á¢³É¹¦ 

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_ul_establish_ind;

+

+/*    RRC->PHY

+    ½á¹¹:T_zP_TD_dl_trch_reconfig_req

+    ÓÃ;:RRCÅäÖÃÏÂÐд«Êä¸ñʽºÍ´«Êä¸ñʽ×éºÏÐÅÏ¢

+*/

+typedef struct{

+    WORD                                        wTrchId;

+    /*Enumerated(No coding,Convolutional,Turbo)

+        0:No coding

+        1:Convolutional

+        2:Turbo

+    */

+    WORD                                        wTrch_type;

+

+    WORD                                        wCoding_type_of_channel;

+    /*Integer(5,10,20,40,80,dynamic)

+        0:dynamic

+    */

+    WORD                                        wTransmission_time_interval;

+    

+    /*    Integer(0,8,12,16,24)  */

+    WORD                                        wCrc_length;

+    /*Integer(1..hiRM) hiRM =256*/

+    WORD                                        wRm_attribute;

+    

+    WORD                                        wNo_of_dynamic_tfs;

+}T_zTD_P_static_tfs;

+

+typedef struct{

+    /*Unit is bits;rrc should compute the  TB size by the rlc size*/

+    WORD                                        wTransport_block_size;

+    WORD                                        wNumber_of_transport_blocks;

+      WORD                                      wTfi;

+}T_zTD_P_dynamic_tfs;

+

+typedef struct{    

+    WORD                                        wCtfcH;        /*CTFC¸ß16bit*/

+    WORD                                        wCtfcL;        /*CTFCµÍ16bit*/

+    WORD                                        wTfci;

+}T_zTD_P_dl_ctfc_tfc;

+

+

+typedef struct{

+    WORD                                        wMsgId;

+

+    WORD                                        wCctrchType;/*  0:CctrchDch

+                                                                 1:CctrchFach 

+                                                                 2:CctrchPch

+                                                                 3:CctrchCbs

+                                                                 other value:reserved */

+    WORD                                        wActive_time; /*0~255; 256:ÎÞЧ*/

+

+    WORD                                        wNumTrCH;

+    WORD                                        wNoOfTfcs;

+

+    /* ´ÓÓÒµ½×óBITλ¶ÔÓ¦µÄ´«ÊäÐŵÀ˳ÐòÓëatStaticTFSÏàͬ£»bitÖµ0±íʾ²»ÐèÒª½âÎö£¬1±íʾÐèÒª½âÎö */

+    WORD                                        wEnable_decode_bitmap;

+

+    /* ¸ÃÊý×éÔÚwCctrchType==0ʱÓÐЧ£¬Êý×éÔªËØ¶ÔÓ¦µÄ´«ÊäÐŵÀ˳ÐòÓëatStaticTFSÏàͬ£»

+              Target_BLERΪ¿ÉÑ¡²ÎÊý£¬ÖµµÄ·¶Î§Îª0ÖÁ63£¬0xffff±íʾ²ÎÊý²»´æÔÚ£»ÎïÀí²ãÊÕµ½ºóÒª*£¨-0.1£©µÃµ½Êµ¼ÊÖµ   */

+    WORD                                        awTarget_BLER[Z_TD_P_MAX_DL_TRCH_NUM];

+    T_zTD_P_static_tfs                       atStaticTFS[Z_TD_P_MAX_DL_TRCH_NUM]; 

+

+    T_zTD_P_dynamic_tfs                      atDynamicTFS[Z_TD_P_MAX_DL_TF_NUM];

+

+    T_zTD_P_dl_ctfc_tfc                      atCtfc[Z_TD_P_MAX_DL_TFCS_NUM];

+}T_zTD_P_dl_trch_recfg_req;

+

+typedef struct{

+     DWORD                                      dwCtfc;

+

+     /*Ŀǰ֧³ÖµÄ×î´óTFC¸öÊýΪ128¸ö*/

+     WORD                                       wTfci;

+     /*

+         0:ÏÔʾ֪ͨ,ÏÂÃæµÄwBeta_d¸ø³ö

+           1:²Î¿¼·½Ê½,ÏÂÃæµÄwReference_tfc_id¸ø³ö                                                           

+    ×¢ÊÍ£º

+    ÅäÖô«ÊäÐŵÀµÄTFSÐÅÏ¢,ÓÃÓÚ¼ÆË㵱ij¸öTFCµÄPower

+     Offset InformationÖеÄBetaDΪ¼ÆË㷽ʽʱ(²Î¿¼ÆäËüTFC)ÎïÀí²ãʹÓá£

+     */

+     WORD                                       wBeta_d_tye:1;    

+     WORD                                       wBeta_d:5;              /*0~15*/

+     WORD                                       wReference_tfc_id:2;    /*tfci£¬0~3*/

+     WORD                                       :8;

+}T_zTD_P_ul_ctfc_tfc;

+

+

+/*    RRC->PHY

+    ÓÃ;:RRCÅäÖÃÉÏÐд«Êä¸ñʽºÍ´«Êä¸ñʽ×éºÏÐÅÏ¢

+    ½á¹¹:T_zTD_P_UlDpch_tch_recfg_req

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActive_time;      /*0~255; 256:ÎÞЧ*/

+

+    WORD                                        wNumTrCH;

+    WORD                                        wTfcsNum;

+

+    T_zTD_P_static_tfs                       atStaticTFS[Z_TD_P_MAX_UL_TRCH_NUM];

+

+    T_zTD_P_dynamic_tfs                      atDynamicTFS[Z_TD_P_MAX_UL_TF_NUM];

+

+    T_zTD_P_ul_ctfc_tfc                      atCtfc[Z_TD_P_MAX_UL_TFCS_NUM];

+}T_zTD_P_UlDpch_tch_recfg_req;

+

+

+/*

+    RRC->PHY

+    ÓÃ;:RRC ÓÃÓÚÅäÖø¨¹«¹²ÎïÀíÐŵÀ

+    ½á¹¹:T_zP_TD_add_mod_sccpch_req

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+

+    WORD                                        wOffset;                       

+    WORD                                        wChannelisation_Code_num;   

+    

+    /*10.3.6.10  Common timeslot info*/

+    T_zTD_P_common_ts_info                   tCommon_timeslot_info;

+    /*10.3.6.37  Individual timeslot info*/

+    T_zTD_P_individual_ts_info               tIndividual_timeslot_info;   

+

+    T_zTD_P_CHANNELISATION_CODE              atChannelisation_Code[Z_TD_P_CH_CODE_NUM];

+}T_zTD_P_add_mod_sccpch_req;

+

+/*

+    RRC->PHY

+    ÓÃ;:RRC ÓÃÓÚÊͷŹ«¹²ÐŵÀÅäÖÃ

+    ½á¹¹:T_zTD_P_rel_sccpch_req

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActTime;

+}T_zTD_P_rel_sccpch_req;

+

+/*

+    RRC->PHY

+    ÓÃ;:µ×²ãÈ·ÈÏSCCPCHÐŵÀÊÍ·ÅÍê±Ï

+    ½á¹¹:T_zTD_P_rel_sccpch_cnf

+*/

+typedef    struct{

+	WORD								        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_rel_sccpch_cnf;

+

+

+

+typedef struct{

+    /*pich info*/

+    /*Timeslot number Integer(0..6)*/

+    WORD                                        wTimeslot_number;

+    /*25.331 10.3.6.41 Midamble shift and burst type*/

+    T_zTD_P_mid_shift_bur_type               tMidamble_shift_burst_type;

+    

+    /*wChannelisation_code_number:ÐŵÀ»¯ÂëµÄÊýÄ¿*/

+    T_zTD_P_CHANNELISATION_CODE              atChannelisation_code[2];

+    WORD                                        wChannelisation_code_number;

+    /*

+    Enumerated((4/2),(8/2),(8/4),(16/2),(16/4),(32/2),(32/4),(64/2),(64/4))

+    

+    (4/2):wRepetition_period_length =0,

+    (8/2):wRepetition_period_length =1,

+    ...and so on...

+    */

+    WORD                                        wRepetition_period_length;

+         

+    /*Ö¡Æ«ÒÆ*/                         

+    WORD                                        wOffset;         

+         /*Indicates the length of one paging indicator in bits. Default value is 4.

+                 Integer(4,8,16)

+         */

+    WORD                                        wPaging_indicator_length;

+    

+    /*²»Á¬Ðø½ÓÊÕÖÜÆÚ*/

+    WORD                                        wDrx_cycle_length;

+    /*Ѱºôʱ¿Ì*/

+    WORD                                        wPaging_occasion;

+

+    /*ѰÕÒָʾÒò×Ó*/

+    WORD                                        wPi;

+    /*ѰºôÏûÏ¢½ÓÊÕʱ¿Ì*/

+    WORD                                        wPaging_msg_rcv_occasion;

+}T_zTD_P_pich_info;

+/*Imsi*/

+typedef struct{

+    WORD                                wNum;

+    WORD                                awList[21]; 

+}T_zTD_P_ImsiGsm;

+

+/*URnti*/

+typedef struct{

+    WORD                                wSrncId;

+    WORD                                wPadding;

+    DWORD                               dwSRnti;

+}T_zTD_P_URnti;

+

+/*ue id*/

+typedef struct {

+	WORD                        wUeIdValidBitmap;/*bit0..bit3ÓÐЧ£¬ÒÀ´Î·Ö±ðָʾÐÅÔªTmsiGsm¡¢PTmsiGsm¡¢ImsiGsm¡¢URntiÊÇ·ñ´æÔÚ¡£bitλΪ1±íʾ¶ÔÓ¦ÐÅÔª´æÔÚ£¬·ñÔò²»´æÔÚ*/

+    WORD                        awTmsiGsm[4];

+    WORD                        awPTmsiGsm[4];

+	WORD                        wPadding;

+    T_zTD_P_ImsiGsm             tImsiGsm;

+    T_zTD_P_URnti               tURnti;

+}T_zTD_P_UeId;

+

+/*    RRC->PHY

+    ½á¹¹:T_zP_TD_paging_req

+    ÓÃ;:RRC ÓÃÓÚÅäÖÃѰºôÐŵÀ

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+

+    T_zTD_P_add_mod_sccpch_req               tAdd_modify_sccpch_req;

+    T_zTD_P_pich_info                     tPichInfo;

+	T_zTD_P_UeId                             tUeIdInfo;

+}T_zTD_P_paging_req;

+

+/*

+    RRC->PHY

+    ½á¹¹:T_stop_paging_req

+    ÓÃ;:RRC ÓÃÓÚֹͣѰºôµÄ½ÓÊÕ

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_stop_paging_req;

+

+

+/*

+    PHY->RRC

+    ½á¹¹:T_zTD_P_stop_paging_cnf

+    ÓÃ;:µ×²ãÈ·ÈÏÊÍ·ÅѰºôÐŵÀÍê±Ï

+*/

+typedef    struct{

+	WORD								   wMsgId;

+    WORD                                   wPadding;

+}T_zTD_P_stop_paging_cnf;

+

+/*    RRC->PHY

+    ½á¹¹:T_zTD_P_add_modify_cbs_req

+    ÓÃ;:RRC ÓÃÓÚÅäÖóÐÔØCBSµÄSCCPCHÐŵÀ

+    Ô­Óï:Z_P_ADD_MODIFY_CBS_REQ_Ev

+*/

+typedef struct{

+    WORD                           wPrd_of_ctch_allo;    /* N,1~256;other invalid */

+    WORD                           wCbs_frame_off;    /* K,0~255;other invalid */

+}T_zTD_P_cbs_drx_lev1;

+

+typedef struct{

+    WORD                           wNum;

+    WORD                           awCtch_bs_list[255];    /* Òª½ÓÊÕµÄBSËùÔÚSFN */

+}T_zTD_P_cbs_drx_lev2;

+

+typedef struct{

+    WORD                           wMsgId;

+

+    WORD                           wSame_as_pch;   /* 0:not same; 1:same */

+    /* if same as pch, means pch and fach mux on the same sccpch */

+    WORD                           wNew_decode_bitmap;    /*only valid when wSame_as_pch = 1*/

+    

+    WORD                           wDrx_type;      /*0:°´Level1 DRX½ÓÊÕ; 1:°´Level2 DRX½ÓÊÕ*/

+    union{

+        T_zTD_P_cbs_drx_lev1       tLev1;

+        T_zTD_P_cbs_drx_lev2       tLev2;

+    }tDrx;

+    

+    T_zTD_P_add_mod_sccpch_req        tAdd_modify_sccpch_req;   /*ÎÞÂÛwSame_as_pch È¡ºÎÖµ¶¼ÓÐЧ*/ 

+    T_zTD_P_dl_trch_recfg_req         tDl_trch_reconfig_req;    /*ÎÞÂÛwSame_as_pch È¡ºÎÖµ¶¼ÓÐЧ*/        

+}T_zTD_P_add_modify_cbs_req;

+

+

+/*

+    RRC->PHY

+    ½á¹¹:T_zTD_P_stop_cbs_req

+    ÓÃ;:RRC ÓÃÓÚÍ£Ö¹CBSµÄ½ÓÊÕ£¬Èç¹ûfachÓëpch²»¹²ÓÃÒ»Ìõsccpch£¬°üÀ¨É¾³ýÎïÀí×ÊÔ´

+    Ô­Óï:Z_P_STOP_CBS_REQ_Ev

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_stop_cbs_req;

+

+/*

+    RRC->PHY

+    ½á¹¹:T_zTD_P_stop_cbs_cnf

+    ÓÃ;:µ×²ãÈ·ÈÏÊÍ·ÅCBSÐŵÀÍê±Ï

+    Ô­Óï:Z_P_STOP_CBS_CNF_Ev

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_stop_cbs_cnf;

+

+#ifdef R9_SUPPORT

+/*

+    RRC->PHY

+    ½á¹¹:T_hsdpa_config_req

+    ÓÃ;:ÓÃÓÚÅäÖÃÎïÀí²ãhsdpa

+*/

+typedef struct{

+    WORD                                        wCarrier_Freq;      

+    WORD                                        wHS_scch_num;

+    WORD                                        wPadding;

+    T_zTD_P_mc_hs_scch                          atMc_hs_scch_configuration[Z_TD_P_MAX_HS_SCCH];

+    T_zTD_P_hs_dpsch_midamble                   tHs_pdsch_midamble_configuration;

+    T_zTD_P_hs_harq_info                        tHs_harq_info;

+}T_zTD_P_hsdpa_info_list;

+#endif

+

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActive_time;                   /*0~255; 256:Á¢¼´ÆðЧ*/

+    WORD                                        wPrimary_freq;      /*primary   frequency*/   

+    WORD                                        wWorking_freq;      /*secondary frequency*/

+    WORD                                        wCell_parameters_id;  /*Integer(0..127)*/

+    WORD                                        wH_rnti;

+

+    WORD                                        wPower_ctrl_gap;                /*HS-SICHµÄ´«Êä¼ä¸ôÃÅÏÞ£¬×ÓÖ¡¸öÊý£¬0~255*/

+    WORD                                        wPl_compensation_switch;        /*1:HS-SICHʵ¼Ê´«Êä¼ä¸ôСÓÚÃÅÏÞʱÐè×÷·Ëð²¹³¥ 0:²»×÷·Ëð²¹³¥*/

+#ifdef R9_SUPPORT

+    WORD                                        wTs0Ind;/*1£º±íÊ¾Íø²àÔÊÐí½«ÏÂÐÐHSPDSCHÓÃÓÚTs0£¬0£º±íʾ²»ÔÊÐí*/ 

+    WORD                                        wSync_para_fg;/*±êʶµ±Ç°ÊÇ·ñ×ö¹²ÏíÐŵÀµÄͬ²½*/

+    WORD                                        wHsscch_drx_fg;	/*±êʶµ±Ç°HSSCCHÊÇ·ñÖ§³ÖDRX½ÓÊÕ£»*/	

+	WORD						                wHsdsch_sps_fg;/*±êʶµ±Ç°HSSCCHÊÇ·ñÖ§³ÖSPS²Ù×÷*/    

+    WORD                                        wDefault_dpch_offset_value;/*10.3.6.16 Default  DPCH Offset Value :Integer(0..7),½öµ±wSync_para_fg==1ʱÓÐЧ*/

+    WORD                                        wMacHdTyp;/*HSDSCH¶ÔÓ¦Mac-d flowµÄMACÍ·ÀàÐÍ£»0£º±íʾMac-hs£¬1£º±íʾMAc-ehs*/

+    T_zTD_P_hsscch_ctrl_ch_drx	                tHsscch_drx_info;	

+    T_zTD_P_hsdsch_sps_info                     tHsdsch_sps_info;

+    T_zTD_P_share_ch_sync_para                  tSync_para;

+#endif

+

+#ifdef R9_SUPPORT

+    WORD                                        wMcNum;       

+    WORD                                        wHsdpa_info_list_num;   

+    T_zTD_P_hsdpa_info_list                     atHsdpa_info_list[Z_TD_P_MAX_CARRIER];

+#else

+    WORD                                       wHS_scch_num;

+

+    T_zTD_P_hs_scch                            atHs_scch_configuration[Z_TD_P_MAX_HS_SCCH];

+    T_zTD_P_hs_dpsch_midamble                  tHs_pdsch_midamble_cfg;

+    T_zTD_P_hs_harq_info                       tHs_harq_info;

+#endif

+}T_zTD_P_hsdpa_config_req;

+

+

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActTime; 

+}T_zTD_P_hsdpa_rel_req;

+

+typedef    struct{

+	WORD								        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_hsdpa_rel_cnf;

+

+

+/*

+    RRC->PHY

+    ½á¹¹:T_hsupa_config_req

+    ÓÃ;:ÓÃÓÚÅäÖÃÎïÀí²ãhsupa

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+    WORD                                        wAct_time;                /*CFN:0~255*/

+    WORD                                        wPrimary_freq;      /*primary   frequency*/   

+    WORD                                        wWorking_freq;      /*secondary frequency*/

+    WORD                                        wCell_parameters_id; /*Integer(0..127)*/

+    WORD                                        wE_rnti;                /*E-RNTI*/

+    WORD                                        wSch_tr_flg;            /*0:µ÷¶ÈÎÞЧ 1:µ÷¶ÈÓÐЧ*/    

+    WORD                                        wNon_sch_tr_flg;        /*0:·Çµ÷¶ÈÎÞЧ 1:·Çµ÷¶ÈÓÐЧ*/

+    WORD                                        wReset_flg;                /*0:not reset 1:reset*/

+    WORD                                        wHarq_info;                /*0:¹Ì¶¨Ê¹ÓÃRV0 1:RV¿É±ä*/

+    WORD                                        wN_ehich;                /*E-PUCHºÍE-HICHÏà¸ôµÄʱ϶Êý,4~15*/

+    WORD                                        wMax_allowed_ul_tx_power;/*Integer(-50..33)        bMax_allowed_ul_tx_power = (x -(-50))     */

+    WORD                                        wPrimary_ccpch_tx_power;   /*     Integer(6..43)dBm    */

+#ifndef R9_SUPPORT

+	WORD                                        wUppch_chip_shift_flg;

+    WORD                                        wUppch_chip_shift;

+#else

+    WORD										wEagch_drx_fg;	/*1-Ö§³ÖEAGCHµÄDrx½ÓÊÕ£»0-²»Ö§³ÖEAGCHµÄDRX½ÓÊÕ*/	

+    WORD										wEdch_sps_fg;  /*1-Ö§³ÖEDCHµÄSPS²Ù×÷£»0-²»Ö§³ÖEDCHµÄSPS²Ù×÷*/

+    T_zTD_P_eagch_ctrl_ch_drx       		 tEagch_drx_info; 

+    T_zTD_P_edch_sps_info			         tEdch_sps_info;	

+	T_zTD_P_ul_timing_advance                tUplink_timing_advance_control;

+#endif

+    T_zTD_P_epuch_pwr_info                   tEpuch_pwr_info;        /*E-PUCH¹¦¿ØÐÅÏ¢£¬Í¬Ê±ÊÊÓÃÓÚµ÷¶ÈºÍ·Çµ÷¶È*/

+

+    T_zTD_P_hs_sch_tr                        tHs_sch_tr_info;        /*½öµ±wSch_tr_flg=1ʱÓÐЧ*/        

+    T_zTD_P_hs_non_sch_tr                    tHs_non_sch_tr_info;    /*½öµ±wNon_sch_tr_flg=1ʱÓÐЧ*/

+}T_zTD_P_hsupa_config_req;

+

+/*

+    RRC->PHY

+    ½á¹¹:T_zTD_P_hsupa_rel_req

+    ÓÃ;:ÓÃÓÚɾ³ýÎïÀí²ãhsupa

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActive_time;                /*0~255, 256±íʾÁ¢¼´É¾³ý*/

+}T_zTD_P_hsupa_rel_req;

+

+

+/*

+    PHY->RRC

+    ½á¹¹:T_zTD_P_hsupa_rel_cnf

+    ÓÃ;:µ×²ãÈ·ÈÏÊÍ·ÅHSUPAÐŵÀÍê±Ï

+*/

+typedef    struct{

+	WORD								        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_hsupa_rel_cnf;

+

+

+/*ûÓзÖÅäÏÂÐÐDPCHʱ£¬ÓôËÔ­Óï*/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wActive_time;

+    WORD                                        wPlcch_num;

+	WORD										wPadding;

+    T_zTD_P_plcch_info                       atPlcch_info[Z_TD_P_MAX_UL_TS*2];    

+}T_zTD_P_add_modify_plcch;

+#ifdef R9_SUPPORT

+/******************************************************

+  RRC£¨L1T£©->PHY

+    ¹¦ÄÜ:

+                 ÅäÖÃL1 FACHºÍIDLE̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ:     P _HSPA_PLUS_FACH_REQ_EV

+******************************************************/

+typedef struct{

+    WORD                                wMsgId;

+    WORD                                wFrequency_info;

+    T_zTD_P_fach_dpa_info       		tFach_dpa_info;

+    T_zTD_P_fach_upa_info		    tFach_upa_info;

+} T_zTD_P_hspa_plus_fach_req;

+/******************************************************

+  RRC£¨L1T£©->PHY

+    ¹¦ÄÜ:

+                 ÅäÖÃL1 PCH̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ:     P _HSPA_PLUS_PCH_REQ_EV

+******************************************************/

+typedef struct{

+    WORD                         wMsgId;

+    WORD                         wFrequency_info; 

+    T_zTD_P_pch_dpa_info      tPch_dpa_info; 

+    T_zTD_P_pich_info         tPich_info;	

+} T_zTD_P_hspa_plus_pch_req;

+/******************************************************

+  RRC£¨L1T£©->PHY

+    ¹¦ÄÜ:

+                 ɾ³ýL1 FACHºÍIDLE̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ:     P _HSPA_PLUS_FACH_REL_REQ_EV

+******************************************************/

+typedef struct{

+    WORD                     wMsgId;

+    WORD                     wActive_time;          /*0~255; 256:Á¢¼´ÆðЧ*/

+} T_zTD_P_hspa_plus_fach_rel_req;

+

+/******************************************************

+  RRC£¨L1T£©->PHY

+    ¹¦ÄÜ:

+                 ɾ³ýL1 PCH̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ:     P _HSPA_PLUS_PCH_REL_REQ_EV

+******************************************************/

+typedef struct{

+    WORD                     wMsgId;

+    WORD                     wPadding;     

+} T_zTD_P_hspa_plus_pch_rel_req;

+/******************************************************

+  PHY->L1T

+    ¹¦ÄÜ:µ×²ãÈ·ÈÏɾ³ýÔöÇ¿FACHÐŵÀÍê±Ï

+       :     P _HSPA_PLUS_FACH_REL_CNF_EV

+******************************************************/

+typedef struct{

+    WORD                     wMsgId;

+    WORD                     wPadding;      

+} T_zTD_P_hspa_plus_fach_rel_cnf;

+

+/******************************************************

+  PHY->L1T

+    ¹¦ÄÜ::µ×²ãÈ·ÈÏɾ³ýÔöÇ¿PCHÐŵÀÍê±Ï

+                      P _HSPA_PLUS_PCH_REL_CNF_EV

+******************************************************/

+typedef struct{

+    WORD                     wMsgId;

+    WORD                     wPadding;     

+} T_zTD_P_hspa_plus_pch_rel_cnf;

+/******************************************************

+  RRC£¨L1T£©->PHY

+    ¹¦ÄÜ:

+                 ÔÚÔöÇ¿FACH̬Ï£¬¸ÃÏûÏ¢·¢Ë͸øÎïÀí²ãÓÃÓÚ¸üÐÂרÓõÄHRNTI»òERNTI:P_EFACH_UPDATE_RNTI_REQ_EV

+******************************************************/

+typedef struct{  

+    WORD                     wMsgId;

+    WORD                     wActive_time;/*0~255; 256:Á¢¼´ÆðЧ*/

+    WORD                     wUpdate_type;/*1£ºÖ»¸üÐÂH-RNTI£»2£ºÖ»¸üÐÂE-RNTI£»3£º¸üÐÂH-RNTIºÍE-RNTI;*/

+    WORD                     wH_rnti;/*רÓÃHRNTI,µ±wUpdate_typeΪ1»ò3ʱÓÐЧ*/

+    WORD                     wE_rnti; /*רÓÃERNTI,µ±wUpdate_typeΪ2»ò3ʱÓÐЧ*/

+    WORD                     wPadding;

+}T_zTD_P_efach_update_rnti_req;

+#endif

+

+/*

+  ½á¹¹¶¨Òå˵Ã÷,´Ë½á¹¹²ÎÊýÏÈÅäÖøømac,Ïà¹Ø²ÎÊýͨ¹ýT_zCUMac_Rach_Para_Req½Ó¿ÚÅäÖøømac;

+  macͨ¹ýT_P_RACH_PROCEDURE_REQ½Ó¿Ú½«Ïà¹Ø²ÎÊý·¢¸øÎïÀí²ã

+*/

+typedef struct{

+    WORD                                        wMsgId;

+    /*>PRACH info*/

+    /*´ò¿×ÏÞÖÆ,0~100*/

+    WORD                                        wPuncturing_limit;    

+    /*10.3.6.78a>>SNC_UL info*/

+    

+    WORD                                        wPadding;        

+    /*

+        Integer(-120..-58) by step of 1

+        wPrx_up_pch_des    =  x-(-120)

+    */

+    WORD                                        wPrx_up_pch_des;

+    

+    /*Integer(0,1,2,3)*/

+    WORD                                        wPower_ramp_step;

+    /*Integer(1,2,4,8): Maxium numbers of SYNC_UL Transmissions in a power

+       ramping sequence

+    */

+    WORD                                        wMax_sync_ul_transmissions;

+        

+    /*>>PRACH-FPACH*/

+    WORD                                        wPrach_fpach_num;

+    T_zTD_P_prach_fpach_info                 tPrach_fpach_info[Z_TD_P_MAX_PRACH_FPACH];    

+

+    /*RACH TFS*/

+    /*Integer(10,20,40,80)*/

+    WORD                                        wTti;

+    /*

+        Enumerated(No coding,Convolutional,Turbo)

+        0:No coding,1:Convolutional,2:Turbo

+    */

+    WORD                                        wChannel_coding_type;

+    

+    /*

+    Integer(1..hiRM)

+    */

+    WORD                                        wRate_matching_attribute;

+    /*Integer(0,8,12,16,24)*/

+    WORD                                        wCrc_size;

+    

+    /*10.3.6.59 Primary ccpch tx power

+        Integer(6..43)dBm

+    */

+    WORD                                        bPrimary_ccpch_tx_power;

+    /*maximum allowed ul tx power

+        Integer(-50..33)

+        bMax_allowed_ul_tx_power = (x -(-50))

+        

+    */

+    WORD                                        wMax_allowed_ul_tx_power;

+    WORD                                        wUppch_chip_shift;

+}T_zTD_P_add_prach_req;

+

+/*==============================================================================

+ Ô­ÓZ_P_RACH_PROCEDURE_REQ_Ev( UMAC->PHY ), Z_P_ERUCCH_PROCEDURE_REQ_Ev( UMAC->PHY )

+ ˵Ã÷: 

+==============================================================================*/

+typedef struct {

+    WORD                                        wMsg_id;

+

+    /*Bit string(8), the value 1 of a bit indicates the SYNC_UL code index is available*/

+    WORD                                        wAvailable_sync_ul_codes_indices;

+    /*Subchannel_size_type: ȡֵ1,2,4,8

+    1:size1,  indicates that all subchannels are available

+    2:size2,

+    4:size4,

+    8:size8*/

+    WORD                                        wSubchannel_size_type;

+    /*corresponding the size2,size4,size8*/

+    WORD                                        wAvailable_subchannel_size;

+

+    /*wLastFlagָʾUMACµÄRACH½ÓÈë¹ý³ÌÖд˴ÎÊÇ·ñÒÑΪµÚMmax´Î£¬¼´×îºóÒ»´Î¡£

+      0: ²»ÊÇ×îºóÒ»´Î¡£´ËʱÎïÀí²ãÓ¦¼ÌÐø»º´æµÚÒ»´ÎËùЯ´øµÄRACHÊý¾Ý£»

+      1: ×îºóÒ»´Î£¬MAC²ãÒѾ­´ïµ½×î´óÖØ´«´ÎÊý¡£´ËʱÎïÀí²ãÐèɾ³ý»º´æµÄRACHÊý¾Ý¡£*/

+    WORD                                        wLastFlag;

+    WORD                                        wPadding;

+

+    T_zTD_P_add_prach_req                    tPrachPara;

+}T_zTD_P_RACH_PROCEDURE_REQ;

+/**************************************************************************

+ *                         ÎÞÏß×ÊÔ´ÅäÖÃÏà¹Ø½Ó¿Ú¶¨ÒåEND                                     *

+ **************************************************************************/

+

+

+/**************************************************************************

+ *                         ˫ģGAPÏà¹Ø½Ó¿Ú                                     *

+ **************************************************************************/

+#ifdef MULTI_IRAT_2963

+/*=====================================================

+    URRCA->TD PHY    Z_P_GSM_INACT_TIME_REQ_Ev

+    ¹¦ÄÜ:          2GÖ÷ģʽʱ£¬GSM֪ͨTDD L1SµÄgapʱ¼äÐÅÏ¢£»

+    ½á¹¹:          T_zP_gsm_inactive_time_req

+=====================================================*/

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wStoreFlg;    

+           

+    DWORD                                       dwGsmInactiveTime;

+

+    WORD                                        wNumRemainingGaps; 

+    WORD                                        wSearchPrioMode;   

+

+    WORD                                        wClusterType;

+    WORD                                        wIdleFrameOffset;   

+

+    SHORT                                       wGsmTimingCorrection;

+    WORD                                        wPadding;

+} T_zPS_TD_P_inactive_time_req,T_zTD_P_inactive_time_req;

+

+/*=====================================================

+    PHY->URRA     Z_P_UMTS_TIMER_SNAPSHOT_IND_Ev

+    ¹¦ÄÜ:          L1SÉϱ¨µÄ¿ìÕÕʱ¼ä£»

+    ½á¹¹:          T_zP_umts_snapshot_ind

+=====================================================*/

+typedef struct

+{    

+    WORD                                        wMsgId;

+    WORD                                        wSubSfn;  /*UMTS Ëø´æµÄsfn×ÓÖ¡ºÅ*/

+

+    WORD                                        wChipOffset;  /*UMTSËø´æÊ±ÔÚ±¾×ÓÖ¡ÄÚµÄchipÆ«ÒÆ*/

+    WORD                                        wPaddings;

+} T_zTD_P_umts_snapshot_ind;

+#endif

+

+/*=====================================================

+    URRCA/URRC->PHY     L1G_UMTS_IDLE_PERIOD_REPMODE_REQ_EV

+    ¹¦ÄÜ:          3GÖ÷ģʽʱ£¬PSÅäÖÃL1SµÄgapģʽ£»

+    ½á¹¹:          T_zTD_P_umts_idle_PeriodRep_req

+=====================================================*/

+typedef struct

+{    

+    WORD                                        wMsgId;    

+    WORD                                        wReportingMode;    /*0: not reprot gap, 1:report gap*/

+    DWORD                                       dwGapId;  /*ÎÕÊÖÐòÁкÅ*/

+} T_zTD_P_umts_idle_PeriodRep_req;

+

+/*=====================================================

+    PHY->URRCA     Z_P_UMTS_INACTIVE_TIME_IND_Ev

+    ¹¦ÄÜ:          L1SÉϱ¨µÄgapʱ¼ä£»

+    ½á¹¹:          T_zP_umts_inact_time_ind

+=====================================================*/

+typedef struct

+{

+    WORD                                        wStartChip;    /*±¾gapÆðʼµã¾àÀë±¾×ÓÖ¡ÆðʼµãµÄÆ«ÒÆ£¬¼´gapÔÚ±¾×ÓÖ¡ÖеÄλÖ㬵¥Î»£ºCHIP*/

+    WORD                                        wLengthChip;   /*±¾gapµÄ³¤¶È£¬µ¥Î»£ºCHIP*/

+} T_zTD_P_gap_info_in_subframe;

+

+

+typedef struct

+{

+    WORD                                        wMsgId;

+    WORD                                        wStarSubtSfn;           /*ÆðʼµÄsfn×ÓÖ¡ºÅ£¬·¶Î§£º0-8191*/

+

+    WORD                                        wNumOfInactiveSubframe; /*³ÖÐøµÄ×ÓÖ¡³¤¶È*/   

+    WORD                                        wNumOfGapInSubFrame;    /*ÔÚÒ»¸ö×ÓÖ¡ÖÐgapµÄ¸öÊý*/

+

+    T_zTD_P_gap_info_in_subframe             atGapInfoInSubFrame[Z_TD_P_MAX_GAP_NUM]; /*ÔÚÒ»¸ö×ÓÖ¡Öи÷gapµÄλÖÃ*/

+    DWORD                                       dwGapId;  /*ÎÕÊÖÐòÁкÅ*/

+} T_zTD_P_umts_inact_time_ind;

+

+/******************************************************

+        RRC->PHY

+        ¹¦ÄÜ:

+                ЭÒéջ֪ͨÎïÀí²ãÊÍ·Å×ÊÔ´

+        ½á¹¹:

+                T_zTD_P_Rel_req

+ ******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_Rel_req; 

+

+/******************************************************

+        PHY->RRC

+        ¹¦ÄÜ:

+                ÎïÀí²ã֪ͨЭÒéÕ»ÊÍ·Å×ÊÔ´È·ÈÏ

+        ½á¹¹:

+                T_zTD_P_Rel_cnf

+ ******************************************************/

+typedef struct{

+    WORD                                        wMsgId;

+    WORD                                        wPadding;

+}T_zTD_P_Rel_cnf; 

+

+#ifdef R9_SUPPORT

+/**************************************************************************

+        L1T<->PHY

+        ¹¦ÄÜ:

+               1.TDD Ö÷ģʽÏÂDCH̬½«Íø²àÅäÖõÄGAPÐÅÏ¢´ø¸øÎïÀí²ã£¬Ò»·½Ãæ½âÎö³öÒìÆµµÄGAP¡£

+               ÁíÒ»·½Ãæ±Ü¿ªÍø²à¸øÆäËûÖÆÊ½¹¤×÷µÄʱ¼äP_TD_DCH_GAP_CONFIG_REQ_EV     (mac)()µ¥Î»£©

+        ½á¹¹:  T_zTD_P_MeasGapConfig_Req

+ **************************************************************************/

+typedef struct

+{

+    WORD                wPatternId;

+    WORD                wActiveFlg;  /*1=bActiveFlg ±íʾ¼¤»î¡£0±íʾȥ»î*/

+    WORD                wPeriod;/*GAPÄ£Ð͵ÄÖØ¸´ÖÜÆÚ£¬µ¥Î»ÊÇÎÞÏÞÖ¡£¨10ms£©*/

+    WORD                wMeasPurpose;/*1=ÒìÆµ £¬2=RAT*/

+    WORD                wOffset;/*GAPÄ£ÐÍÖØ¸´ÖÜÆÚÄÚ£¬GAPÆðʼµã.µ¥Î»ÊÇ£¨10ms£©*/

+    WORD                wLength;/* GAPÄ£ÐͳÖÐøÊ±¼ä,µ¥Î»ÊÇÎÞÏÞÖ¡£¨ms£©*/

+    WORD                wTsBitmap;/* GAPÄ£ÐÍÄÚµÄÿ¸ö×Ó֡ʱ϶ռÓÃÇé¿ö£¬±ÈÌØÎ»ÖÃ1±íʾGAPÕ¼Ó㬴ӵ͵½¸ßµÚ0±ÈÌØ±íʾʱ϶0*/

+    WORD                wPadding;

+}T_zTD_P_umts_GapPattern;

+

+typedef struct

+{

+    WORD                          wMsgId;

+    WORD                          wGapPatternNum;

+    T_zTD_P_umts_GapPattern       atGapPatternList[6];

+}T_zTD_P_MeasGapConfig_Req;

+#endif /* R9_SUPPORT */

+

+/**************************************************************************

+       L1T<->PHY

+        ¹¦ÄÜ:

+                 2.  TDDΪ¸¨Ä£Ê½Ï£¬ÊÕµ½µÄGAPÅäÖÃP_IRAT_GAP_CONFIG_REQ_EV

+        ½á¹¹:   T_zTD_P_IratGapConfig_Req

+ **************************************************************************/

+

+

+#if (defined  (_CHIP_ZX297502))

+

+typedef struct

+{

+    WORD               wMsgId;

+    WORD               wIdleOrConnectFlg;/*TDΪ¸¨ÖÆÊ½Ê±Ö÷ÖÆÊ½µÄ״̬£¬È¡ÖµÎª0±íʾ¿ÕÏÐ̬ȡֵΪ1±íʾÁ¬½Ó̬*/

+    WORD               wOff;/*GAPÆðʼµãÆ«ÒÆ.µ¥Î»ÊÇ£¨5ms£©*/

+    WORD               wOffChip;/*GAPÆðʼµã.CHIPÆ«ÒÆ£¨chips£©,ÕæÕýµÄGAPÆðʼµãÊÇwOffset+wOffChip*/

+    DWORD              dwLength;/* GAPÄ£ÐͳÖÐøÊ±¼ä,µ¥Î»ÊÇ£¨chips£©*/

+}T_zTD_P_IratGapConfig_Req;

+

+#else

+typedef struct

+{

+    WORD               wMsgId;

+    WORD               wIdleOrConnectFlg;/*TDΪ¸¨ÖÆÊ½Ê±Ö÷ÖÆÊ½µÄ״̬£¬È¡ÖµÎª0±íʾ¿ÕÏÐ̬ȡֵΪ1±íʾÁ¬½Ó̬*/

+    WORD               wStartSubSfn;/*GAPÆðʼµãÖ¡ºÅ*/

+    WORD               wStartOffChip;/*GAPÆðʼµã.CHIPÆ«ÒÆ£¨chips£©,ÕæÕýµÄGAPÆðʼµãÊÇwStartSubSfn+wStartOffChip*/

+    DWORD              dwLength;/* GAPÄ£ÐͳÖÐøÊ±¼ä,µ¥Î»ÊÇ£¨chips£©*/

+}T_zTD_P_IratGapConfig_Req;

+#endif

+

+/******************************************************

+  L1T->PHY

+    ¹¦ÄÜ:

+                ÇëÇó ÎïÀí²ãֹͣʹÓÃGAP

+    ÏûÏ¢¼°½á¹¹:     zPS_TD_P_ABORT_IRAT_GAP_REQ_Ev

+                   T_zTD_P_ABORT_IRAT_GAP_REQ

+******************************************************/

+typedef struct 

+{ 

+    WORD             wMsgId;

+    WORD             wPadding;

+}T_zTD_P_ABORT_IRAT_GAP_REQ;

+

+/******************************************************

+  PHY->L1T

+    ¹¦ÄÜ:

+                 ÎïÀí²ãÊÕµ½ÆäËûÖÆÊ½ÊÕ»ØGAPµÄÏûÏ¢ºó£¬²»ÔÚʹÓÃGAPµÄÈ·ÈÏ

+    ÏûÏ¢¼°½á¹¹:     zPS_TD_P_ABORT_IRAT_GAP_CNF_Ev

+                   Z_P_ABORT_IRAT_GAP_CNF

+******************************************************/

+typedef struct 

+{ 

+    WORD             wMsgId;

+    WORD             wPadding;

+}T_zTD_P_ABORT_IRAT_GAP_CNF;

+/*

+    RRC->PHY

+    ½á¹¹:T_zTD_P_Ul_phy_ch_ctrl_req

+    ÓÃ;:ÐÞ¸ÄÉÏÐÐÎïÀíÐŵÀµÄ¿ØÖÆÐÅÏ¢

+*/

+typedef struct{

+    WORD                                        wMsgId; 

+    WORD                                        wPadding;

+    /*ÌØÊâÍ»·¢Éú³ÉʱÆÚ*/

+    WORD                                        wSpec_burst_generation_period;/*(ȡֵ0,2,4,8,16,32,64,128,256,µ¥Î»frame;0±íʾ²»Æô¶¯UL DPCH DTX,ÆäÓàÖµ´ú±íÆô¶¯UL DPCH DTX)*/

+    WORD                                        wUl_Sync_Step_Size;/*Integer(1..8)*/

+    WORD                                        wUl_Sync_Freq;/*Integer(1..8)*/

+    WORD                                        wPRXhs_sich;/*½öÅäÖÃHSDPAʱÓÐЧ,Integer(-120..-58);wPRXhs_sich    =   x-(-120);x = wPRXhs_sich - 120;*/

+    WORD                                        wTpc_step_size;/*½öÅäÖÃHSDPAʱÓÐЧ,Integer(1,2,3)*/ 

+    WORD                                        wUl_dpch_power_ctrl_info_flg;/*ÉÏϹ¦¿ØÐÅÏ¢µÄ±ê־λ,1´ú±íÓй¦¿ØÐÅÏ¢,0´ú±íÎÞ¹¦¿ØÐÅÏ¢*/

+    /*Uplink dpch power control info*/

+    T_zTD_P_ul_dpch_power_ctrl                  tUl_dpch_power_ctrl_info;

+}T_zTD_P_Ul_phy_ch_ctrl_req;

+

+/*==============================================================================

+    L1T/L1W->PHY

+    ʼþ£ºP_TD_ZTPCG_REQ_EV

+    ¹¦ÄÜ:

+        ÐÞ¸Ä/²éѯTDÎïÀí²ãÅäÖòÎÊý¡£

+==============================================================================*/

+typedef struct 

+{

+    WORD       wMsgId;

+    WORD       wCmd;      /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ */

+    WORD       awValFg[Z_ZTPCG_VALFG_NUM];   /* ±íʾadwValÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ */

+    DWORD      adwVal[Z_ZTPCG_VALFG_NUM];    /* ²ÎÊýÁÐ±í£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö */

+}T_zTD_P_Ztpcg_Req;

+

+/*==============================================================================

+    PHY->L1T

+    ʼþ£ºP_TD_ZTPCG_CNF_EV

+    ¹¦ÄÜ:

+        ÐÞ¸Ä/²éѯTDÎïÀí²ãÅäÖòÎÊýµÄÏìÓ¦ÏûÏ¢¡£

+==============================================================================*/

+typedef struct 

+{

+    WORD       wMsgId;

+    WORD       wCmd;      /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ£¬bMode=0/1¶¼ÓÐЧ */

+    WORD       wRslt;     /* ±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü  wCmdΪÉèÖÃÃüÁîʱÓÐЧ */

+    WORD       awValFg[Z_ZTPCG_PARAM_NUM]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/

+    LONG       alVal[Z_ZTPCG_PARAM_NUM];   /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/

+}T_zTD_P_Ztpcg_Cnf;

+

+#endif        // / ZPS_TDPS_PHY_INTERFACE_H

+

+

+