diff options
Diffstat (limited to 'drivers/net/wireless/libertas/join.h')
-rw-r--r-- | drivers/net/wireless/libertas/join.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/drivers/net/wireless/libertas/join.h b/drivers/net/wireless/libertas/join.h index 8ea5ae30f4ab..894a072b9f8d 100644 --- a/drivers/net/wireless/libertas/join.h +++ b/drivers/net/wireless/libertas/join.h | |||
@@ -12,44 +12,39 @@ | |||
12 | #include "dev.h" | 12 | #include "dev.h" |
13 | 13 | ||
14 | struct cmd_ds_command; | 14 | struct cmd_ds_command; |
15 | extern int libertas_cmd_80211_authenticate(wlan_private * priv, | 15 | int libertas_cmd_80211_authenticate(wlan_private * priv, |
16 | struct cmd_ds_command *cmd, | 16 | struct cmd_ds_command *cmd, |
17 | void *pdata_buf); | 17 | void *pdata_buf); |
18 | extern int libertas_cmd_80211_ad_hoc_join(wlan_private * priv, | 18 | int libertas_cmd_80211_ad_hoc_join(wlan_private * priv, |
19 | struct cmd_ds_command *cmd, | 19 | struct cmd_ds_command *cmd, |
20 | void *pdata_buf); | 20 | void *pdata_buf); |
21 | extern int libertas_cmd_80211_ad_hoc_stop(wlan_private * priv, | 21 | int libertas_cmd_80211_ad_hoc_stop(wlan_private * priv, |
22 | struct cmd_ds_command *cmd); | 22 | struct cmd_ds_command *cmd); |
23 | extern int libertas_cmd_80211_ad_hoc_start(wlan_private * priv, | 23 | int libertas_cmd_80211_ad_hoc_start(wlan_private * priv, |
24 | struct cmd_ds_command *cmd, | 24 | struct cmd_ds_command *cmd, |
25 | void *pdata_buf); | 25 | void *pdata_buf); |
26 | extern int libertas_cmd_80211_deauthenticate(wlan_private * priv, | 26 | int libertas_cmd_80211_deauthenticate(wlan_private * priv, |
27 | struct cmd_ds_command *cmd); | 27 | struct cmd_ds_command *cmd); |
28 | extern int libertas_cmd_80211_associate(wlan_private * priv, | 28 | int libertas_cmd_80211_associate(wlan_private * priv, |
29 | struct cmd_ds_command *cmd, | 29 | struct cmd_ds_command *cmd, |
30 | void *pdata_buf); | 30 | void *pdata_buf); |
31 | 31 | ||
32 | extern int libertas_ret_80211_ad_hoc_start(wlan_private * priv, | 32 | int libertas_ret_80211_ad_hoc_start(wlan_private * priv, |
33 | struct cmd_ds_command *resp); | 33 | struct cmd_ds_command *resp); |
34 | extern int libertas_ret_80211_ad_hoc_stop(wlan_private * priv, | 34 | int libertas_ret_80211_ad_hoc_stop(wlan_private * priv, |
35 | struct cmd_ds_command *resp); | 35 | struct cmd_ds_command *resp); |
36 | extern int libertas_ret_80211_disassociate(wlan_private * priv, | 36 | int libertas_ret_80211_disassociate(wlan_private * priv, |
37 | struct cmd_ds_command *resp); | 37 | struct cmd_ds_command *resp); |
38 | extern int libertas_ret_80211_associate(wlan_private * priv, | 38 | int libertas_ret_80211_associate(wlan_private * priv, |
39 | struct cmd_ds_command *resp); | 39 | struct cmd_ds_command *resp); |
40 | 40 | ||
41 | extern int libertas_reassociation_thread(void *data); | 41 | int libertas_start_adhoc_network(wlan_private * priv, |
42 | |||
43 | extern int libertas_start_adhoc_network(wlan_private * priv, | ||
44 | struct assoc_request * assoc_req); | 42 | struct assoc_request * assoc_req); |
45 | extern int libertas_join_adhoc_network(wlan_private * priv, | 43 | int libertas_join_adhoc_network(wlan_private * priv, |
46 | struct assoc_request * assoc_req); | 44 | struct assoc_request * assoc_req); |
47 | extern int libertas_stop_adhoc_network(wlan_private * priv); | 45 | int libertas_stop_adhoc_network(wlan_private * priv); |
48 | |||
49 | extern int libertas_send_deauthentication(wlan_private * priv); | ||
50 | extern int libertas_send_deauth(wlan_private * priv); | ||
51 | 46 | ||
52 | extern int libertas_do_adhocstop_ioctl(wlan_private * priv); | 47 | int libertas_send_deauthentication(wlan_private * priv); |
53 | 48 | ||
54 | int wlan_associate(wlan_private * priv, struct assoc_request * assoc_req); | 49 | int wlan_associate(wlan_private * priv, struct assoc_request * assoc_req); |
55 | 50 | ||