blob: c516fbe518fd174be5d60ca8658ea9f55b771414 [file] [log] [blame]
Marcelo Tosatti876c9d32007-02-10 12:25:27 -02001/* Copyright (C) 2006, Red Hat, Inc. */
2
Holger Schurig10078322007-11-15 18:05:47 -05003#ifndef _LBS_ASSOC_H_
4#define _LBS_ASSOC_H_
Marcelo Tosatti876c9d32007-02-10 12:25:27 -02005
6#include "dev.h"
7
Holger Schurig10078322007-11-15 18:05:47 -05008void lbs_association_worker(struct work_struct *work);
David Woodhouseaa21c002007-12-08 20:04:36 +00009struct assoc_request *lbs_get_association_request(struct lbs_private *priv);
Luis Carlos Cobo Rusb8bedef2007-05-30 12:14:34 -040010
Holger Schurig697900a2008-04-02 16:27:10 +020011struct cmd_ds_command;
12int lbs_cmd_80211_authenticate(struct lbs_private *priv,
13 struct cmd_ds_command *cmd,
14 void *pdata_buf);
15int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
16 struct cmd_ds_command *cmd,
17 void *pdata_buf);
18int lbs_cmd_80211_ad_hoc_stop(struct cmd_ds_command *cmd);
19int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
20 struct cmd_ds_command *cmd,
21 void *pdata_buf);
22int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
23 struct cmd_ds_command *cmd);
24int lbs_cmd_80211_associate(struct lbs_private *priv,
25 struct cmd_ds_command *cmd,
26 void *pdata_buf);
27
28int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
29 struct cmd_ds_command *resp);
30int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv);
31int lbs_ret_80211_disassociate(struct lbs_private *priv);
32int lbs_ret_80211_associate(struct lbs_private *priv,
33 struct cmd_ds_command *resp);
34
35int lbs_stop_adhoc_network(struct lbs_private *priv);
36
37int lbs_send_deauthentication(struct lbs_private *priv);
38
Holger Schurig10078322007-11-15 18:05:47 -050039#endif /* _LBS_ASSOC_H */