#ifndef __RTL8821AE_PHY_H__
#define __RTL8821AE_PHY_H__
#define MAX_TX_COUNT …
#define TX_1S …
#define TX_2S …
#define TX_3S …
#define TX_4S …
#define MAX_POWER_INDEX …
#define MAX_PRECMD_CNT …
#define MAX_RFDEPENDCMD_CNT …
#define MAX_POSTCMD_CNT …
#define MAX_DOZE_WAITING_TIMES_9x …
#define RT_CANNOT_IO(hw) …
#define HIGHPOWER_RADIOA_ARRAYLEN …
#define IQK_ADDA_REG_NUM …
#define IQK_BB_REG_NUM …
#define MAX_TOLERANCE …
#define IQK_DELAY_TIME …
#define index_mapping_NUM …
#define APK_BB_REG_NUM …
#define APK_AFE_REG_NUM …
#define APK_CURVE_REG_NUM …
#define PATH_NUM …
#define LOOP_LIMIT …
#define MAX_STALL_TIME …
#define ANTENNADIVERSITYVALUE …
#define MAX_TXPWR_IDX_NMODE_92S …
#define RESET_CNT_LIMIT …
#define IQK_ADDA_REG_NUM …
#define IQK_MAC_REG_NUM …
#define RF6052_MAX_PATH …
#define CT_OFFSET_MAC_ADDR …
#define CT_OFFSET_CCK_TX_PWR_IDX …
#define CT_OFFSET_HT401S_TX_PWR_IDX …
#define CT_OFFSET_HT402S_TX_PWR_IDX_DIFF …
#define CT_OFFSET_HT20_TX_PWR_IDX_DIFF …
#define CT_OFFSET_OFDM_TX_PWR_IDX_DIFF …
#define CT_OFFSET_HT40_MAX_PWR_OFFSET …
#define CT_OFFSET_HT20_MAX_PWR_OFFSET …
#define CT_OFFSET_CHANNEL_PLAH …
#define CT_OFFSET_THERMAL_METER …
#define CT_OFFSET_RF_OPTION …
#define CT_OFFSET_VERSION …
#define CT_OFFSET_CUSTOMER_ID …
#define RTL8821AE_MAX_PATH_NUM …
#define TARGET_CHNL_NUM_2G_5G_8812 …
enum swchnlcmd_id { … };
struct swchnlcmd { … };
enum hw90_block_e { … };
enum baseband_config_type { … };
enum ra_offset_area { … };
enum antenna_path { … };
struct r_antenna_select_ofdm { … };
struct r_antenna_select_cck { … };
struct efuse_contents { … };
struct tx_power_struct { … };
enum _ANT_DIV_TYPE { … };
u32 rtl8821ae_phy_query_bb_reg(struct ieee80211_hw *hw,
u32 regaddr, u32 bitmask);
void rtl8821ae_phy_set_bb_reg(struct ieee80211_hw *hw,
u32 regaddr, u32 bitmask, u32 data);
u32 rtl8821ae_phy_query_rf_reg(struct ieee80211_hw *hw,
enum radio_path rfpath, u32 regaddr,
u32 bitmask);
void rtl8821ae_phy_set_rf_reg(struct ieee80211_hw *hw,
enum radio_path rfpath, u32 regaddr,
u32 bitmask, u32 data);
bool rtl8821ae_phy_mac_config(struct ieee80211_hw *hw);
bool rtl8821ae_phy_bb_config(struct ieee80211_hw *hw);
bool rtl8821ae_phy_rf_config(struct ieee80211_hw *hw);
void rtl8821ae_phy_switch_wirelessband(struct ieee80211_hw *hw,
u8 band);
void rtl8821ae_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
void rtl8821ae_phy_get_txpower_level(struct ieee80211_hw *hw,
long *powerlevel);
void rtl8821ae_phy_set_txpower_level(struct ieee80211_hw *hw,
u8 channel);
void rtl8821ae_phy_scan_operation_backup(struct ieee80211_hw *hw,
u8 operation);
void rtl8821ae_phy_set_bw_mode_callback(struct ieee80211_hw *hw);
void rtl8821ae_phy_set_bw_mode(struct ieee80211_hw *hw,
enum nl80211_channel_type ch_type);
void rtl8821ae_phy_sw_chnl_callback(struct ieee80211_hw *hw);
u8 rtl8821ae_phy_sw_chnl(struct ieee80211_hw *hw);
void rtl8821ae_phy_iq_calibrate(struct ieee80211_hw *hw,
bool b_recovery);
void rtl8812ae_phy_iq_calibrate(struct ieee80211_hw *hw,
bool b_recovery);
void rtl8821ae_phy_ap_calibrate(struct ieee80211_hw *hw, s8 delta);
void rtl8821ae_phy_lc_calibrate(struct ieee80211_hw *hw);
void rtl8821ae_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain);
bool rtl8812ae_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
enum radio_path rfpath);
bool rtl8821ae_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
enum radio_path rfpath);
bool rtl8821ae_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype);
bool rtl8821ae_phy_set_rf_power_state(struct ieee80211_hw *hw,
enum rf_pwrstate rfpwr_state);
u8 _rtl8812ae_get_right_chnl_place_for_iqk(u8 chnl);
void rtl8821ae_phy_set_txpower_level_by_path(struct ieee80211_hw *hw,
u8 channel, u8 path);
void rtl8812ae_do_iqk(struct ieee80211_hw *hw, u8 delta_thermal_index,
u8 thermal_value, u8 threshold);
void rtl8821ae_do_iqk(struct ieee80211_hw *hw, u8 delta_thermal_index,
u8 thermal_value, u8 threshold);
void rtl8821ae_reset_iqk_result(struct ieee80211_hw *hw);
u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, u8 rf_path);
#endif