1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 ******************************************************************************/
21 #ifndef __HAL_PHY_RF_8703B_H__
22 #define __HAL_PHY_RF_8703B_H__
24 /*--------------------------Define Parameters-------------------------------*/
25 #define index_mapping_NUM_8703B 15
26 #define AVG_THERMAL_NUM_8703B 4
27 #define RF_T_METER_8703B 0x42
29 #if (DM_ODM_SUPPORT_TYPE & (ODM_WIN))
30 #include "../halphyrf_win.h"
31 #elif (DM_ODM_SUPPORT_TYPE & (ODM_CE))
32 #include "../halphyrf_ce.h"
35 void configure_txpower_track_8703b(
36 struct _TXPWRTRACK_CFG *p_config
41 u8 delta_thermal_index,
47 odm_tx_pwr_track_set_pwr_8703b(
49 enum pwrtrack_method method,
51 u8 channel_mapped_index
55 odm_txxtaltrack_set_xtal_8703b(
63 phy_iq_calibrate_8703b(
64 #if (DM_ODM_SUPPORT_TYPE & ODM_AP)
65 struct PHY_DM_STRUCT *p_dm_odm,
67 struct _ADAPTER *adapter,
72 odm_set_iqc_by_rfpath_8703b(
73 struct PHY_DM_STRUCT *p_dm_odm
80 phy_lc_calibrate_8703b(
88 phy_ap_calibrate_8703b(
89 #if (DM_ODM_SUPPORT_TYPE & ODM_AP)
90 struct PHY_DM_STRUCT *p_dm_odm,
92 struct _ADAPTER *p_adapter,
96 phy_digital_predistortion_8703b(struct _ADAPTER *p_adapter);
100 _phy_save_adda_registers_8703b(
101 #if (DM_ODM_SUPPORT_TYPE & ODM_AP)
102 struct PHY_DM_STRUCT *p_dm_odm,
104 struct _ADAPTER *p_adapter,
112 _phy_path_adda_on_8703b(
113 #if (DM_ODM_SUPPORT_TYPE & ODM_AP)
114 struct PHY_DM_STRUCT *p_dm_odm,
116 struct _ADAPTER *p_adapter,
119 boolean is_path_a_on,
124 _phy_mac_setting_calibration_8703b(
125 #if (DM_ODM_SUPPORT_TYPE & ODM_AP)
126 struct PHY_DM_STRUCT *p_dm_odm,
128 struct _ADAPTER *p_adapter,
134 #endif /* #ifndef __HAL_PHY_RF_8188E_H__ */