Marcel Holtmann [Sun, 12 Jul 2009 06:59:58 +0000 (23:59 -0700)]
Add detection routine for Ericsson MBM devices
Marcel Holtmann [Sat, 11 Jul 2009 21:27:44 +0000 (14:27 -0700)]
Release 0.23
Marcel Holtmann [Sat, 11 Jul 2009 21:07:04 +0000 (14:07 -0700)]
Fix dhclient probe/remove race condition
Marcel Holtmann [Sat, 11 Jul 2009 21:04:03 +0000 (14:04 -0700)]
Track killed status of dhclient tasks
Marcel Holtmann [Sat, 11 Jul 2009 20:08:57 +0000 (13:08 -0700)]
Some cleanup of service load/save functions
Marcel Holtmann [Sat, 11 Jul 2009 19:58:34 +0000 (12:58 -0700)]
Add missing comment for connman_network_get_group() function
Marcel Holtmann [Sat, 11 Jul 2009 19:56:53 +0000 (12:56 -0700)]
Minor code cleanups for supplicant handling
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.
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.
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.
Martin Xu [Sat, 11 Jul 2009 12:20:14 +0000 (20:20 +0800)]
Remove deprecated and useless connect_known_network() function
Martin Xu [Sat, 11 Jul 2009 12:20:13 +0000 (20:20 +0800)]
Ignore service at auto-connect after user disconnected it
Marcel Holtmann [Fri, 10 Jul 2009 08:31:35 +0000 (01:31 -0700)]
Release 0.22
Martin Xu [Fri, 10 Jul 2009 06:17:34 +0000 (14:17 +0800)]
Set idle state after disconnecting device
Martin Xu [Fri, 10 Jul 2009 04:29:36 +0000 (12:29 +0800)]
Fix disconnect race condition issue in WiFi supplicant
Martin Xu [Fri, 10 Jul 2009 04:29:21 +0000 (12:29 +0800)]
Add task_connect() function to WiFi supplicant
Marcel Holtmann [Thu, 9 Jul 2009 05:39:58 +0000 (22:39 -0700)]
Don't trigger auto-connect when connection attempt is pending
Martin Xu [Thu, 9 Jul 2009 04:38:15 +0000 (12:38 +0800)]
Disconnect network before joining new network
Marcel Holtmann [Thu, 9 Jul 2009 02:28:57 +0000 (19:28 -0700)]
Fix some plugin build system details
Marcel Holtmann [Thu, 9 Jul 2009 02:16:56 +0000 (19:16 -0700)]
Simplify the SIOCGIWRANGE handling a little bit
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.
Marcel Holtmann [Wed, 8 Jul 2009 18:55:29 +0000 (11:55 -0700)]
Check for valid service before dereferencing the order
Martin Xu [Wed, 8 Jul 2009 05:33:24 +0000 (13:33 +0800)]
Don't update network details of ready or connecting services
Marcel Holtmann [Wed, 8 Jul 2009 04:14:00 +0000 (21:14 -0700)]
Don't trigger auto-connect if user initiated connect failed
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.
Marcel Holtmann [Tue, 7 Jul 2009 18:59:54 +0000 (11:59 -0700)]
Fix broken udev rules directory detection
Marcel Holtmann [Tue, 7 Jul 2009 18:53:57 +0000 (11:53 -0700)]
Don't update service details if network is already connected
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.
Marcel Holtmann [Tue, 7 Jul 2009 08:13:43 +0000 (01:13 -0700)]
Release 0.21
Marcel Holtmann [Tue, 7 Jul 2009 08:06:19 +0000 (01:06 -0700)]
Enable support for initial service drag and drop
Marcel Holtmann [Tue, 7 Jul 2009 08:02:26 +0000 (01:02 -0700)]
Make sure to trigger auto-connect when connection attempt fails
Marcel Holtmann [Tue, 7 Jul 2009 07:22:00 +0000 (00:22 -0700)]
The g_strcmp0 does the NULL pointer checking already
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.
Marcel Holtmann [Tue, 7 Jul 2009 07:03:12 +0000 (00:03 -0700)]
Trigger auto-connect when new service is added
Marcel Holtmann [Tue, 7 Jul 2009 06:49:24 +0000 (23:49 -0700)]
Check for current state on connect timeout
Marcel Holtmann [Tue, 7 Jul 2009 06:41:48 +0000 (23:41 -0700)]
Split service connect/disconnect from D-Bus message handling
Marcel Holtmann [Tue, 7 Jul 2009 06:41:24 +0000 (23:41 -0700)]
Fix various error definitions
Marcel Holtmann [Tue, 7 Jul 2009 06:06:30 +0000 (23:06 -0700)]
Convert EALREADY to proper error message
Marcel Holtmann [Tue, 7 Jul 2009 06:04:03 +0000 (23:04 -0700)]
Convert EINPROGRESS to proper error message
Marcel Holtmann [Sun, 5 Jul 2009 21:51:22 +0000 (14:51 -0700)]
Add service error for missing PIN codes
Marcel Holtmann [Sun, 5 Jul 2009 21:41:37 +0000 (14:41 -0700)]
Add function getting device disconnected state
Marcel Holtmann [Sun, 5 Jul 2009 17:44:45 +0000 (10:44 -0700)]
Use correct udev base directory
Marcel Holtmann [Sun, 5 Jul 2009 17:09:58 +0000 (10:09 -0700)]
Revert change to ignore USB based Ethernet devices
Marcel Holtmann [Sun, 5 Jul 2009 16:35:54 +0000 (09:35 -0700)]
Fix race condition with IDLE state on disconnect
Marcel Holtmann [Sat, 4 Jul 2009 17:19:18 +0000 (10:19 -0700)]
Move the network device type detection into its own function
Marcel Holtmann [Sat, 4 Jul 2009 06:14:32 +0000 (23:14 -0700)]
Add device type for Ericsson MBM hardware
Marcel Holtmann [Sat, 4 Jul 2009 06:00:02 +0000 (23:00 -0700)]
Detect network devices via udev
Marcel Holtmann [Sat, 4 Jul 2009 05:35:43 +0000 (22:35 -0700)]
Fix udev monitor filter fallback functions
Marcel Holtmann [Sat, 4 Jul 2009 05:31:59 +0000 (22:31 -0700)]
Use RTNL device detection only if udev is not available
Marcel Holtmann [Fri, 3 Jul 2009 22:11:10 +0000 (15:11 -0700)]
Also check for TTY devices
Marcel Holtmann [Fri, 3 Jul 2009 22:05:20 +0000 (15:05 -0700)]
Require udev and if not present use a compat layer
Marcel Holtmann [Fri, 3 Jul 2009 21:14:58 +0000 (14:14 -0700)]
Don't handle devices from USB network cards
Marcel Holtmann [Fri, 3 Jul 2009 21:14:04 +0000 (14:14 -0700)]
Restrict udev to devices from net subsystem
Marcel Holtmann [Fri, 3 Jul 2009 21:07:21 +0000 (14:07 -0700)]
Remove udev rules file since it should not be used anymore
Marcel Holtmann [Fri, 3 Jul 2009 20:51:01 +0000 (13:51 -0700)]
Check for udev monitor filter functions
Marcel Holtmann [Fri, 3 Jul 2009 20:43:57 +0000 (13:43 -0700)]
Use the new udev netlink monitor
Marcel Holtmann [Fri, 3 Jul 2009 20:39:43 +0000 (13:39 -0700)]
Require at minimum udev-141
Marcel Holtmann [Fri, 3 Jul 2009 17:19:27 +0000 (10:19 -0700)]
Fix to replace unprintable characters with a white space
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.
Marcel Holtmann [Thu, 2 Jul 2009 14:52:22 +0000 (07:52 -0700)]
Just update the service if it already exists
Samuel Ortiz [Thu, 2 Jul 2009 10:19:31 +0000 (12:19 +0200)]
Use only printable characters for network name
Marcel Holtmann [Thu, 2 Jul 2009 11:30:51 +0000 (04:30 -0700)]
Add Josh to the list of authors
Joshua Lock [Thu, 2 Jul 2009 11:00:53 +0000 (12:00 +0100)]
Have services remove method also clear the passphrase
Joshua Lock [Thu, 2 Jul 2009 10:57:29 +0000 (11:57 +0100)]
Clear passphrase from storage when it's not set
Denis Kenzior [Wed, 1 Jul 2009 15:48:03 +0000 (10:48 -0500)]
Fix uninitialized use of bufpos
Marcel Holtmann [Wed, 1 Jul 2009 15:32:43 +0000 (08:32 -0700)]
Release 0.20
Marcel Holtmann [Wed, 1 Jul 2009 14:40:49 +0000 (07:40 -0700)]
Fix async handling of device powered property
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
Marcel Holtmann [Wed, 1 Jul 2009 13:23:55 +0000 (06:23 -0700)]
Fix handling of connect/disconnect for Ethernet devices
Marcel Holtmann [Wed, 1 Jul 2009 12:39:37 +0000 (05:39 -0700)]
Use a more detailed list for DISTCHECK_CONFIGURE_FLAGS
Marcel Holtmann [Wed, 1 Jul 2009 01:43:58 +0000 (18:43 -0700)]
Remove the obsolete shave support
Marcel Holtmann [Wed, 1 Jul 2009 01:35:49 +0000 (18:35 -0700)]
Add support for AM_SLIENT_RULES
Marcel Holtmann [Tue, 30 Jun 2009 20:40:05 +0000 (13:40 -0700)]
Add skeleton for Ericsson MBM device plugin
Marcel Holtmann [Tue, 30 Jun 2009 20:34:08 +0000 (13:34 -0700)]
Fix error code for invalid or unknown properties
Marcel Holtmann [Tue, 30 Jun 2009 20:31:55 +0000 (13:31 -0700)]
Avoid double storage of same information
Marcel Holtmann [Tue, 30 Jun 2009 20:30:50 +0000 (13:30 -0700)]
Add support for clearing error state via ClearProperty
Marcel Holtmann [Tue, 30 Jun 2009 20:26:32 +0000 (13:26 -0700)]
Add missing description of SetProperty
Marcel Holtmann [Tue, 30 Jun 2009 20:23:05 +0000 (13:23 -0700)]
Add the current error state to properties
Marcel Holtmann [Tue, 30 Jun 2009 20:21:20 +0000 (13:21 -0700)]
Move error conversion helper to different location
Marcel Holtmann [Tue, 30 Jun 2009 20:20:10 +0000 (13:20 -0700)]
Add support for DHCP errors from services
Marcel Holtmann [Tue, 30 Jun 2009 20:14:51 +0000 (13:14 -0700)]
Store and load failure information for service
Marcel Holtmann [Tue, 30 Jun 2009 19:48:42 +0000 (12:48 -0700)]
Add support for opening TTYs directly
Denis Kenzior [Sat, 20 Jun 2009 02:10:51 +0000 (21:10 -0500)]
Fixes to parser state when command prompt is used
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.
Denis Kenzior [Mon, 15 Jun 2009 21:37:13 +0000 (16:37 -0500)]
Add g_at_send_listing function
Marcel Holtmann [Tue, 30 Jun 2009 15:42:51 +0000 (08:42 -0700)]
Forward error reporting from elements to services
Marcel Holtmann [Tue, 30 Jun 2009 15:32:35 +0000 (08:32 -0700)]
Update module description
Marcel Holtmann [Tue, 30 Jun 2009 15:27:40 +0000 (08:27 -0700)]
Set default IP configuration method for services
Marcel Holtmann [Tue, 30 Jun 2009 15:21:02 +0000 (08:21 -0700)]
Add callbacks for storage of IP configuration of services
Marcel Holtmann [Tue, 30 Jun 2009 14:02:06 +0000 (07:02 -0700)]
Return positive result if properties are already set
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
Marcel Holtmann [Tue, 30 Jun 2009 01:10:56 +0000 (03:10 +0200)]
Add Samuel to the list of authors
Samuel Ortiz [Mon, 29 Jun 2009 19:17:39 +0000 (21:17 +0200)]
Check for active_gateway being non NULL before dereferencing it
Marcel Holtmann [Mon, 29 Jun 2009 21:45:12 +0000 (23:45 +0200)]
Add function for more detailed error reporting
Marcel Holtmann [Mon, 29 Jun 2009 19:49:36 +0000 (21:49 +0200)]
Document two essential IPv4 configuration properties
Marcel Holtmann [Mon, 29 Jun 2009 19:46:45 +0000 (21:46 +0200)]
Fix detection of invalid IP configuration methods
Marcel Holtmann [Mon, 29 Jun 2009 19:44:19 +0000 (21:44 +0200)]
Add support for exporting IP configuration properties
Marcel Holtmann [Mon, 29 Jun 2009 19:31:17 +0000 (21:31 +0200)]
Add some special error conversion handling for EACCES and EINVAL
Marcel Holtmann [Mon, 29 Jun 2009 19:27:09 +0000 (21:27 +0200)]
Add suppport for setting IPv4 configuration method
Marcel Holtmann [Mon, 29 Jun 2009 19:19:40 +0000 (21:19 +0200)]
Hook up setting of IPv4 properties