platform/upstream/connman.git
14 years agoFix typo with exported device list
Marcel Holtmann [Sat, 19 Dec 2009 09:21:40 +0000 (01:21 -0800)]
Fix typo with exported device list

14 years agoRemove unused D-Bus interface name constant
Marcel Holtmann [Sat, 19 Dec 2009 09:20:06 +0000 (01:20 -0800)]
Remove unused D-Bus interface name constant

14 years agoUse new D-Bus helpers wherever possible
Marcel Holtmann [Sat, 19 Dec 2009 09:19:13 +0000 (01:19 -0800)]
Use new D-Bus helpers wherever possible

14 years agoAdd another D-Bus helper for properties with arrays
Marcel Holtmann [Sat, 19 Dec 2009 08:44:22 +0000 (00:44 -0800)]
Add another D-Bus helper for properties with arrays

14 years agoAdd helper function to retrieve list of devices
Marcel Holtmann [Sat, 19 Dec 2009 08:32:38 +0000 (00:32 -0800)]
Add helper function to retrieve list of devices

14 years agoAdd helpers for appending flexible D-Bus arrays
Marcel Holtmann [Sat, 19 Dec 2009 08:24:47 +0000 (00:24 -0800)]
Add helpers for appending flexible D-Bus arrays

14 years agoUse D-Bus helpers for more readability
Marcel Holtmann [Sat, 19 Dec 2009 08:18:04 +0000 (00:18 -0800)]
Use D-Bus helpers for more readability

14 years agoMake use of D-Bus dictionary helpers
Marcel Holtmann [Sat, 19 Dec 2009 08:08:47 +0000 (00:08 -0800)]
Make use of D-Bus dictionary helpers

14 years agoCreate helpers for dictionary containers
Marcel Holtmann [Sat, 19 Dec 2009 07:54:22 +0000 (23:54 -0800)]
Create helpers for dictionary containers

14 years agoStore flag for public DNS servers
Marcel Holtmann [Sat, 19 Dec 2009 05:28:54 +0000 (21:28 -0800)]
Store flag for public DNS servers

14 years agoIgnore DNS servers without an interface for now
Marcel Holtmann [Sat, 19 Dec 2009 05:21:08 +0000 (21:21 -0800)]
Ignore DNS servers without an interface for now

14 years agoAdd test script for new supplicant interface
Marcel Holtmann [Sat, 19 Dec 2009 04:54:01 +0000 (20:54 -0800)]
Add test script for new supplicant interface

14 years agoFix signal strength calculation when quality is not provided
Marcel Holtmann [Sat, 19 Dec 2009 04:26:01 +0000 (20:26 -0800)]
Fix signal strength calculation when quality is not provided

14 years agoAdd more debug output for WiFi quality
Marcel Holtmann [Sat, 19 Dec 2009 04:22:50 +0000 (20:22 -0800)]
Add more debug output for WiFi quality

14 years agoMention "wpa" and "rsn" as alternates for "psk" security value
Marcel Holtmann [Sat, 19 Dec 2009 03:45:34 +0000 (19:45 -0800)]
Mention "wpa" and "rsn" as alternates for "psk" security value

14 years agoAllow potential roaming between WPA and WPA2 networks
Marcel Holtmann [Sat, 19 Dec 2009 03:41:29 +0000 (19:41 -0800)]
Allow potential roaming between WPA and WPA2 networks

14 years agoAsk for DEVICE_TYPE_WIFI when looking for a WiFi device
Samuel Ortiz [Sat, 19 Dec 2009 00:42:29 +0000 (01:42 +0100)]
Ask for DEVICE_TYPE_WIFI when looking for a WiFi device

The __connman_element_find_device(CONNMAN_SERVICE_TYPE_WIFI) was working
fine while SERVICE_TYPE_WIFI and DEVICE_TYPE_WIFI were equal. With the
introduction of CONNMAN_SERVICE_TYPE_SYSTEM, this last assertion is no
longer true, breaking the service API for connection.

14 years agoRemove some pointless break statements in test script
Marcel Holtmann [Thu, 17 Dec 2009 21:14:00 +0000 (13:14 -0800)]
Remove some pointless break statements in test script

14 years agoAdd command to test script for settting scan interval
Denis Robert [Thu, 17 Dec 2009 17:04:57 +0000 (18:04 +0100)]
Add command to test script for settting scan interval

This allows to put scan interval to zero and disable background scanning.

14 years agoAdd static IP support for oFono interaction
Martin Xu [Thu, 17 Dec 2009 13:52:26 +0000 (21:52 +0800)]
Add static IP support for oFono interaction

