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 ******************************************************************************/
16 #ifndef __HAL_PHY_RF_H__
17 #define __HAL_PHY_RF_H__
19 typedef enum _SPUR_CAL_METHOD {
24 typedef enum _PWRTRACK_CONTROL_METHOD {
30 typedef void (*FuncSetPwr)(PDM_ODM_T, PWRTRACK_METHOD, u8, u8);
31 typedef void (*FuncIQK)(PDM_ODM_T, u8, u8, u8);
32 typedef void (*FuncLCK)(PDM_ODM_T);
33 typedef void (*FuncSwing)(PDM_ODM_T, u8 **, u8 **, u8 **, u8 **);
35 typedef struct _TXPWRTRACK_CFG {
36 u8 SwingTableSize_CCK;
37 u8 SwingTableSize_OFDM;
42 FuncSetPwr ODM_TxPwrTrackSetPwr;
44 FuncLCK PHY_LCCalibrate;
45 FuncSwing GetDeltaSwingTable;
46 } TXPWRTRACK_CFG, *PTXPWRTRACK_CFG;
48 void ConfigureTxpowerTrack(
50 PTXPWRTRACK_CFG pConfig
55 ODM_ClearTxPowerTrackingState(
60 ODM_TXPowerTrackingCallback_ThermalMeter(
61 struct adapter *Adapter
66 #define ODM_TARGET_CHNL_NUM_2G_5G 59
70 ODM_GetRightChnlPlaceforIQK(
75 #endif /* #ifndef __HAL_PHY_RF_H__ */