aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-22 20:47:41 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-22 20:47:41 (GMT)
commitfbdcfd577a3f6245c9c34e09842e766777a84ea7 (patch)
tree8a3728f8b1a499a600981142ed4b3232d1c83778 /wpa_supplicant/config_ssid.h
parent87f841a1407dc8f988d6c43a9c4307e34e86986f (diff)
downloadhostap-fbdcfd577a3f6245c9c34e09842e766777a84ea7.zip
hostap-fbdcfd577a3f6245c9c34e09842e766777a84ea7.tar.gz
hostap-fbdcfd577a3f6245c9c34e09842e766777a84ea7.tar.bz2
P2P: Maintain a list of P2P Clients for persistent group on GO
Add a new persistent group network block field, p2p_client_list, to maintain a list of P2P Clients that have connected to a persistent group. This allows GO of a persistent group to figure out more easily whether re-invocation of a persistent group can be used with a specific peer device. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 8419f43..8a47c0b 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -387,6 +387,20 @@ struct wpa_ssid {
int *freq_list;
/**
+ * p2p_client_list - List of P2P Clients in a persistent group (GO)
+ *
+ * This is a list of P2P Clients (P2P Device Address) that have joined
+ * the persistent group. This is maintained on the GO for persistent
+ * group entries (disabled == 2).
+ */
+ u8 *p2p_client_list;
+
+ /**
+ * num_p2p_clients - Number of entries in p2p_client_list
+ */
+ size_t num_p2p_clients;
+
+ /**
* p2p_group - Network generated as a P2P group (used internally)
*/
int p2p_group;