aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/mesh.h
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2009-11-25 07:09:32 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-28 15:04:56 -0500
commit5e8e8b5759566b76bdf36046ae015796676a423c (patch)
treed42ac73de9f2a5c8abcef37355f579676722388c /drivers/net/wireless/libertas/mesh.h
parent76bae570899be34317510d8006d490572152bdfb (diff)
libertas: introduce mesh.h
Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/mesh.h')
-rw-r--r--drivers/net/wireless/libertas/mesh.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/mesh.h b/drivers/net/wireless/libertas/mesh.h
new file mode 100644
index 000000000000..3708b6b386cb
--- /dev/null
+++ b/drivers/net/wireless/libertas/mesh.h
@@ -0,0 +1,32 @@
1/**
2 * Contains all definitions needed for the Libertas' MESH implementation.
3 */
4#ifndef _LBS_MESH_H_
5#define _LBS_MESH_H_
6
7
8#include <net/iw_handler.h>
9
10
11/* Mesh statistics */
12struct lbs_mesh_stats {
13 u32 fwd_bcast_cnt; /* Fwd: Broadcast counter */
14 u32 fwd_unicast_cnt; /* Fwd: Unicast counter */
15 u32 fwd_drop_ttl; /* Fwd: TTL zero */
16 u32 fwd_drop_rbt; /* Fwd: Recently Broadcasted */
17 u32 fwd_drop_noroute; /* Fwd: No route to Destination */
18 u32 fwd_drop_nobuf; /* Fwd: Run out of internal buffers */
19 u32 drop_blind; /* Rx: Dropped by blinding table */
20 u32 tx_failed_cnt; /* Tx: Failed transmissions */
21};
22
23
24struct net_device;
25
26void lbs_persist_config_init(struct net_device *net);
27void lbs_persist_config_remove(struct net_device *net);
28
29extern struct iw_handler_def mesh_handler_def;
30
31
32#endif