hostapd/src/p2p
Jouni Malinen 3fe8b68d63 P2P: Wait 100 ms if driver fails to start listen operation
Some drivers may accept the remain-on-channel command, but instead of
indicating start event for remain-on-channel, just indicate that the
operation has been canceled immediately. This could result in continuous
loop of search/listen states with very limited time to do anything else
in wpa_supplicant if the scan command is also completed quickly (e.g.,
if the driver is unable to scan other channels than the current
operating channel).

As a workaround, do not start the next step (search) in P2P device
discovery if this type of rejection of listen operation is detected.
This gives some more time for wpa_supplicant to handle whatever else
may be needed at to be done at the same time and reduces the amount
of CPU used in a loop that does not really work correctly from the
view point of being discoverable.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
intended-for: hostap-1
2012-05-08 11:50:03 +03:00
..
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00
p2p.c P2P: Wait 100 ms if driver fails to start listen operation 2012-05-08 11:50:03 +03:00
p2p.h P2P: Add option to force SSID/passphrase for GO Negotiation 2012-04-27 18:25:30 +03:00
p2p_build.c P2P: Advertise immediate availability of WPS credential 2012-02-27 23:14:35 +02:00
p2p_dev_disc.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_go_neg.c P2P: Add support for preferred channel list 2012-03-29 21:28:34 +03:00
p2p_group.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_i.h P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p_invitation.c P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p_parse.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_pd.c P2P: Do not update peer Listen channel based on PD/Invitation 2012-04-26 16:11:17 +03:00
p2p_sd.c P2P: Clear P2P_DEV_SD_INFO when new wildcard SD query is added 2012-04-11 17:51:19 +03:00
p2p_utils.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00