]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Stop listen state if Action frame TX is needed on another channel
authorJouni Malinen <j@w1.fi>
Sun, 17 Feb 2019 14:53:03 +0000 (16:53 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Feb 2019 14:53:03 +0000 (16:53 +0200)
commit947b5a1532f95347d34f0dc79d602402975eca3d
tree384e74d2b071792085a83253bbae83c191222904
parentb3e8ca65a68394d0b06615b7bc54ffbe649d098c
P2P: Stop listen state if Action frame TX is needed on another channel

This speeds up P2P responses to frames received on an operating channel
in case there is an ongoing P2P listen operation on another channel.
This is applicable to drivers that support multiple channels in
concurrently.

This addresses an issue showing up in the
p2ps_channel_active_go_and_station_different_mcc test case where the
Provision Discovery Request frame can be received on the operating
channel of a group instead of the Listen channel. The response was
delayed until the listen operation timed out and this took too long time
for the peer to receive the response.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/p2p/p2p.c
src/p2p/p2p.h
src/p2p/p2p_group.c
wpa_supplicant/p2p_supplicant.c