aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@googlemail.com>2009-12-02 09:25:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 13:37:13 -0500
commit55e1ff924414111a6afbfde00375a1302aef9353 (patch)
treed4ebe0fd9ec942616d5b7201ba20e04514b8af5e
parentd6ede678c138061f5202b519f8f8d6372e2cb5bb (diff)
libertas: move mesh-related definitions into mesh.h
Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/cmd.h12
-rw-r--r--drivers/net/wireless/libertas/mesh.h9
2 files changed, 9 insertions, 12 deletions
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h
index 2862748aef70..cb4138a55fdf 100644
--- a/drivers/net/wireless/libertas/cmd.h
+++ b/drivers/net/wireless/libertas/cmd.h
@@ -110,18 +110,6 @@ int lbs_set_snmp_mib(struct lbs_private *priv, u32 oid, u16 val);
110int lbs_get_snmp_mib(struct lbs_private *priv, u32 oid, u16 *out_val); 110int lbs_get_snmp_mib(struct lbs_private *priv, u32 oid, u16 *out_val);
111 111
112 112
113/* Mesh related */
114
115int lbs_mesh_access(struct lbs_private *priv, uint16_t cmd_action,
116 struct cmd_ds_mesh_access *cmd);
117
118int lbs_mesh_config_send(struct lbs_private *priv,
119 struct cmd_ds_mesh_config *cmd,
120 uint16_t action, uint16_t type);
121
122int lbs_mesh_config(struct lbs_private *priv, uint16_t enable, uint16_t chan);
123
124
125/* Commands only used in wext.c, assoc. and scan.c */ 113/* Commands only used in wext.c, assoc. and scan.c */
126 114
127int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0, 115int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0,
diff --git a/drivers/net/wireless/libertas/mesh.h b/drivers/net/wireless/libertas/mesh.h
index fea9b5d005fc..b642d5d11699 100644
--- a/drivers/net/wireless/libertas/mesh.h
+++ b/drivers/net/wireless/libertas/mesh.h
@@ -46,11 +46,20 @@ void lbs_mesh_set_txpd(struct lbs_private *priv,
46/* Command handling */ 46/* Command handling */
47 47
48struct cmd_ds_command; 48struct cmd_ds_command;
49struct cmd_ds_mesh_access;
50struct cmd_ds_mesh_config;
49 51
50int lbs_cmd_bt_access(struct cmd_ds_command *cmd, 52int lbs_cmd_bt_access(struct cmd_ds_command *cmd,
51 u16 cmd_action, void *pdata_buf); 53 u16 cmd_action, void *pdata_buf);
52int lbs_cmd_fwt_access(struct cmd_ds_command *cmd, 54int lbs_cmd_fwt_access(struct cmd_ds_command *cmd,
53 u16 cmd_action, void *pdata_buf); 55 u16 cmd_action, void *pdata_buf);
56int lbs_mesh_access(struct lbs_private *priv, uint16_t cmd_action,
57 struct cmd_ds_mesh_access *cmd);
58int lbs_mesh_config_send(struct lbs_private *priv,
59 struct cmd_ds_mesh_config *cmd,
60 uint16_t action, uint16_t type);
61int lbs_mesh_config(struct lbs_private *priv, uint16_t enable, uint16_t chan);
62
54 63
55 64
56/* Persistent configuration */ 65/* Persistent configuration */