diff options
author | Jerry Chuang <jerry-chuang@realtek.com> | 2009-11-03 04:17:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 15:23:22 -0500 |
commit | 8fc8598e61f6f384f3eaf1d9b09500c12af47b37 (patch) | |
tree | 28045c6c72a4e1046feb96e06114eb69b14dacd6 /drivers/staging/rtl8192u/r8190_rtl8256.h | |
parent | 9b8437574759a4ce165ab20c631cd6e14c3148c2 (diff) |
Staging: Added Realtek rtl8192u driver to staging
Add Realtek linux driver for rtl8192u as provided by Realtek
rtl8192u_linux_2.6.0006.1031.2008.tar.gz, send to me C/C staging ML.
This version won't compile against upstream, doesn't follow
Linux CodingStyle and has their own ieee80211 stack.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192u/r8190_rtl8256.h')
-rw-r--r-- | drivers/staging/rtl8192u/r8190_rtl8256.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.h b/drivers/staging/rtl8192u/r8190_rtl8256.h new file mode 100644 index 00000000000..5c1f650fe82 --- /dev/null +++ b/drivers/staging/rtl8192u/r8190_rtl8256.h | |||
@@ -0,0 +1,27 @@ | |||
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> | ||
5 | |||
6 | This files contains programming code for the rtl8256 | ||
7 | radio frontend. | ||
8 | |||
9 | *Many* thanks to Realtek Corp. for their great support! | ||
10 | |||
11 | */ | ||
12 | |||
13 | #ifndef RTL8225H | ||
14 | #define RTL8225H | ||
15 | |||
16 | #ifdef RTL8190P | ||
17 | #define RTL819X_TOTAL_RF_PATH 4 //for 90P | ||
18 | #else | ||
19 | #define RTL819X_TOTAL_RF_PATH 2 //for 8192U | ||
20 | #endif | ||
21 | extern void PHY_SetRF8256Bandwidth(struct net_device* dev , HT_CHANNEL_WIDTH Bandwidth); | ||
22 | extern void PHY_RF8256_Config(struct net_device* dev); | ||
23 | extern void 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 | |||
27 | #endif | ||