hs20_supplicant.h 743 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
  3. *
  4. * This software may be distributed under the terms of the BSD license.
  5. * See README for more details.
  6. */
  7. #ifndef HS20_SUPPLICANT_H
  8. #define HS20_SUPPLICANT_H
  9. void wpas_hs20_add_indication(struct wpabuf *buf);
  10. int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
  11. const u8 *payload, size_t payload_len);
  12. struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
  13. size_t payload_len);
  14. void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
  15. const u8 *sa, const u8 *data, size_t slen);
  16. int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
  17. struct wpa_bss *bss);
  18. #endif /* HS20_SUPPLICANT_H */