source: rtems-libbsd/freebsd/contrib/wpa/wpa_supplicant/interworking.h @ 8f2267b

55-freebsd-126-freebsd-12
Last change on this file since 8f2267b was 9c9d11b, checked in by Sichen Zhao <1473996754@…>, on 08/01/17 at 12:43:41

Import wpa from FreeBSD

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 * Interworking (IEEE 802.11u)
3 * Copyright (c) 2011-2012, Qualcomm Atheros
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef INTERWORKING_H
10#define INTERWORKING_H
11
12enum gas_query_result;
13
14int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst,
15                  u16 info_ids[], size_t num_ids, u32 subtypes);
16void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,
17                  enum gas_query_result result,
18                  const struct wpabuf *adv_proto,
19                  const struct wpabuf *resp, u16 status_code);
20int gas_send_request(struct wpa_supplicant *wpa_s, const u8 *dst,
21                     const struct wpabuf *adv_proto,
22                     const struct wpabuf *query);
23int interworking_fetch_anqp(struct wpa_supplicant *wpa_s);
24void interworking_stop_fetch_anqp(struct wpa_supplicant *wpa_s);
25int interworking_select(struct wpa_supplicant *wpa_s, int auto_select,
26                        int *freqs);
27int interworking_connect(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,
28                         int only_add);
29void interworking_start_fetch_anqp(struct wpa_supplicant *wpa_s);
30int interworking_home_sp_cred(struct wpa_supplicant *wpa_s,
31                              struct wpa_cred *cred,
32                              struct wpabuf *domain_names);
33int domain_name_list_contains(struct wpabuf *domain_names,
34                              const char *domain, int exact_match);
35
36#endif /* INTERWORKING_H */
Note: See TracBrowser for help on using the repository browser.