Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 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 | |
| 12 | int wpas_dpp_qr_code(struct wpa_supplicant *wpa_s, const char *cmd); |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 13 | int wpas_dpp_auth_init(struct wpa_supplicant *wpa_s, const char *cmd); |
| 14 | int wpas_dpp_listen(struct wpa_supplicant *wpa_s, const char *cmd); |
| 15 | void wpas_dpp_listen_stop(struct wpa_supplicant *wpa_s); |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 16 | void wpas_dpp_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s, |
| 17 | unsigned int freq); |
| 18 | void wpas_dpp_rx_action(struct wpa_supplicant *wpa_s, const u8 *src, |
| 19 | const u8 *buf, size_t len, unsigned int freq); |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 20 | int wpas_dpp_configurator_sign(struct wpa_supplicant *wpa_s, const char *cmd); |
| 21 | int wpas_dpp_pkex_add(struct wpa_supplicant *wpa_s, const char *cmd); |
| 22 | int wpas_dpp_pkex_remove(struct wpa_supplicant *wpa_s, const char *id); |
Roshan Pius | 3a1667e | 2018-07-03 15:17:14 -0700 | [diff] [blame] | 23 | void wpas_dpp_stop(struct wpa_supplicant *wpa_s); |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 24 | int wpas_dpp_init(struct wpa_supplicant *wpa_s); |
| 25 | void wpas_dpp_deinit(struct wpa_supplicant *wpa_s); |
| 26 | int wpas_dpp_check_connect(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, |
| 27 | struct wpa_bss *bss); |
Hai Shalom | 81f62d8 | 2019-07-22 12:10:00 -0700 | [diff] [blame^] | 28 | int wpas_dpp_controller_start(struct wpa_supplicant *wpa_s, const char *cmd); |
Dmitry Shmidt | d2986c2 | 2017-10-23 14:22:09 -0700 | [diff] [blame] | 29 | |
| 30 | #endif /* DPP_SUPPLICANT_H */ |