]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Retry PD Request in join-a-running-group case
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 22 Nov 2012 22:53:42 +0000 (00:53 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 22 Nov 2012 22:53:42 +0000 (00:53 +0200)
commit175171ac6c3f2bb501897237d559de0fedfd992e
tree8b7365f30e000de6853867fc0630ed67afdea239
parent67527166630699161444a25dea63c363a5839e54
P2P: Retry PD Request in join-a-running-group case

The GO may be in sleep when we send a PD Request frame to indicate that
we are about to join a running group. Previously, this frame was not
retried more than normal low level retries. This can result in the GO
not getting the frame especially in cases where concurrent multi-channel
operations or aggressive sleep schedule is used since most drivers do
not yet synchronize with the GO's NoA before association.

Increase the likelihood of the GO receiving the PD Request frame by
retransmitting it similarly to the PD-for-GO-Negotiation case. Start
the actual join operation only after these retries have failed to get
an acknowledgment from the GO to give the connection attempt a chance
to succeed if the driver implements better NoA synchronization for it.

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