libertas: Improvements on automatic tx power control via SIOCSIWTXPOW.
[linux-2.6] / drivers / net / wireless / libertas / assoc.h
1 /* Copyright (C) 2006, Red Hat, Inc. */
2
3 #ifndef _LBS_ASSOC_H_
4 #define _LBS_ASSOC_H_
5
6 #include "dev.h"
7
8 void lbs_association_worker(struct work_struct *work);
9 struct assoc_request *lbs_get_association_request(struct lbs_private *priv);
10
11 struct cmd_ds_command;
12 int lbs_cmd_80211_authenticate(struct lbs_private *priv,
13                                         struct cmd_ds_command *cmd,
14                                         void *pdata_buf);
15
16 int lbs_adhoc_stop(struct lbs_private *priv);
17
18 int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
19                                  u8 bssid[ETH_ALEN], u16 reason);
20 int lbs_cmd_80211_associate(struct lbs_private *priv,
21                                      struct cmd_ds_command *cmd,
22                                      void *pdata_buf);
23
24 int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
25                                         struct cmd_ds_command *resp);
26 int lbs_ret_80211_associate(struct lbs_private *priv,
27                                      struct cmd_ds_command *resp);
28
29 #endif /* _LBS_ASSOC_H */