[PATCH 0/7 v3] Automatic scanning support

Tomasz Bursztyka tomasz.bursztyka
Fri Apr 20 04:23:21 PDT 2012


Hi,

Here is a new version of autoscan feature into wpa_s.

I applied the agreed changes told in version 2.
So autoscan is ran _only_ if wpa_s state is disconnected or inactive.
I did so when setting the autoscan params, it may start the autoscan (according to wpa_s state) too.

I also added autoscan command in ctrl_iface and wpa_cli.
As well as a dummy module "periodic" which set the same interval user wants for autoscan: for instance periodic:60
sets a fixed interval of 60 seconds

Please review,

Tomasz Bursztyka (7):
  Adding autoscan parameters support in config file
  Automatic Scanning support added
  Adding AutoScan interface method to set or unset autoscan parameters
  Adding ctrl iface command for autoscan
  Adding autoscan command into wpa_cli
  Adding autoscan module named exponential
  Adding a simple periodic autoscan module

 wpa_supplicant/Makefile                 |   17 ++++
 wpa_supplicant/autoscan.c               |  146 +++++++++++++++++++++++++++++++
 wpa_supplicant/autoscan.h               |   54 +++++++++++
 wpa_supplicant/autoscan_exponential.c   |  105 ++++++++++++++++++++++
 wpa_supplicant/autoscan_periodic.c      |   74 ++++++++++++++++
 wpa_supplicant/config.c                 |    2 +
 wpa_supplicant/config.h                 |    9 ++
 wpa_supplicant/ctrl_iface.c             |   34 +++++++
 wpa_supplicant/dbus/dbus_new.c          |    9 ++
 wpa_supplicant/dbus/dbus_new_handlers.c |   48 ++++++++++
 wpa_supplicant/dbus/dbus_new_handlers.h |    5 +
 wpa_supplicant/events.c                 |    6 ++
 wpa_supplicant/scan.c                   |   28 +++++-
 wpa_supplicant/wpa_cli.c                |   27 ++++++
 wpa_supplicant/wpa_supplicant.c         |   23 +++++
 wpa_supplicant/wpa_supplicant_i.h       |    4 +
 16 files changed, 588 insertions(+), 3 deletions(-)
 create mode 100644 wpa_supplicant/autoscan.c
 create mode 100644 wpa_supplicant/autoscan.h
 create mode 100644 wpa_supplicant/autoscan_exponential.c
 create mode 100644 wpa_supplicant/autoscan_periodic.c

-- 
1.7.8.5




More information about the Hostap mailing list