profile/ivi/connman.git
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

14 years agoRemove outdated modem helper library
Marcel Holtmann [Sun, 29 Nov 2009 22:36:52 +0000 (23:36 +0100)]
Remove outdated modem helper library

14 years agoUse network details also for Ethernet devices
Marcel Holtmann [Sun, 29 Nov 2009 22:18:56 +0000 (23:18 +0100)]
Use network details also for Ethernet devices

14 years agoAdd better decoding of network list details
Marcel Holtmann [Sun, 29 Nov 2009 19:46:23 +0000 (20:46 +0100)]
Add better decoding of network list details

14 years agoAdd network type for cable/carrier detection
Marcel Holtmann [Sun, 29 Nov 2009 19:33:09 +0000 (20:33 +0100)]
Add network type for cable/carrier detection

14 years agoSend signal with empty default technology when not connected
Marcel Holtmann [Sun, 29 Nov 2009 16:31:34 +0000 (17:31 +0100)]
Send signal with empty default technology when not connected

14 years agoFix segmentation fault with service type lookup
Marcel Holtmann [Sun, 29 Nov 2009 16:26:51 +0000 (17:26 +0100)]
Fix segmentation fault with service type lookup

14 years agoDisable DNS proxying when all services are disabled
Marcel Holtmann [Sat, 28 Nov 2009 16:41:57 +0000 (17:41 +0100)]
Disable DNS proxying when all services are disabled

14 years agoFollow changes to the default service and use its DNS servers
Marcel Holtmann [Sat, 28 Nov 2009 16:39:19 +0000 (17:39 +0100)]
Follow changes to the default service and use its DNS servers

14 years agoAdd method to retrieve interface name from service
Marcel Holtmann [Sat, 28 Nov 2009 16:38:43 +0000 (17:38 +0100)]
Add method to retrieve interface name from service

14 years agoDisable DNS proxy handling when in offline mode
Marcel Holtmann [Sat, 28 Nov 2009 16:27:02 +0000 (17:27 +0100)]
Disable DNS proxy handling when in offline mode

14 years agoAdd support for default service changed notifier
Marcel Holtmann [Sat, 28 Nov 2009 14:32:09 +0000 (14:32 +0000)]
Add support for default service changed notifier

14 years agoUse one common service type to string conversion routine
Marcel Holtmann [Sat, 28 Nov 2009 14:15:38 +0000 (14:15 +0000)]
Use one common service type to string conversion routine

14 years agoFix: Retry the wakeup command until the modem OKs
Denis Kenzior [Thu, 26 Nov 2009 13:38:51 +0000 (07:38 -0600)]
Fix: Retry the wakeup command until the modem OKs

The calypso is weird where it doesn't actually wakeup on the first try,
we need to bang its head a few times until it responds

14 years agoRelease 0.47
Marcel Holtmann [Thu, 26 Nov 2009 12:47:55 +0000 (12:47 +0000)]
Release 0.47

14 years agoDisable PolicyKit when building distribution package
Marcel Holtmann [Thu, 26 Nov 2009 12:47:31 +0000 (12:47 +0000)]
Disable PolicyKit when building distribution package

14 years agoDisable reconnect when removing service
Martin Xu [Thu, 26 Nov 2009 07:24:18 +0000 (15:24 +0800)]
Disable reconnect when removing service

14 years agoAdd PropertyChanged signal for service Favorite setting
Martin Xu [Thu, 26 Nov 2009 07:24:17 +0000 (15:24 +0800)]
Add PropertyChanged signal for service Favorite setting

14 years agoRemove empty plugins for Novatel and Huawei modems
Marcel Holtmann [Thu, 26 Nov 2009 08:46:42 +0000 (09:46 +0100)]
Remove empty plugins for Novatel and Huawei modems

14 years agoAdd comment about new debugging options
Marcel Holtmann [Thu, 26 Nov 2009 08:40:37 +0000 (09:40 +0100)]
Add comment about new debugging options

14 years agoDon't show passphrases in debug messages
Marcel Holtmann [Thu, 26 Nov 2009 08:26:48 +0000 (09:26 +0100)]
Don't show passphrases in debug messages

14 years agoAdd checks for invalid supplicant state transitions
Marcel Holtmann [Thu, 26 Nov 2009 08:20:48 +0000 (09:20 +0100)]
Add checks for invalid supplicant state transitions

14 years agoTrigger background scan after successful connection
Marcel Holtmann [Thu, 26 Nov 2009 08:13:16 +0000 (09:13 +0100)]
Trigger background scan after successful connection

14 years agoAdd device function for scheduling a scan
Marcel Holtmann [Thu, 26 Nov 2009 08:11:28 +0000 (09:11 +0100)]
Add device function for scheduling a scan

14 years agoFix segmentation fault on resolver shutdown
Marcel Holtmann [Thu, 26 Nov 2009 08:00:25 +0000 (09:00 +0100)]
Fix segmentation fault on resolver shutdown

14 years agoAdd support for dynamic debug framework
Marcel Holtmann [Wed, 25 Nov 2009 15:54:47 +0000 (16:54 +0100)]
Add support for dynamic debug framework

14 years agoRemove element signal emission
Marcel Holtmann [Wed, 25 Nov 2009 14:51:44 +0000 (15:51 +0100)]
Remove element signal emission