mm-only debug patch...
[mmotm.git] / drivers / staging / rtl8192e / r8190_rtl8256.h
blob7d9095a70aec0140ab21524b88066162388e217f
1 /*
2 This is part of the rtl8180-sa2400 driver
3 released under the GPL (See file COPYING for details).
4 Copyright (c) 2005 Andrea Merello <andreamrl@tiscali.it>
6 This files contains programming code for the rtl8256
7 radio frontend.
9 *Many* thanks to Realtek Corp. for their great support!
13 #ifndef RTL8225H
14 #define RTL8225H
16 #ifdef RTL8190P
17 #define RTL819X_TOTAL_RF_PATH 4
18 #else
19 #define RTL819X_TOTAL_RF_PATH 2 //for 8192E
20 #endif
21 extern void PHY_SetRF8256Bandwidth(struct net_device* dev , HT_CHANNEL_WIDTH Bandwidth);
22 extern RT_STATUS PHY_RF8256_Config(struct net_device* dev);
23 extern RT_STATUS phy_RF8256_Config_ParaFile(struct net_device* dev);
24 extern void PHY_SetRF8256CCKTxPower(struct net_device* dev, u8 powerlevel);
25 extern void PHY_SetRF8256OFDMTxPower(struct net_device* dev, u8 powerlevel);
26 extern bool MgntActSet_RF_State(struct net_device* dev, RT_RF_POWER_STATE StateToSet, RT_RF_CHANGE_SOURCE ChangeSource);
28 #endif