14 years agoHandle static method at function set_connected
Martin Xu [Thu, 17 Dec 2009 13:52:25 +0000 (21:52 +0800)]
Handle static method at function set_connected

14 years agoClear associating and connecting state at connman_network_set_error
Martin Xu [Thu, 17 Dec 2009 13:52:24 +0000 (21:52 +0800)]
Clear associating and connecting state at connman_network_set_error

14 years agoAdd function connman_network_get_element
Martin Xu [Thu, 17 Dec 2009 13:52:23 +0000 (21:52 +0800)]
Add function connman_network_get_element

14 years agoFix D-Bus timeout handling
Daniel Orstadius [Wed, 16 Dec 2009 09:23:46 +0000 (11:23 +0200)]
Fix D-Bus timeout handling

Timeouts should also be removed in the remove_timeout callback in
addition to the timeout_handler_free function. This is how dbus-glib
does it and it seems to prevent crashes in certain situations.

14 years agoRemove faulty removal of IP address from interface
Marcel Holtmann [Tue, 15 Dec 2009 20:42:16 +0000 (12:42 -0800)]
Remove faulty removal of IP address from interface

14 years agoFix DNS packet length calculation
Marcel Holtmann [Tue, 15 Dec 2009 16:17:54 +0000 (08:17 -0800)]
Fix DNS packet length calculation

14 years agoCoding style cleanups for provider framework
Marcel Holtmann [Tue, 15 Dec 2009 02:30:48 +0000 (18:30 -0800)]
Coding style cleanups for provider framework

14 years agoFix supplicant connection issue when specifying PSK security
Marcel Holtmann [Tue, 15 Dec 2009 02:24:56 +0000 (18:24 -0800)]
Fix supplicant connection issue when specifying PSK security

14 years agoAdd support using PSK when connecting to hidden networks
Marcel Holtmann [Tue, 15 Dec 2009 02:21:50 +0000 (18:21 -0800)]
Add support using PSK when connecting to hidden networks

14 years agoDocument the changed security values for PSK and IEEE 802.1x
Marcel Holtmann [Mon, 14 Dec 2009 22:13:15 +0000 (14:13 -0800)]
Document the changed security values for PSK and IEEE 802.1x

14 years agoExtract authentication modes (PSK and IEEE 802.1x) for IE
Marcel Holtmann [Mon, 14 Dec 2009 19:48:06 +0000 (11:48 -0800)]
Extract authentication modes (PSK and IEEE 802.1x) for IE

14 years agoFix wrong usage of service security enum
Marcel Holtmann [Mon, 14 Dec 2009 19:45:09 +0000 (11:45 -0800)]
Fix wrong usage of service security enum

14 years agoAdd security definitions for PSK and IEEE 802.1x
Marcel Holtmann [Mon, 14 Dec 2009 19:39:50 +0000 (11:39 -0800)]
Add security definitions for PSK and IEEE 802.1x

14 years agoAdd list of different provider types
Marcel Holtmann [Mon, 14 Dec 2009 09:17:25 +0000 (10:17 +0100)]
Add list of different provider types

14 years agoAdd framework for configuration files
Marcel Holtmann [Mon, 14 Dec 2009 08:57:58 +0000 (09:57 +0100)]
Add framework for configuration files

14 years agoAdd generic suffix handling to storage helpers
Marcel Holtmann [Mon, 14 Dec 2009 08:51:31 +0000 (09:51 +0100)]
Add generic suffix handling to storage helpers

14 years agoUse public function to validate identifiers
Marcel Holtmann [Mon, 14 Dec 2009 08:34:54 +0000 (09:34 +0100)]
Use public function to validate identifiers

14 years agoAdd public function to validate D-Bus identifiers
Marcel Holtmann [Mon, 14 Dec 2009 08:34:25 +0000 (09:34 +0100)]
Add public function to validate D-Bus identifiers

14 years agoFix memory leak in profiles and rename hash variable
Marcel Holtmann [Mon, 14 Dec 2009 08:22:29 +0000 (09:22 +0100)]
Fix memory leak in profiles and rename hash variable

14 years agoAdd plugin for Moblin specific features
Marcel Holtmann [Mon, 14 Dec 2009 05:00:27 +0000 (06:00 +0100)]
Add plugin for Moblin specific features

14 years agoAdd support for setting time server configuration
Marcel Holtmann [Mon, 14 Dec 2009 04:45:58 +0000 (05:45 +0100)]
Add support for setting time server configuration

