Loading...
/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * ******************************************************************************/ #ifndef __HAL_PHY_RF_H__ #define __HAL_PHY_RF_H__ typedef enum _SPUR_CAL_METHOD { PLL_RESET, AFE_PHASE_SEL } SPUR_CAL_METHOD; typedef enum _PWRTRACK_CONTROL_METHOD { BBSWING, TXAGC, MIX_MODE } PWRTRACK_METHOD; typedef void (*FuncSetPwr)(PDM_ODM_T, PWRTRACK_METHOD, u8, u8); typedef void (*FuncIQK)(PDM_ODM_T, u8, u8, u8); typedef void (*FuncLCK)(PDM_ODM_T); typedef void (*FuncSwing)(PDM_ODM_T, u8 **, u8 **, u8 **, u8 **); typedef struct _TXPWRTRACK_CFG { u8 SwingTableSize_CCK; u8 SwingTableSize_OFDM; u8 Threshold_IQK; u8 AverageThermalNum; u8 RfPathCount; u32 ThermalRegAddr; FuncSetPwr ODM_TxPwrTrackSetPwr; FuncIQK DoIQK; FuncLCK PHY_LCCalibrate; FuncSwing GetDeltaSwingTable; } TXPWRTRACK_CFG, *PTXPWRTRACK_CFG; void ConfigureTxpowerTrack(PDM_ODM_T pDM_Odm, PTXPWRTRACK_CFG pConfig); void ODM_ClearTxPowerTrackingState(PDM_ODM_T pDM_Odm); void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter); #endif /* #ifndef __HAL_PHY_RF_H__ */ |