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
14 struct cmd_ds_command;
15 extern int libertas_cmd_80211_authenticate(wlan_private * priv,
16 struct cmd_ds_command *cmd,
18 extern int libertas_cmd_80211_ad_hoc_join(wlan_private * priv,
19 struct cmd_ds_command *cmd,
21 extern int libertas_cmd_80211_ad_hoc_stop(wlan_private * priv,
22 struct cmd_ds_command *cmd);
23 extern int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
24 struct cmd_ds_command *cmd,
26 extern int libertas_cmd_80211_deauthenticate(wlan_private * priv,
27 struct cmd_ds_command *cmd);
28 extern int libertas_cmd_80211_associate(wlan_private * priv,
29 struct cmd_ds_command *cmd,
32 extern int libertas_ret_80211_ad_hoc_start(wlan_private * priv,
33 struct cmd_ds_command *resp);
34 extern int libertas_ret_80211_ad_hoc_stop(wlan_private * priv,
35 struct cmd_ds_command *resp);
36 extern int libertas_ret_80211_disassociate(wlan_private * priv,
37 struct cmd_ds_command *resp);
38 extern int libertas_ret_80211_associate(wlan_private * priv,
39 struct cmd_ds_command *resp);
41 extern int libertas_reassociation_thread(void *data);
43 extern int libertas_start_adhoc_network(wlan_private * priv,
44 struct assoc_request * assoc_req);
45 extern int libertas_join_adhoc_network(wlan_private * priv,
46 struct assoc_request * assoc_req);
47 extern int libertas_stop_adhoc_network(wlan_private * priv);
49 extern int libertas_send_deauthentication(wlan_private * priv);
50 extern int libertas_send_deauth(wlan_private * priv);
52 extern int libertas_do_adhocstop_ioctl(wlan_private * priv);
54 int wlan_associate(wlan_private * priv, struct assoc_request * assoc_req);