14 years agoFix missing inclusion of time server source files
Marcel Holtmann [Mon, 14 Dec 2009 04:44:53 +0000 (05:44 +0100)]
Fix missing inclusion of time server source files

14 years agoAdd framework for handling time servers
Marcel Holtmann [Mon, 14 Dec 2009 04:44:21 +0000 (05:44 +0100)]
Add framework for handling time servers

14 years agoAdd timeserver value from DHCP configuration
Marcel Holtmann [Mon, 14 Dec 2009 04:33:15 +0000 (05:33 +0100)]
Add timeserver value from DHCP configuration

14 years agoEnable Google plugin for distcheck builds
Marcel Holtmann [Mon, 14 Dec 2009 04:12:47 +0000 (05:12 +0100)]
Enable Google plugin for distcheck builds

14 years agoAdd plugin for using Google Public DNS service
Marcel Holtmann [Mon, 14 Dec 2009 04:09:14 +0000 (05:09 +0100)]
Add plugin for using Google Public DNS service

14 years agoHandle cases when provided DNS server has no interface
Marcel Holtmann [Mon, 14 Dec 2009 04:08:20 +0000 (05:08 +0100)]
Handle cases when provided DNS server has no interface

14 years agoAdd some logging for DNS proxy changes within the server list
Marcel Holtmann [Mon, 14 Dec 2009 03:22:17 +0000 (04:22 +0100)]
Add some logging for DNS proxy changes within the server list

14 years agoAdd support for using public DNS servers
Marcel Holtmann [Mon, 14 Dec 2009 03:13:14 +0000 (04:13 +0100)]
Add support for using public DNS servers

14 years agoAdd workaround for EDNS0 queries that exceed the buffer size
Marcel Holtmann [Mon, 14 Dec 2009 02:46:58 +0000 (03:46 +0100)]
Add workaround for EDNS0 queries that exceed the buffer size

This is a dirty hack which makes it work -- artificially bump the
buffer size up to 4KiB for requests with a smaller buffer size. For
a DNS proxy which serves arbitrary clients this might crash when
it gets a larger response than asked for, but since this is only
serving the local host and knowing that glibc does cope, it is
possible to get away with it for now.

14 years agoHandle additional DNS records when sending alternate request
Marcel Holtmann [Mon, 14 Dec 2009 02:28:53 +0000 (03:28 +0100)]
Handle additional DNS records when sending alternate request

The outbound queries that get qualified with the search domain need
to handle additional records. Otherwise ENDS0 and other options might
fail.

14 years agoTell resolver to enable EDNS0 support
Marcel Holtmann [Mon, 14 Dec 2009 02:19:17 +0000 (03:19 +0100)]
Tell resolver to enable EDNS0 support

With EDNS0 enabled it is possible to receive larger DNS responses
over UDP without the requirement for using TCP. Potentially this
could cause interop issues with some weird DNS servers, but it
seems that also other operating systems enable this by default.

14 years agoAdd openconnect-script to GIT ignore list
Marcel Holtmann [Wed, 9 Dec 2009 00:09:49 +0000 (01:09 +0100)]
Add openconnect-script to GIT ignore list

14 years agoFix issue with TUN name assignment for VPN
Marcel Holtmann [Wed, 9 Dec 2009 00:09:06 +0000 (01:09 +0100)]
Fix issue with TUN name assignment for VPN

14 years agoAdd service types for system and VPN connections
Marcel Holtmann [Tue, 8 Dec 2009 23:57:23 +0000 (00:57 +0100)]
Add service types for system and VPN connections

14 years agoFix typo for enabling OpenConnect plugin as builtin
Marcel Holtmann [Tue, 8 Dec 2009 23:56:58 +0000 (00:56 +0100)]
Fix typo for enabling OpenConnect plugin as builtin

14 years agoAdd new test scripts to support VPN connections
Mohamed Abbas [Tue, 8 Dec 2009 19:53:12 +0000 (11:53 -0800)]
Add new test scripts to support VPN connections

14 years agoUpdate test scripts to support provider connections
Mohamed Abbas [Tue, 8 Dec 2009 19:53:11 +0000 (11:53 -0800)]
Update test scripts to support provider connections

14 years agoAdd OpenConnect provider plugin for AnyConnect VPN support
Mohamed Abbas [Tue, 8 Dec 2009 19:53:10 +0000 (11:53 -0800)]
Add OpenConnect provider plugin for AnyConnect VPN support

14 years agoAdd special routing handling for VPN support
Mohamed Abbas [Tue, 8 Dec 2009 23:29:18 +0000 (00:29 +0100)]
Add special routing handling for VPN support

