aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/hs20_supplicant.h
diff options
context:
space:
mode:
authorJay Katabathuni <jkatabat@qca.qualcomm.com>2011-09-08 17:52:23 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-08 20:29:40 (GMT)
commit25471fe3b9acb15e25d519ade01e757395bb61eb (patch)
treeee9d9c9155cc5aec7ecf9b3fe51308598ae5ad5b /wpa_supplicant/hs20_supplicant.h
parentc8a7f9a7b80959566bf3117151dc678aea7f55b3 (diff)
downloadhostap-25471fe3b9acb15e25d519ade01e757395bb61eb.zip
hostap-25471fe3b9acb15e25d519ade01e757395bb61eb.tar.gz
hostap-25471fe3b9acb15e25d519ade01e757395bb61eb.tar.bz2
HS 2.0: Add Hotspot 2.0 ANQP routines
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/hs20_supplicant.h')
-rw-r--r--wpa_supplicant/hs20_supplicant.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/wpa_supplicant/hs20_supplicant.h b/wpa_supplicant/hs20_supplicant.h
new file mode 100644
index 0000000..075e52c
--- /dev/null
+++ b/wpa_supplicant/hs20_supplicant.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#ifndef HS20_SUPPLICANT_H
+#define HS20_SUPPLICANT_H
+
+int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
+ const u8 *payload, size_t payload_len);
+struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
+ size_t payload_len);
+void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s,
+ const u8 *sa, const u8 *data, size_t slen);
+
+#endif /* HS20_SUPPLICANT_H */