]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Use group formation timeout on persistent group GO
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 26 Sep 2013 18:24:09 +0000 (21:24 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 26 Sep 2013 18:24:09 +0000 (21:24 +0300)
commitbbc6c729a58897e9265d53d53677b3ddeda4ff94
tree8b369d4ec386c5a7c83adfdfda8f05e4ea07d131
parent41f853235fe1d1fad1acecc0ee5dfe81c872c6b2
P2P: Use group formation timeout on persistent group GO

Previously, GO considered the group to be fully re-invoked after
starting beaconing on successful invitation exchange. This would leave
the group running until idle timeout (which may not be enabled) or
explicit removal if the client fails to connect for any reason. Since
the client is expected to connect immediately after the invitation
exchange that ends with status=0 (i.e., either client initiated the
exchange or it responded with success), extend group formation timeout
to cover that period until the first successfully completed data
connection. This allows the GO to remove the group automatically if the
client devices does not connect within
P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE (15) seconds.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h
wpa_supplicant/wpa_supplicant_i.h