fragattacks/src/p2p
Jouni Malinen a5b5e830a0 P2P: Do not use old scan result data for peer discovery
The driver may have cached (e.g., in cfg80211 BSS table) the scan
results for relatively long time. To avoid reporting stale information,
update P2P peers only based on results that have based on frames
received after the last p2p_find operation was started.

This helps especially in detecting when a previously operating GO stops
the group since the BSS entry for that could live for 30 seconds in the
cfg80211 cache. Running p2p_flush followed by p2p_find will now allow
wpa_supplicant to not add a P2P peer entry for that GO if the group had
been terminated just before that p2p_flush command. Previously, that GO
could have been indicated as a newly found device for up to 30 seconds
after it had stopped the group.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2013-02-12 19:25:18 +02:00
..
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00
p2p_build.c P2P: Show own channel list in debug log 2012-09-24 22:14:50 +03: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: Use the same Dialog Token value for every GO Negotiation retry 2013-01-12 17:51:54 +02:00
p2p_group.c P2P: Fix GO Probe Response IEs when Wi-Fi Display is enabled 2013-02-08 00:10:39 +02:00
p2p_i.h P2P: Do not use old scan result data for peer discovery 2013-02-12 19:25:18 +02:00
p2p_invitation.c Use more accurate timestamps for scan results 2013-02-12 19:14:32 +02:00
p2p_parse.c WFD: Add Wi-Fi Display support 2012-08-29 19:51:29 +03:00
p2p_pd.c Use more accurate timestamps for scan results 2013-02-12 19:14:32 +02:00
p2p_sd.c WFD: Add support for sending Wi-Fi Display service discovery requests 2012-08-29 19:51:29 +03:00
p2p_utils.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p.c P2P: Do not use old scan result data for peer discovery 2013-02-12 19:25:18 +02:00
p2p.h Use more accurate timestamps for scan results 2013-02-12 19:14:32 +02:00