1f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li/******************************************************************************
2f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
36a57b08e222f4e054a7e7160ef7426c5614c0cc0Larry Finger * Copyright(c) 2009-2012  Realtek Corporation.
4f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
5f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * This program is free software; you can redistribute it and/or modify it
6f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * under the terms of version 2 of the GNU General Public License as
7f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * published by the Free Software Foundation.
8f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
9f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * This program is distributed in the hope that it will be useful, but WITHOUT
10f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * more details.
13f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
14f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * You should have received a copy of the GNU General Public License along with
15f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * this program; if not, write to the Free Software Foundation, Inc.,
16f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
18f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * The full GNU General Public License is included in this distribution in the
19f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * file called LICENSE.
20f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
21f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * Contact Information:
22f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * wlanfae <wlanfae@realtek.com>
23f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
24f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * Hsinchu 300, Taiwan.
25f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
26f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li * Larry Finger <Larry.Finger@lwfinger.net>
27f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *
28f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li *****************************************************************************/
29f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li
30f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li#ifndef __RTL92D_RF_H__
31f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li#define __RTL92D_RF_H__
32f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li
33f219eff1e51aa598107c9deda0fa0f061371ededChaoming Liextern void rtl92d_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
34f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li					    u8 bandwidth);
35f219eff1e51aa598107c9deda0fa0f061371ededChaoming Liextern void rtl92d_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
36f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li					      u8 *ppowerlevel);
37f219eff1e51aa598107c9deda0fa0f061371ededChaoming Liextern void rtl92d_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
38f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li					       u8 *ppowerlevel, u8 channel);
39f219eff1e51aa598107c9deda0fa0f061371ededChaoming Liextern bool rtl92d_phy_rf6052_config(struct ieee80211_hw *hw);
40f219eff1e51aa598107c9deda0fa0f061371ededChaoming Liextern bool rtl92d_phy_enable_anotherphy(struct ieee80211_hw *hw, bool bmac0);
41f219eff1e51aa598107c9deda0fa0f061371ededChaoming Liextern void rtl92d_phy_powerdown_anotherphy(struct ieee80211_hw *hw,
42f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li					    bool bmac0);
43f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li
44f219eff1e51aa598107c9deda0fa0f061371ededChaoming Li#endif
45