aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-22 19:45:20 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-22 19:45:20 (GMT)
commit87f841a1407dc8f988d6c43a9c4307e34e86986f (patch)
tree8b7304fe6c8c2eb36736e5dc22821f81bc4c18b4 /wpa_supplicant/p2p_supplicant.h
parentb3ffc80b8cb5642c990cf5f1c32f2e646a33365a (diff)
downloadhostap-87f841a1407dc8f988d6c43a9c4307e34e86986f.zip
hostap-87f841a1407dc8f988d6c43a9c4307e34e86986f.tar.gz
hostap-87f841a1407dc8f988d6c43a9c4307e34e86986f.tar.bz2
P2P: Show persistent group info on P2P_PEER data
Add "persistent=<network id>" line to P2P_PEER ctrl_iface data if a persistent group credentials are available for this peer. This makes it easier for external programs to figure out when a persistent group could be re-invoked with this peer. For now, this information is only available on the P2P client, but similar information can be added for GO once a list of P2P clients is maintained with the persistent group data. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 9a0af1f..0a450b6 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -131,5 +131,7 @@ void wpas_p2p_wps_failed(struct wpa_supplicant *wpa_s,
int wpas_p2p_in_progress(struct wpa_supplicant *wpa_s);
void wpas_p2p_network_removed(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);
+struct wpa_ssid * wpas_p2p_get_persistent(struct wpa_supplicant *wpa_s,
+ const u8 *addr);
#endif /* P2P_SUPPLICANT_H */