hostap/src/p2p
Sunil Dutt 36b5c3335a P2P: Check Invitation Response dialog token match for resend case
Commit ac330cfd87 ('P2P: Reinvite with
social operation channel if no common channels') introduced a mechamisn
to reinvite a peer during a persistent group reinvocation from a GO with
a different operating channel proposal. This mechanism can fail if the
inviting device (GO) ends up getting a retransmitted, duplicated
Invitation Response frame processed second time while waiting for the
response to the retried Invitation Request (using one of the social
channels as the operating channel). IEEE 802.11 duplicate frame
detection mechanisms are supposed to prevent this type of sequence, but
not all drivers support those rules properly for pre-association frames,
including P2P Public Action frames.

Work around this issue by checking that the dialog token in the
Invitation Response frame matches the one from the last Invitation
Request if the special invitation retry mechanism is used. This is safer
to do now than to enable dialog token matching for all invitation cases.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-12-09 16:26:47 +02:00
..
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p.c P2P: Check Invitation Response dialog token match for resend case 2014-12-09 16:26:47 +02:00
p2p.h P2P: Document p2p_in_progress() return value 2 2014-10-31 00:50:01 +02: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: Clean up p2p_go_neg_failed() calls 2014-10-29 13:04:09 +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: Check Invitation Response dialog token match for resend case 2014-12-09 16:26:47 +02:00
p2p_invitation.c P2P: Check Invitation Response dialog token match for resend case 2014-12-09 16:26:47 +02:00
p2p_parse.c Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +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 Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00