blob: bfc3a10a2f392d1ce9630da0a91a0ea2b499f987 [file] [log] [blame]
Marcelo Tosatti876c9d32007-02-10 12:25:27 -02001/**
2 * Interface for the wlan infrastructure and adhoc join routines
3 *
4 * Driver interface functions and type declarations for the join module
Holger Schurig10078322007-11-15 18:05:47 -05005 * implemented in join.c. Process all start/join requests for
Marcelo Tosatti876c9d32007-02-10 12:25:27 -02006 * both adhoc and infrastructure networks
7 */
Holger Schurig10078322007-11-15 18:05:47 -05008#ifndef _LBS_JOIN_H
9#define _LBS_JOIN_H
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020010
11#include "defs.h"
Dan Williamse76850d2007-05-25 17:09:41 -040012#include "dev.h"
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020013
14struct cmd_ds_command;
Holger Schurig69f90322007-11-23 15:43:44 +010015int lbs_cmd_80211_authenticate(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020016 struct cmd_ds_command *cmd,
17 void *pdata_buf);
Holger Schurig69f90322007-11-23 15:43:44 +010018int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020019 struct cmd_ds_command *cmd,
20 void *pdata_buf);
Holger Schurige98a88d2008-03-19 14:25:58 +010021int lbs_cmd_80211_ad_hoc_stop(struct cmd_ds_command *cmd);
Holger Schurig69f90322007-11-23 15:43:44 +010022int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020023 struct cmd_ds_command *cmd,
Dan Williamse76850d2007-05-25 17:09:41 -040024 void *pdata_buf);
Holger Schurig69f90322007-11-23 15:43:44 +010025int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020026 struct cmd_ds_command *cmd);
Holger Schurig69f90322007-11-23 15:43:44 +010027int lbs_cmd_80211_associate(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020028 struct cmd_ds_command *cmd,
29 void *pdata_buf);
30
Holger Schurig69f90322007-11-23 15:43:44 +010031int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020032 struct cmd_ds_command *resp);
Holger Schurige98a88d2008-03-19 14:25:58 +010033int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv);
34int lbs_ret_80211_disassociate(struct lbs_private *priv);
Holger Schurig69f90322007-11-23 15:43:44 +010035int lbs_ret_80211_associate(struct lbs_private *priv,
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020036 struct cmd_ds_command *resp);
37
Holger Schurig69f90322007-11-23 15:43:44 +010038int lbs_start_adhoc_network(struct lbs_private *priv,
Dan Williamse76850d2007-05-25 17:09:41 -040039 struct assoc_request * assoc_req);
Holger Schurig69f90322007-11-23 15:43:44 +010040int lbs_join_adhoc_network(struct lbs_private *priv,
Dan Williamse76850d2007-05-25 17:09:41 -040041 struct assoc_request * assoc_req);
Holger Schurig69f90322007-11-23 15:43:44 +010042int lbs_stop_adhoc_network(struct lbs_private *priv);
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020043
Holger Schurig69f90322007-11-23 15:43:44 +010044int lbs_send_deauthentication(struct lbs_private *priv);
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020045
Holger Schurig69f90322007-11-23 15:43:44 +010046int lbs_associate(struct lbs_private *priv, struct assoc_request *assoc_req);
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020047
Marcelo Tosatti876c9d32007-02-10 12:25:27 -020048#endif