2019-02-14 13:59:13 -06:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
/* Copyright(c) 2009-2012 Realtek Corporation.*/
|
2011-02-19 16:29:02 -06:00
|
|
|
|
2011-02-23 10:24:58 -06:00
|
|
|
#ifndef __RTL92CU_RF_H__
|
|
|
|
|
#define __RTL92CU_RF_H__
|
|
|
|
|
|
|
|
|
|
#define RF6052_MAX_TX_PWR 0x3F
|
|
|
|
|
#define RF6052_MAX_PATH 2
|
|
|
|
|
|
2013-09-23 11:37:59 -07:00
|
|
|
void rtl92cu_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth);
|
|
|
|
|
void rtl92c_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
|
|
|
|
|
u8 *ppowerlevel);
|
|
|
|
|
void rtl92c_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
|
|
|
|
|
u8 *ppowerlevel, u8 channel);
|
2011-02-23 10:24:58 -06:00
|
|
|
bool rtl92cu_phy_rf6052_config(struct ieee80211_hw *hw);
|
|
|
|
|
bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
|
2013-09-23 11:37:59 -07:00
|
|
|
enum radio_path rfpath);
|
2011-04-25 13:23:20 -05:00
|
|
|
void rtl92cu_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
|
|
|
|
|
u8 *ppowerlevel);
|
|
|
|
|
void rtl92cu_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
|
|
|
|
|
u8 *ppowerlevel, u8 channel);
|
2011-02-23 10:24:58 -06:00
|
|
|
|
|
|
|
|
#endif
|