aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/r8190_rtl8256.h
blob: 58f92903fca4575f22267aff826942699f115d1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* r8190_rtl8256.h - rtl8256 radio frontend
 *
 * This is part of the rtl8180-sa2400 driver
 * released under the GPL (See file COPYING for details).
 * Copyright (c) 2005 Andrea Merello <andreamrl@tiscali.it>
 *
 * Many thanks to Realtek Corp. for their great support!
 */

#ifndef RTL8225_H
#define RTL8225_H

#define RTL819X_TOTAL_RF_PATH 2 /* for 8192E */

void PHY_SetRF8256Bandwidth(struct r8192_priv *priv,
				   HT_CHANNEL_WIDTH Bandwidth);

RT_STATUS PHY_RF8256_Config(struct r8192_priv *priv);

RT_STATUS phy_RF8256_Config_ParaFile(struct r8192_priv *priv);

void PHY_SetRF8256CCKTxPower(struct r8192_priv *priv, u8 powerlevel);
void PHY_SetRF8256OFDMTxPower(struct r8192_priv *priv, u8 powerlevel);

bool MgntActSet_RF_State(struct r8192_priv *priv,
			 RT_RF_POWER_STATE StateToSet,
			 RT_RF_CHANGE_SOURCE ChangeSource);

#endif /* RTL8225_H */