platform/upstream/connman.git
15 years agoConvert EINPROGRESS to proper error message
Marcel Holtmann [Tue, 7 Jul 2009 06:04:03 +0000 (23:04 -0700)]
Convert EINPROGRESS to proper error message

15 years agoAdd service error for missing PIN codes
Marcel Holtmann [Sun, 5 Jul 2009 21:51:22 +0000 (14:51 -0700)]
Add service error for missing PIN codes

15 years agoAdd function getting device disconnected state
Marcel Holtmann [Sun, 5 Jul 2009 21:41:37 +0000 (14:41 -0700)]
Add function getting device disconnected state

15 years agoUse correct udev base directory
Marcel Holtmann [Sun, 5 Jul 2009 17:44:45 +0000 (10:44 -0700)]
Use correct udev base directory

15 years agoRevert change to ignore USB based Ethernet devices
Marcel Holtmann [Sun, 5 Jul 2009 17:09:58 +0000 (10:09 -0700)]
Revert change to ignore USB based Ethernet devices

15 years agoFix race condition with IDLE state on disconnect
Marcel Holtmann [Sun, 5 Jul 2009 16:35:54 +0000 (09:35 -0700)]
Fix race condition with IDLE state on disconnect

15 years agoMove the network device type detection into its own function
Marcel Holtmann [Sat, 4 Jul 2009 17:19:18 +0000 (10:19 -0700)]
Move the network device type detection into its own function

15 years agoAdd device type for Ericsson MBM hardware
Marcel Holtmann [Sat, 4 Jul 2009 06:14:32 +0000 (23:14 -0700)]
Add device type for Ericsson MBM hardware

15 years agoDetect network devices via udev
Marcel Holtmann [Sat, 4 Jul 2009 06:00:02 +0000 (23:00 -0700)]
Detect network devices via udev

15 years agoFix udev monitor filter fallback functions
Marcel Holtmann [Sat, 4 Jul 2009 05:35:43 +0000 (22:35 -0700)]
Fix udev monitor filter fallback functions

15 years agoUse RTNL device detection only if udev is not available
Marcel Holtmann [Sat, 4 Jul 2009 05:31:59 +0000 (22:31 -0700)]
Use RTNL device detection only if udev is not available

15 years agoAlso check for TTY devices
Marcel Holtmann [Fri, 3 Jul 2009 22:11:10 +0000 (15:11 -0700)]
Also check for TTY devices

15 years agoRequire udev and if not present use a compat layer
Marcel Holtmann [Fri, 3 Jul 2009 22:05:20 +0000 (15:05 -0700)]
Require udev and if not present use a compat layer

15 years agoDon't handle devices from USB network cards
Marcel Holtmann [Fri, 3 Jul 2009 21:14:58 +0000 (14:14 -0700)]
Don't handle devices from USB network cards

15 years agoRestrict udev to devices from net subsystem
Marcel Holtmann [Fri, 3 Jul 2009 21:14:04 +0000 (14:14 -0700)]
Restrict udev to devices from net subsystem

15 years agoRemove udev rules file since it should not be used anymore
Marcel Holtmann [Fri, 3 Jul 2009 21:07:21 +0000 (14:07 -0700)]
Remove udev rules file since it should not be used anymore

15 years agoCheck for udev monitor filter functions
Marcel Holtmann [Fri, 3 Jul 2009 20:51:01 +0000 (13:51 -0700)]
Check for udev monitor filter functions

15 years agoUse the new udev netlink monitor
Marcel Holtmann [Fri, 3 Jul 2009 20:43:57 +0000 (13:43 -0700)]
Use the new udev netlink monitor

15 years agoRequire at minimum udev-141
Marcel Holtmann [Fri, 3 Jul 2009 20:39:43 +0000 (13:39 -0700)]
Require at minimum udev-141

15 years agoFix to replace unprintable characters with a white space
Marcel Holtmann [Fri, 3 Jul 2009 17:19:27 +0000 (10:19 -0700)]
Fix to replace unprintable characters with a white space

15 years agoFix handling of WEP shared key
Samuel Ortiz [Fri, 3 Jul 2009 16:45:09 +0000 (18:45 +0200)]
Fix handling of WEP shared key

