1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 3 4 #ifndef __RTL92CU_SW_H__ 5 #define __RTL92CU_SW_H__ 6 7 #define EFUSE_MAX_SECTION 16 8 9 void rtl92cu_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 10 u8 *powerlevel); 11 void rtl92cu_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 12 u8 *ppowerlevel, u8 channel); 13 bool _rtl92cu_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, 14 u8 configtype); 15 bool _rtl92cu_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, 16 u8 configtype); 17 void _rtl92cu_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t); 18 void rtl92cu_phy_set_rf_reg(struct ieee80211_hw *hw, 19 enum radio_path rfpath, 20 u32 regaddr, u32 bitmask, u32 data); 21 bool rtl92cu_phy_set_rf_power_state(struct ieee80211_hw *hw, 22 enum rf_pwrstate rfpwr_state); 23 u32 rtl92cu_phy_query_rf_reg(struct ieee80211_hw *hw, 24 enum radio_path rfpath, u32 regaddr, u32 bitmask); 25 void rtl92cu_phy_set_bw_mode_callback(struct ieee80211_hw *hw); 26 27 #endif 28