iwlwifi/Kconfg: make IWLWIFI_LEDS invisible
[safe/jmp/linux-2.6] / drivers / net / wireless / libertas / join.h
1 /**
2   * Interface for the wlan infrastructure and adhoc join routines
3   *
4   * Driver interface functions and type declarations for the join module
5   *   implemented in join.c.  Process all start/join requests for
6   *   both adhoc and infrastructure networks
7   */
8 #ifndef _LBS_JOIN_H
9 #define _LBS_JOIN_H
10
11 #include "defs.h"
12 #include "dev.h"
13
14 struct cmd_ds_command;
15 int lbs_cmd_80211_authenticate(struct lbs_private *priv,
16                                         struct cmd_ds_command *cmd,
17                                         void *pdata_buf);
18 int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
19                                        struct cmd_ds_command *cmd,
20                                        void *pdata_buf);
21 int lbs_cmd_80211_ad_hoc_stop(struct cmd_ds_command *cmd);
22 int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
23                                         struct cmd_ds_command *cmd,
24                                         void *pdata_buf);
25 int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
26                                           struct cmd_ds_command *cmd);
27 int lbs_cmd_80211_associate(struct lbs_private *priv,
28                                      struct cmd_ds_command *cmd,
29                                      void *pdata_buf);
30
31 int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
32                                         struct cmd_ds_command *resp);
33 int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv);
34 int lbs_ret_80211_disassociate(struct lbs_private *priv);
35 int lbs_ret_80211_associate(struct lbs_private *priv,
36                                      struct cmd_ds_command *resp);
37
38 int lbs_start_adhoc_network(struct lbs_private *priv,
39                              struct assoc_request * assoc_req);
40 int lbs_join_adhoc_network(struct lbs_private *priv,
41                                 struct assoc_request * assoc_req);
42 int lbs_stop_adhoc_network(struct lbs_private *priv);
43
44 int lbs_send_deauthentication(struct lbs_private *priv);
45
46 int lbs_associate(struct lbs_private *priv, struct assoc_request *assoc_req);
47
48 #endif