]>
git.ipfire.org Git - thirdparty/hostap.git/blob - src/ap/dpp_hostapd.h
2 * hostapd / DPP integration
3 * Copyright (c) 2017, Qualcomm Atheros, Inc.
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 int hostapd_dpp_qr_code(struct hostapd_data
*hapd
, const char *cmd
);
13 int hostapd_dpp_bootstrap_gen(struct hostapd_data
*hapd
, const char *cmd
);
14 int hostapd_dpp_bootstrap_remove(struct hostapd_data
*hapd
, const char *id
);
15 const char * hostapd_dpp_bootstrap_get_uri(struct hostapd_data
*hapd
,
17 int hostapd_dpp_bootstrap_info(struct hostapd_data
*hapd
, int id
,
18 char *reply
, int reply_size
);
19 int hostapd_dpp_auth_init(struct hostapd_data
*hapd
, const char *cmd
);
20 int hostapd_dpp_listen(struct hostapd_data
*hapd
, const char *cmd
);
21 void hostapd_dpp_listen_stop(struct hostapd_data
*hapd
);
22 void hostapd_dpp_rx_action(struct hostapd_data
*hapd
, const u8
*src
,
23 const u8
*buf
, size_t len
, unsigned int freq
);
24 void hostapd_dpp_tx_status(struct hostapd_data
*hapd
, const u8
*dst
,
25 const u8
*data
, size_t data_len
, int ok
);
27 hostapd_dpp_gas_req_handler(struct hostapd_data
*hapd
, const u8
*sa
,
28 const u8
*query
, size_t query_len
);
29 int hostapd_dpp_configurator_add(struct hostapd_data
*hapd
, const char *cmd
);
30 int hostapd_dpp_configurator_remove(struct hostapd_data
*hapd
, const char *id
);
31 int hostapd_dpp_configurator_sign(struct hostapd_data
*hapd
, const char *cmd
);
32 int hostapd_dpp_pkex_add(struct hostapd_data
*hapd
, const char *cmd
);
33 int hostapd_dpp_pkex_remove(struct hostapd_data
*hapd
, const char *id
);
34 void hostapd_dpp_stop(struct hostapd_data
*hapd
);
35 int hostapd_dpp_init(struct hostapd_data
*hapd
);
36 void hostapd_dpp_deinit(struct hostapd_data
*hapd
);
37 void hostapd_dpp_init_global(struct hapd_interfaces
*ifaces
);
38 void hostapd_dpp_deinit_global(struct hapd_interfaces
*ifaces
);
40 #endif /* DPP_HOSTAPD_H */