hostap/src/p2p
Avraham Stern 360a9d5a8f P2P: Reduce off channel wait time for some P2P Action frames
Setting a long off channel wait time for P2P Action frames when
we know we are already on the right channel may cause a delay in
sending the Action frame (because the driver may not be able to
satisfy the request for long wait time until previous off channel
requests are over). This may be crucial for P2P response frames
that must be sent within 100 milliseconds of receiving the request.

Fix this by adjusting P2P Action frame wait times as follows:

 1. For GO Negotiation Response frame, shorten the wait time to 100 ms.
    This is reasonable because the peer has just sent us the GO
    Negotiation Request frame, so it is known to be on the right
    channel and is probably ready to send us the GO Negotiation
    Confirmation frame without delay.
 2. For GO Negotiation Confirmation, P2P Invitation Response, and
    Provision Discovery Response frames, there is no need for wait
    time at all as this is the last frame in the exchange. So set
    the wait time to 50 ms to ensure there is enough time to send the
    frame.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
2016-02-06 18:19:03 +02:00
..
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
p2p.c P2P: Print find_start in debug log when ignoring old scan results 2016-01-07 13:41:15 +02:00
p2p.h P2PS: Add group SSID, if known, to the P2PS-PROV-DONE event 2015-12-30 18:59:03 +02:00
p2p_build.c P2P: Add preferred frequency list extension to GO Neg Req 2015-07-30 22:13:48 +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: Reduce off channel wait time for some P2P Action frames 2016-02-06 18:19:03 +02:00
p2p_group.c P2P: Avoid undefined behavior in pointer arithmetic 2015-10-24 21:43:54 +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: Reduce off channel wait time for some P2P Action frames 2016-02-06 18:19:03 +02:00
p2p_sd.c P2P: Try SD Query with each non-ACK peer only once per search iteration 2016-01-05 01:03:28 +02:00
p2p_utils.c P2P: Fix the calculation of group common freqs 2015-09-25 21:05:42 +03:00