platform/upstream/connman.git
14 years agoLimit the number of continues read attempts
Marcel Holtmann [Thu, 28 Jan 2010 11:41:31 +0000 (12:41 +0100)]
Limit the number of continues read attempts

14 years agoRemove system user from dbus config file
Martin Xu [Thu, 28 Jan 2010 03:45:11 +0000 (11:45 +0800)]
Remove system user from dbus config file

Some system such as Moblin, system user does not exist. And the waning
message shows at system starting. In order to remove the wanning message
just remove the system user from dbus config file.

14 years agoUse operator name as the network name
Martin Xu [Thu, 28 Jan 2010 02:44:39 +0000 (10:44 +0800)]
Use operator name as the network name

14 years agoRemove unneeded use of status variable
Marcel Holtmann [Wed, 27 Jan 2010 08:48:21 +0000 (09:48 +0100)]
Remove unneeded use of status variable

14 years agoIntroduce g_dbus_setup_private() to gdbus
Forrest Zhao [Wed, 27 Jan 2010 08:24:23 +0000 (16:24 +0800)]
Introduce g_dbus_setup_private() to gdbus

g_dbus_setup_private() is used to setup private DBusConnection

14 years agoUse more unique debug descriptor
Marcel Holtmann [Tue, 26 Jan 2010 08:53:22 +0000 (09:53 +0100)]
Use more unique debug descriptor

14 years agoHandle enabled/disabled cases for technology interface
Marcel Holtmann [Tue, 26 Jan 2010 07:30:31 +0000 (08:30 +0100)]
Handle enabled/disabled cases for technology interface

14 years agoAdd available RFKILL switches to list of technologies
Marcel Holtmann [Tue, 26 Jan 2010 07:16:47 +0000 (08:16 +0100)]
Add available RFKILL switches to list of technologies

14 years agoAdd support for technology states
Marcel Holtmann [Mon, 25 Jan 2010 06:49:14 +0000 (07:49 +0100)]
Add support for technology states

14 years agoUse the technology type for an unqiue object path
Marcel Holtmann [Mon, 25 Jan 2010 06:20:29 +0000 (07:20 +0100)]
Use the technology type for an unqiue object path

14 years agoUse proper base path prefix for device objects
Marcel Holtmann [Mon, 25 Jan 2010 06:17:33 +0000 (07:17 +0100)]
Use proper base path prefix for device objects

14 years agoAdd support for technology interface
Marcel Holtmann [Mon, 25 Jan 2010 06:14:11 +0000 (07:14 +0100)]
Add support for technology interface

14 years agoSync GAtChat library with oFono
Marcel Holtmann [Sat, 23 Jan 2010 10:20:00 +0000 (11:20 +0100)]
Sync GAtChat library with oFono

14 years agoSet APN before connecting via oFono plugin
Martin Xu [Fri, 22 Jan 2010 05:30:47 +0000 (13:30 +0800)]
Set APN before connecting via oFono plugin

14 years agoAdd default context if no context exists
Martin Xu [Fri, 22 Jan 2010 05:30:46 +0000 (13:30 +0800)]
Add default context if no context exists

14 years agoIgnore resolvers with no interface for resolvconf
Marcel Holtmann [Sat, 23 Jan 2010 09:41:48 +0000 (10:41 +0100)]
Ignore resolvers with no interface for resolvconf

14 years agoUpdate test program for redirection checks.
Mohamed Abbas [Tue, 19 Jan 2010 22:24:42 +0000 (14:24 -0800)]
Update test program for redirection checks.

Parse the HTTP response header for redirection. This patch
also checks for proxy setting.

14 years agoFix PropertyChanged for disconnect event
Lucas De Marchi [Tue, 19 Jan 2010 18:05:17 +0000 (16:05 -0200)]
Fix PropertyChanged for disconnect event

When connman_network_set_connected() is called with 'connected=FALSE',
network->connected is already FALSE, causing signal not being sent.

So, in __connman_network_disconnet() instead of directly assigning
network->connected to FALSE, call connman_network_set_connected()
which will deal with properly setting it and sending the signal.

14 years agoSome minor style fixing for the previous commit
Marcel Holtmann [Tue, 19 Jan 2010 05:01:44 +0000 (21:01 -0800)]
Some minor style fixing for the previous commit

14 years agoProcess RFKILL events after opening device
Martin Xu [Tue, 19 Jan 2010 04:34:48 +0000 (12:34 +0800)]
Process RFKILL events after opening device

To avoid the case when RFKILL event happens in the device enable stage,
process the initial events after opening the device. The /dev/rfkill
sends out the current RFKIL states after open(). This fixes a race
condition between device enabling and initial RFKILL states.

14 years agoCheck RFKILL block state before enable the device
Martin Xu [Mon, 18 Jan 2010 07:27:17 +0000 (15:27 +0800)]
Check RFKILL block state before enable the device

When starting, the device RFKILL block state will be recorded using
update_rfkill_state(). And at following device detection stage,
before enable the device, __connman_udev_get_blocked() should be
used to check the block state. If the device is blocked, it should
not be enabled. This avoids unnecessary enable and disable operation
and a race condition.

14 years agoFix: One more fix for disconnect detection
Denis Kenzior [Fri, 15 Jan 2010 16:24:01 +0000 (10:24 -0600)]
Fix: One more fix for disconnect detection

