Path: blob/master/ALFA-W1F1/RTL8814AU/hal/phydm/halrf/rtl8814a/halrf_8814a_win.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_8814A_H__16#define __HALRF_8814A_H__1718#if (RTL8814A_SUPPORT == 1)192021/*--------------------------Define Parameters-------------------------------*/22#define AVG_THERMAL_NUM_8814A 42324#include "halrf/halphyrf_win.h"2526void configure_txpower_track_8814a(27struct txpwrtrack_cfg *config28);2930void get_delta_swing_table_8814a(31void *dm_void,32u8 **temperature_up_a,33u8 **temperature_down_a,34u8 **temperature_up_b,35u8 **temperature_down_b36);373839void40get_delta_swing_table_8814a_path_cd(41void *dm_void,42u8 **temperature_up_c,43u8 **temperature_down_c,44u8 **temperature_up_d,45u8 **temperature_down_d46);474849void50odm_tx_pwr_track_set_pwr8814a(51void *dm_void,52enum pwrtrack_method method,53u8 rf_path,54u8 channel_mapped_index55);5657#if 058u859check_rf_gain_offset(60struct dm_struct *dm,61enum pwrtrack_method method,62u8 rf_path63);64#endif6566u867get_tssivalue(68struct dm_struct *dm,69enum pwrtrack_method method,70u8 rf_path71);7273boolean74get_tssi_mode_tx_agc_bb_swing_offset(75struct dm_struct *dm,76enum pwrtrack_method method,77u8 rf_path,78u32 offset_vaule,79u8 tx_power_index_offest80);818283void84power_tracking_by_mix_mode(85struct dm_struct *dm,86enum pwrtrack_method method,87u8 rf_path88);8990void91power_tracking_by_tssi_mode(92struct dm_struct *dm,93enum pwrtrack_method method,94u8 rf_path95);969798/*99* LC calibrate100* */101void102phy_lc_calibrate_8814a(103void *dm_void104);105106void107phy_dp_calibrate_8814a(108struct dm_struct *dm109);110111void phy_set_rf_path_switch_8814a(112#if (DM_ODM_SUPPORT_TYPE & ODM_AP)113struct dm_struct *dm,114#else115void *adapter,116#endif117boolean is_main118);119120121#else /* (RTL8814A_SUPPORT == 0)*/122123#define phy_lc_calibrate_8814a(_pdm_odm) false124125#endif /* RTL8814A_SUPPORT */126127#endif /*#ifndef __HALRF_8814A_WIN_H__*/128129130