xref: /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.h (revision f1d2b4d338bf090296f67830025228872fd52513)
1*f1d2b4d3SLarry Finger /******************************************************************************
2*f1d2b4d3SLarry Finger  *
3*f1d2b4d3SLarry Finger  * Copyright(c) 2009-2013  Realtek Corporation.
4*f1d2b4d3SLarry Finger  *
5*f1d2b4d3SLarry Finger  * This program is free software; you can redistribute it and/or modify it
6*f1d2b4d3SLarry Finger  * under the terms of version 2 of the GNU General Public License as
7*f1d2b4d3SLarry Finger  * published by the Free Software Foundation.
8*f1d2b4d3SLarry Finger  *
9*f1d2b4d3SLarry Finger  * This program is distributed in the hope that it will be useful, but WITHOUT
10*f1d2b4d3SLarry Finger  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11*f1d2b4d3SLarry Finger  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12*f1d2b4d3SLarry Finger  * more details.
13*f1d2b4d3SLarry Finger  *
14*f1d2b4d3SLarry Finger  * The full GNU General Public License is included in this distribution in the
15*f1d2b4d3SLarry Finger  * file called LICENSE.
16*f1d2b4d3SLarry Finger  *
17*f1d2b4d3SLarry Finger  * Contact Information:
18*f1d2b4d3SLarry Finger  * wlanfae <wlanfae@realtek.com>
19*f1d2b4d3SLarry Finger  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20*f1d2b4d3SLarry Finger  * Hsinchu 300, Taiwan.
21*f1d2b4d3SLarry Finger  *
22*f1d2b4d3SLarry Finger  * Larry Finger <Larry.Finger@lwfinger.net>
23*f1d2b4d3SLarry Finger  *
24*f1d2b4d3SLarry Finger  *****************************************************************************/
25*f1d2b4d3SLarry Finger 
26*f1d2b4d3SLarry Finger #ifndef __RTL92C_RF_H__
27*f1d2b4d3SLarry Finger #define __RTL92C_RF_H__
28*f1d2b4d3SLarry Finger 
29*f1d2b4d3SLarry Finger #define RF6052_MAX_TX_PWR		0x3F
30*f1d2b4d3SLarry Finger 
31*f1d2b4d3SLarry Finger void rtl88e_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
32*f1d2b4d3SLarry Finger 				     u8 bandwidth);
33*f1d2b4d3SLarry Finger void rtl88e_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
34*f1d2b4d3SLarry Finger 				       u8 *ppowerlevel);
35*f1d2b4d3SLarry Finger void rtl88e_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
36*f1d2b4d3SLarry Finger 					u8 *ppowerlevel_ofdm,
37*f1d2b4d3SLarry Finger 					u8 *ppowerlevel_bw20,
38*f1d2b4d3SLarry Finger 					u8 *ppowerlevel_bw40,
39*f1d2b4d3SLarry Finger 					u8 channel);
40*f1d2b4d3SLarry Finger bool rtl88e_phy_rf6052_config(struct ieee80211_hw *hw);
41*f1d2b4d3SLarry Finger 
42*f1d2b4d3SLarry Finger #endif
43