In situations where lots of data is generated by the remote side (e.g.
phonebook is being read) we can get our ring buffer filled up.  In this
case setting rbytes to zero first and then breaking out of the loop
leads to an erroneous disconnect detection.  The fix is to move setting
of rbytes after we know we still have some space.

14 years agoFix: Make remote disconnect detection work
Denis Kenzior [Thu, 14 Jan 2010 16:25:14 +0000 (10:25 -0600)]
Fix: Make remote disconnect detection work

14 years agoFix minor style issue
Marcel Holtmann [Wed, 13 Jan 2010 21:01:48 +0000 (13:01 -0800)]
Fix minor style issue

14 years agoAdd special "online" service state
Marcel Holtmann [Wed, 13 Jan 2010 10:52:10 +0000 (02:52 -0800)]
Add special "online" service state

14 years agoSet the connecting flag to FALSE upon connection failure
Samuel Ortiz [Wed, 13 Jan 2010 10:32:40 +0000 (11:32 +0100)]
Set the connecting flag to FALSE upon connection failure

When the connection really fails, connecting should be set back to FALSE.

14 years agoDo not call __connman_service_put() twice
Samuel Ortiz [Wed, 13 Jan 2010 10:30:36 +0000 (11:30 +0100)]
Do not call __connman_service_put() twice

When a connection fails and service->network is not NULL, we end up calling
__connman_service_put() twice, since __connman_device_cleanup_networks()
calls it too . __connman_device_cleanup_networks() eventually calls
network_remove() from the element removal code, and that ends up calling
__connman_service_put().

14 years agoAdd more details and examples for agent API
Marcel Holtmann [Tue, 12 Jan 2010 09:20:23 +0000 (01:20 -0800)]
Add more details and examples for agent API

14 years agoFix regression when removing watches
Luiz Augusto Von Dentz [Fri, 8 Jan 2010 10:17:19 +0000 (12:17 +0200)]
Fix regression when removing watches

filter_data_find return the first data registered in this case so there is
no guarantee that it return the same data as passed to
filter_data_remove_callback which is the one that should be removed.

The fix is to simple cache the connection removing the correct data before
checking if there is any filter left.

14 years agoFix some WPA Enterprise privacy issues
Marcel Holtmann [Fri, 8 Jan 2010 02:08:00 +0000 (18:08 -0800)]
Fix some WPA Enterprise privacy issues

14 years agoAdd debug information for proxy auto configuration URL
Marcel Holtmann [Fri, 8 Jan 2010 02:06:52 +0000 (18:06 -0800)]
Add debug information for proxy auto configuration URL

14 years agoAdd support for setting immutable flag from configurations
Marcel Holtmann [Thu, 7 Jan 2010 19:42:40 +0000 (11:42 -0800)]
Add support for setting immutable flag from configurations

14 years agoAdd counter API document
Marcel Holtmann [Thu, 7 Jan 2010 11:48:05 +0000 (03:48 -0800)]
Add counter API document

14 years agoAdd configuration file option for private key passphrase type
Marcel Holtmann [Thu, 7 Jan 2010 10:07:12 +0000 (02:07 -0800)]
Add configuration file option for private key passphrase type

14 years agoAdd support for multiple services per configuration file
Marcel Holtmann [Thu, 7 Jan 2010 08:07:40 +0000 (00:07 -0800)]
Add support for multiple services per configuration file

14 years agoAdd first draft of a portal test application
Marcel Holtmann [Wed, 6 Jan 2010 09:35:48 +0000 (01:35 -0800)]
Add first draft of a portal test application

14 years agoAdd support for handling BSS changed signals
Marcel Holtmann [Wed, 6 Jan 2010 09:20:53 +0000 (01:20 -0800)]
Add support for handling BSS changed signals

14 years agoAllow counters with zero interval
Marcel Holtmann [Tue, 5 Jan 2010 23:53:33 +0000 (15:53 -0800)]
Allow counters with zero interval

14 years agoFix typo with RX versus TX stats
Marcel Holtmann [Tue, 5 Jan 2010 15:32:56 +0000 (07:32 -0800)]
Fix typo with RX versus TX stats

14 years agoUsage statistics structure directly
Marcel Holtmann [Tue, 5 Jan 2010 15:31:39 +0000 (07:31 -0800)]
Usage statistics structure directly

14 years agoInclude interface name in statistics usage
Marcel Holtmann [Tue, 5 Jan 2010 15:29:49 +0000 (07:29 -0800)]
Include interface name in statistics usage

14 years agoCheck interval parameters and request first update
Marcel Holtmann [Tue, 5 Jan 2010 15:13:34 +0000 (07:13 -0800)]
Check interval parameters and request first update

14 years agoOnly send updates if byte count actually changed
Marcel Holtmann [Tue, 5 Jan 2010 15:07:44 +0000 (07:07 -0800)]
Only send updates if byte count actually changed

14 years agoAdd support for exporting basic interface statistics
Marcel Holtmann [Tue, 5 Jan 2010 14:59:20 +0000 (06:59 -0800)]
Add support for exporting basic interface statistics

14 years agoUse common set of INET routing helpers
Marcel Holtmann [Tue, 5 Jan 2010 13:52:03 +0000 (05:52 -0800)]
Use common set of INET routing helpers

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 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