summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/r8190_rtl8256.h
diff options
context:
space:
mode:
authorJerry Chuang <jerry-chuang@realtek.com>2009-11-03 07:17:11 -0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:22 -0800
commit8fc8598e61f6f384f3eaf1d9b09500c12af47b37 (patch)
tree28045c6c72a4e1046feb96e06114eb69b14dacd6 /drivers/staging/rtl8192u/r8190_rtl8256.h
parent9b8437574759a4ce165ab20c631cd6e14c3148c2 (diff)
downloadop-kernel-dev-8fc8598e61f6f384f3eaf1d9b09500c12af47b37.zip
op-kernel-dev-8fc8598e61f6f384f3eaf1d9b09500c12af47b37.tar.gz
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.h27
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 0000000..5c1f650
--- /dev/null
+++ b/drivers/staging/rtl8192u/r8190_rtl8256.h
@@ -0,0 +1,27 @@
+/*
+ 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>
+
+ This files contains programming code for the rtl8256
+ radio frontend.
+
+ *Many* thanks to Realtek Corp. for their great support!
+
+*/
+
+#ifndef RTL8225H
+#define RTL8225H
+
+#ifdef RTL8190P
+#define RTL819X_TOTAL_RF_PATH 4 //for 90P
+#else
+#define RTL819X_TOTAL_RF_PATH 2 //for 8192U
+#endif
+extern void PHY_SetRF8256Bandwidth(struct net_device* dev , HT_CHANNEL_WIDTH Bandwidth);
+extern void PHY_RF8256_Config(struct net_device* dev);
+extern void phy_RF8256_Config_ParaFile(struct net_device* dev);
+extern void PHY_SetRF8256CCKTxPower(struct net_device* dev, u8 powerlevel);
+extern void PHY_SetRF8256OFDMTxPower(struct net_device* dev, u8 powerlevel);
+
+#endif
OpenPOWER on IntegriCloud