platform/upstream/connman.git
15 years agoReturn an error if a service connection attempt is already in progress
Marcel Holtmann [Thu, 16 Jul 2009 04:38:18 +0000 (06:38 +0200)]
Return an error if a service connection attempt is already in progress

15 years agoFix detection of association errors from supplicant
Marcel Holtmann [Thu, 16 Jul 2009 04:31:08 +0000 (06:31 +0200)]
Fix detection of association errors from supplicant

15 years agoDon't allow network connection attempts twice
Marcel Holtmann [Thu, 16 Jul 2009 04:02:38 +0000 (06:02 +0200)]
Don't allow network connection attempts twice

15 years agoAllow cancelling of a network connection attempt
Marcel Holtmann [Thu, 16 Jul 2009 04:00:30 +0000 (06:00 +0200)]
Allow cancelling of a network connection attempt

15 years agoAdd small test program for TUN/TAP devices
Marcel Holtmann [Thu, 16 Jul 2009 03:42:38 +0000 (05:42 +0200)]
Add small test program for TUN/TAP devices

15 years agoUpdate documentation about Ethernet devices with no carrier
Marcel Holtmann [Thu, 16 Jul 2009 03:20:25 +0000 (05:20 +0200)]
Update documentation about Ethernet devices with no carrier

15 years agoUpdate test script for service connections
Marcel Holtmann [Thu, 16 Jul 2009 03:03:15 +0000 (05:03 +0200)]
Update test script for service connections

15 years agoAdd support for connecting existing services via SSID
Marcel Holtmann [Thu, 16 Jul 2009 02:59:13 +0000 (04:59 +0200)]
Add support for connecting existing services via SSID

15 years agoFix missing inclusion of WiFi helpers source file
Marcel Holtmann [Thu, 16 Jul 2009 02:58:02 +0000 (04:58 +0200)]
Fix missing inclusion of WiFi helpers source file

15 years agoAdd helper function for WiFi group name
Marcel Holtmann [Thu, 16 Jul 2009 02:45:07 +0000 (04:45 +0200)]
Add helper function for WiFi group name

15 years agoAdd function to find first device of a given type
Marcel Holtmann [Thu, 16 Jul 2009 01:48:43 +0000 (03:48 +0200)]
Add function to find first device of a given type

15 years agoFix stalled configuration issue with supplicant
Martin Xu [Wed, 15 Jul 2009 23:22:36 +0000 (07:22 +0800)]
Fix stalled configuration issue with supplicant

15 years agoAdd function to retrieve network association state
Martin Xu [Wed, 15 Jul 2009 23:22:35 +0000 (07:22 +0800)]
Add function to retrieve network association state

15 years agoTrack connection attempts and report error if it fails
Marcel Holtmann [Thu, 16 Jul 2009 01:05:59 +0000 (03:05 +0200)]
Track connection attempts and report error if it fails

15 years agoFix one last breakage of strict-aliasing rules
Marcel Holtmann [Thu, 16 Jul 2009 00:54:17 +0000 (02:54 +0200)]
Fix one last breakage of strict-aliasing rules

15 years agoAdd extra_pdu_crlf quirk
Denis Kenzior [Wed, 15 Jul 2009 20:44:23 +0000 (15:44 -0500)]
Add extra_pdu_crlf quirk

15 years agoAdd set / get flags for GAtChat
Denis Kenzior [Wed, 15 Jul 2009 18:47:46 +0000 (13:47 -0500)]
Add set / get flags for GAtChat

15 years agoRemove wrongly committed connection patch for supplicant
Marcel Holtmann [Thu, 16 Jul 2009 00:45:00 +0000 (02:45 +0200)]
Remove wrongly committed connection patch for supplicant

15 years agoFix handling of strict-aliasing rules
Marcel Holtmann [Thu, 16 Jul 2009 00:43:47 +0000 (02:43 +0200)]
Fix handling of strict-aliasing rules

