]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Modify the timeout for GO Negotiation on no concurrent session
authorRashmi Ramanna <c_ramanr@qti.qualcomm.com>
Wed, 14 May 2014 09:05:02 +0000 (14:35 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 15 May 2014 20:57:00 +0000 (23:57 +0300)
commit388444e8d6672fca3da6d5834655d3dab3524deb
tree05907b54f5eed9798d44af41143226463f643b61
parent7e68be38e46d8f6cc7d5bc8083fe470d0418fb4f
P2P: Modify the timeout for GO Negotiation on no concurrent session

Peer should handle a GO Negotiation exchange correctly when the
responding device does not have WSC credentials available at the
time of receiving the GO Negotiation Request. WSC Credentials
(e.g., Pushbutton) can be entered within the 120 second timeout.

Presently, if concurrent session is not active, the peer would wait for
GO Negotiation Request frame from the other device for approximately one
minute due to the earlier optimization change in commit
a2d63657603b8f0714274f34bea45cb5d0c0a7b9. To meet the two minute
requirement, replace this design based on number of iterations with a
more appropriate wait for the required number of seconds.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p_go_neg.c
src/p2p/p2p_i.h