aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-07-10 17:19:34 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 14:17:20 (GMT)
commit72044390f342d8ad5846ef163f54f54f61b996f8 (patch)
tree5259b14178f4efbd66abfc6efae4514a8d563797 /wpa_supplicant/p2p_supplicant.h
parent6c6915f3db5c981234ef4aae9e614ded47a9a81c (diff)
downloadhostap-72044390f342d8ad5846ef163f54f54f61b996f8.zip
hostap-72044390f342d8ad5846ef163f54f54f61b996f8.tar.gz
hostap-72044390f342d8ad5846ef163f54f54f61b996f8.tar.bz2
P2P: Add support for cross connection
If enabled, cross connection allows GO to forward IPv4 packets using masquerading NAT from the P2P clients in the group to an uplink WLAN connection. This is disabled by default and can be enabled with "wpa_cli p2p_set cross_connect 1" on the P2P device interface.
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index e1578fc..11674e0 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -108,5 +108,8 @@ void wpas_p2p_disassoc_notif(struct wpa_supplicant *wpa_s, const u8 *bssid,
void wpas_p2p_update_config(struct wpa_supplicant *wpa_s);
int wpas_p2p_set_noa(struct wpa_supplicant *wpa_s, u8 count, int start,
int duration);
+int wpas_p2p_set_cross_connect(struct wpa_supplicant *wpa_s, int enabled);
+void wpas_p2p_notif_connected(struct wpa_supplicant *wpa_s);
+void wpas_p2p_notif_disconnected(struct wpa_supplicant *wpa_s);
#endif /* P2P_SUPPLICANT_H */