]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/README-P2P
P2P: Address few issues seen with P2P SD
authorJithu Jance <jithu@broadcom.com>
Thu, 20 Feb 2014 11:43:25 +0000 (17:13 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 20 Feb 2014 14:32:12 +0000 (16:32 +0200)
commitf667e031c960b45eb836d1cc983371f895abd3c2
treea2ec7e79440cbedfcc6a5eaa133dc691943f43be
parente9a6f18385e67c29d3c7921d0a502f630a364fa2
P2P: Address few issues seen with P2P SD

Suppose we have multiple peers and we have peers advertising SD
capability, but no services registered for advertising. In this case,
even if there are multiple broadcast queries set, we might end up
sending only the lastly added broadcast query to the same device (since
SD_INFO won't get set for the first broadcast query). Add support for
multiple wildcard queries to be tracked to enable this type of use
case.

Some times it is seen that before advancing to next device in the list,
the scan results come and update SD_SCHEDULE flag. This will result in
sending the already sent query to the same device without giving chance
to other devices. This issue again is seen with peer devices advertising
SD capability without any services registered.

Signed-off-by: Jithu Jance <jithu@broadcom.com>
src/p2p/p2p.c
src/p2p/p2p_i.h
src/p2p/p2p_sd.c
wpa_supplicant/README-P2P