For WEP, we need to specify a list of allowed authentication algorithms.
Without those, wpa_supplicant will tell the driver to use an open
authtnetication only. But with this list of authentication algorithms,
mac80211 based drivers will try each and every one of them until one succeeds.
This way we can safely associate with open and shared key WEP networks.

Note that non mac80211 drivers are on their own, but at least they will now be
notified of the authentication algorithms we'd like to try.

15 years agoJust update the service if it already exists
Marcel Holtmann [Thu, 2 Jul 2009 14:52:22 +0000 (07:52 -0700)]
Just update the service if it already exists

15 years agoUse only printable characters for network name
Samuel Ortiz [Thu, 2 Jul 2009 10:19:31 +0000 (12:19 +0200)]
Use only printable characters for network name

15 years agoAdd Josh to the list of authors
Marcel Holtmann [Thu, 2 Jul 2009 11:30:51 +0000 (04:30 -0700)]
Add Josh to the list of authors

15 years agoHave services remove method also clear the passphrase
Joshua Lock [Thu, 2 Jul 2009 11:00:53 +0000 (12:00 +0100)]
Have services remove method also clear the passphrase

15 years agoClear passphrase from storage when it's not set
Joshua Lock [Thu, 2 Jul 2009 10:57:29 +0000 (11:57 +0100)]
Clear passphrase from storage when it's not set

15 years agoFix uninitialized use of bufpos
Denis Kenzior [Wed, 1 Jul 2009 15:48:03 +0000 (10:48 -0500)]
Fix uninitialized use of bufpos

15 years agoRelease 0.20 0.20
Marcel Holtmann [Wed, 1 Jul 2009 15:32:43 +0000 (08:32 -0700)]
Release 0.20

15 years agoFix async handling of device powered property
Marcel Holtmann [Wed, 1 Jul 2009 14:40:49 +0000 (07:40 -0700)]
Fix async handling of device powered property

15 years agoTo be on the safe side use only wext for driver option
Marcel Holtmann [Wed, 1 Jul 2009 14:13:01 +0000 (07:13 -0700)]
To be on the safe side use only wext for driver option

15 years agoFix handling of connect/disconnect for Ethernet devices
Marcel Holtmann [Wed, 1 Jul 2009 13:23:55 +0000 (06:23 -0700)]
Fix handling of connect/disconnect for Ethernet devices

15 years agoUse a more detailed list for DISTCHECK_CONFIGURE_FLAGS
Marcel Holtmann [Wed, 1 Jul 2009 12:39:37 +0000 (05:39 -0700)]
Use a more detailed list for DISTCHECK_CONFIGURE_FLAGS

15 years agoRemove the obsolete shave support
Marcel Holtmann [Wed, 1 Jul 2009 01:43:58 +0000 (18:43 -0700)]
Remove the obsolete shave support

15 years agoAdd support for AM_SLIENT_RULES
Marcel Holtmann [Wed, 1 Jul 2009 01:35:49 +0000 (18:35 -0700)]
Add support for AM_SLIENT_RULES

15 years agoAdd skeleton for Ericsson MBM device plugin
Marcel Holtmann [Tue, 30 Jun 2009 20:40:05 +0000 (13:40 -0700)]
Add skeleton for Ericsson MBM device plugin

15 years agoFix error code for invalid or unknown properties
Marcel Holtmann [Tue, 30 Jun 2009 20:34:08 +0000 (13:34 -0700)]
Fix error code for invalid or unknown properties

15 years agoAvoid double storage of same information
Marcel Holtmann [Tue, 30 Jun 2009 20:31:55 +0000 (13:31 -0700)]
Avoid double storage of same information

15 years agoAdd support for clearing error state via ClearProperty
Marcel Holtmann [Tue, 30 Jun 2009 20:30:50 +0000 (13:30 -0700)]
Add support for clearing error state via ClearProperty

15 years agoAdd missing description of SetProperty
Marcel Holtmann [Tue, 30 Jun 2009 20:26:32 +0000 (13:26 -0700)]
Add missing description of SetProperty

15 years agoAdd the current error state to properties
Marcel Holtmann [Tue, 30 Jun 2009 20:23:05 +0000 (13:23 -0700)]
Add the current error state to properties

15 years agoMove error conversion helper to different location
Marcel Holtmann [Tue, 30 Jun 2009 20:21:20 +0000 (13:21 -0700)]
Move error conversion helper to different location

