hostap/src/p2p
Rashmi Ramanna 0c6eee8b75 P2P: Use timer to fail GO Negotation while waiting for peer
The timeout check while waiting for the peer to accept the GO
Negotiation depended on the WAIT_PEER_IDLE or WAIT_PEER_CONNECT states
being in use. Any P2P command to alter such states would have resulted
in the failure to time out GO Negotiation and thus ended up in not
indicating GO Negotiation failure or left the selected peer available
for new GO negotiation after the expected two minute timeout.

Fix this by using a separate timer to time out GO Negotiation
irrespective of the P2P state.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-10-29 12:50:32 +02:00
..
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p.c P2P: Use timer to fail GO Negotation while waiting for peer 2014-10-29 12:50:32 +02:00
p2p.h P2P: Save group common frequencies in invitation result 2014-10-26 01:24:28 +03:00
p2p_build.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
p2p_dev_disc.c P2P: Fix SD and DevDisc to limit maximum wait time per driver support 2014-06-12 10:49:19 +03:00
p2p_go_neg.c P2P: Use timer to fail GO Negotation while waiting for peer 2014-10-29 12:50:32 +02:00
p2p_group.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_i.h P2P: Use timer to fail GO Negotation while waiting for peer 2014-10-29 12:50:32 +02:00
p2p_invitation.c P2P: Include passive channels in invitation response 2014-10-18 17:00:57 +03:00
p2p_parse.c P2P NFC: Static handover with NFC Tag on client 2014-01-27 21:44:30 +02:00
p2p_pd.c Add generic mechanism for adding vendor elements into frames 2014-07-07 12:25:09 +03:00
p2p_sd.c P2P: Limit number of SD retries during find 2014-10-23 21:51:48 +03:00
p2p_utils.c P2P: Save group common frequencies in invitation result 2014-10-26 01:24:28 +03:00