Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
053ab2a1 | 2 | #include <odm.h> |
3 | ||
4 | #define IQK_DELAY_TIME_88E 10 | |
5 | #define index_mapping_NUM_88E 15 | |
6 | #define AVG_THERMAL_NUM_88E 4 | |
7 | #define ODM_TARGET_CHNL_NUM_2G_5G 59 | |
8 | ||
90d88de8 SR |
9 | bool rtl88eu_phy_mac_config(struct adapter *adapt); |
10 | bool rtl88eu_phy_rf_config(struct adapter *adapt); | |
11 | bool rtl88eu_phy_bb_config(struct adapter *adapt); | |
ecd1f9b3 | 12 | |
13 | u32 phy_query_bb_reg(struct adapter *adapt, u32 regaddr, u32 bitmask); | |
9c6db651 | 14 | void phy_set_bb_reg(struct adapter *adapt, u32 regaddr, u32 bitmask, u32 data); |
76098bcb | 15 | u32 rtw_hal_read_rfreg(struct adapter *adapt, enum rf_radio_path rf_path, |
41b77d26 | 16 | u32 reg_addr, u32 bit_mask); |
7b98485c | 17 | void phy_set_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path, |
18 | u32 reg_addr, u32 bit_mask, u32 data); | |
01c5f833 | 19 | |
20 | void phy_set_tx_power_level(struct adapter *adapt, u8 channel); | |
5f6a5cdb | 21 | |
053ab2a1 | 22 | void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm, |
23 | u8 type, u8 *dir, u32 *out_write); | |
24 | ||
25 | void rtl88eu_dm_txpower_tracking_callback_thermalmeter(struct adapter *adapt); | |
26 | void rtl88eu_phy_iq_calibrate(struct adapter *adapter, bool recovery); | |
27 | void rtl88eu_phy_lc_calibrate(struct adapter *adapter); |