Add shared periodic cleanup function for AP mode
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 20 Jul 2015 10:33:30 +0000 (13:33 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 20 Jul 2015 10:33:30 +0000 (13:33 +0300)
commit3188aabaf1b04ac40c5baa8270cee72862568205
tree3a1ca250e0b71db687ff2a05382e71a68c380e25
parent8c0d0ff22e402977ddf814d798a5c8e02a21199c
Add shared periodic cleanup function for AP mode

This new mechanism can be used to combine multiple periodic AP
(including P2P GO) task into a single eloop timeout to minimize number
of wakeups for the process. hostapd gets its own periodic caller and
wpa_supplicant uses the previously added timer to trigger these calls.

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