framework/connectivity/connman.git
14 years agoAdd helper for removing host routes
Marcel Holtmann [Tue, 5 Jan 2010 13:35:55 +0000 (05:35 -0800)]
Add helper for removing host routes

14 years agoSplit gateway and host route setting in two separate functions
Marcel Holtmann [Tue, 5 Jan 2010 13:29:32 +0000 (05:29 -0800)]
Split gateway and host route setting in two separate functions

14 years agoFix invalid argument terminator
Marcel Holtmann [Tue, 5 Jan 2010 13:17:16 +0000 (05:17 -0800)]
Fix invalid argument terminator

14 years agoMove online/offline state handling into notifier framework
Marcel Holtmann [Tue, 5 Jan 2010 13:14:29 +0000 (05:14 -0800)]
Move online/offline state handling into notifier framework

14 years agoAdd Ethernet information for WiMAX and Bluetooth devices
Marcel Holtmann [Tue, 5 Jan 2010 12:37:11 +0000 (04:37 -0800)]
Add Ethernet information for WiMAX and Bluetooth devices

14 years agoAdd interface name to Ethernet settings
Marcel Holtmann [Tue, 5 Jan 2010 12:34:31 +0000 (04:34 -0800)]
Add interface name to Ethernet settings

14 years agoAdd place-holder for technology type GPS
Marcel Holtmann [Tue, 5 Jan 2010 12:24:06 +0000 (04:24 -0800)]
Add place-holder for technology type GPS

14 years agoAdd framework for counter callbacks
Marcel Holtmann [Tue, 5 Jan 2010 06:42:45 +0000 (22:42 -0800)]
Add framework for counter callbacks

14 years agoEnable IP configuration when entering configuration state
Marcel Holtmann [Tue, 5 Jan 2010 00:45:44 +0000 (16:45 -0800)]
Enable IP configuration when entering configuration state

14 years agoFix issue when manual IP setup not using configuration state
Marcel Holtmann [Tue, 5 Jan 2010 00:45:10 +0000 (16:45 -0800)]
Fix issue when manual IP setup not using configuration state

14 years agoDon't re-enable configuration if already set
Marcel Holtmann [Tue, 5 Jan 2010 00:35:49 +0000 (16:35 -0800)]
Don't re-enable configuration if already set

14 years agoRemove two more unused element functions
Marcel Holtmann [Mon, 4 Jan 2010 21:45:26 +0000 (13:45 -0800)]
Remove two more unused element functions

14 years agoRemove element lock and unlock functions
Marcel Holtmann [Mon, 4 Jan 2010 21:44:43 +0000 (13:44 -0800)]
Remove element lock and unlock functions

14 years agoRemove unused prototype of string conversion function
Marcel Holtmann [Mon, 4 Jan 2010 21:40:55 +0000 (13:40 -0800)]
Remove unused prototype of string conversion function

14 years agoRemove two unused IPv4 element helpers
Marcel Holtmann [Mon, 4 Jan 2010 21:38:00 +0000 (13:38 -0800)]
Remove two unused IPv4 element helpers

14 years agoStore PAC URL configuration in DHCP and provider elements
Marcel Holtmann [Mon, 4 Jan 2010 21:36:08 +0000 (13:36 -0800)]
Store PAC URL configuration in DHCP and provider elements

14 years agoAdd support for network properties in supplicant test program
Marcel Holtmann [Mon, 4 Jan 2010 21:32:30 +0000 (13:32 -0800)]
Add support for network properties in supplicant test program

14 years agoFix debug and scanning handling of supplicant test program
Marcel Holtmann [Mon, 4 Jan 2010 06:09:27 +0000 (22:09 -0800)]
Fix debug and scanning handling of supplicant test program

14 years agoFix compilation error within WiMAX plugin
Martin Xu [Mon, 4 Jan 2010 05:56:57 +0000 (13:56 +0800)]
Fix compilation error within WiMAX plugin

14 years agoUpdate test script to decode Proxy entries
Marcel Holtmann [Mon, 4 Jan 2010 02:49:29 +0000 (18:49 -0800)]
Update test script to decode Proxy entries

14 years agoAdd basic interfaces for automatic proxy configuration
Marcel Holtmann [Mon, 4 Jan 2010 02:47:21 +0000 (18:47 -0800)]
Add basic interfaces for automatic proxy configuration

