[PATCH 0/5] Automatic scanning support

Tomasz Bursztyka tomasz.bursztyka
Tue Apr 3 23:39:57 PDT 2012


Hi,

Here is a proposal of automatic scanning support into wpa_supplicant.
The point is to do about the same as bgscan, but while not being connected.

Like bgscan it can be configured from configuration file or dbus method.
It follows the same parameter format: <module name>:<module parameters>

Instead of requesting directly a scan to wpa_s, autoscan permits to enable a
delay based automatic scanning. Currently, a module named "exponential" is proposed.

And despite bgscan, it does not schedule and trigger scan by itself. It reuses
scan_interval and/or sched_scan.

Please review.

Thanks,

Tomasz Bursztyka (5):
  Adding autoscan parameters support in config file
  Removing bgscan config macros in wpa_supplicant.c
  Automatic Scanning support added
  Adding AutoScan interface method to set or unset autoscan parameters
  Adding autoscan module named exponential

 wpa_supplicant/Makefile                 |   11 +++
 wpa_supplicant/autoscan.c               |  137 +++++++++++++++++++++++++++++++
 wpa_supplicant/autoscan.h               |   54 ++++++++++++
 wpa_supplicant/autoscan_exponential.c   |  105 +++++++++++++++++++++++
 wpa_supplicant/config.c                 |    2 +
 wpa_supplicant/config.h                 |    9 ++
 wpa_supplicant/dbus/dbus_new.c          |    9 ++
 wpa_supplicant/dbus/dbus_new_handlers.c |   43 ++++++++++
 wpa_supplicant/dbus/dbus_new_handlers.h |    5 +
 wpa_supplicant/events.c                 |    6 ++
 wpa_supplicant/scan.c                   |    3 +-
 wpa_supplicant/wpa_supplicant.c         |   28 +++++--
 wpa_supplicant/wpa_supplicant_i.h       |    3 +
 13 files changed, 407 insertions(+), 8 deletions(-)
 create mode 100644 wpa_supplicant/autoscan.c
 create mode 100644 wpa_supplicant/autoscan.h
 create mode 100644 wpa_supplicant/autoscan_exponential.c

-- 
1.7.8.5




More information about the Hostap mailing list