]> git.ipfire.org Git - thirdparty/hostap.git/commit
Use a single cleanup timer per wpa_supplicant process
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 20 Jul 2015 10:11:31 +0000 (13:11 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 20 Jul 2015 10:28:12 +0000 (13:28 +0300)
commit8c0d0ff22e402977ddf814d798a5c8e02a21199c
treed769d9cdf675da6abdc1baa628e451a2b0416fd4
parent7b7e8a2ee73819ffbf833d4a7a77fc310d93484c
Use a single cleanup timer per wpa_supplicant process

Previously, one timeout per process (by default every 30 seconds) was
used P2P peer expiration and another per-interface timeout (every 10
seconds) was used to expire BSS entries. Merge these to a single
per-process timeout that triggers every 10 seconds to minimize number of
process wakeups due to periodic operations.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p.h
wpa_supplicant/bss.c
wpa_supplicant/wpa_supplicant.c