]>
Commit | Line | Data |
---|---|---|
9c2b8204 JM |
1 | /* |
2 | * hostapd / DPP integration | |
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_HOSTAPD_H | |
10 | #define DPP_HOSTAPD_H | |
11 | ||
12 | int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd); | |
9c2b8204 | 13 | int hostapd_dpp_auth_init(struct hostapd_data *hapd, const char *cmd); |
1fafdf11 JM |
14 | int hostapd_dpp_listen(struct hostapd_data *hapd, const char *cmd); |
15 | void hostapd_dpp_listen_stop(struct hostapd_data *hapd); | |
9c2b8204 JM |
16 | void hostapd_dpp_rx_action(struct hostapd_data *hapd, const u8 *src, |
17 | const u8 *buf, size_t len, unsigned int freq); | |
18 | void hostapd_dpp_tx_status(struct hostapd_data *hapd, const u8 *dst, | |
19 | const u8 *data, size_t data_len, int ok); | |
2605405a JM |
20 | struct wpabuf * |
21 | hostapd_dpp_gas_req_handler(struct hostapd_data *hapd, const u8 *sa, | |
22 | const u8 *query, size_t query_len); | |
634a130a | 23 | void hostapd_dpp_gas_status_handler(struct hostapd_data *hapd, int ok); |
2605405a JM |
24 | int hostapd_dpp_configurator_add(struct hostapd_data *hapd, const char *cmd); |
25 | int hostapd_dpp_configurator_remove(struct hostapd_data *hapd, const char *id); | |
a2588be8 | 26 | int hostapd_dpp_configurator_sign(struct hostapd_data *hapd, const char *cmd); |
8179ae3a PK |
27 | int hostapd_dpp_configurator_get_key(struct hostapd_data *hapd, unsigned int id, |
28 | char *buf, size_t buflen); | |
efeada91 JM |
29 | int hostapd_dpp_pkex_add(struct hostapd_data *hapd, const char *cmd); |
30 | int hostapd_dpp_pkex_remove(struct hostapd_data *hapd, const char *id); | |
c1d37739 | 31 | void hostapd_dpp_stop(struct hostapd_data *hapd); |
9c2b8204 JM |
32 | int hostapd_dpp_init(struct hostapd_data *hapd); |
33 | void hostapd_dpp_deinit(struct hostapd_data *hapd); | |
7eb6bfb4 JM |
34 | void hostapd_dpp_init_global(struct hapd_interfaces *ifaces); |
35 | void hostapd_dpp_deinit_global(struct hapd_interfaces *ifaces); | |
9c2b8204 JM |
36 | |
37 | #endif /* DPP_HOSTAPD_H */ |