1 /******************************************************************************
3 * Copyright(c) 2007 - 2016 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef __PHYDM_IQK_8822B_H__
26 #define __PHYDM_IQK_8822B_H__
28 /*--------------------------Define Parameters-------------------------------*/
29 #define MAC_REG_NUM_8822B 2
30 #define BB_REG_NUM_8822B 13
31 #define RF_REG_NUM_8822B 5
33 #define LOK_delay_8822B 2
34 #define GS_delay_8822B 2
35 #define WBIQK_delay_8822B 2
41 /*------------------------End Define Parameters-------------------------------*/
43 void do_iqk_8822b(void *dm_void, u8 delta_thermal_index, u8 thermal_value,
46 void phy_iq_calibrate_8822b(void *dm_void, bool clear);
48 #endif /* #ifndef __PHYDM_IQK_8822B_H__*/