/****************************************************************************** * * Copyright(c) 2007 - 2020 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * The full GNU General Public License is included in this distribution in the * file called LICENSE. * * Contact Information: * wlanfae * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, * Hsinchu 300, Taiwan. * * Larry Finger * *****************************************************************************/ #ifndef __HALRF_8852B_API_H__ #define __HALRF_8852B_API_H__ #ifdef RF_8852B_SUPPORT u8 halrf_get_thermal_8852b(struct rf_info *rf, enum rf_path rf_path); u32 halrf_mac_get_pwr_reg_8852b(struct rf_info *rf, enum phl_phy_idx phy, u32 addr, u32 mask); u32 halrf_mac_set_pwr_reg_8852b(struct rf_info *rf, enum phl_phy_idx phy, u32 addr, u32 mask, u32 val); bool halrf_wl_tx_power_control_8852b(struct rf_info *rf, u32 tx_power_val); s8 halrf_get_ther_protected_threshold_8852b(struct rf_info *rf); s8 halrf_xtal_tracking_offset_8852b(struct rf_info *rf, enum phl_phy_idx phy); #endif #endif /* __INC_PHYDM_API_H_8852B__ */