1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2016 Realtek Corporation.
7 * wlanfae <wlanfae@realtek.com>
8 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
11 * Larry Finger <Larry.Finger@lwfinger.net>
13 *****************************************************************************/
15 #ifndef __PHYDMCFOTRACK_H__
16 #define __PHYDMCFOTRACK_H__
18 #define CFO_TRACKING_VERSION "1.4" /*2015.10.01 Stanley, Modify for 8822B*/
20 #define CFO_TH_XTAL_HIGH 20 /* kHz */
21 #define CFO_TH_XTAL_LOW 10 /* kHz */
22 #define CFO_TH_ATC 80 /* kHz */
36 bool is_force_xtal_cap;
40 void odm_cfo_tracking_reset(void *dm_void);
42 void odm_cfo_tracking_init(void *dm_void);
44 void odm_cfo_tracking(void *dm_void);
46 void odm_parsing_cfo(void *dm_void, void *pktinfo_void, s8 *pcfotail,