aboutsummaryrefslogtreecommitdiffstats
path: root/package/libertas/src/join.h
diff options
context:
space:
mode:
authorJens Muecke <jens@nons.de>2007-12-15 19:59:21 +0000
committerJens Muecke <jens@nons.de>2007-12-15 19:59:21 +0000
commitddf298aabb6344348b859f9579eb29716120f67d (patch)
treea49d4db44f0bf8b2497d1450ef5507605fde6c7a /package/libertas/src/join.h
parentaa37df73a4e804b46948571727076d58efba9ce8 (diff)
downloadupstream-ddf298aabb6344348b859f9579eb29716120f67d.tar.gz
upstream-ddf298aabb6344348b859f9579eb29716120f67d.tar.bz2
upstream-ddf298aabb6344348b859f9579eb29716120f67d.zip
* adding network config for olpc
* adding libertas * config issue * quiet mode for bootloader git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9768 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libertas/src/join.h')
-rw-r--r--package/libertas/src/join.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/package/libertas/src/join.h b/package/libertas/src/join.h
new file mode 100644
index 0000000000..c617d071f7
--- /dev/null
+++ b/package/libertas/src/join.h
@@ -0,0 +1,53 @@
+/**
+ * Interface for the wlan infrastructure and adhoc join routines
+ *
+ * Driver interface functions and type declarations for the join module
+ * implemented in join.c. Process all start/join requests for
+ * both adhoc and infrastructure networks
+ */
+#ifndef _LBS_JOIN_H
+#define _LBS_JOIN_H
+
+#include "defs.h"
+#include "dev.h"
+
+struct cmd_ds_command;
+int lbs_cmd_80211_authenticate(struct lbs_private *priv,
+ struct cmd_ds_command *cmd,
+ void *pdata_buf);
+int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
+ struct cmd_ds_command *cmd,
+ void *pdata_buf);
+int lbs_cmd_80211_ad_hoc_stop(struct lbs_private *priv,
+ struct cmd_ds_command *cmd);
+int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
+ struct cmd_ds_command *cmd,
+ void *pdata_buf);
+int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
+ struct cmd_ds_command *cmd);
+int lbs_cmd_80211_associate(struct lbs_private *priv,
+ struct cmd_ds_command *cmd,
+ void *pdata_buf);
+
+int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
+ struct cmd_ds_command *resp);
+int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv,
+ struct cmd_ds_command *resp);
+int lbs_ret_80211_disassociate(struct lbs_private *priv,
+ struct cmd_ds_command *resp);
+int lbs_ret_80211_associate(struct lbs_private *priv,
+ struct cmd_ds_command *resp);
+
+int lbs_start_adhoc_network(struct lbs_private *priv,
+ struct assoc_request * assoc_req);
+int lbs_join_adhoc_network(struct lbs_private *priv,
+ struct assoc_request * assoc_req);
+int lbs_stop_adhoc_network(struct lbs_private *priv);
+
+int lbs_send_deauthentication(struct lbs_private *priv);
+
+int lbs_associate(struct lbs_private *priv, struct assoc_request *assoc_req);
+
+void lbs_unset_basic_rate_flags(u8 *rates, size_t len);
+
+#endif