join.h 1.7 KB

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