hostapd/src/p2p
Jouni Malinen cba9ebfdc2 P2P: Try SD Query with each non-ACK peer only once per search iteration
The previous behavior of bursting out all retry attempts of an SD Query
frame during a single search/listen iteration does not look very helpful
in the case where the peer does not ACK the query frame. Since the peer
was found in the search, but is not ACKing frames anymore, it is likely
that it left its listen state and we might as well do something more
useful to burst out a significant number of frames in hopes of seeing
the peer.

Modify the SD Query design during P2P Search to send out only a single
attempt (with likely multiple link-layer retries, if needed) per
search/listen iteration to each peer that has pending SD queries. Once
no more peers with pending queries remain, force another Listen and
Search phase to go through before continuing with the pending SD
queries.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-01-05 01:03:28 +02:00
..
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
p2p.c P2P: Try SD Query with each non-ACK peer only once per search iteration 2016-01-05 01:03:28 +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: Define operating classes for VHT 80+80 and 160 2015-11-25 19:01:10 +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: Fix a typo in debug message 2015-11-15 18:55:23 +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 P2PS: Add group SSID, if known, to the P2PS-PROV-DONE event 2015-12-30 18:59: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