]> git.ipfire.org Git - thirdparty/hostap.git/blame - wpa_supplicant/dpp_supplicant.h
DPP: Configuration exchange
[thirdparty/hostap.git] / wpa_supplicant / dpp_supplicant.h
CommitLineData
be27e185
JM
1/*
2 * wpa_supplicant - DPP
3 * Copyright (c) 2017, Qualcomm Atheros, Inc.
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef DPP_SUPPLICANT_H
10#define DPP_SUPPLICANT_H
11
12int wpas_dpp_qr_code(struct wpa_supplicant *wpa_s, const char *cmd);
13int wpas_dpp_bootstrap_gen(struct wpa_supplicant *wpa_s, const char *cmd);
14int wpas_dpp_bootstrap_remove(struct wpa_supplicant *wpa_s, const char *id);
15const char * wpas_dpp_bootstrap_get_uri(struct wpa_supplicant *wpa_s,
16 unsigned int id);
30d27b04
JM
17int wpas_dpp_auth_init(struct wpa_supplicant *wpa_s, const char *cmd);
18int wpas_dpp_listen(struct wpa_supplicant *wpa_s, const char *cmd);
19void wpas_dpp_listen_stop(struct wpa_supplicant *wpa_s);
20void wpas_dpp_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
21 unsigned int freq);
22void wpas_dpp_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
23 unsigned int freq);
24void wpas_dpp_rx_action(struct wpa_supplicant *wpa_s, const u8 *src,
25 const u8 *buf, size_t len, unsigned int freq);
461d39af
JM
26int wpas_dpp_configurator_add(struct wpa_supplicant *wpa_s, const char *cmd);
27int wpas_dpp_configurator_remove(struct wpa_supplicant *wpa_s, const char *id);
be27e185
JM
28int wpas_dpp_init(struct wpa_supplicant *wpa_s);
29void wpas_dpp_deinit(struct wpa_supplicant *wpa_s);
30
31#endif /* DPP_SUPPLICANT_H */