Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
With wpa_supplicant 0.7, there is no need to handle potential issues with scan
results not being sent. Also, the state change is sent before the actual scan
results, so marking all networks available at that point is misleading.
|
|
for ofono version >0.20
|
|
The status property has been removed from oFono post oFono 0.20
|
|
|
|
|
|
We return an object path, not a simple string.
|
|
The ipconfig method is set by connman_network_set_index(), DHCP being the
default one.
|
|
When creating a service without an ipconfig, the ipconfig settings are not
loaded. This issue is fixed by calling __connman_ipconfig_load() indirectly
from connman_network_set_index().
|
|
With PAN, the bnep device index might change and thus it needs to be set
appropriately whenever connman_network_set_index() gets called.
|
|
|
|
The PAN network can be destructed before getting the disconnect reply. In
that case disconnect_reply() will segfault by calling
connman_network_set_connected() with a NULL network pointer.
This issue is fixed by referencing the PAN network from pan_disconnect().
|
|
When removing all networks from a device, network->device pointers are
set to NULL even though the network is still referenced. This can lead
to segmentation faults when for example a service has several networks
and is being disconnected.
|
|
There is no need to track the network's connected state through its index.
As a matter of fact, setting the network index to -1 on the PAN disconnect
path can triggers segmentation faults when powering the device off at the
same time.
|
|
|
|
The session layer allows 3rd party applications to request a network
session from connman. The only thing applications need to specify is
the type of network they're looking for, a.k.a. the network bearer. An
unspecified bearer means picking the best available service.
|
|
__connman_service_connect_type() tries to find the appropriate service
based on the service_type argument, and connect it. If the argument is
CONNMAN_SERVICE_TYPE_UNKNOWN, the first available service is picked.
|
|
Code was initially done with CONNMAN_SERVICE_STATE_READY being the
only valid connected state, but later on CONNMAN_SERVICE_STATE_LOGIN
and CONNMAN_SERVICE_STATE_ONLINE were introduced, breaking couple of
functions that assumed the old behavior.
This patch creates the is_connected() function, similar to
is_connecting() and uses it instead.
__connman_service_indicate_state() checks just for ONLINE, as
requested by Marcel.
|
|
This patch brings the hh2serial GPS device on and off with offline mode
changes. Although this power control is currently done through sysfs
entries, this will be fixed once the hh2serial driver gets proper
rfkill support.
|
|
When building a hidden SSID group for a WPA/WPA2 network, use psk as the
security string. With rsn or wpa strings, 2 services for the same SSID will
show up once the SSID appears in any scan result.
|
|
|
|
If result is not reset, the service state is no longer indicated after a
connect/disconnect cycle.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add new plugin to support page redirection when using wifi or ethernet.
Most of this code is a copy from tools/portal-test.com intergrated to
work with location core.
|
|
When devices are brought up and down externally (e.g. with ifconfig),
connman_device_set_powered() needs to enable or disable them. If it doesnt,
the device associated networks are kept alive and we're still showing them
while the device is actually down.
|
|
|
|
With some specific 3G cards __connman_inet_get_device_type() fails to
give the correct device type and we end up having both ethernet and 3G
services when pluging those in.
As udev_device_get_devtype() is more reliable, we're now calling it first
and falling back to __connman_inet_get_device_type() when
udev_device_get_devtype() returns a NULL string.
|
|
oFono plugin can use network->device to decide whether the modem is
removed during active PrimaryContext.
That fixes a segmentation fault when removing a 3G modem before getting
the set_network_active() D-Bus reply.
|
|
We need to be more careful about task->path since it could disappear on
us if we want to go offline before we get the add_interface D-Bus reply.
|
|
The kernel wext core sends wireless events through the rtnetlink channel.
They show up with the ifi_change field set to 0.
The problem with those messages is that their ifi_flags might be
unsynchronized due to the fact that the actual message sending is handled
by a workqueue that doesnt build the message. ifi_flags is set to
dev_flags, but by the time the message is sent dev_flags might have changed.
Connman should just ignore those messages as we don't care about wext
events at all.
|
|
Don't provide MNC and MCC in this case, but still create the 3G service.
|
|
|
|
CONNMAN_SERVICE_SECURITY_PSK should map to "psk", not "wep".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We weren't setting the dbus error in this situation.
|
|
|
|
|
|
Let's avoid having users digging the code to actually understand that
format.
|
|
The method has been set when creating service.
And setting DHCP method after creating wired service causes the recorded
method gotten from entry file be replaced by DHCP method, consequently,
the static IP of wired service can not be remembered.
|
|
3G service does not have ipconfig if the Primariy Context is not activated.
So we need to check the ipconfig here.
|