15 years agoAdd error codes for failing connection attempts
Marcel Holtmann [Wed, 15 Jul 2009 19:37:50 +0000 (21:37 +0200)]
Add error codes for failing connection attempts

15 years agoFix modem wakeup handling
Denis Kenzior [Wed, 15 Jul 2009 16:45:17 +0000 (11:45 -0500)]
Fix modem wakeup handling

15 years agoFix range handling
Denis Kenzior [Wed, 15 Jul 2009 16:43:29 +0000 (11:43 -0500)]
Fix range handling

15 years agoInclude test script for connection service
Marcel Holtmann [Wed, 15 Jul 2009 16:39:26 +0000 (18:39 +0200)]
Include test script for connection service

15 years agoadd test/connect-service
Martin Xu [Wed, 15 Jul 2009 16:34:06 +0000 (00:34 +0800)]
add test/connect-service

15 years agoFix some uninitialized variables
Marcel Holtmann [Wed, 15 Jul 2009 16:30:02 +0000 (18:30 +0200)]
Fix some uninitialized variables

15 years agoAdd option to disable compiler optimization
Marcel Holtmann [Wed, 15 Jul 2009 16:26:51 +0000 (18:26 +0200)]
Add option to disable compiler optimization

15 years agoAdd option to disable udev support (for testing)
Marcel Holtmann [Wed, 15 Jul 2009 08:29:40 +0000 (10:29 +0200)]
Add option to disable udev support (for testing)

15 years agoShow Ethernet services only if carrier is set
Marcel Holtmann [Wed, 15 Jul 2009 08:11:48 +0000 (10:11 +0200)]
Show Ethernet services only if carrier is set

15 years agoFix missing Powered property changed signals
Marcel Holtmann [Wed, 15 Jul 2009 08:06:40 +0000 (10:06 +0200)]
Fix missing Powered property changed signals

15 years agoReturn a proper order value for the default service
Marcel Holtmann [Wed, 15 Jul 2009 07:54:43 +0000 (09:54 +0200)]
Return a proper order value for the default service

15 years agoDo not set group name when network is hidden
Martin Xu [Tue, 14 Jul 2009 10:08:22 +0000 (18:08 +0800)]
Do not set group name when network is hidden

15 years agoIf SSID starts with 0x00 value, then ignore it
Marcel Holtmann [Tue, 14 Jul 2009 10:26:48 +0000 (12:26 +0200)]
If SSID starts with 0x00 value, then ignore it

15 years agoIf the SSID is not provided then declare it as hidden network
Marcel Holtmann [Tue, 14 Jul 2009 07:49:57 +0000 (09:49 +0200)]
If the SSID is not provided then declare it as hidden network

15 years agoFix potential invalid memory access of group name
Marcel Holtmann [Tue, 14 Jul 2009 07:44:24 +0000 (09:44 +0200)]
Fix potential invalid memory access of group name

15 years agoFix memory leak with group name construction
Marcel Holtmann [Tue, 14 Jul 2009 07:41:07 +0000 (09:41 +0200)]
Fix memory leak with group name construction

15 years agoMake the ConnectService method async
Marcel Holtmann [Tue, 14 Jul 2009 07:12:53 +0000 (09:12 +0200)]
Make the ConnectService method async

15 years agoFix some broken indentation
Marcel Holtmann [Mon, 13 Jul 2009 05:27:12 +0000 (07:27 +0200)]
Fix some broken indentation

15 years agoUse provided control interface and set proper group name
Marcel Holtmann [Mon, 13 Jul 2009 03:24:36 +0000 (20:24 -0700)]
Use provided control interface and set proper group name

15 years agoFix MBM detection code to find first control interface
Marcel Holtmann [Mon, 13 Jul 2009 03:24:04 +0000 (20:24 -0700)]
Fix MBM detection code to find first control interface

