summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
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
2012-02-10ofono: Check for mcc before using it as an indexSamuel Ortiz1-2/+3
Also avoid calling set_regdom is the alpha2 is NULL.
2012-02-04wifi: Write Wifi Mode to network propertiesManfred Kober1-1/+3
Currently adhoc networks are shown in the service list, although connecting to those is not supported. Filtering in network.c fails because the WiFi.Mode was not set so far. Fixes BMC#24737
2012-02-04ntpd: Remove the ntpd pluginAlok Barsode1-325/+0
We now have ntp support in the core, hence remove the plugin.
2012-02-04meego: Use system timeserver APIs to add/remove timeserversAlok Barsode1-2/+2
2012-02-04wifi: Always set scanning to FALSE in scan callbackPatrik Flykt1-2/+2
By always setting scanning to FALSE in the scan callback, information for a stopped scan will be processed in device.c.
2012-02-04vpn: Reference of provider not takenJukka Rissanen1-4/+11
VPN plugin hooks itself into rtnl newlink watch and gives provider pointer as user data. We must take reference of the user data pointer as otherwise we might access invalid pointer if provider is already removed when rtnl watch is triggered. This seems to be a rare issue but I had one valgrind crash because of this.
2012-02-01vpnc: Fix compiler warningDaniel Wagner1-1/+1
Assignment discards ‘const’ qualifier from pointer target type.
2012-01-27oFono: Update documentationDaniel Wagner1-6/+20
Explain how the plugin works for a GSM modem.
2012-01-27vpn: Add check for properly initialized driver_hashPatrik Flykt1-1/+6
2012-01-20ofono: Cancel pending SetPropertyDaniel Wagner1-2/+4
If the cellular technolgy is disabled while ConnMan is connected to a cellular network, the plugin gets first a network_disconnect() call and shortly after that a modem_disable(). network_disconnect() will set org.ofono.ConnectionContext.Active to false while this call is pending modem_disable() tries to set org.ofono.Modem.Online to false. There is no point in waiting for the first call to succeed or fail. Just cancel it and set the modem offline. Fixes BMC#24651.
2012-01-20ofono: Register technology driverDaniel Wagner1-0/+24
With e1d92d253c5db96bdc8fe2a21e463fc730570311 we need to register a driver for each technology. Fixes BMC#24702.
2012-01-16ethernet: Add technology driver for handling ethernetAlok Barsode1-0/+23
2012-01-05ofono: Fix network name is null for CDMA networkYu A Wang1-0/+3
2012-01-05ofono: Fix no ip settings for CDMA networkYu A Wang1-3/+0
When we add cdma network, we alloc the context for the modem, due to add_network logic needs, then we need extract ip settings even context is not NULL
2012-01-05ofono: Create device for CDMA modemYu A Wang1-0/+6
For cdma modem, the property change for serial may after interfaces, then we need to create device for cdma modem when we get serial property
2012-01-05service: Return all system defined nameservers when askedJukka Rissanen1-0/+1
The connman_service_get_nameservers() is changed to return all system defined nameservers. This means that the function now returns an allocated array of all nameservers and caller must deallocate the returned array. The change is needed so that we can combine the nameservers that are set by DHCP code and the IPv6 nameservers that are set by router advertisements.
2012-01-05wifi: Set interface to NULL in interface_removedYu A Wang1-20/+2
Currently we set wifi interface to NULL in interface_remove_callback. commit 80e2e08b4887c4e133d3ca7d42ac844fbb974bb8 avoid to use stale pointer by get wifi pointer through interface, but interface already removed and should be NULL, then the interface value in wifi will never set to NULL and will be a wild pointer. Which may cause connman crash when we connect wifi service after we disable the wifi. This issue does not exist in latest connman due to connect-service method is removed. we can set wifi interface in interface_removed which called in remove_interface in supplicant.c, because after interface is freed in supplicant, we should not hold this pointer anymore. Fixes BMC#24364
2011-12-22ofono: Create ipconfig layer when creating networkDaniel Wagner1-0/+6
Create the ipconfig layer before trying to connect. Withouth the ipconfig layer the core is not ready to process errors.
2011-12-22ofono: Discover already online modemsDaniel Wagner1-0/+14
If a modem is already online there will be no updates on the interfaces and therefore no triggers to do the complete discovering.
2011-12-22ofono: Set device powered stateDaniel Wagner1-0/+6
2011-12-22ofono: Handle add/remove of API separatlyDaniel Wagner1-64/+122
Simplify the way the interface apperance and disapperance are handled and write them explicitly out. This is not extremly fast or elegant but it is much more readable and maintainable. Also unregister the network object when the modem goes offline. Fixes BMC#24432
2011-12-22ofono: Create device when powered upDaniel Wagner1-10/+21
Instead of directly online we let the core decide when to set the modem online therefore we have to create the connman_device a bit earlier at register it.
2011-12-22ofono: Refactor sim_changed()Daniel Wagner1-12/+1
to use connection_manager_init().
2011-12-22ofono: Enable and disable the modem through online interfaceDaniel Wagner1-8/+8
2011-12-22ofono: Ignore non-related interface updatesDaniel Wagner1-1/+8
Only trigger update code if there was a change in the interface we are interested in.
2011-12-22ofono: Merge modem_set_un/powered()Daniel Wagner1-19/+13
Also follow the patternt that we have only a set function with an argument for the value tos set.
2011-12-22ofono: Remove unused set_cm_poweredDaniel Wagner1-25/+12
Also follow the patternt that we have only a set function with an argument for the value tos set.
2011-12-22ofono: Remove unused set_onlineDaniel Wagner1-25/+6
Also follow the patternt that we have only a set function with an argument for the value tos set.
2011-12-22ofono: Merge cmda_cm_set_powered()/cmda_cm_shutdown()Daniel Wagner1-18/+18
Follow the pattern that we have only a set function with an argument for the value to set.
2011-12-22ofono: Merge context_set_in/active()Daniel Wagner1-20/+17
Follow the pattern that we have only a set function with an argument for the value to set.
2011-12-22ofono: Refactore IMSI updateDaniel Wagner1-15/+8
Streamline Property handling code with the rest of the plugin.
2011-12-16wifi: Set wifi device powered FALSE when removedYu A Wang1-0/+1
In interface_removed function, connman_device_set_powered may not be called due to wifi->device is freed before supplicant callback. This happens when we remove the second wifi device. This may lead technology refcount inbalance, which could potentially prevent the wifi technology to be enabled again.
2011-12-15ofono: Set regulatory domainDaniel Wagner1-0/+27
Fixes BMC#24430
2011-12-15ofono: Fix cleanup of connman_manager_init()Daniel Wagner1-4/+4
The return value has to be boolean.
2011-12-15ofono: Remove unnecessary bracketsDaniel Wagner1-3/+3
2011-12-15ofono: Add cdma-connman relative functionsGuillaume Zajac1-2/+97
2011-12-15ofono: Add cdma-netreg relative functionsGuillaume Zajac1-3/+146
2011-12-15ofono: Cleanup connection_manager_init()Daniel Wagner1-12/+16
2011-12-15ofono: Factorize Connection Managers intializationGuillaume Zajac1-73/+30
2011-12-15ofono: Add support for CDMA modemsGuillaume Zajac1-8/+56
2011-12-15ofono: Add cdma-connman power and shutdown APIGuillaume Zajac1-2/+66
2011-12-15ofono: Add CDMA interfaces extractionGuillaume Zajac1-0/+8
2011-12-12ofono: Remove unnecessary bracketsDaniel Wagner1-14/+10
A left over from the refactoring.
2011-12-12ofono: Move cm powered update into a functionDaniel Wagner1-14/+16
2011-12-12ofono: Move cm attached update into a functionDaniel Wagner1-21/+20