14 years agoAdd test script for just monitoring the manager interface
Marcel Holtmann [Sun, 3 Jan 2010 08:47:53 +0000 (00:47 -0800)]
Add test script for just monitoring the manager interface

14 years agoCleanup of D-Bus mainloop integration
Marcel Holtmann [Sun, 3 Jan 2010 05:42:10 +0000 (21:42 -0800)]
Cleanup of D-Bus mainloop integration

14 years agoAdd test program for D-Bus library memory leak checks
Marcel Holtmann [Sun, 3 Jan 2010 03:19:06 +0000 (19:19 -0800)]
Add test program for D-Bus library memory leak checks

14 years agoAdd skeleton for technology specific functions
Marcel Holtmann [Sun, 3 Jan 2010 03:04:40 +0000 (19:04 -0800)]
Add skeleton for technology specific functions

14 years agoAdd missing PropertyChanged signal for IPv4.Configuration
Gustavo Sverzut Barbieri [Sat, 2 Jan 2010 20:56:44 +0000 (18:56 -0200)]
Add missing PropertyChanged signal for IPv4.Configuration

14 years agoAdd missing PropertyChanged signal from manager interface
Gustavo Sverzut Barbieri [Sat, 2 Jan 2010 20:55:50 +0000 (18:55 -0200)]
Add missing PropertyChanged signal from manager interface

14 years agoUpdate copyright information of D-Bus helper library
Marcel Holtmann [Sat, 2 Jan 2010 01:04:13 +0000 (17:04 -0800)]
Update copyright information of D-Bus helper library

14 years agoUpdate copyright information
Marcel Holtmann [Sat, 2 Jan 2010 01:02:25 +0000 (17:02 -0800)]
Update copyright information

14 years agoAdd initial support for scanning in supplicant test program
Marcel Holtmann [Sat, 2 Jan 2010 01:00:54 +0000 (17:00 -0800)]
Add initial support for scanning in supplicant test program

14 years agoDecode group and pairwise cipher capabilties
Marcel Holtmann [Fri, 1 Jan 2010 04:35:58 +0000 (20:35 -0800)]
Decode group and pairwise cipher capabilties

14 years agoAdd support for supplicant signals with included properties
Marcel Holtmann [Fri, 1 Jan 2010 04:08:24 +0000 (20:08 -0800)]
Add support for supplicant signals with included properties

14 years agoFix memory leaks caused by missing dbus_pending_call_unref()
Marcel Holtmann [Fri, 1 Jan 2010 04:07:41 +0000 (20:07 -0800)]
Fix memory leaks caused by missing dbus_pending_call_unref()

14 years agoFix memory leaks within D-Bus helpers
Marcel Holtmann [Fri, 1 Jan 2010 03:54:49 +0000 (19:54 -0800)]
Fix memory leaks within D-Bus helpers

14 years agoUpdate supplicant test program with some API changes
Marcel Holtmann [Thu, 31 Dec 2009 10:51:47 +0000 (02:51 -0800)]
Update supplicant test program with some API changes

14 years agoAdd interface creation function to supplicant test program
Marcel Holtmann [Thu, 31 Dec 2009 09:31:45 +0000 (01:31 -0800)]
Add interface creation function to supplicant test program

14 years agoPort supplicant driver to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 13:56:27 +0000 (15:56 +0200)]
Port supplicant driver to use g_dbus_add_signal_watch

14 years agoPort ofono driver to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 13:38:19 +0000 (15:38 +0200)]
Port ofono driver to use g_dbus_add_signal_watch

14 years agoPort udhcp driver to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 11:46:17 +0000 (13:46 +0200)]
Port udhcp driver to use g_dbus_add_signal_watch

14 years agoPort bluetooth driver to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Wed, 30 Dec 2009 12:24:11 +0000 (14:24 +0200)]
Port bluetooth driver to use g_dbus_add_signal_watch

14 years agoAdd ready and killed callbacks to supplicant test program
Marcel Holtmann [Thu, 31 Dec 2009 04:29:50 +0000 (20:29 -0800)]
Add ready and killed callbacks to supplicant test program

14 years agoRelease 0.48
Marcel Holtmann [Wed, 30 Dec 2009 19:22:18 +0000 (11:22 -0800)]
Release 0.48

14 years agoAdd set property result handling for supplicant test program
Marcel Holtmann [Wed, 30 Dec 2009 18:41:47 +0000 (10:41 -0800)]
Add set property result handling for supplicant test program

