update libertas driver
[openwrt/staging/florian.git] / package / libertas / src / assoc.h
1 /* Copyright (C) 2006, Red Hat, Inc. */
2
3 #ifndef _LBS_ASSOC_H_
4 #define _LBS_ASSOC_H_
5
6 #include "dev.h"
7
8 void lbs_association_worker(struct work_struct *work);
9 struct assoc_request *lbs_get_association_request(struct lbs_private *priv);
10
11 struct cmd_ds_command;
12 int lbs_cmd_80211_authenticate(struct lbs_private *priv,
13 struct cmd_ds_command *cmd,
14 void *pdata_buf);
15 int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
16 struct cmd_ds_command *cmd,
17 void *pdata_buf);
18 int lbs_cmd_80211_ad_hoc_stop(struct cmd_ds_command *cmd);
19 int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
20 struct cmd_ds_command *cmd,
21 void *pdata_buf);
22 int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
23 struct cmd_ds_command *cmd);
24 int lbs_cmd_80211_associate(struct lbs_private *priv,
25 struct cmd_ds_command *cmd,
26 void *pdata_buf);
27
28 int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
29 struct cmd_ds_command *resp);
30 int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv);
31 int lbs_ret_80211_disassociate(struct lbs_private *priv);
32 int lbs_ret_80211_associate(struct lbs_private *priv,
33 struct cmd_ds_command *resp);
34
35 int lbs_stop_adhoc_network(struct lbs_private *priv);
36
37 int lbs_send_deauthentication(struct lbs_private *priv);
38
39 #endif /* _LBS_ASSOC_H */