blob: 2ff44d4f1ffb245c0864aec1486b5ad1d14d47fc [file] [log] [blame]
/********************************************************************
* °æÈ¨ËùÓÐ (C)2015, ÉîÛÚÊÐÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
*
* ÎļþÃû³Æ£º phy_td_log_if.h
* Îļþ±êʶ£º
* ÄÚÈÝÕªÒª£ºÎïÀí²ã±ê×¼LOGÊä³öµÄ½Ó¿ÚÎļþ
* ÆäËü˵Ã÷£º
* µ±Ç°°æ±¾£º
* ×÷ Õߣº
* Íê³ÉÈÕÆÚ£º
*
* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
* -----------------------------------------------
* 2015/8/07 V1.0 L1td н¨
************************************************************************/
#ifndef PHY_TD_LOG_IF_H
#define PHY_TD_LOG_IF_H
//TDÎïÀí²ãÏûÏ¢ÀàÐÍö¾Ù
typedef enum
{
PA_ENG_CMD = 1,
PA_INTER_MSG = 2,
PA_PRINT_MSG = 3,
PA_HCI_MSG = 4,
PA_HOOK_MSG = 5,
PA_ENG_MISS_PACKET = 6,
PA_DATA_DUMP = 7,
PA_MEAS_INTRA_INFO = 8,
PA_MEAS_INTER_INFO = 9,
PA_HDTR_HSSCCH_INFO = 10,
PA_JD_PHY_CH_CFG_LOG = 11,
PA_JD_PICH_DETECT_LOG = 12,
PA_JD_ACD_LOG = 13,
PA_JD_INTERRUPT_LOG = 14,
PA_JD_PHY_CH_CFG_REL_TIME_LOG = 15,
PA_JD_CELL_CFG_LOG = 16,
PA_CSR_DWPTS_POS_LOG = 17,
PA_CSR_SYNC_MODE_LOG = 18,
PA_CSR_MIDAMBLE_LOG = 19,
PA_CSR_MULTI_RESULT_LOG = 20,
PA_01B_AFC_INFO = 21,
PA_01B_AFC_PATH_INFO = 22,
PA_02B_AFC_INFO = 23,
PA_02B_AFC_PATH_INFO = 24,
PA_RFC_AGC_INFO = 25,
PA_RFC_RFC_INFO = 26,
PA_L1S_DL_DATA_IND = 27,
PA_RES_MAP_INFO = 28,
PA_MIPS_INFO = 29,
PA_PHY_VER_INFO = 30,
ENG_MSG_TYPE_MAX_NUM
}E_PaMsgType; //ZCat---PA_MSG_TYPE ÓÐÐÞ¸Ä
typedef enum
{
HOOK_EVENT_ID_SWAP = 1,
HOOK_EVENT_ID_CREATE_PRO = 2,
HOOK_EVENT_ID_SEND = 3,
HOOK_EVENT_ID_ALLOC = 4,
HOOK_EVENT_ID_FREE = 5,
}E_HookEventId; //ZCat--- ֮ǰÎÞ¶¨Òå Ö»ÓÐö¾Ù
typedef struct
{
U16 wHeader; /* PA_TRACE_PACKET_HEADER 0x69E8*/
U16 wSfn; /* sfn */
U16 wCfn; /* cfn */
U16 wChip; /* chip */
U16 wType:8; /* 0-63 type */
U16 wProcId:8; /* 0-127 proc_id */
U16 wLen; /* len */
U16 wSsfnH; /*ssfnµÄ¸ß16λ*/
U16 wSsfnL; /*ssfnµÄµÍ16λ*/
}T_EngPaHeader;
typedef struct
{
U16 wMsgId;
U16 wMsgLen;
}T_EngPaHciMsg;/*PHYºÍPS½Ó¿ÚÏûÏ¢*/
typedef struct
{
U16 wMsgId; /* message id, according to physical software, need scan the whole code */
U16 wParaNum; /* each parameter hold 16bits */
}T_EngPaPrintMsg;/*×Ô¶¨Òå´òÓ¡ÐÅÏ¢*/
typedef struct
{
U16 wEventId; /* ½ø³ÌÇл»£¬µ±Ç°½ø³ÌidÒѾ­ÔÚheader.proc_idÅäÖÃ*/
U16 wReceiverPid;/* next */
}T_EngPaHook;/*HOOKÏûÏ¢*/
typedef struct
{
U16 wMsgId;
U16 wMsgLen;
}T_EngPaInternalMsg;/*PHYÄÚ²¿¸÷Ä£¿é½»»¥ÏûÏ¢*/
typedef struct
{
U16 wPeriod;
U16 wMissNum;
}T_EngMissPacket;
typedef struct
{
U16 wMsgId;
U16 wMsgLen;
}T_EngPaDumpData;
#endif