Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/**
2 * Interface for the wlan infrastructure and adhoc join routines
3 *
4 * Driver interface functions and type declarations for the join module
5 * implemented in join.c. Process all start/join requests for
6 * both adhoc and infrastructure networks
7 */
8#ifndef _LBS_JOIN_H
9#define _LBS_JOIN_H
10
11#include "defs.h"
12#include "dev.h"
13
14struct cmd_ds_command;
15int lbs_cmd_80211_authenticate(struct lbs_private *priv,
16 struct cmd_ds_command *cmd,
17 void *pdata_buf);
18int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
19 struct cmd_ds_command *cmd,
20 void *pdata_buf);
21int lbs_cmd_80211_ad_hoc_stop(struct lbs_private *priv,
22 struct cmd_ds_command *cmd);
23int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
24 struct cmd_ds_command *cmd,
25 void *pdata_buf);
26int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
27 struct cmd_ds_command *cmd);
28int lbs_cmd_80211_associate(struct lbs_private *priv,
29 struct cmd_ds_command *cmd,
30 void *pdata_buf);
31
32int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
33 struct cmd_ds_command *resp);
34int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv,
35 struct cmd_ds_command *resp);
36int lbs_ret_80211_disassociate(struct lbs_private *priv,
37 struct cmd_ds_command *resp);
38int lbs_ret_80211_associate(struct lbs_private *priv,
39 struct cmd_ds_command *resp);
40
41int lbs_start_adhoc_network(struct lbs_private *priv,
42 struct assoc_request * assoc_req);
43int lbs_join_adhoc_network(struct lbs_private *priv,
44 struct assoc_request * assoc_req);
45int lbs_stop_adhoc_network(struct lbs_private *priv);
46
47int lbs_send_deauthentication(struct lbs_private *priv);
48
49int lbs_associate(struct lbs_private *priv, struct assoc_request *assoc_req);
50
51void lbs_unset_basic_rate_flags(u8 *rates, size_t len);
52
53#endif