[PATCH 0/2] Improve scan interval change
Pontus Fuchs
pontus.fuchs
Fri Feb 1 04:24:20 PST 2013
When the scan interval is changed via the control interface the new
interval is used after the old scan interval has timed out. Change
this to use the new interval immediately if the new interval is
shorter than the remaining time of the current interval.
The use case is to minimize connection time when an external
connection manager changes from long interval (power save) to a
shorter interval (crystal ball says a configured network is near).
Pontus Fuchs (2):
eloop: Add a timer cancel that returns the remaining time
Update scan interval gracefully
src/utils/eloop.c | 27 +++++++++++++++++++++++++++
src/utils/eloop.h | 15 +++++++++++++++
wpa_supplicant/scan.c | 21 +++++++++++++++++++++
wpa_supplicant/scan.h | 1 +
wpa_supplicant/wpa_supplicant.c | 2 +-
5 files changed, 65 insertions(+), 1 deletion(-)
--
1.7.10.4
More information about the Hostap
mailing list