]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Make invitation flow less aggressive
authorAyala Beker <ayala.beker@intel.com>
Mon, 19 Dec 2022 12:52:38 +0000 (14:52 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 21 Feb 2023 09:19:15 +0000 (11:19 +0200)
commit691f729d5dce44486213118863617964a4440715
tree03e92632f7ba867f7460886ad6fcec7e72665425
parentf4a7e2a07c1ad9357014e25548463ac6b7bd09fd
P2P: Make invitation flow less aggressive

Currently invitation request wait time is very long and not needed for
sending a single Action frame only. To not interfere with other parallel
channel activities, decrease the wait time to to 150 ms in case of an
active P2P GO on the system.

In addition, if a P2P GO tries to invite a client that doesn't respond,
it will attempt to invite again after 100 ms. This is too aggressive and
may result in missing beacon transmission and affecting GO activity on
its operating channel. Increase the timeout to 120 ms, to allow enough
time for beacon transmission.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/p2p/p2p.c
src/p2p/p2p_invitation.c