navin patidar | 053ab2a | 2014-09-07 16:38:03 +0530 | [diff] [blame] | 1 | #include <odm.h> |
| 2 | |
| 3 | #define IQK_DELAY_TIME_88E 10 |
| 4 | #define index_mapping_NUM_88E 15 |
| 5 | #define AVG_THERMAL_NUM_88E 4 |
| 6 | #define ODM_TARGET_CHNL_NUM_2G_5G 59 |
| 7 | |
Stephen Rothwell | 90d88de | 2014-08-18 08:40:48 +1000 | [diff] [blame] | 8 | bool rtl88eu_phy_mac_config(struct adapter *adapt); |
| 9 | bool rtl88eu_phy_rf_config(struct adapter *adapt); |
| 10 | bool rtl88eu_phy_bb_config(struct adapter *adapt); |
navin patidar | ecd1f9b | 2014-08-31 12:14:17 +0530 | [diff] [blame] | 11 | |
| 12 | u32 phy_query_bb_reg(struct adapter *adapt, u32 regaddr, u32 bitmask); |
navin patidar | 9c6db65 | 2014-08-31 12:14:19 +0530 | [diff] [blame] | 13 | void phy_set_bb_reg(struct adapter *adapt, u32 regaddr, u32 bitmask, u32 data); |
navin patidar | 41b77d2 | 2014-08-31 12:14:22 +0530 | [diff] [blame] | 14 | u32 phy_query_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path, |
| 15 | u32 reg_addr, u32 bit_mask); |
navin patidar | 7b98485 | 2014-08-31 12:14:23 +0530 | [diff] [blame] | 16 | void phy_set_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path, |
| 17 | u32 reg_addr, u32 bit_mask, u32 data); |
navin patidar | 01c5f83 | 2014-08-31 12:14:28 +0530 | [diff] [blame] | 18 | |
| 19 | void phy_set_tx_power_level(struct adapter *adapt, u8 channel); |
navin patidar | 5f6a5cd | 2014-08-31 12:14:29 +0530 | [diff] [blame] | 20 | |
| 21 | void phy_set_bw_mode(struct adapter *adapt, enum ht_channel_width bandwidth, |
| 22 | unsigned char offset); |
navin patidar | ba50fbc | 2014-08-31 12:14:30 +0530 | [diff] [blame] | 23 | void phy_sw_chnl(struct adapter *adapt, u8 channel); |
navin patidar | 053ab2a | 2014-09-07 16:38:03 +0530 | [diff] [blame] | 24 | |
| 25 | void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm, |
| 26 | u8 type, u8 *dir, u32 *out_write); |
| 27 | |
| 28 | void rtl88eu_dm_txpower_tracking_callback_thermalmeter(struct adapter *adapt); |
| 29 | void rtl88eu_phy_iq_calibrate(struct adapter *adapter, bool recovery); |
| 30 | void rtl88eu_phy_lc_calibrate(struct adapter *adapter); |