15 years agoAdd support for DHCP errors from services
Marcel Holtmann [Tue, 30 Jun 2009 20:20:10 +0000 (13:20 -0700)]
Add support for DHCP errors from services

15 years agoStore and load failure information for service
Marcel Holtmann [Tue, 30 Jun 2009 20:14:51 +0000 (13:14 -0700)]
Store and load failure information for service

15 years agoAdd support for opening TTYs directly
Marcel Holtmann [Tue, 30 Jun 2009 19:48:42 +0000 (12:48 -0700)]
Add support for opening TTYs directly

15 years agoFixes to parser state when command prompt is used
Denis Kenzior [Sat, 20 Jun 2009 02:10:51 +0000 (21:10 -0500)]
Fixes to parser state when command prompt is used

15 years agoImprove string parsing code
Denis Kenzior [Mon, 15 Jun 2009 22:41:50 +0000 (17:41 -0500)]
Improve string parsing code

Currently next_string and next_hexstring functions use a static
buffer in the iterator to store the value.  This value is clobbered
as soon as next_string or next_hexstring is called.  Instead,
we copy the entire line in iter_next and use it as a scratch buffer.
The only limitation is that lines of max 2048 are possible, however
these are limited to around this size by parts of the standard.

15 years agoAdd g_at_send_listing function
Denis Kenzior [Mon, 15 Jun 2009 21:37:13 +0000 (16:37 -0500)]
Add g_at_send_listing function

15 years agoForward error reporting from elements to services
Marcel Holtmann [Tue, 30 Jun 2009 15:42:51 +0000 (08:42 -0700)]
Forward error reporting from elements to services

15 years agoUpdate module description
Marcel Holtmann [Tue, 30 Jun 2009 15:32:35 +0000 (08:32 -0700)]
Update module description

15 years agoSet default IP configuration method for services
Marcel Holtmann [Tue, 30 Jun 2009 15:27:40 +0000 (08:27 -0700)]
Set default IP configuration method for services

15 years agoAdd callbacks for storage of IP configuration of services
Marcel Holtmann [Tue, 30 Jun 2009 15:21:02 +0000 (08:21 -0700)]
Add callbacks for storage of IP configuration of services

15 years agoReturn positive result if properties are already set
Marcel Holtmann [Tue, 30 Jun 2009 14:02:06 +0000 (07:02 -0700)]
Return positive result if properties are already set

15 years agoFix for older autotools that don't define "abs_top_YYY" by default
Marcel Holtmann [Tue, 30 Jun 2009 01:12:47 +0000 (03:12 +0200)]
Fix for older autotools that don't define "abs_top_YYY" by default

15 years agoAdd Samuel to the list of authors
Marcel Holtmann [Tue, 30 Jun 2009 01:10:56 +0000 (03:10 +0200)]
Add Samuel to the list of authors

15 years agoCheck for active_gateway being non NULL before dereferencing it
Samuel Ortiz [Mon, 29 Jun 2009 19:17:39 +0000 (21:17 +0200)]
Check for active_gateway being non NULL before dereferencing it

15 years agoAdd function for more detailed error reporting
Marcel Holtmann [Mon, 29 Jun 2009 21:45:12 +0000 (23:45 +0200)]
Add function for more detailed error reporting

15 years agoDocument two essential IPv4 configuration properties
Marcel Holtmann [Mon, 29 Jun 2009 19:49:36 +0000 (21:49 +0200)]
Document two essential IPv4 configuration properties

15 years agoFix detection of invalid IP configuration methods
Marcel Holtmann [Mon, 29 Jun 2009 19:46:45 +0000 (21:46 +0200)]
Fix detection of invalid IP configuration methods

15 years agoAdd support for exporting IP configuration properties
Marcel Holtmann [Mon, 29 Jun 2009 19:44:19 +0000 (21:44 +0200)]
Add support for exporting IP configuration properties

15 years agoAdd some special error conversion handling for EACCES and EINVAL
Marcel Holtmann [Mon, 29 Jun 2009 19:31:17 +0000 (21:31 +0200)]
Add some special error conversion handling for EACCES and EINVAL

15 years agoAdd suppport for setting IPv4 configuration method
Marcel Holtmann [Mon, 29 Jun 2009 19:27:09 +0000 (21:27 +0200)]
Add suppport for setting IPv4 configuration method

