Pull bugzilla-9429 into release branch
[pv_ops_mirror.git] / drivers / net / wireless / libertas / join.h
blob894a072b9f8d4e6ab8164a422deec0aa68e462df
1 /**
2 * Interface for the wlan infrastructure and adhoc join routines
4 * Driver interface functions and type declarations for the join module
5 * implemented in wlan_join.c. Process all start/join requests for
6 * both adhoc and infrastructure networks
7 */
8 #ifndef _WLAN_JOIN_H
9 #define _WLAN_JOIN_H
11 #include "defs.h"
12 #include "dev.h"
14 struct cmd_ds_command;
15 int libertas_cmd_80211_authenticate(wlan_private * priv,
16 struct cmd_ds_command *cmd,
17 void *pdata_buf);
18 int libertas_cmd_80211_ad_hoc_join(wlan_private * priv,
19 struct cmd_ds_command *cmd,
20 void *pdata_buf);
21 int libertas_cmd_80211_ad_hoc_stop(wlan_private * priv,
22 struct cmd_ds_command *cmd);
23 int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
24 struct cmd_ds_command *cmd,
25 void *pdata_buf);
26 int libertas_cmd_80211_deauthenticate(wlan_private * priv,
27 struct cmd_ds_command *cmd);
28 int libertas_cmd_80211_associate(wlan_private * priv,
29 struct cmd_ds_command *cmd,
30 void *pdata_buf);
32 int libertas_ret_80211_ad_hoc_start(wlan_private * priv,
33 struct cmd_ds_command *resp);
34 int libertas_ret_80211_ad_hoc_stop(wlan_private * priv,
35 struct cmd_ds_command *resp);
36 int libertas_ret_80211_disassociate(wlan_private * priv,
37 struct cmd_ds_command *resp);
38 int libertas_ret_80211_associate(wlan_private * priv,
39 struct cmd_ds_command *resp);
41 int libertas_start_adhoc_network(wlan_private * priv,
42 struct assoc_request * assoc_req);
43 int libertas_join_adhoc_network(wlan_private * priv,
44 struct assoc_request * assoc_req);
45 int libertas_stop_adhoc_network(wlan_private * priv);
47 int libertas_send_deauthentication(wlan_private * priv);
49 int wlan_associate(wlan_private * priv, struct assoc_request * assoc_req);
51 void libertas_unset_basic_rate_flags(u8 * rates, size_t len);
53 #endif