14 years agoAdd support for debug settings in supplicant test program
Marcel Holtmann [Wed, 30 Dec 2009 10:38:37 +0000 (02:38 -0800)]
Add support for debug settings in supplicant test program

14 years agoFix compilation error
Marcel Holtmann [Wed, 30 Dec 2009 08:55:44 +0000 (00:55 -0800)]
Fix compilation error

14 years agoUse new functions for setting gateway address or interface
Martin Xu [Wed, 30 Dec 2009 08:24:12 +0000 (16:24 +0800)]
Use new functions for setting gateway address or interface

14 years agoAdd INET functions for setting gateway address and gateway interface
Martin Xu [Wed, 30 Dec 2009 08:24:11 +0000 (16:24 +0800)]
Add INET functions for setting gateway address and gateway interface

14 years agoAdd method handling into function set_connected()
Martin Xu [Wed, 30 Dec 2009 08:24:10 +0000 (16:24 +0800)]
Add method handling into function set_connected()

14 years agoSet network method as CONNMAN_IPCONFIG_METHOD_DHCP
Martin Xu [Wed, 30 Dec 2009 08:24:09 +0000 (16:24 +0800)]
Set network method as CONNMAN_IPCONFIG_METHOD_DHCP

Before calling connman_network_set_connected(true), the method should
be set to CONNMAN_IPCONFIG_METHOD_DHCP.

14 years agoAdd function connman_network_set_method()
Martin Xu [Wed, 30 Dec 2009 08:24:08 +0000 (16:24 +0800)]
Add function connman_network_set_method()

14 years agoDon't reset associating from function connman_network_set_error()
Martin Xu [Wed, 30 Dec 2009 08:24:07 +0000 (16:24 +0800)]
Don't reset associating from function connman_network_set_error()

14 years agoFix undefined symbols
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 12:10:15 +0000 (14:10 +0200)]
Fix undefined symbols

14 years agoDecode mode and auth capabilities in supplicant test program
Marcel Holtmann [Tue, 29 Dec 2009 23:47:41 +0000 (15:47 -0800)]
Decode mode and auth capabilities in supplicant test program

14 years agoUse better network identifier in supplicant test program
Marcel Holtmann [Tue, 29 Dec 2009 22:42:05 +0000 (14:42 -0800)]
Use better network identifier in supplicant test program

14 years agoFix length checks for WPA and RSN IEs
Marcel Holtmann [Tue, 29 Dec 2009 22:15:51 +0000 (14:15 -0800)]
Fix length checks for WPA and RSN IEs

14 years agoHandle supplicant restarts in test program
Marcel Holtmann [Tue, 29 Dec 2009 21:31:50 +0000 (13:31 -0800)]
Handle supplicant restarts in test program

14 years agoAdd interface and network handling to supplicant test program
Marcel Holtmann [Tue, 29 Dec 2009 12:07:06 +0000 (04:07 -0800)]
Add interface and network handling to supplicant test program

14 years agoPort gdbus to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 09:16:23 +0000 (11:16 +0200)]
Port gdbus to use g_dbus_add_signal_watch

14 years agoAdd initial implementation of g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 08:53:21 +0000 (10:53 +0200)]
Add initial implementation of g_dbus_add_signal_watch

With g_dbus_add_signal_watch there is no need to register multiple filters
for dbus nor add matching rules manually.

14 years agoAdd signal handling to supplicant test program
Marcel Holtmann [Fri, 25 Dec 2009 11:44:07 +0000 (03:44 -0800)]
Add signal handling to supplicant test program

14 years agoAdd extra NULL pointer check for service configuration
Marcel Holtmann [Fri, 25 Dec 2009 10:54:53 +0000 (02:54 -0800)]
Add extra NULL pointer check for service configuration

14 years agoSome cleanup with the provision handling
Marcel Holtmann [Fri, 25 Dec 2009 10:47:12 +0000 (02:47 -0800)]
Some cleanup with the provision handling

14 years agoFix broken error handling with D-Bus filter
Marcel Holtmann [Fri, 25 Dec 2009 10:35:01 +0000 (02:35 -0800)]
Fix broken error handling with D-Bus filter

14 years agoUse failed as label name instead of error
Marcel Holtmann [Thu, 24 Dec 2009 15:11:44 +0000 (07:11 -0800)]
Use failed as label name instead of error