A VPN needs to add the VPN host to activated network gateway and
then add the default gateway to the VPN network.

14 years agoFix broken flag handling for task spawning
Marcel Holtmann [Tue, 8 Dec 2009 23:25:23 +0000 (00:25 +0100)]
Fix broken flag handling for task spawning

14 years agoAdd an option to allow processes spawn with pipes
Mohamed Abbas [Tue, 8 Dec 2009 19:53:08 +0000 (11:53 -0800)]
Add an option to allow processes spawn with pipes

14 years agoAdd interfaces for connecting providers
Mohamed Abbas [Tue, 8 Dec 2009 23:16:41 +0000 (00:16 +0100)]
Add interfaces for connecting providers

14 years agoAdd initial support for provider framework
Mohamed Abbas [Tue, 8 Dec 2009 19:53:06 +0000 (11:53 -0800)]
Add initial support for provider framework

14 years agoRemove now deprecated test scripts
Marcel Holtmann [Mon, 7 Dec 2009 21:44:24 +0000 (22:44 +0100)]
Remove now deprecated test scripts

14 years agoRemove unused connection interface
Marcel Holtmann [Mon, 7 Dec 2009 21:39:12 +0000 (22:39 +0100)]
Remove unused connection interface

14 years agoSkip accessing unexisting Interface property
Marcel Holtmann [Mon, 7 Dec 2009 08:28:54 +0000 (09:28 +0100)]
Skip accessing unexisting Interface property

14 years agoRemove unused secondary feature of devices and networks
Marcel Holtmann [Mon, 7 Dec 2009 08:09:11 +0000 (09:09 +0100)]
Remove unused secondary feature of devices and networks

14 years agoSwitch dhclient handling to task infrastructure
Marcel Holtmann [Mon, 7 Dec 2009 08:06:17 +0000 (09:06 +0100)]
Switch dhclient handling to task infrastructure

14 years agoAdd driver data handling for DHCP
Marcel Holtmann [Mon, 7 Dec 2009 08:03:10 +0000 (09:03 +0100)]
Add driver data handling for DHCP

14 years agoAdd support for setting hostname and domainname from DHCP
Marcel Holtmann [Mon, 7 Dec 2009 07:32:39 +0000 (08:32 +0100)]
Add support for setting hostname and domainname from DHCP

14 years agoParse interface MTU values from DHCP results
Marcel Holtmann [Mon, 7 Dec 2009 07:01:39 +0000 (08:01 +0100)]
Parse interface MTU values from DHCP results

14 years agoAdd parsing of Domainname, Hostname and Timeserver results
Marcel Holtmann [Mon, 7 Dec 2009 06:58:29 +0000 (07:58 +0100)]
Add parsing of Domainname, Hostname and Timeserver results

14 years agoSwitch to g_strcmp0 instead of g_ascii_strcasecmp
Marcel Holtmann [Mon, 7 Dec 2009 06:32:06 +0000 (07:32 +0100)]
Switch to g_strcmp0 instead of g_ascii_strcasecmp

14 years agoUse DHCP driver for dhclient implementation
Marcel Holtmann [Mon, 7 Dec 2009 06:31:17 +0000 (07:31 +0100)]
Use DHCP driver for dhclient implementation

14 years agoAdd DHCP value configuration handling
Marcel Holtmann [Mon, 7 Dec 2009 06:30:40 +0000 (07:30 +0100)]
Add DHCP value configuration handling

14 years agoAdd DHCP bound, renew and fail handling
Marcel Holtmann [Mon, 7 Dec 2009 06:19:29 +0000 (07:19 +0100)]
Add DHCP bound, renew and fail handling

14 years agoAdd function to get index value from DHCP structure
Marcel Holtmann [Mon, 7 Dec 2009 06:06:19 +0000 (07:06 +0100)]
Add function to get index value from DHCP structure

14 years agoAdd DHCP driver and element handling
Marcel Holtmann [Mon, 7 Dec 2009 05:58:53 +0000 (06:58 +0100)]
Add DHCP driver and element handling

14 years agoAdd skeleton for DHCP driver transition
Marcel Holtmann [Mon, 7 Dec 2009 05:03:01 +0000 (06:03 +0100)]
Add skeleton for DHCP driver transition

14 years agoRemove failed attempt to integrate with ModemManager
Marcel Holtmann [Sun, 6 Dec 2009 23:29:04 +0000 (00:29 +0100)]
Remove failed attempt to integrate with ModemManager

14 years agoRemove unfinished and unneeded PPP support
Marcel Holtmann [Sun, 6 Dec 2009 20:57:14 +0000 (21:57 +0100)]
Remove unfinished and unneeded PPP support

