summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2012-05-18Do not set signature and reply in GDBus tablesHenrique Dante de Almeida1-3/+3
Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
2012-05-18Convert GDBus methods and signals to use macro helpersHenrique Dante de Almeida1-3/+7
With these macro helpers we can separate in/out arguments and use their own vector.
2012-05-18Constify GDBus signal tablesHenrique Dante de Almeida1-1/+1
2012-05-18Constify GDBus method tablesHenrique Dante de Almeida1-1/+1
2012-05-09vpn: Fix null pointer dereferenceHenrique Dante de Almeida1-3/+5
2012-05-09vpn: Fix null pointer dereferenceHenrique Dante de Almeida1-2/+5
2012-05-09ofono: Fix uninitialized variableHenrique Dante de Almeida1-1/+1
2012-05-09ofono: Fix uninitialized valueHenrique Dante de Almeida1-3/+1
2012-05-09wifi: Fix NULL ssid being passed to memcmpHenrique Dante de Almeida1-1/+1
2012-05-09oFono: Initialize prefix_lengthDaniel Wagner1-1/+1
We could end up calling connman_ipaddress_set_ipv6() withouth prefix_lenght initialized. Reported by hdante.
2012-05-08ofono: Check for CM attached before registering networkDaniel Wagner1-1/+4
We need to check the ConnectionManager attached signal before we are allowed to connect to the gprs context: connmand[592]: plugins/ofono.c:cm_update_attached() /zte_0 Attached 0 [...] connmand[592]: plugins/ofono.c:context_set_active() /zte_0 active 1 connmand[592]: plugins/ofono.c:set_property() /zte_0 path /zte_0/context1 org.ofono.ConnectionContext.Active [...] connmand[592]: plugins/ofono.c:cm_update_attached() /zte_0 Attached 1 Fixes BMC#25112
2012-05-08wifi: Set disconnecting flag to a relevant value when disconnectedTomasz Bursztyka1-0/+1
2012-05-04wifi: Automatically scan hidden wifi servicesJukka Rissanen1-1/+114
This enables service to autoconnect to hidden wifi service. Fixes BMC#11860
2012-05-04wifi: Refactor codeJukka Rissanen1-69/+69
Move add_scan_param() to start of the file for the next patch.
2012-05-04wifi: Allow max number of scan entriesJukka Rissanen1-10/+49
Do no limit the scan entries to 4 (G_SUPPLICANT_MAX_FAST_SCAN) but use the limit given by the driver. The limit is given by wpa_s. If the supplicant does not return the limit, then use 4 as a max value.
2012-05-04vpnc: Save only a subset of vpnc optionsPatrik Flykt1-17/+26
Add a new field in the structure indicating whether the option is saved.
2012-05-04loopback: Check hostname/domainname validityJukka Rissanen1-4/+19
2012-05-02wifi: Plugin internal variable was not staticJukka Rissanen1-1/+1
2012-04-29plugins: Update copyright informationMarcel Holtmann18-18/+18
2012-04-29nmcompat: Use more detailed state informationMarcel Holtmann1-24/+81
2012-04-29nmcompat: Fix error messageMarcel Holtmann1-1/+1
2012-04-27openvpn: Fix --comp-lzo parameter handlingAdrien Bustany1-14/+16
The previous code would assume all commandline options to have a value, whereas --comp-lzo does not. As a result, openvpn's argv would have a spurious empty string in its argv, and openvpn would not launch.
2012-04-26wifi: Set connected to false before associating when disconnectedTomasz Bursztyka1-1/+1
This way it will trigger the error which will be reported to service.
2012-04-26wifi: Be connected when relevant, stay connected if roamingTomasz Bursztyka1-1/+31
2012-04-25ethernet: Fix small whitespace issueMarcel Holtmann1-1/+1
2012-04-24wifi: Fixing autoscan device unref issuesTomasz Bursztyka1-2/+5
- stop_autoscan() should unref the device only when relevant, i.e. when interval and/or timeout have been set. - autoscan_scan_callback() should unref the device since it has been referenced in throw_wifi_scan()
2012-04-24wifi: Autoscan should be started or stopped according to interface's stateTomasz Bursztyka1-0/+10
2012-04-24wifi: Autoscan fallback using a base exponential of 3 and a shorter limitTomasz Bursztyka1-1/+1
A base of 2 creates too many scans on too short times, so a base of 3 reduces this amount. And a limit of 3600 is way too much, a scan every 5 minute is more relevant.
2012-04-23wifi: Remove old background scanning technique callTomasz Bursztyka1-3/+0
2012-04-23wifi: Specify bgscan parameters according to main.conf settingsTomasz Bursztyka1-1/+2
2012-04-23wifi: Setup autoscan according to the main.conf settingsTomasz Bursztyka1-0/+4
2012-04-23wifi: Adding support for autoscan emulationTomasz Bursztyka1-16/+182
2012-04-23wifi: Decide to use WPS PBC if the AP is already advertizing for itTomasz Bursztyka1-0/+15
2012-04-21build: Remove useless fake pluginMarcel Holtmann1-110/+0
2012-04-20ofono: Only register network when APN is setJussi Kukkonen1-2/+54
Empty AccessPointName in a oFono internet context means it cannot be activated: Don't create networks in this situation. The conditions for adding a network are then a) modem supports NetworkRegistration b) modem has a context with a valid APN Fixes BMC#24959
2012-04-20ofono: Fix network_driver nameDaniel Wagner1-1/+1
2012-04-19pacrunner: Memory leak in dbus containerJukka Rissanen1-2/+7
Valgrind reported memory leak here. The dbus message container must be not left open because it has allocated resources so we close the container before returning.
2012-04-17vpn: use g_hash_table_replace instead of insert functionTomasz Bursztyka1-1/+1
2012-04-17bluetooth: use g_hash_table_replace instead of insert functionTomasz Bursztyka1-1/+1
2012-04-12google: Remove google nameserver pluginPatrik Flykt1-48/+0
2012-04-05meego: Remove the meego pluginAlok Barsode1-43/+0
The fallback Timeservers should replace this plugin.
2012-04-02ofono: Fix NULL pointer access in set_disconnect()Daniel Wagner1-0/+3
oFono sends several ConnectionContext.PropertyChanged("Active", False) after it was told to disconnect. After studying the oFono part, it looks like that serveral CREGS updates could trigger oFono to send us the same flag over and over again (see ofono_gprs_status_notify()). Even though oFono might missbehave, ConnMan should not crash so easily. Luckely, the fix is very simple. We should just check if we still have a valid network pointer before accessing it. Fixes BMC#25026
2012-03-27vpn: Unref provider properlyJukka Rissanen1-2/+6
The provider can be unreffed in vpn_died() or in vpn_disconnect(). We must do the unref only once.
2012-03-20ethernet: Do not connect network on LOWER_UPDaniel Wagner1-2/+4
Ethernet networks should honor the AutoConnect feature as the rest of the network types. Just register the network object at the core when we get LOWER_UP. Then the core can decide when to connect to the network. There is no behavior change when AutoConnect is enabled, So if the user plugs the cable the ethernet network will automatically connect as it was before. If AutoConnect is disabled, the core will not connect to the network automatically.
2012-03-19vpn: Remove wrong include of <glib/ghash.h>Marcel Holtmann1-1/+0
2012-03-05ofono: Remove network whenever context is removedJussi Kukkonen1-0/+3
Fixes BMC#24942
2012-03-05ofono: fix modem lookup in cm_context_added()Jussi Kukkonen1-1/+1
2012-02-28ofono: Remove obsolete DUN commentDaniel Wagner1-2/+0
2012-02-24wifi: Add support for default background scanning parametersTomasz Bursztyka1-0/+3
2012-02-13ofono: Update CDMA documentationGuillaume Zajac1-2/+23