aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/interworking.h
diff options
context:
space:
mode:
authorVeerendranath Jakkam <vjakkam@codeaurora.org>2020-08-11 12:23:17 (GMT)
committerJouni Malinen <j@w1.fi>2020-08-13 14:51:00 (GMT)
commit170775232d615e149484e3a68341211af04a8efe (patch)
treed24f89ea17582568d155bae1b95f216e62e12c09 /wpa_supplicant/interworking.h
parent43106e122b27811e9d47b48c6f5feca838858fc1 (diff)
downloadhostap-170775232d615e149484e3a68341211af04a8efe.zip
hostap-170775232d615e149484e3a68341211af04a8efe.tar.gz
hostap-170775232d615e149484e3a68341211af04a8efe.tar.bz2
ANQP: Add support to specify frequency in ANQP_GET command
Previously, wpa_supplicant fetched BSS channel info from scan results to send ANQP Query frames. If the scan results for the specified BSS are not available, the ANQP_GET command request was getting rejected. Add support to send ANQP Query frame on the specified frequency without requiring the scan results to be available. The control interface command format: - ANQP_GET <dst_addr> [freq=<freq in MHz>] <Query ID1>[,<Query ID2>,..] Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/interworking.h')
-rw-r--r--wpa_supplicant/interworking.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/interworking.h b/wpa_supplicant/interworking.h
index 37ee2e9..77b2c91 100644
--- a/wpa_supplicant/interworking.h
+++ b/wpa_supplicant/interworking.h
@@ -11,7 +11,7 @@
enum gas_query_result;
-int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
+int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, int freq,
u16 info_ids[], size_t num_ids, u32 subtypes,
u32 mbo_subtypes);
void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,