Path: blob/master/ALFA-W1F1/RTL8814AU/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.h
1308 views
/******************************************************************************1*2* Copyright(c) 2007 - 2017 Realtek Corporation.3*4* This program is free software; you can redistribute it and/or modify it5* under the terms of version 2 of the GNU General Public License as6* published by the Free Software Foundation.7*8* This program is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13*****************************************************************************/1415#ifndef __HALRF_IQK_8814A_H__16#define __HALRF_IQK_8814A_H__1718#if (RTL8814A_SUPPORT == 1)19/*--------------------------Define Parameters-------------------------------*/20#define MAC_REG_NUM_8814 221#define BB_REG_NUM_8814 1422#define RF_REG_NUM_8814 123/*---------------------------End Define Parameters-------------------------------*/2425#if !(DM_ODM_SUPPORT_TYPE & ODM_AP)26void do_iqk_8814a(void *dm_void, u8 delta_thermal_index, u8 thermal_value,27u8 threshold);28#else29void do_iqk_8814a(void *dm_void, u8 delta_thermal_index, u8 thermal_value,30u8 threshold);31#endif3233void phy_iq_calibrate_8814a_init(void *dm_void);3435void phy_iq_calibrate_8814a(void *dm_void, boolean is_recovery);3637#else /* (RTL8814A_SUPPORT == 0)*/3839#define phy_iq_calibrate_8814a(_pdm_void, _recovery) 040#define phy_iq_calibrate_8814a_init(_pdm_void)4142#endif /* RTL8814A_SUPPORT */4344#endif /*#ifndef __HALRF_IQK_8814A_H__*/454647