]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Extend group formation timeout on GO to first data connection
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 26 Sep 2013 17:32:44 +0000 (20:32 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 26 Sep 2013 17:32:44 +0000 (20:32 +0300)
commit41f853235fe1d1fad1acecc0ee5dfe81c872c6b2
treee779243727a23ef4c56306ca44b5a0af8cd77c9f
parent20625e97533d589ebfc8f08c40ddd2f7b6c884ec
P2P: Extend group formation timeout on GO to first data connection

Previously, GO considered the group to be fully formed at the completed
of WPS provisioning step. 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 WPS provisioning step, 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 (10)
seconds.

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