1007832103
This patch unifies the namespace of variables, functions defines and structures. It does: - rename libertas_XXX to lbs_XXX - rename LIBERTAS_XXX to lbs_XXX - rename wlan_XXX to lbs_XXX - rename WLAN_XXX to LBS_XXX (but only those that were defined in libertas-local *.h files, e.g. not defines from net/ieee80211.h) While passing, I fixed some checkpatch.pl errors too. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
53 lines
1.7 KiB
C
53 lines
1.7 KiB
C
/**
|
|
* Interface for the wlan infrastructure and adhoc join routines
|
|
*
|
|
* Driver interface functions and type declarations for the join module
|
|
* implemented in join.c. Process all start/join requests for
|
|
* both adhoc and infrastructure networks
|
|
*/
|
|
#ifndef _LBS_JOIN_H
|
|
#define _LBS_JOIN_H
|
|
|
|
#include "defs.h"
|
|
#include "dev.h"
|
|
|
|
struct cmd_ds_command;
|
|
int lbs_cmd_80211_authenticate(lbs_private *priv,
|
|
struct cmd_ds_command *cmd,
|
|
void *pdata_buf);
|
|
int lbs_cmd_80211_ad_hoc_join(lbs_private *priv,
|
|
struct cmd_ds_command *cmd,
|
|
void *pdata_buf);
|
|
int lbs_cmd_80211_ad_hoc_stop(lbs_private *priv,
|
|
struct cmd_ds_command *cmd);
|
|
int lbs_cmd_80211_ad_hoc_start(lbs_private *priv,
|
|
struct cmd_ds_command *cmd,
|
|
void *pdata_buf);
|
|
int lbs_cmd_80211_deauthenticate(lbs_private *priv,
|
|
struct cmd_ds_command *cmd);
|
|
int lbs_cmd_80211_associate(lbs_private *priv,
|
|
struct cmd_ds_command *cmd,
|
|
void *pdata_buf);
|
|
|
|
int lbs_ret_80211_ad_hoc_start(lbs_private *priv,
|
|
struct cmd_ds_command *resp);
|
|
int lbs_ret_80211_ad_hoc_stop(lbs_private *priv,
|
|
struct cmd_ds_command *resp);
|
|
int lbs_ret_80211_disassociate(lbs_private *priv,
|
|
struct cmd_ds_command *resp);
|
|
int lbs_ret_80211_associate(lbs_private *priv,
|
|
struct cmd_ds_command *resp);
|
|
|
|
int lbs_start_adhoc_network(lbs_private *priv,
|
|
struct assoc_request * assoc_req);
|
|
int lbs_join_adhoc_network(lbs_private *priv,
|
|
struct assoc_request * assoc_req);
|
|
int lbs_stop_adhoc_network(lbs_private *priv);
|
|
|
|
int lbs_send_deauthentication(lbs_private *priv);
|
|
|
|
int lbs_associate(lbs_private *priv, struct assoc_request *assoc_req);
|
|
|
|
void lbs_unset_basic_rate_flags(u8 *rates, size_t len);
|
|
|
|
#endif
|