interworking.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Interworking (IEEE 802.11u)
  3. * Copyright (c) 2011, Qualcomm Atheros
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Alternatively, this software may be distributed under the terms of BSD
  10. * license.
  11. *
  12. * See README and COPYING for more details.
  13. */
  14. #ifndef INTERWORKING_H
  15. #define INTERWORKING_H
  16. enum gas_query_result;
  17. int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
  18. u16 info_ids[], size_t num_ids);
  19. void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,
  20. enum gas_query_result result,
  21. const struct wpabuf *adv_proto,
  22. const struct wpabuf *resp, u16 status_code);
  23. int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
  24. void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
  25. int interworking_select(struct wpa_supplicant *wpa_s, int auto_select);
  26. int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss);
  27. #endif /* INTERWORKING_H */