xref: /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2010  Realtek Corporation.*/
3 
4 #ifndef __RTL8821AE_RF_H__
5 #define __RTL8821AE_RF_H__
6 
7 #define RF6052_MAX_TX_PWR		0x3F
8 
9 void rtl8821ae_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
10 					u8 bandwidth);
11 void rtl8821ae_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
12 					  u8 *ppowerlevel);
13 void rtl8821ae_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
14 					   u8 *ppowerlevel_ofdm,
15 					   u8 *ppowerlevel_bw20,
16 					   u8 *ppowerlevel_bw40,
17 					   u8 channel);
18 bool rtl8821ae_phy_rf6052_config(struct ieee80211_hw *hw);
19 
20 #endif
21