aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond/mto.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-01-07 17:33:45 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:15 -0700
commit64328c8711d72794446bbafe23890468786424cc (patch)
treecf7d46aea0779f52ce1a7befcd95a36251fc5fd0 /drivers/staging/winbond/mto.h
parentStaging: w35und: remove crazy commented out includes (diff)
downloadlinux-dev-64328c8711d72794446bbafe23890468786424cc.tar.xz
linux-dev-64328c8711d72794446bbafe23890468786424cc.zip
Staging: w35und: unify mto.h and mto_f.h header files
No need to keep function definitions separate from the rest so unify mto.h and mto_f.h header files. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/mto.h')
-rw-r--r--drivers/staging/winbond/mto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/winbond/mto.h b/drivers/staging/winbond/mto.h
index 0d3775eb2573..925c9874381b 100644
--- a/drivers/staging/winbond/mto.h
+++ b/drivers/staging/winbond/mto.h
@@ -13,6 +13,8 @@
#include <linux/types.h>
+struct wbsoft_priv;
+
#define MTO_DEFAULT_TH_CNT 5
#define MTO_DEFAULT_TH_SQ3 112 //OLD IS 13 reference JohnXu
#define MTO_DEFAULT_TH_IDLE_SLOT 15
@@ -259,6 +261,13 @@ typedef struct _STATISTICS_INFO {
s32 Antenna;
} STATISTICS_INFO, *PSTATISTICS_INFO;
+extern void MTO_Init(struct wbsoft_priv *);
+extern void MTO_PeriodicTimerExpired(struct wbsoft_priv *);
+extern void MTO_SetDTORateRange(struct wbsoft_priv *, u8 *, u8);
+extern u8 MTO_GetTxRate(MTO_FUNC_INPUT, u32 fpdu_len);
+extern u8 MTO_GetTxFallbackRate(MTO_FUNC_INPUT);
+extern void MTO_SetTxCount(MTO_FUNC_INPUT, u8 t0, u8 index);
+
#endif //__MTO_H__