Merge branch 'for-next' of git://git.o-hand.com/linux-mfd
[sfrench/cifs-2.6.git] / drivers / staging / rtl8187se / r8180_dm.h
1 #ifndef R8180_DM_H
2 #define R8180_DM_H
3
4 #include "r8180.h"
5 //#include "r8180_hw.h"
6 //#include "r8180_93cx6.h"
7 void SwAntennaDiversityRxOk8185(struct net_device *dev, u8 SignalStrength);
8 bool SetAntenna8185(struct net_device *dev,     u8 u1bAntennaIndex);
9 bool SwitchAntenna(     struct net_device *dev);
10 void SwAntennaDiversity(struct net_device *dev  );
11 void SwAntennaDiversityTimerCallback(struct net_device *dev);
12 bool CheckDig(struct net_device *dev);
13 bool CheckHighPower(struct net_device *dev);
14 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
15 void rtl8180_hw_dig_wq (struct work_struct *work);
16 #else
17 void rtl8180_hw_dig_wq(struct net_device *dev);
18 #endif
19 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
20 void rtl8180_tx_pw_wq (struct work_struct *work);
21 #else
22 void rtl8180_tx_pw_wq(struct net_device *dev);
23 #endif
24 #if LINUX_VERSION_CODE >=KERNEL_VERSION(2,6,20)
25 void rtl8180_rate_adapter(struct work_struct * work);
26
27 #else
28 void rtl8180_rate_adapter(struct net_device *dev);
29
30 #endif
31 void TxPwrTracking87SE(struct net_device *dev);
32 bool CheckTxPwrTracking(struct net_device *dev);
33 #if LINUX_VERSION_CODE >=KERNEL_VERSION(2,6,20)
34 void rtl8180_rate_adapter(struct work_struct * work);
35 #else
36 void rtl8180_rate_adapter(struct net_device *dev);
37 #endif
38 void timer_rate_adaptive(unsigned long data);
39
40
41 #endif