15 years agoAdd function to retrieve control interface
Marcel Holtmann [Mon, 13 Jul 2009 03:23:29 +0000 (20:23 -0700)]
Add function to retrieve control interface

15 years agoSetup proper ident value for cellular devices
Marcel Holtmann [Mon, 13 Jul 2009 03:11:28 +0000 (20:11 -0700)]
Setup proper ident value for cellular devices

15 years agoStore the WiFi SSID value with keyword SSID
Marcel Holtmann [Sun, 12 Jul 2009 09:47:12 +0000 (02:47 -0700)]
Store the WiFi SSID value with keyword SSID

15 years agoAdd initial version of Ericsson MBM driver
Marcel Holtmann [Sun, 12 Jul 2009 09:38:39 +0000 (02:38 -0700)]
Add initial version of Ericsson MBM driver

15 years agoAdd MBM and HSO networks to the service list
Marcel Holtmann [Sun, 12 Jul 2009 09:38:10 +0000 (02:38 -0700)]
Add MBM and HSO networks to the service list

15 years agoAdd network type for Ericsson MBM devices
Marcel Holtmann [Sun, 12 Jul 2009 08:50:30 +0000 (01:50 -0700)]
Add network type for Ericsson MBM devices

15 years agoFix handling of initial device powered state
Marcel Holtmann [Sun, 12 Jul 2009 08:20:13 +0000 (01:20 -0700)]
Fix handling of initial device powered state

15 years agoSet powered variable from the global function
Marcel Holtmann [Sun, 12 Jul 2009 08:04:43 +0000 (01:04 -0700)]
Set powered variable from the global function

15 years agoSet powered variable if callback returns successful
Marcel Holtmann [Sun, 12 Jul 2009 08:02:00 +0000 (01:02 -0700)]
Set powered variable if callback returns successful

15 years agoStore control interface for complex devices
Marcel Holtmann [Sun, 12 Jul 2009 07:32:13 +0000 (00:32 -0700)]
Store control interface for complex devices

15 years agoRemove connman_device_get_interface() function
Marcel Holtmann [Sun, 12 Jul 2009 07:26:41 +0000 (00:26 -0700)]
Remove connman_device_get_interface() function

15 years agoUse the interface index for fast device comparison
Marcel Holtmann [Sun, 12 Jul 2009 07:25:55 +0000 (00:25 -0700)]
Use the interface index for fast device comparison

15 years agoUse interface index to resolve interface name
Marcel Holtmann [Sun, 12 Jul 2009 07:21:38 +0000 (00:21 -0700)]
Use interface index to resolve interface name

15 years agoAdd detection routine for Ericsson MBM devices
Marcel Holtmann [Sun, 12 Jul 2009 06:59:58 +0000 (23:59 -0700)]
Add detection routine for Ericsson MBM devices

15 years agoRelease 0.23 0.23
Marcel Holtmann [Sat, 11 Jul 2009 21:27:44 +0000 (14:27 -0700)]
Release 0.23

15 years agoFix dhclient probe/remove race condition
Marcel Holtmann [Sat, 11 Jul 2009 21:07:04 +0000 (14:07 -0700)]
Fix dhclient probe/remove race condition

15 years agoTrack killed status of dhclient tasks
Marcel Holtmann [Sat, 11 Jul 2009 21:04:03 +0000 (14:04 -0700)]
Track killed status of dhclient tasks

15 years agoSome cleanup of service load/save functions
Marcel Holtmann [Sat, 11 Jul 2009 20:08:57 +0000 (13:08 -0700)]
Some cleanup of service load/save functions

15 years agoAdd missing comment for connman_network_get_group() function
Marcel Holtmann [Sat, 11 Jul 2009 19:58:34 +0000 (12:58 -0700)]
Add missing comment for connman_network_get_group() function

15 years agoMinor code cleanups for supplicant handling
Marcel Holtmann [Sat, 11 Jul 2009 19:56:53 +0000 (12:56 -0700)]
Minor code cleanups for supplicant handling

