xref: /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.h (revision 3bdab16c55f57a24245c97d707241dd9b48d1a91)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012  Realtek Corporation.*/
3 
4 #ifndef __RTL92CU_RF_H__
5 #define __RTL92CU_RF_H__
6 
7 #define RF6052_MAX_TX_PWR		0x3F
8 #define RF6052_MAX_PATH			2
9 
10 void rtl92cu_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth);
11 void rtl92c_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
12 				       u8 *ppowerlevel);
13 void rtl92c_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
14 					u8 *ppowerlevel, u8 channel);
15 bool rtl92cu_phy_rf6052_config(struct ieee80211_hw *hw);
16 bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
17 					   enum radio_path rfpath);
18 void rtl92cu_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
19 					u8 *ppowerlevel);
20 void rtl92cu_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
21 					 u8 *ppowerlevel, u8 channel);
22 
23 #endif
24