join.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. #include "defs.h"
  11. #include "dev.h"
  12. struct cmd_ds_command;
  13. int lbs_cmd_80211_authenticate(struct lbs_private *priv,
  14. struct cmd_ds_command *cmd,
  15. void *pdata_buf);
  16. int lbs_cmd_80211_ad_hoc_join(struct lbs_private *priv,
  17. struct cmd_ds_command *cmd,
  18. void *pdata_buf);
  19. int lbs_cmd_80211_ad_hoc_stop(struct lbs_private *priv,
  20. struct cmd_ds_command *cmd);
  21. int lbs_cmd_80211_ad_hoc_start(struct lbs_private *priv,
  22. struct cmd_ds_command *cmd,
  23. void *pdata_buf);
  24. int lbs_cmd_80211_deauthenticate(struct lbs_private *priv,
  25. struct cmd_ds_command *cmd);
  26. int lbs_cmd_80211_associate(struct lbs_private *priv,
  27. struct cmd_ds_command *cmd,
  28. void *pdata_buf);
  29. int lbs_ret_80211_ad_hoc_start(struct lbs_private *priv,
  30. struct cmd_ds_command *resp);
  31. int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv,
  32. struct cmd_ds_command *resp);
  33. int lbs_ret_80211_disassociate(struct lbs_private *priv,
  34. struct cmd_ds_command *resp);
  35. int lbs_ret_80211_associate(struct lbs_private *priv,
  36. struct cmd_ds_command *resp);
  37. int lbs_start_adhoc_network(struct lbs_private *priv,
  38. struct assoc_request * assoc_req);
  39. int lbs_join_adhoc_network(struct lbs_private *priv,
  40. struct assoc_request * assoc_req);
  41. int lbs_stop_adhoc_network(struct lbs_private *priv);
  42. int lbs_send_deauthentication(struct lbs_private *priv);
  43. int lbs_associate(struct lbs_private *priv, struct assoc_request *assoc_req);
  44. #endif