15 years agoHook up setting of IPv4 properties
Marcel Holtmann [Mon, 29 Jun 2009 19:19:40 +0000 (21:19 +0200)]
Hook up setting of IPv4 properties

15 years agoAdd IP configuration details to devices, networks and services
Marcel Holtmann [Mon, 29 Jun 2009 19:04:30 +0000 (21:04 +0200)]
Add IP configuration details to devices, networks and services

15 years agoRemove the useless extern declaration for public functions
Marcel Holtmann [Mon, 29 Jun 2009 18:42:11 +0000 (20:42 +0200)]
Remove the useless extern declaration for public functions

15 years agoFirst step towards a generic IP configuration infrastructure
Marcel Holtmann [Mon, 29 Jun 2009 18:32:55 +0000 (20:32 +0200)]
First step towards a generic IP configuration infrastructure

15 years agoAdd types for Bluetooth and cellular services
Marcel Holtmann [Mon, 29 Jun 2009 17:49:25 +0000 (19:49 +0200)]
Add types for Bluetooth and cellular services

15 years agoRememove rememeber, policy and prority properties
Marcel Holtmann [Mon, 29 Jun 2009 16:10:53 +0000 (18:10 +0200)]
Rememove rememeber, policy and prority properties

15 years agoThe global policy also makes no sense and so remove that, too
Marcel Holtmann [Mon, 29 Jun 2009 16:06:31 +0000 (18:06 +0200)]
The global policy also makes no sense and so remove that, too

15 years agoThe device policy is a bad idea and so remove all support for it
Marcel Holtmann [Mon, 29 Jun 2009 16:01:18 +0000 (18:01 +0200)]
The device policy is a bad idea and so remove all support for it

15 years agoAdd async handling for setting device power state
Marcel Holtmann [Mon, 29 Jun 2009 15:52:59 +0000 (17:52 +0200)]
Add async handling for setting device power state

15 years agoFix reseting of timeout identifier
Marcel Holtmann [Mon, 29 Jun 2009 07:42:57 +0000 (09:42 +0200)]
Fix reseting of timeout identifier

15 years agoReturn error for invalid properties on manager and service interfaces
Marcel Holtmann [Mon, 29 Jun 2009 07:38:00 +0000 (09:38 +0200)]
Return error for invalid properties on manager and service interfaces

15 years agoAdd error code for invalid properties
Marcel Holtmann [Mon, 29 Jun 2009 07:37:28 +0000 (09:37 +0200)]
Add error code for invalid properties

15 years agoAdd comment add missing device name property
Marcel Holtmann [Mon, 29 Jun 2009 07:19:40 +0000 (09:19 +0200)]
Add comment add missing device name property

15 years agoRemove handling of device properties
Marcel Holtmann [Mon, 29 Jun 2009 07:17:54 +0000 (09:17 +0200)]
Remove handling of device properties

15 years agoAdd support for reading DEVTYPE attribute
Marcel Holtmann [Sun, 28 Jun 2009 09:55:11 +0000 (11:55 +0200)]
Add support for reading DEVTYPE attribute

15 years agoMention Richard's contributions
Marcel Holtmann [Sun, 28 Jun 2009 07:40:01 +0000 (09:40 +0200)]
Mention Richard's contributions

15 years agoAdd Gustavo and Martin to the list of authors
Marcel Holtmann [Sun, 28 Jun 2009 07:38:42 +0000 (09:38 +0200)]
Add Gustavo and Martin to the list of authors

15 years agoAdd documentation for the new service error property
Marcel Holtmann [Sun, 28 Jun 2009 07:31:47 +0000 (09:31 +0200)]
Add documentation for the new service error property

15 years agoHandle missing Name property when setting passphrase
Marcel Holtmann [Sun, 28 Jun 2009 07:18:15 +0000 (09:18 +0200)]
Handle missing Name property when setting passphrase

15 years agoCheck for valid default route when updating profile details
Marcel Holtmann [Sun, 28 Jun 2009 07:14:54 +0000 (09:14 +0200)]
Check for valid default route when updating profile details

15 years agoAdd support for switching default route based on service order
Marcel Holtmann [Fri, 26 Jun 2009 12:33:56 +0000 (14:33 +0200)]
Add support for switching default route based on service order