15 years agoAdd support for storing SSID details of hidden services
Samuel Ortiz [Fri, 10 Jul 2009 22:32:02 +0000 (00:32 +0200)]
Add support for storing SSID details of hidden services

When loading a hidden service from storage, we set the service and network
name, along with the SSID. This way we can present a clean and usable service
list to fetch connectable services from.

15 years agoUse the scan_ssid supplicant attribute for all connections
Samuel Ortiz [Fri, 10 Jul 2009 22:32:01 +0000 (00:32 +0200)]
Use the scan_ssid supplicant attribute for all connections

Since we now have properly set hidden network, we may now end up trying to
connect to a hidden SSID from a network that comes with a set BSSID.

For handling this kind of situation we need to set scan_ssid by default to 1.

15 years agoSet hidden network group name at time of association
Samuel Ortiz [Fri, 10 Jul 2009 22:32:00 +0000 (00:32 +0200)]
Set hidden network group name at time of association

We want to keep hidden network's group as hidden_BSSID_mode_security in order
to store them with this name and match them properly against our initial scan
results.
To achieve that we need to set a joined network group at associated time since
we don't know its BSSID before that.

15 years agoRemove deprecated and useless connect_known_network() function
Martin Xu [Sat, 11 Jul 2009 12:20:14 +0000 (20:20 +0800)]
Remove deprecated and useless connect_known_network() function

15 years agoIgnore service at auto-connect after user disconnected it
Martin Xu [Sat, 11 Jul 2009 12:20:13 +0000 (20:20 +0800)]
Ignore service at auto-connect after user disconnected it

15 years agoRelease 0.22 0.22
Marcel Holtmann [Fri, 10 Jul 2009 08:31:35 +0000 (01:31 -0700)]
Release 0.22

15 years agoSet idle state after disconnecting device
Martin Xu [Fri, 10 Jul 2009 06:17:34 +0000 (14:17 +0800)]
Set idle state after disconnecting device

15 years agoFix disconnect race condition issue in WiFi supplicant
Martin Xu [Fri, 10 Jul 2009 04:29:36 +0000 (12:29 +0800)]
Fix disconnect race condition issue in WiFi supplicant

15 years agoAdd task_connect() function to WiFi supplicant
Martin Xu [Fri, 10 Jul 2009 04:29:21 +0000 (12:29 +0800)]
Add task_connect() function to WiFi supplicant

15 years agoDon't trigger auto-connect when connection attempt is pending
Marcel Holtmann [Thu, 9 Jul 2009 05:39:58 +0000 (22:39 -0700)]
Don't trigger auto-connect when connection attempt is pending

15 years agoDisconnect network before joining new network
Martin Xu [Thu, 9 Jul 2009 04:38:15 +0000 (12:38 +0800)]
Disconnect network before joining new network

15 years agoFix some plugin build system details
Marcel Holtmann [Thu, 9 Jul 2009 02:28:57 +0000 (19:28 -0700)]
Fix some plugin build system details

15 years agoSimplify the SIOCGIWRANGE handling a little bit
Marcel Holtmann [Thu, 9 Jul 2009 02:16:56 +0000 (19:16 -0700)]
Simplify the SIOCGIWRANGE handling a little bit

15 years agoSet WiFi signal strength based on the reported ranges
Samuel Ortiz [Thu, 9 Jul 2009 00:17:29 +0000 (02:17 +0200)]
Set WiFi signal strength based on the reported ranges

The semantics of the scan results level and quality change with kernel
versions and/or drivers. We now fetch the wireless extensions ranges
first and compute our signal strength based on that.

15 years agoCheck for valid service before dereferencing the order
Marcel Holtmann [Wed, 8 Jul 2009 18:55:29 +0000 (11:55 -0700)]
Check for valid service before dereferencing the order

15 years agoDon't update network details of ready or connecting services
Martin Xu [Wed, 8 Jul 2009 05:33:24 +0000 (13:33 +0800)]
Don't update network details of ready or connecting services

