diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2014-03-25 00:36:13 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-03-25 16:33:21 (GMT) |
commit | cf28c66bcb8883e6be921d6406a534e4a5b45b96 (patch) | |
tree | bee8efd6c819bbf3cd5d29806e6890222834e3ce /wpa_supplicant/hs20_supplicant.h | |
parent | 163f801ef23cd486aab5065c90dd71ad4cbb5fcd (diff) | |
download | hostap-cf28c66bcb8883e6be921d6406a534e4a5b45b96.zip hostap-cf28c66bcb8883e6be921d6406a534e4a5b45b96.tar.gz hostap-cf28c66bcb8883e6be921d6406a534e4a5b45b96.tar.bz2 |
HS 2.0: Extend ANQP_GET to accept Hotspot 2.0 subtypes
This allows a single ANQP query to be used to fetch both IEEE 802.11
defined ANQP elements and Hotspot 2.0 vendor specific elements.
ANQP_GET <addr> <info id>[,<info id>]...
[,hs20:<subtype>][...,hs20:<subtype>]
For example:
ANQP_GET 00:11:22:33:44:55:66 258,268,hs20:3,hs20:4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wpa_supplicant/hs20_supplicant.h')
-rw-r--r-- | wpa_supplicant/hs20_supplicant.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/hs20_supplicant.h b/wpa_supplicant/hs20_supplicant.h index 88e5062..f6c4d44 100644 --- a/wpa_supplicant/hs20_supplicant.h +++ b/wpa_supplicant/hs20_supplicant.h @@ -14,6 +14,8 @@ 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_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len, + struct wpabuf *buf); void hs20_parse_rx_hs20_anqp_resp(struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *data, size_t slen); int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, |