2007-02-10 15:25:27 +01:00
|
|
|
/**
|
|
|
|
* Interface for the wlan infrastructure and adhoc join routines
|
|
|
|
*
|
|
|
|
* Driver interface functions and type declarations for the join module
|
|
|
|
* implemented in wlan_join.c. Process all start/join requests for
|
|
|
|
* both adhoc and infrastructure networks
|
|
|
|
*/
|
|
|
|
#ifndef _WLAN_JOIN_H
|
|
|
|
#define _WLAN_JOIN_H
|
|
|
|
|
|
|
|
#include "defs.h"
|
2007-05-25 23:09:41 +02:00
|
|
|
#include "dev.h"
|
2007-02-10 15:25:27 +01:00
|
|
|
|
|
|
|
struct cmd_ds_command;
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_cmd_80211_authenticate(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *cmd,
|
|
|
|
void *pdata_buf);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_cmd_80211_ad_hoc_join(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *cmd,
|
|
|
|
void *pdata_buf);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_cmd_80211_ad_hoc_stop(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *cmd);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *cmd,
|
2007-05-25 23:09:41 +02:00
|
|
|
void *pdata_buf);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_cmd_80211_deauthenticate(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *cmd);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_cmd_80211_associate(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *cmd,
|
|
|
|
void *pdata_buf);
|
|
|
|
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_ret_80211_ad_hoc_start(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *resp);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_ret_80211_ad_hoc_stop(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *resp);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_ret_80211_disassociate(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *resp);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_ret_80211_associate(wlan_private * priv,
|
2007-02-10 15:25:27 +01:00
|
|
|
struct cmd_ds_command *resp);
|
|
|
|
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_start_adhoc_network(wlan_private * priv,
|
2007-05-25 23:09:41 +02:00
|
|
|
struct assoc_request * assoc_req);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_join_adhoc_network(wlan_private * priv,
|
2007-05-25 23:09:41 +02:00
|
|
|
struct assoc_request * assoc_req);
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_stop_adhoc_network(wlan_private * priv);
|
2007-02-10 15:25:27 +01:00
|
|
|
|
2007-08-02 17:49:06 +02:00
|
|
|
int libertas_send_deauthentication(wlan_private * priv);
|
2007-02-10 15:25:27 +01:00
|
|
|
|
2007-05-25 23:09:41 +02:00
|
|
|
int wlan_associate(wlan_private * priv, struct assoc_request * assoc_req);
|
2007-02-10 15:25:27 +01:00
|
|
|
|
2007-08-02 17:40:45 +02:00
|
|
|
void libertas_unset_basic_rate_flags(u8 * rates, size_t len);
|
|
|
|
|
2007-02-10 15:25:27 +01:00
|
|
|
#endif
|