1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-23 05:44:40 +00:00
rtl8812au/hal/phydm/rtl8821a/halphyrf_8821a_win.h
Hans Ulli Kroll d62c22e76e Add driver from found on aircrack-ng site
filename: rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta.tar.gz

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
2016-03-27 19:56:02 +02:00

73 lines
1.9 KiB
C
Executable File

/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
*
******************************************************************************/
#ifndef __HAL_PHY_RF_8821A_H__
#define __HAL_PHY_RF_8821A_H__
/*--------------------------Define Parameters-------------------------------*/
#define IQK_DELAY_TIME_8821A 10 //ms
#define index_mapping_NUM_8821A 15
#define AVG_THERMAL_NUM_8821A 4
#define RF_T_METER_8821A 0x42
void ConfigureTxpowerTrack_8821A(
PTXPWRTRACK_CFG pConfig
);
void DoIQK_8821A(
PDM_ODM_T pDM_Odm,
u1Byte DeltaThermalIndex,
u1Byte ThermalValue,
u1Byte Threshold
);
VOID
ODM_TxPwrTrackSetPwr8821A(
PDM_ODM_T pDM_Odm,
PWRTRACK_METHOD Method,
u1Byte RFPath,
u1Byte ChannelMappedIndex
);
//1 7. IQK
void
PHY_IQCalibrate_8821A(
IN PADAPTER pAdapter,
IN BOOLEAN bReCovery
);
VOID
PHY_LCCalibrate_8821A(
IN PDM_ODM_T pDM_Odm
);
VOID
GetDeltaSwingTable_8821A(
IN PDM_ODM_T pDM_Odm,
OUT pu1Byte *TemperatureUP_A,
OUT pu1Byte *TemperatureDOWN_A,
OUT pu1Byte *TemperatureUP_B,
OUT pu1Byte *TemperatureDOWN_B
);
#endif // #ifndef __HAL_PHY_RF_8821A_H__