fragattacks/src/p2p
Jouni Malinen 49aa88bb5e P2P: Clear PEER_WAITING_RESPONSE on GO Negotiation success
Previously, this flag was cleared only in case of failed GO Negotiation.
That could leave the flag set for a peer and if a new group formation
was performed with the same peer before the entry expired, there was
increased risk of getting stuck in a state where neither peer replied to
a GO Negotiation Request frame if a GO Negotiation Response frame with
Status 1 was dropped.

The error sequence could happen in the go_neg_with_bss_connected test
case when timing was suitable to make the second GO negotiation drop a
pending TX Action frame if the GO Negotiation Response with Status 1 was
scheduled for transmission during a P2P scan and P2P_CONNECT was issued
before that scan got aborted.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-12-10 00:16:33 +02:00
..
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
p2p_build.c P2PS: Correct config_methods for different P2P cases 2016-05-19 19:16:10 +03:00
p2p_dev_disc.c P2PS: Refactor p2p_data::query_hash and p2p_data::query_count use 2015-06-15 17:30:01 +03:00
p2p_go_neg.c P2P: Update peer WFD IE from PD Response and GO Negotiation Response 2016-03-05 10:02:59 +02:00
p2p_group.c P2P: Fix common frequencies calculation for a group 2016-09-22 23:48:14 +03:00
p2p_i.h P2P: Try SD Query with each non-ACK peer only once per search iteration 2016-01-05 01:03:28 +02:00
p2p_invitation.c P2P: Reduce off channel wait time for some P2P Action frames 2016-02-06 18:19:03 +02:00
p2p_parse.c P2P: Filter control chars in group client device name similarly to peer 2015-10-26 23:43:45 +02:00
p2p_pd.c P2P: Clear old P2PS provision data 2016-10-29 00:55:49 +03:00
p2p_sd.c P2P: Adjust service discovery maximum fragment size for 60 GHz 2016-03-07 13:47:01 +02:00
p2p_utils.c P2P: Fix the calculation of group common freqs 2015-09-25 21:05:42 +03:00
p2p.c P2P: Clear PEER_WAITING_RESPONSE on GO Negotiation success 2016-12-10 00:16:33 +02:00
p2p.h Fix spelling mistakes in number of comments 2016-09-30 22:45:03 +03:00