xref: /openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/phy.h (revision 597473720f4dc69749542bfcfed4a927a43d935e)
1*b44febedSLarry Finger /* SPDX-License-Identifier: GPL-2.0 */
2*b44febedSLarry Finger /* Copyright(c) 2009-2012  Realtek Corporation.*/
3f1d2b4d3SLarry Finger 
4f1d2b4d3SLarry Finger #include "../rtl8192ce/phy.h"
5f1d2b4d3SLarry Finger 
6f1d2b4d3SLarry Finger void rtl92cu_bb_block_on(struct ieee80211_hw *hw);
7f1d2b4d3SLarry Finger bool rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw, u32 rfpath);
8f1d2b4d3SLarry Finger void rtl92c_phy_set_io(struct ieee80211_hw *hw);
9f1d2b4d3SLarry Finger bool _rtl92cu_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
10f1d2b4d3SLarry Finger bool rtl92cu_phy_bb_config(struct ieee80211_hw *hw);
11f1d2b4d3SLarry Finger u32 rtl92cu_phy_query_rf_reg(struct ieee80211_hw *hw,
12f1d2b4d3SLarry Finger 			     enum radio_path rfpath, u32 regaddr, u32 bitmask);
13f1d2b4d3SLarry Finger void rtl92cu_phy_set_rf_reg(struct ieee80211_hw *hw,
14f1d2b4d3SLarry Finger 			    enum radio_path rfpath,
15f1d2b4d3SLarry Finger 			    u32 regaddr, u32 bitmask, u32 data);
16f1d2b4d3SLarry Finger bool rtl92cu_phy_mac_config(struct ieee80211_hw *hw);
17f1d2b4d3SLarry Finger bool _rtl92cu_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw,
18f1d2b4d3SLarry Finger 					      u8 configtype);
19f1d2b4d3SLarry Finger void _rtl92cu_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t);
20f1d2b4d3SLarry Finger bool _rtl92cu_phy_config_bb_with_headerfile(struct ieee80211_hw *hw,
21f1d2b4d3SLarry Finger 					    u8 configtype);
22f1d2b4d3SLarry Finger void rtl92cu_phy_set_bw_mode_callback(struct ieee80211_hw *hw);
23f1d2b4d3SLarry Finger bool rtl92cu_phy_set_rf_power_state(struct ieee80211_hw *hw,
24f1d2b4d3SLarry Finger 				    enum rf_pwrstate rfpwr_state);
25