summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-16wifi: Whitespace cleanupDaniel Wagner1-4/+4
2011-06-15Release 0.750.75Marcel Holtmann2-1/+8
2011-06-15unit: Fix wrong include of common headerMarcel Holtmann1-1/+1
2011-06-15build: Include unit/test-connman.h into source listMarcel Holtmann1-1/+1
2011-06-14gsupplicant: Fix how raw key as psk are provided.Tomasz Bursztyka1-2/+26
2011-06-14service: Add timeout event only the first timeYu A Wang1-2/+3
When connect to a 3G service with weak signal, it may connect several times. When connman suspend to S3 and resume several times, function remove_timeout only remove the last timeout event. This will lead connman crash when connect_timeout invoked by other timeout event to access previous already freed service.
2011-06-14dhcp: Cancel old renewal timeout prior to adding a new oneGrant Erickson1-0/+6
Given the following reproduction steps: 1) Set up an access point with a Class B IP address, say 10.2.40.254. 2) Set up the access point to provide DHCP leases over a range 10.2.40.2 through 10.2.40.253. 3) Set up a short lease renewal period of 5-10 minutes. 4) Allow the device to associate, connect and receive an IP address. 5) Midway through the lease interval, change the access point to a different IP address, say, 10.2.41.254. 6) Change the access point to issue DHCP leases over a new range, 10.2.41.2 through 10.2.41.253. 7) Watch as the access point resets, the connection is lost, the connection is regained and as connman tries to get a new DHCP lease. Prior to commit 39825846, connman could receive a new but different DHCP lease but connman would not program the confirmed lease to the interface. However, following that commit, it now programs the new, changed DHCP lease to the interface but still believes the old lease is valid and attempts to keep servicing the old renewal timeout for the prior but now stale lease. This patch cancels any existing, pending DHCP lease renewal timeout following a DHCP lease configuration change.
2011-06-14inet: Standardize error codes and messagesGrant Erickson1-22/+33
Return and pass a consistent set of informative error codes and display a consistent set of error messages for connman_inet_modify_address and connman_{clear,set}_*_address.
2011-06-13gweb: Make debug for write simplerMarcel Holtmann1-4/+2
2011-06-13build: Add alg-test to ignore listMarcel Holtmann1-0/+1
2011-06-08build: Check for linux/if_alg.h if tools are enabledMarcel Holtmann1-0/+3
2011-06-08tools: Use sendfile() instead of mmap() for AF_ALG test utilityMarcel Holtmann1-13/+4
2011-06-08tools: Add utility for testing AF_ALG kernel interfaceMarcel Holtmann2-1/+142
2011-06-07unit: Add free-ride testDaniel Wagner1-0/+146
2011-06-07unit: Add session connect disconnect testDaniel Wagner1-0/+43
2011-06-07unit: Add session disconnect testDaniel Wagner1-0/+35
2011-06-07unit: Add session connect testDaniel Wagner1-0/+38
2011-06-07unit: Add create many session testDaniel Wagner1-0/+44
2011-06-07unit: Add create already exists test caseDaniel Wagner1-0/+30
2011-06-07unit: Add create and destroy test caseDaniel Wagner1-0/+21
2011-06-07unit: Add init/cleanup util functionDaniel Wagner2-0/+50
2011-06-07unit: Add create session testDaniel Wagner1-0/+37
Create a complete session, that is with proper notification object.
2011-06-07unit: Add Session API bindingDaniel Wagner4-2/+428
2011-06-07unit: Add manager create/destroy testsDaniel Wagner3-4/+86
Also add util function for creating the test fixture data structure.
2011-06-07unit: Toggle SessionMode for each test caseDaniel Wagner1-0/+38
2011-06-07unit: Add Manager API bindingDaniel Wagner3-1/+231
2011-06-07unit: Add util function for unit testsDaniel Wagner4-3/+214
2011-06-07unit: Add test-sessionDaniel Wagner2-1/+43
2011-06-07element: Remove device codeDaniel Wagner8-410/+276
2011-06-07element: Remove left overs from cleanDaniel Wagner3-195/+0
2011-06-07dhcp: Fix dhcp_invalidate NULL pointer accessDaniel Wagner1-3/+5
dhcp->nameservers can be NULL. This can be triggered with toggling the technologies switches fast enough.
2011-06-02Release 0.740.74Marcel Holtmann2-1/+9
2011-06-02tethering: Fix small typoMarcel Holtmann1-1/+1
2011-06-02tethering: Fix handling of undefined DBUS_TYPE_UNIX_FDMarcel Holtmann1-0/+7
2011-06-01AUTHORS: Mention Thierry's contributionsSamuel Ortiz1-0/+1
2011-06-01TODO: D-Bus provisioning, private networks and v6v4 oFono support are doneSamuel Ortiz1-32/+0
2011-06-01dhcp: Call ipconfig_address_remove from dhcp_invalidateSamuel Ortiz2-4/+2
Clearing the ipconfig fields is not enough, the actual rntl command needs to be sent for the IP to be cleared.
2011-05-31notifier: Limit Counter UnderflowGrant Erickson1-0/+15
When network and service events occur from the bottom up (e.g. supplicant, link state, etc.) that also incur IP configuration changes, it is possible for one or more of the notifier counters to underflow, leaving connman in a state from which it can never recover without a process restart. By limiting underflow of the three notifier counters, these non- recoverable states are prevented.
2011-05-31dhcp: Invalidate and Release on Network RemovalGrant Erickson1-6/+23
When removing a network DHCP configuration, invalidate the DHCP configuration in addition to releasing it. This addresses a case in which a lower-level network event (e.g. Wi-Fi disassociation triggered by the driver due to low signal strength) causes a service disconnect not triggered by connman but then is recovered BY connman to reuse the prior DHCP lease configuration but not actually assign it by simply invalidating the old lease configuration when connman removes the prior network.
2011-05-31service: Indicate IP Configuration Ready EventGrant Erickson4-16/+36
In the Connection Manager, completion of a valid IP configuration excites the service state machine to move from the "configuration" to the "ready" state. However, the existing implementation of IP configuration completion explicitly attempts to directly manipulate service state, rather than hinting at an excitation event. As a consequence, a late IP configuration completion after the service state machine has transitioned from "ready" to "online" can lead to an incorrect transition back to the "ready" state. This causes the connection count for the technology associated with that service to increment again, unnecessarily. This patch avoids this issue by providing a service object interface that simply hints that an IP configuration is complete for a given IP type, allowing the service object and its state machine to either hold fast in the present state, returning an advisory error or advancing, as before. All prior invocations of __connman_service_indicate_state outside of the service module for the CONNMAN_SERVICE_STATE_READY are replaced with calls to this new interface. Thanks to Daniel Wagner and Marcel Holtmann for offline IRC discussion that helped motivate this fix. * v2: Incorporated feedback from Samuel Ortiz about combining IPv4 and IPv6 states before checking state readiness.
2011-05-31ipconfig: Add Function to Stringify ipconfig TypeGrant Erickson2-0/+15
2011-05-31device: Include Reason in Disconnect Skip WarningGrant Erickson1-1/+1
Include the reason for skipping the requested network disconnect in the warning message.
2011-05-31dhcp: Remove extra dhcp_release callThierry Boureille1-8/+0
dhcp_release will be called from the hash table remove callback, if the network is found.
2011-05-31device: Do not use connman_element_set/get_string()Daniel Wagner1-2/+4
2011-05-31device: Handle connman_device_set/get_string(dev, "Path", ...) directlyDaniel Wagner1-0/+7
and don't rely on the element code.
2011-05-31ofono: Store Operator string in struct modemDaniel Wagner1-5/+7
So we don't rely on the connman_device_set/get_string().
2011-05-31property: Remove CONNMAN_PROPERTY_ID_IPV6_*Daniel Wagner2-11/+1
2011-05-31property: Remove HOSTNAME and DOMAINNAMEDaniel Wagner3-30/+1
2011-05-31property: Remove unused CONNMAN_PROPERTY_ID_IPV4_*Daniel Wagner1-10/+0
2011-05-31element: Remove IPv6Daniel Wagner3-18/+0