1
2
3
4
5
6
7
8 #ifndef __ODMCFOTRACK_H__
9 #define __ODMCFOTRACK_H__
10
11 #define CFO_TH_XTAL_HIGH 20
12 #define CFO_TH_XTAL_LOW 10
13 #define CFO_TH_ATC 80
14
15 typedef struct _CFO_TRACKING_ {
16 bool bATCStatus;
17 bool largeCFOHit;
18 bool bAdjust;
19 u8 CrystalCap;
20 u8 DefXCap;
21 int CFO_tail[2];
22 int CFO_ave_pre;
23 u32 packetCount;
24 u32 packetCount_pre;
25
26 bool bForceXtalCap;
27 bool bReset;
28 } CFO_TRACKING, *PCFO_TRACKING;
29
30 void ODM_CfoTrackingReset(void *pDM_VOID
31 );
32
33 void ODM_CfoTrackingInit(void *pDM_VOID);
34
35 void ODM_CfoTracking(void *pDM_VOID);
36
37 void ODM_ParsingCFO(void *pDM_VOID, void *pPktinfo_VOID, s8 *pcfotail);
38
39 #endif