Hi Patrik, ACK from me.
Could one of these patchsets (DefaultAutoConnectTechnologies, PreferredTechnologies or FallbackNameservers) document the main.conf file contents and format?
Cheers, Jukka On 04/05/2012 10:38 PM, [email protected] wrote:
From: Patrik Flykt<[email protected]> Hi, This patch set is rebased on the previous DefaultAutoConnectTechnologies patches as both touch main.conf variables. With this patch set ordering of the services is not changed. Instead when autoconnecting, a new sequence of preferred services is created which is tried first. Should none of the services in the preferred service list start connecting, a normal autoconnect using the service list/sequence is run. The autoconnection code is refactored with some modifications for preferred services, and can thus work with either the service list or the preferred technology list (patch 05). The preferred technology list is created by going through the service list one technology at a time (patch 03). The list of preferred technologies is read from main.conf and converted to service types with a helper function (patch 02). When a preferred service could go online or ready (patch 07), the current service is compared against the previous default (patch 06). If the service is found to be more preferred than the default online one, the order of these services are switched (patch 04). Also, if neither service is preferred or the online check failed for the new service, make a new autoconnect attempt to find another preferred service that could go online (patch 07). Config file is freed immediately after use (patch 01) and TODO updated (patch 08). Cheers, Patrik Patrik Flykt (8): main: Free g_key_file config immediately after use main: Add 'PreferredTechnologies' configuration file option service: Create preferred technology list service: Factor out code for switching two services service: Try preferred technologies first, then normal autoconnect service: Function for checking and updating service ordering service: Update ordering regarding connected preferred service TODO: Mark PreferredTechnologies (PriorityTechnologies) done TODO | 11 ---- src/main.c | 29 ++++++++-- src/service.c | 181 +++++++++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 169 insertions(+), 52 deletions(-)
_______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