14 years agoUnifiy all GAtChat error labels
Marcel Holtmann [Thu, 24 Dec 2009 15:06:23 +0000 (07:06 -0800)]
Unifiy all GAtChat error labels

14 years agoFix permissions of newly created /etc/resolv.conf
Marcel Holtmann [Thu, 24 Dec 2009 15:05:53 +0000 (07:05 -0800)]
Fix permissions of newly created /etc/resolv.conf

14 years agoSet Ethernet connected after assigning the network group
Marcel Holtmann [Thu, 24 Dec 2009 14:56:19 +0000 (06:56 -0800)]
Set Ethernet connected after assigning the network group

14 years agoMore config.c copy and paste fixes
Samuel Ortiz [Wed, 23 Dec 2009 23:55:32 +0000 (00:55 +0100)]
More config.c copy and paste fixes

In __connman_config_provision_service(), the config pointer was always set
to the last service entry found from the configuration files. This was
hiding many bugs introduced by the hexadecimal SSID changes.

14 years agoFix copy-and-paste issue with SSID configuration field
Marcel Holtmann [Wed, 23 Dec 2009 22:53:11 +0000 (14:53 -0800)]
Fix copy-and-paste issue with SSID configuration field

14 years agoSome more whitespace cleanups
Marcel Holtmann [Wed, 23 Dec 2009 22:52:38 +0000 (14:52 -0800)]
Some more whitespace cleanups

14 years agoAdd support for building passphrase from the private key fsid
Samuel Ortiz [Wed, 23 Dec 2009 22:19:35 +0000 (23:19 +0100)]
Add support for building passphrase from the private key fsid

The private key can be build so that the passphrase is the key's filesystem
ID, i.e. stat --file-system --printf="%i" <private_key_path>.

By setting the PassphraseFromFsid config entry to true, such a filesystem
ID will be used as private key passphrase and passed to the supplicant.

14 years agoEnable connecting to an IEEE 802.1x network from the service API
Samuel Ortiz [Wed, 23 Dec 2009 22:17:40 +0000 (23:17 +0100)]
Enable connecting to an IEEE 802.1x network from the service API

If security is "ieee8021x", allow the service API to try a connection,
and update the attached network with the right IEEE 802.1x settings.

Also, a passphrase is required when connecting to such network.

14 years agoLoad service entries from configuration files
Samuel Ortiz [Wed, 23 Dec 2009 22:16:41 +0000 (23:16 +0100)]
Load service entries from configuration files

For IEEE 802.1x networks, the various certificate paths, private key
paths and identities are configured through an external configuration
file. They belong to a "service" group in this file and loaded at
startup.

Any matching service with the corresponding service group will be
provisioned with this configuration. These settings will also be
then propagated to the network structure at connection time.

14 years agoFix include of documentation file
Marcel Holtmann [Wed, 23 Dec 2009 13:33:31 +0000 (05:33 -0800)]
Fix include of documentation file

14 years agoAdd code for retrieving supplicant global properties
Marcel Holtmann [Wed, 23 Dec 2009 13:31:21 +0000 (05:31 -0800)]
Add code for retrieving supplicant global properties

14 years agoConvert the network EAP string to uppercase
Samuel Ortiz [Wed, 23 Dec 2009 12:57:45 +0000 (13:57 +0100)]
Convert the network EAP string to uppercase

wpa_supplicant only understands upper case string for the EAP definitions.

14 years agoAdd basic mainloop and D-Bus setup to supplicant test tool
Marcel Holtmann [Wed, 23 Dec 2009 11:39:00 +0000 (03:39 -0800)]
Add basic mainloop and D-Bus setup to supplicant test tool

14 years agoFix mis-merged AM_CFLAGS line
Marcel Holtmann [Wed, 23 Dec 2009 11:16:03 +0000 (03:16 -0800)]
Fix mis-merged AM_CFLAGS line

14 years agoAdd skeleton for supplicant test tool
Marcel Holtmann [Wed, 23 Dec 2009 11:15:10 +0000 (03:15 -0800)]
Add skeleton for supplicant test tool

14 years agoPass required IEEE 802.1x settings to wpa_supplicant
Samuel Ortiz [Tue, 22 Dec 2009 20:26:56 +0000 (21:26 +0100)]
Pass required IEEE 802.1x settings to wpa_supplicant

