[PATCH 0/5 - v2] Automatic scanning support

Bondar, Alexander alexander.bondar
Thu Apr 5 02:16:07 PDT 2012


Hi Tomasz,

My main concerns related to your implementation are as follows:
	
-	It should provide a mean to implement customized periodic unassociated scan policy.
	All decisions related to this kind of scan should be encapsulated inside the autoscan plugin.
	The same concept as bgscan. In Android, for example, we need a specific periodic scan policy
	because many decisions on periodic scan are taken above supplicant, in the framework.

-	It should provide an ability to control scan parameters beside scan period. Autoscan plugin must be
	able to alter SSIDs list and scan frequencies in scan request on its own behalf.

-	Autoscan should be triggered by scan results event only when candidate not found. No need to trigger it
	otherwise. Also, no need to fire the very first scan since it is done when interface is created. 

-	It should expose interface for authentication start notification to cancel periodic scan when connection starts

-	It should expose interface for configuration update notification to adjust scan request parameters when they
	are changed in config file or through ctrl_iface

BTW, we have implementation similar to what you have suggested, addressing the above concerns.

Thank you.

> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Tomasz Bursztyka
> Sent: Wednesday, April 04, 2012 10:40 AM
> To: hostap at lists.shmoo.com
> Subject: [PATCH 0/5 - v2] Automatic scanning support
> 
> Hi,
> 
> Re-post of the previous patchset, with signed-off line added on each patch.
> 
> Automatic scanning support into wpa_supplicant enables about the same
> behavior as bgscan, but while not being connected.
> 
> 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
> 
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the Hostap mailing list