2007-02-10 09:25:27 -05:00
|
|
|
/**
|
|
|
|
* Interface for the wlan infrastructure and adhoc join routines
|
|
|
|
*
|
|
|
|
* Driver interface functions and type declarations for the join module
|
2007-11-15 18:05:47 -05:00
|
|
|
* implemented in join.c. Process all start/join requests for
|
2007-02-10 09:25:27 -05:00
|
|
|
* both adhoc and infrastructure networks
|
|
|
|
*/
|
2007-11-15 18:05:47 -05:00
|
|
|
#ifndef _LBS_JOIN_H
|
|
|
|
#define _LBS_JOIN_H
|
2007-02-10 09:25:27 -05:00
|
|
|
|
|
|
|
#include "defs.h"
|
2007-05-25 17:09:41 -04:00
|
|
|
#include "dev.h"
|
2007-02-10 09:25:27 -05:00
|
|
|
|
|
|
|
struct cmd_ds_command;
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_cmd_80211_authenticate(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *cmd,
|
|
|
|
void *pdata_buf);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *cmd,
|
|
|
|
void *pdata_buf);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_cmd_80211_ad_hoc_stop(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *cmd);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *cmd,
|
2007-05-25 17:09:41 -04:00
|
|
|
void *pdata_buf);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *cmd);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_cmd_80211_associate(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *cmd,
|
|
|
|
void *pdata_buf);
|
|
|
|
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *resp);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *resp);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_ret_80211_disassociate(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *resp);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_ret_80211_associate(struct lbs_private *priv,
|
2007-02-10 09:25:27 -05:00
|
|
|
struct cmd_ds_command *resp);
|
|
|
|
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_start_adhoc_network(struct lbs_private *priv,
|
2007-05-25 17:09:41 -04:00
|
|
|
struct assoc_request * assoc_req);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_join_adhoc_network(struct lbs_private *priv,
|
2007-05-25 17:09:41 -04:00
|
|
|
struct assoc_request * assoc_req);
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_stop_adhoc_network(struct lbs_private *priv);
|
2007-02-10 09:25:27 -05:00
|
|
|
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_send_deauthentication(struct lbs_private *priv);
|
2007-02-10 09:25:27 -05:00
|
|
|
|
2007-11-23 09:43:44 -05:00
|
|
|
int lbs_associate(struct lbs_private *priv, struct assoc_request *assoc_req);
|
2007-02-10 09:25:27 -05:00
|
|
|
|
|
|
|
#endif
|