When trying to connect to a 802.1x service, the attached network is
updated with the 802.1x settings from the config entries, if any. Then
we fetch those settings and send the relevant ones to wpa_supplicant.
Please note that only TLS and PEAP are supported at the moment. Those
two authentication methods account for most of the 802.1x WiFi networks.

14 years agoFix service loading and add provision callbacks
Marcel Holtmann [Tue, 22 Dec 2009 08:29:05 +0000 (00:29 -0800)]
Fix service loading and add provision callbacks

14 years agoAdd IEEE 802.1x related fields to network structure
Samuel Ortiz [Mon, 21 Dec 2009 20:45:37 +0000 (21:45 +0100)]
Add IEEE 802.1x related fields to network structure

In order to support IEEE 802.1x serveral additional fields needs to
be stored. In addition the network's EAP is displayed when listing
the network's properties.

14 years agoAdd initial documentation for advanced configuration
Marcel Holtmann [Mon, 21 Dec 2009 06:39:02 +0000 (22:39 -0800)]
Add initial documentation for advanced configuration

14 years agoEnable notification for IP configuration changes
Marcel Holtmann [Mon, 21 Dec 2009 05:39:36 +0000 (21:39 -0800)]
Enable notification for IP configuration changes

14 years agoAdd IP configured method for fixed addresses
Marcel Holtmann [Mon, 21 Dec 2009 03:11:20 +0000 (19:11 -0800)]
Add IP configured method for fixed addresses

14 years agoDecode the immutable property correctly
Marcel Holtmann [Sun, 20 Dec 2009 21:33:32 +0000 (13:33 -0800)]
Decode the immutable property correctly

14 years agoAdd basic support for immutable services
Marcel Holtmann [Sun, 20 Dec 2009 21:32:05 +0000 (13:32 -0800)]
Add basic support for immutable services

14 years agoAdd D-Bus interface for configuring IP addresses
Marcel Holtmann [Sun, 20 Dec 2009 20:46:50 +0000 (12:46 -0800)]
Add D-Bus interface for configuring IP addresses

14 years agoRemove unused code snippet
Marcel Holtmann [Sun, 20 Dec 2009 19:59:05 +0000 (11:59 -0800)]
Remove unused code snippet

14 years agoRename IP configuration methods to match specification
Marcel Holtmann [Sun, 20 Dec 2009 18:55:04 +0000 (10:55 -0800)]
Rename IP configuration methods to match specification

14 years agoFix Ethernet address string representation
Marcel Holtmann [Sun, 20 Dec 2009 18:49:45 +0000 (10:49 -0800)]
Fix Ethernet address string representation

14 years agoFix netmask from prefix length string conversion
Marcel Holtmann [Sun, 20 Dec 2009 18:39:53 +0000 (10:39 -0800)]
Fix netmask from prefix length string conversion

14 years agoAdd tracking of system IP address settings
Marcel Holtmann [Sun, 20 Dec 2009 18:29:14 +0000 (10:29 -0800)]
Add tracking of system IP address settings

14 years agoFix update of Ethernet address and MTU values
Marcel Holtmann [Sun, 20 Dec 2009 18:08:43 +0000 (10:08 -0800)]
Fix update of Ethernet address and MTU values

14 years agoFix debugging output of link address
Marcel Holtmann [Sun, 20 Dec 2009 07:55:13 +0000 (23:55 -0800)]
Fix debugging output of link address

14 years agoFix test script for listing service properties
Marcel Holtmann [Sun, 20 Dec 2009 07:37:58 +0000 (23:37 -0800)]
Fix test script for listing service properties

14 years agoRemove invalid IPv4 configuration handling
Marcel Holtmann [Sun, 20 Dec 2009 07:30:10 +0000 (23:30 -0800)]
Remove invalid IPv4 configuration handling

14 years agoFix wrong extraction of link address
Marcel Holtmann [Sun, 20 Dec 2009 07:27:08 +0000 (23:27 -0800)]
Fix wrong extraction of link address

14 years agoTrack link address and MTU settings
Marcel Holtmann [Sun, 20 Dec 2009 07:00:52 +0000 (23:00 -0800)]
Track link address and MTU settings

14 years agoAdd support for more advanced service property listing
Marcel Holtmann [Sun, 20 Dec 2009 06:11:32 +0000 (22:11 -0800)]
Add support for more advanced service property listing