xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/halrf/halrf_powertracking.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2017  Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  *
22  * Larry Finger <Larry.Finger@lwfinger.net>
23  *
24  *****************************************************************************/
25 
26 #ifndef __HALRF_POWER_TRACKING_H__
27 #define __HALRF_POWER_TRACKING_H__
28 
29 boolean
30 odm_check_power_status(void *dm_void);
31 
32 #if (DM_ODM_SUPPORT_TYPE & (ODM_WIN | ODM_CE))
33 void halrf_update_pwr_track(void *dm_void, u8 rate);
34 #endif
35 
36 #if (DM_ODM_SUPPORT_TYPE == ODM_WIN)
37 void halrf_update_init_rate_work_item_callback(
38 	void *context);
39 #endif
40 
41 void halrf_set_pwr_track(void *dm_void, u8 enable);
42 
43 #endif /*#ifndef __HALRF_POWERTRACKING_H__*/
44