Hi, In order to improve wifi scanning when disconnected, here is a patchset inteding to support a future feature in wpa_s, and if not present, to emulate such feature: automatic scanning.
This can be compared to background scanning (which is ran when associated/connected) but when disconnected. Such feauture called 'autoscan' (the name might change, since it has not yet been submitted to wpa_s ml) will be in wpa_s. Existing poor background/automatic scan found in device.c is removed (patch 8). Support of autoscan request is done in wifi.c (patch 1 and 2), and if wpa_s does not support it, it fallback to an emulated autoscan support directly into wifi.c (patch 3). Also, main.conf's "BackgroundScanning" key has an effect on both bgscan/autoscan usage, in wifi.c (patch 4 and 5) Note that, even if it would work right now due to the emulated autoscan support, such patchset should be pushed only after the coming wpa_s patch part. Please review, Tomasz Bursztyka (8): gsupplicant: adding a functiont to handle autoscan method wifi: adding support for autoscan request wifi: adding support for autoscan emulation wifi: setup autoscan according to the main.conf settings wifi: specify bgscan parameters according to main.conf settings wifi: remove old background scanning technique call device: removing the scheduled scan method device: removing emulated background scanning gsupplicant/gsupplicant.h | 5 + gsupplicant/supplicant.c | 58 ++++++++++++ include/device.h | 2 - plugins/wifi.c | 220 ++++++++++++++++++++++++++++++++++++++++---- src/device.c | 108 ---------------------- 5 files changed, 263 insertions(+), 130 deletions(-) -- 1.7.8.5 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
