summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.h
blob: a5959a228a353a4ac3e71697c64c14f8aa27d89a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 2009-2012  Realtek Corporation.*/

#ifndef __INC_RTL92S_RF_H
#define __INC_RTL92S_RF_H

#define	RF6052_MAX_TX_PWR	0x3F

void rtl92s_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
				     u8 bandwidth);
bool rtl92s_phy_rf6052_config(struct ieee80211_hw *hw) ;
void rtl92s_phy_rf6052_set_ccktxpower(struct ieee80211_hw *hw,
				      u8 powerlevel);
void rtl92s_phy_rf6052_set_ofdmtxpower(struct ieee80211_hw *hw,
				       u8 *p_pwrlevel, u8 chnl);

#endif