Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nu11secur1ty
GitHub Repository: nu11secur1ty/Kali-Linux
Path: blob/master/ALFA-W1F1/RTL8814AU/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.h
1308 views
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
*****************************************************************************/
15
16
#ifndef __HALRF_IQK_8814A_H__
17
#define __HALRF_IQK_8814A_H__
18
19
#if (RTL8814A_SUPPORT == 1)
20
/*--------------------------Define Parameters-------------------------------*/
21
#define MAC_REG_NUM_8814 2
22
#define BB_REG_NUM_8814 14
23
#define RF_REG_NUM_8814 1
24
/*---------------------------End Define Parameters-------------------------------*/
25
26
#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)
27
void do_iqk_8814a(void *dm_void, u8 delta_thermal_index, u8 thermal_value,
28
u8 threshold);
29
#else
30
void do_iqk_8814a(void *dm_void, u8 delta_thermal_index, u8 thermal_value,
31
u8 threshold);
32
#endif
33
34
void phy_iq_calibrate_8814a_init(void *dm_void);
35
36
void phy_iq_calibrate_8814a(void *dm_void, boolean is_recovery);
37
38
#else /* (RTL8814A_SUPPORT == 0)*/
39
40
#define phy_iq_calibrate_8814a(_pdm_void, _recovery) 0
41
#define phy_iq_calibrate_8814a_init(_pdm_void)
42
43
#endif /* RTL8814A_SUPPORT */
44
45
#endif /*#ifndef __HALRF_IQK_8814A_H__*/
46
47