14 years agoRemove unused device types
Marcel Holtmann [Sun, 6 Dec 2009 09:52:49 +0000 (10:52 +0100)]
Remove unused device types

14 years agoRemove unused device specific connect/disconnect callbacks
Marcel Holtmann [Sun, 6 Dec 2009 09:45:04 +0000 (10:45 +0100)]
Remove unused device specific connect/disconnect callbacks

14 years agoRemove new unused special carrier state of a service
Marcel Holtmann [Sun, 6 Dec 2009 09:24:06 +0000 (10:24 +0100)]
Remove new unused special carrier state of a service

14 years agoThe network interface for informational purpose only
Marcel Holtmann [Sat, 5 Dec 2009 16:33:27 +0000 (17:33 +0100)]
The network interface for informational purpose only

14 years agoAllow service removal to clear failure state
Marcel Holtmann [Sat, 5 Dec 2009 14:23:11 +0000 (15:23 +0100)]
Allow service removal to clear failure state

14 years agoRequire udev-143 or later
Marcel Holtmann [Sat, 5 Dec 2009 04:51:41 +0000 (05:51 +0100)]
Require udev-143 or later

14 years agoAdd simple test program for new PolicyKit implementation
Marcel Holtmann [Thu, 3 Dec 2009 18:09:18 +0000 (19:09 +0100)]
Add simple test program for new PolicyKit implementation

14 years agoAdd g_at_chat_unregister_all function
Denis Kenzior [Wed, 2 Dec 2009 23:27:58 +0000 (17:27 -0600)]
Add g_at_chat_unregister_all function

14 years agoAdd: g_at_chat_cancel_all function
Denis Kenzior [Wed, 2 Dec 2009 21:28:44 +0000 (15:28 -0600)]
Add: g_at_chat_cancel_all function

This will cancel all commands currently queued.

14 years agoFix: Sometimes it is possible to cancel first cmd
Denis Kenzior [Wed, 2 Dec 2009 21:27:26 +0000 (15:27 -0600)]
Fix: Sometimes it is possible to cancel first cmd

Commands on the head of the queue can be canceled if none of its bytes
have actually been written to the modem.  This is tracked by
cmd_bytes_written variable.

14 years agoFix: Don't allow cancelation of command id 0
Denis Kenzior [Wed, 2 Dec 2009 21:26:56 +0000 (15:26 -0600)]
Fix: Don't allow cancelation of command id 0

14 years agoUse simpler wpa_supplicant state tracking
Sam Leffler [Mon, 30 Nov 2009 17:33:52 +0000 (18:33 +0100)]
Use simpler wpa_supplicant state tracking

Do not remove network on transition to DISCONNECTED state, it will
be done when connection anyway. Also merge DISCONNECTED and INACTIVE
states into one.

14 years agoAdd workaround for DHCP startup failures with WiFi networks
Sam Leffler [Mon, 30 Nov 2009 17:26:15 +0000 (18:26 +0100)]
Add workaround for DHCP startup failures with WiFi networks

When connecting to a wireless network the supplicant plugin holds
to a network object. But this object is removed from the object table
as a consequence of doing a device disconnect. If a network connect
is in progress when nother connect request comes in (e.g. via D-Bus)
it will irst disconnect which causes the object to be yanked from the
global table. When the first connect request completes the reference
held by the supplicant code is "unregistered" and not usable in starting
up a DHCP client. This leaves it in an unfixable state (restart required).

Workaround is to check in __connman_device_disconnect whether a network
is "connecting" and not disconnect it.

14 years agoAdd function to get current network connecting state
Marcel Holtmann [Mon, 30 Nov 2009 17:21:31 +0000 (18:21 +0100)]
Add function to get current network connecting state

14 years agoSet path string for Bluetooth devices
Martin Xu [Mon, 30 Nov 2009 07:08:49 +0000 (15:08 +0800)]
Set path string for Bluetooth devices

14 years agoUse proper debug class for udev device detection
Marcel Holtmann [Mon, 30 Nov 2009 00:19:46 +0000 (01:19 +0100)]
Use proper debug class for udev device detection

14 years agoPrint some details of the interface statistics
Marcel Holtmann [Mon, 30 Nov 2009 00:17:42 +0000 (01:17 +0100)]
Print some details of the interface statistics

14 years agoCheck for capabilities support via libcap-ng
Marcel Holtmann [Sun, 29 Nov 2009 23:41:05 +0000 (00:41 +0100)]
Check for capabilities support via libcap-ng