aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/gas_serv.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-03-24 20:17:49 (GMT)
committerJouni Malinen <j@w1.fi>2019-04-22 18:08:59 (GMT)
commite00f780e2bdd98d1b7c96876716d8084808e635d (patch)
treeebbc1706542412229becae58c59fb36216c34972 /src/ap/gas_serv.h
parent88a78bdde4eb245ae1448152dab2ff3a4cf2375f (diff)
downloadhostap-e00f780e2bdd98d1b7c96876716d8084808e635d.zip
hostap-e00f780e2bdd98d1b7c96876716d8084808e635d.tar.gz
hostap-e00f780e2bdd98d1b7c96876716d8084808e635d.tar.bz2
DPP2: hostapd as TCP Relay
The new hostapd configuration parameter dpp_controller can now be used with the following subparameter values: ipaddr=<IP address> pkhash=<hexdump>. This adds a new Controller into the configuration (i.e., more than one can be configured) and all incoming DPP exchanges that match the specified Controller public key hash are relayed to the particular Controller. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/gas_serv.h')
-rw-r--r--src/ap/gas_serv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ap/gas_serv.h b/src/ap/gas_serv.h
index 2cf1817..1528af4 100644
--- a/src/ap/gas_serv.h
+++ b/src/ap/gas_serv.h
@@ -88,4 +88,8 @@ void gas_serv_dialog_clear(struct gas_dialog_info *dialog);
int gas_serv_init(struct hostapd_data *hapd);
void gas_serv_deinit(struct hostapd_data *hapd);
+void gas_serv_req_dpp_processing(struct hostapd_data *hapd,
+ const u8 *sa, u8 dialog_token,
+ int prot, struct wpabuf *buf);
+
#endif /* GAS_SERV_H */