15 years agoAdd function to read the internal service order value
Marcel Holtmann [Fri, 26 Jun 2009 12:18:48 +0000 (14:18 +0200)]
Add function to read the internal service order value

15 years agoPrint an error if a network already exists
Marcel Holtmann [Fri, 26 Jun 2009 10:43:45 +0000 (12:43 +0200)]
Print an error if a network already exists

15 years agoAdd proper service group name when connecting to hidden networks
Marcel Holtmann [Fri, 26 Jun 2009 10:43:24 +0000 (12:43 +0200)]
Add proper service group name when connecting to hidden networks

15 years agoAdd support for connect/disconnect on Ethernet devices
Marcel Holtmann [Fri, 26 Jun 2009 10:32:28 +0000 (12:32 +0200)]
Add support for connect/disconnect on Ethernet devices

15 years agoCall into device specific connect and disconnect callbacks
Marcel Holtmann [Fri, 26 Jun 2009 10:28:27 +0000 (12:28 +0200)]
Call into device specific connect and disconnect callbacks

15 years agoAdd callbacks for device connects and disconnects
Marcel Holtmann [Fri, 26 Jun 2009 10:24:18 +0000 (12:24 +0200)]
Add callbacks for device connects and disconnects

15 years agoAdd some more INET helpers
Marcel Holtmann [Fri, 26 Jun 2009 10:23:12 +0000 (12:23 +0200)]
Add some more INET helpers

15 years agoAdd support for setting Broadcast and Nameserver values
Marcel Holtmann [Fri, 26 Jun 2009 10:16:09 +0000 (12:16 +0200)]
Add support for setting Broadcast and Nameserver values

15 years agoAdd support for exporting Broadcast and Nameserver properties
Marcel Holtmann [Fri, 26 Jun 2009 10:13:03 +0000 (12:13 +0200)]
Add support for exporting Broadcast and Nameserver properties

15 years agoDon't enable gtk-doc with bootstrap-configure
Marcel Holtmann [Fri, 12 Jun 2009 02:43:25 +0000 (04:43 +0200)]
Don't enable gtk-doc with bootstrap-configure

15 years agoAdd hooks for domain details in dhclient
Marcel Holtmann [Fri, 12 Jun 2009 02:42:57 +0000 (04:42 +0200)]
Add hooks for domain details in dhclient

15 years agoAdditional fixes to multiline responses
Denis Kenzior [Tue, 9 Jun 2009 03:43:27 +0000 (22:43 -0500)]
Additional fixes to multiline responses

The previous fix did not take into account the logic in have_line
function, which takes care of certain modems that do not prefix
their responses by <cr><lf> at all.  This fix should take both
into consideration

15 years agoFix multiline responses in GAtChat
Denis Kenzior [Mon, 8 Jun 2009 19:06:07 +0000 (14:06 -0500)]
Fix multiline responses in GAtChat

The standard is a bit fuzzy on how multiline responses are returned
GAtChat assumed that they will always start with <cr><lf>, however
this doesn't seem to be correct.  Add a new state which is entered
when a response is obtained.  If <cr> is encountered, then it
is processed regularly, otherwise the parser assumes that the
next line is part of the multiline response

15 years agoAdd hex-encoded character string getter to AtChat
Andrzej Zaborowski [Fri, 22 May 2009 11:58:49 +0000 (13:58 +0200)]
Add hex-encoded character string getter to AtChat

15 years agoAdd default Motorola SSID to the mix
Marcel Holtmann [Tue, 2 Jun 2009 16:47:20 +0000 (18:47 +0200)]
Add default Motorola SSID to the mix

15 years agoDon't add useless domain and search entries to resolv.conf
Marcel Holtmann [Sat, 30 May 2009 08:18:33 +0000 (10:18 +0200)]
Don't add useless domain and search entries to resolv.conf

15 years agoAdd basic parsing of RFKILL events
Marcel Holtmann [Fri, 29 May 2009 09:32:40 +0000 (11:32 +0200)]
Add basic parsing of RFKILL events

15 years agoAdd support for reading RFKILL events
Marcel Holtmann [Fri, 29 May 2009 09:19:24 +0000 (11:19 +0200)]
Add support for reading RFKILL events