blob: 2ff44d4f1ffb245c0864aec1486b5ad1d14d47fc [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/********************************************************************
2* °æÈ¨ËùÓÐ (C)2015, ÉîÛÚÊÐÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
3*
4* ÎļþÃû³Æ£º phy_td_log_if.h
5* Îļþ±êʶ£º
6* ÄÚÈÝÕªÒª£ºÎïÀí²ã±ê×¼LOGÊä³öµÄ½Ó¿ÚÎļþ
7* ÆäËü˵Ã÷£º
8* µ±Ç°°æ±¾£º
9* ×÷ Õߣº
10* Íê³ÉÈÕÆÚ£º
11*
12* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
13* -----------------------------------------------
14* 2015/8/07 V1.0 L1td н¨
15************************************************************************/
16#ifndef PHY_TD_LOG_IF_H
17#define PHY_TD_LOG_IF_H
18
19//TDÎïÀí²ãÏûÏ¢ÀàÐÍö¾Ù
20typedef enum
21{
22 PA_ENG_CMD = 1,
23 PA_INTER_MSG = 2,
24 PA_PRINT_MSG = 3,
25 PA_HCI_MSG = 4,
26 PA_HOOK_MSG = 5,
27
28 PA_ENG_MISS_PACKET = 6,
29 PA_DATA_DUMP = 7,
30 PA_MEAS_INTRA_INFO = 8,
31 PA_MEAS_INTER_INFO = 9,
32 PA_HDTR_HSSCCH_INFO = 10,
33 PA_JD_PHY_CH_CFG_LOG = 11,
34 PA_JD_PICH_DETECT_LOG = 12,
35 PA_JD_ACD_LOG = 13,
36 PA_JD_INTERRUPT_LOG = 14,
37 PA_JD_PHY_CH_CFG_REL_TIME_LOG = 15,
38 PA_JD_CELL_CFG_LOG = 16,
39 PA_CSR_DWPTS_POS_LOG = 17,
40 PA_CSR_SYNC_MODE_LOG = 18,
41 PA_CSR_MIDAMBLE_LOG = 19,
42 PA_CSR_MULTI_RESULT_LOG = 20,
43 PA_01B_AFC_INFO = 21,
44 PA_01B_AFC_PATH_INFO = 22,
45 PA_02B_AFC_INFO = 23,
46 PA_02B_AFC_PATH_INFO = 24,
47 PA_RFC_AGC_INFO = 25,
48 PA_RFC_RFC_INFO = 26,
49 PA_L1S_DL_DATA_IND = 27,
50 PA_RES_MAP_INFO = 28,
51 PA_MIPS_INFO = 29,
52 PA_PHY_VER_INFO = 30,
53 ENG_MSG_TYPE_MAX_NUM
54}E_PaMsgType; //ZCat---PA_MSG_TYPE ÓÐÐÞ¸Ä
55
56typedef enum
57{
58 HOOK_EVENT_ID_SWAP = 1,
59 HOOK_EVENT_ID_CREATE_PRO = 2,
60 HOOK_EVENT_ID_SEND = 3,
61 HOOK_EVENT_ID_ALLOC = 4,
62 HOOK_EVENT_ID_FREE = 5,
63}E_HookEventId; //ZCat--- ֮ǰÎÞ¶¨Òå Ö»ÓÐö¾Ù
64
65
66typedef struct
67{
68 U16 wHeader; /* PA_TRACE_PACKET_HEADER 0x69E8*/
69 U16 wSfn; /* sfn */
70 U16 wCfn; /* cfn */
71 U16 wChip; /* chip */
72 U16 wType:8; /* 0-63 type */
73 U16 wProcId:8; /* 0-127 proc_id */
74 U16 wLen; /* len */
75 U16 wSsfnH; /*ssfnµÄ¸ß16λ*/
76 U16 wSsfnL; /*ssfnµÄµÍ16λ*/
77}T_EngPaHeader;
78
79typedef struct
80{
81 U16 wMsgId;
82 U16 wMsgLen;
83}T_EngPaHciMsg;/*PHYºÍPS½Ó¿ÚÏûÏ¢*/
84
85
86typedef struct
87{
88 U16 wMsgId; /* message id, according to physical software, need scan the whole code */
89 U16 wParaNum; /* each parameter hold 16bits */
90}T_EngPaPrintMsg;/*×Ô¶¨Òå´òÓ¡ÐÅÏ¢*/
91
92typedef struct
93{
94 U16 wEventId; /* ½ø³ÌÇл»£¬µ±Ç°½ø³ÌidÒѾ­ÔÚheader.proc_idÅäÖÃ*/
95 U16 wReceiverPid;/* next */
96}T_EngPaHook;/*HOOKÏûÏ¢*/
97
98typedef struct
99{
100 U16 wMsgId;
101 U16 wMsgLen;
102}T_EngPaInternalMsg;/*PHYÄÚ²¿¸÷Ä£¿é½»»¥ÏûÏ¢*/
103
104typedef struct
105{
106 U16 wPeriod;
107 U16 wMissNum;
108}T_EngMissPacket;
109
110typedef struct
111{
112 U16 wMsgId;
113 U16 wMsgLen;
114}T_EngPaDumpData;
115
116#endif