15 years agoDon't trigger auto-connect if user initiated connect failed
Marcel Holtmann [Wed, 8 Jul 2009 04:14:00 +0000 (21:14 -0700)]
Don't trigger auto-connect if user initiated connect failed

15 years agoFix case where CMGS returns an error before pdu
Denis Kenzior [Tue, 7 Jul 2009 19:31:11 +0000 (14:31 -0500)]
Fix case where CMGS returns an error before pdu

Commands like CMGS might return an error before the entire command
has been submitted.  This results in gatchat stalling completely.

15 years agoFix broken udev rules directory detection
Marcel Holtmann [Tue, 7 Jul 2009 18:59:54 +0000 (11:59 -0700)]
Fix broken udev rules directory detection

15 years agoDon't update service details if network is already connected
Marcel Holtmann [Tue, 7 Jul 2009 18:53:57 +0000 (11:53 -0700)]
Don't update service details if network is already connected

15 years agoAdd checks for networks if attribute is not available
Samuel Ortiz [Tue, 7 Jul 2009 16:02:27 +0000 (18:02 +0200)]
Add checks for networks if attribute is not available

We do actually want to check for NULL pointers, not to prevent g_strcmp0
from crashing, but because we want to compare the 2 pointers when we've
been given one and the network we're looking at has a pointer too.

For example if we call find_network() without an address, it basically
means "find a network with an SSID, and with _any_ address". But then
we're going to compare a NULL pointer with the network's address and
that's gonna be -1. As a consequence, we'll skip this network while
we shouldnt.

15 years agoRelease 0.21 0.21
Marcel Holtmann [Tue, 7 Jul 2009 08:13:43 +0000 (01:13 -0700)]
Release 0.21

15 years agoEnable support for initial service drag and drop
Marcel Holtmann [Tue, 7 Jul 2009 08:06:19 +0000 (01:06 -0700)]
Enable support for initial service drag and drop

15 years agoMake sure to trigger auto-connect when connection attempt fails
Marcel Holtmann [Tue, 7 Jul 2009 08:02:26 +0000 (01:02 -0700)]
Make sure to trigger auto-connect when connection attempt fails

15 years agoThe g_strcmp0 does the NULL pointer checking already
Marcel Holtmann [Tue, 7 Jul 2009 07:22:00 +0000 (00:22 -0700)]
The g_strcmp0 does the NULL pointer checking already

15 years agoOnly create new network if it doesn't exists
Samuel Ortiz [Mon, 6 Jul 2009 17:40:38 +0000 (19:40 +0200)]
Only create new network if it doesn't exists

When calling join_network(), we shouldnt create a new network when
the one we're trying to join is already on the network list.

So this patch looks for a matching network and connect to it, instead
of always creating a 00_00_00_00_00_00 network. Obviously, if the
network is not in the network list we do create the network.

15 years agoTrigger auto-connect when new service is added
Marcel Holtmann [Tue, 7 Jul 2009 07:03:12 +0000 (00:03 -0700)]
Trigger auto-connect when new service is added

15 years agoCheck for current state on connect timeout
Marcel Holtmann [Tue, 7 Jul 2009 06:49:24 +0000 (23:49 -0700)]
Check for current state on connect timeout

15 years agoSplit service connect/disconnect from D-Bus message handling
Marcel Holtmann [Tue, 7 Jul 2009 06:41:48 +0000 (23:41 -0700)]
Split service connect/disconnect from D-Bus message handling

15 years agoFix various error definitions
Marcel Holtmann [Tue, 7 Jul 2009 06:41:24 +0000 (23:41 -0700)]
Fix various error definitions

15 years agoConvert EALREADY to proper error message
Marcel Holtmann [Tue, 7 Jul 2009 06:06:30 +0000 (23:06 -0700)]
Convert EALREADY to proper error message

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