AgeCommit message (Collapse)AuthorFilesLines
2014-08-19Add connmanctl to the built rpmtizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen/20140820.015516accepted/tizen/ivi/20140827.105356accepted/tizen/common/20140820.122739tizen_3.0.m14.3_ivitizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonZhang zhengguang1-1/+1
Change-Id: I84fb13ea9224985ad9e15b5c3c5f616bcf7431a4
2014-08-12Merge "Technology: Fix dbus bool type mismatch issue" into tizensubmit/tizen/20140813.024054accepted/tizen/ivi/20140815.203813accepted/tizen/common/20140813.170139zhang zhengguang1-2/+2
2014-08-13Technology: Fix dbus bool type mismatch issueGuoqiang Liu1-2/+2
Dbus need a dbus_bool_t to store bool value, or it will reault in connman crash. Change-Id: I318ce03dbb3aa24e0321911bf137453b7b50e3f7
2014-08-12Tethering: Fix warning: (near initialization for ↵Saurav Babu1-1/+1
'gadget_tech_driver.set_tethering') After addition of commit ff893fedd30baba89fdffd8cc9bac367ebf18ad1 one warning appeared in package. This patch fixes that warning. Change-Id: I834c33d41e6987c9e2b2a062991345106b6f5ab7
2014-08-07Upstream/dhcp: Fix crash when switching networkssubmit/tizen/20140807.060945Saurav Babu1-2/+8
Sometimes while switching network dhcp_initialize() fails because interface is not up and hence dhcp->dhcp_client remains NULL. Here we don't check return type of dhcp_initialize() and go on to call function g_dhcp_client_start() and crash occurs. Below trace is obtained when connman crashes: connmand[19034]: Aborting (signal 11) [/usr/local/sbin/connmand] connmand[19034]: ++++++++ backtrace ++++++++ connmand[19034]: #0 0xb7630f38 in /lib/i386-linux-gnu/ connmand[19034]: #1 0x8055a22 in debug() at client.c:0 connmand[19034]: #2 0x8058837 in g_dhcp_client_start() at polkit.c:0 connmand[19034]: #3 0x80a4772 in __connman_dhcp_start() at polkit.c:0 connmand[19034]: #4 0x8082a80 in set_connected.part.8() at network.c:0 connmand[19034]: #5 0x8082f7f in connman_network_set_connected() at ??:0 connmand[19034]: #6 0x805f921 in eth_network_connect() at ethernet.c:0 connmand[19034]: #7 0x8082dc3 in __connman_network_connect() at polkit.c:0 connmand[19034]: #8 0x808e7e4 in __connman_service_connect() at polkit.c:0 connmand[19034]: #9 0x808eef0 in auto_connect_service() at service.c:0 connmand[19034]: #10 0x808efde in run_auto_connect() at service.c:0 connmand[19034]: #11 0xb76cea3f in /lib/i386-linux-gnu/ connmand[19034]: #12 0xb76cdd46 in /lib/i386-linux-gnu/ connmand[19034]: #13 0xb76ce0e5 in /lib/i386-linux-gnu/ connmand[19034]: #14 0xb76ce52b in /lib/i386-linux-gnu/ connmand[19034]: #15 0x80544cd in main() at polkit.c:0 connmand[19034]: #16 0xb739b4d3 in /lib/i386-linux-gnu/ connmand[19034]: +++++++++++++++++++++++++++
2014-08-07Upstream/service: Fix service disconnection when using the same indexPatrik Flykt1-34/+11
When a service is to be connected, other service(s) using the same interface will be disconnected. Fix the already connected or connecting situation by ignoring the service in question when seen in the list. Simplify the index detection and signal a timeout other services are disconnected in order to indicate to the caller that the connect action needs to be redone. Thanks to Chengyi Zhao for finding the issue.
2014-07-31Tethering: Get the client mac info of Gadget tetherguoqiang.liu1-0/+87
Change-Id: Icfa6cd683c659e6728060d6201b90109c63fe56d
2014-07-31Tethering: Watch the connection and disconnection signal of BluetoothChengyi Zhao1-3/+72
Signed-off-by: Chengyi Zhao <> Change-Id: I38bb9b799c3e4c4c25acd9d264a4225bf59401dc
2014-07-31Tethering: Add tethering interfaces description to technology-api.txtChengyi Zhao1-0/+12
Change-Id: I59768258d5f2515311ed3dad5db91618b1c459ec
2014-07-31Tethering: Add test script of open and hidden APChengyi Zhao1-7/+27
Change-Id: I8dbeaeba5848c8a8739422a93786b2ca6ed31b21
2014-07-31Tethering: Add hidden access point support in technologyChengyi Zhao9-8/+62
Change-Id: I73fccf5f322ee2597f8f58d5e3d7f60ddeb0a641
2014-07-31Tethering: Add open access point support in technologyChengyi Zhao1-13/+23
Change-Id: I86f4a22567f5df2fbd5d0c0c03c6cc5b6fc24a2d
2014-07-31Tethering: Notify listeners when station connection changesChengyi Zhao2-1/+94
Change-Id: I048c1a8a348b6f862ca104ad2fbe971f580fe180
2014-07-31Tethering: Add interface that save lease in DHCP informationChengyi Zhao5-66/+99
Change-Id: Ia09c875954d8a20a3e6c39f87076780d8a6582e4
2014-07-31Tethering: Add station information management featureChengyi Zhao3-0/+104
Change-Id: I2f699e42ec5ce7f148b8c1d685b52ee32e2e236b
2014-07-31Tethering: Add handling for wpa_supplicant authorized/deauthorized signalsChengyi Zhao2-0/+55
Change-Id: Iff022e257ee9d2c5227585bf0b84e726914cc62b
2014-07-31Tizen: Unify bluetooth tethering enable logicZhang zhengguang1-1/+1
In bluez 4.x plugin, when bluetooth tethering is enabled, set_tethering() returns 0, while in bluez 5.x plugin, it returns -EINPROGRESS, which is not compatiable for ConnMan to handle both of them, this patch makes bluez 5.x tethering enable logic consistent with bluez 4.x. Change-Id: I618efd32b5f123fe9bdb58d10adb29c67a87796f
2014-07-31Tizen: Check some telephony flags before active contextguoqiang.liu1-0/+8
Telephony active maybe fail if data_allowed or ps_attached is false, so check it before actived. When data_allowed is false, if connman starts to auto connect 3G service, it will result in 3G service auto connected fail, which leads to it will not be auto connected next time. Change-Id: Ibdd9c34fee7a612c1788a364c69550c4f7e79123 Signed-off-by: guoqiang.liu <>
2014-07-31Tizen: Add always on featureArron Wang1-0/+38
Run auto connection when default service is NULL, and it will not auto connect MMS cellular service. Change-Id: Ie2332b9014a900fc23afaac6d3759424dfd38e31
2014-07-31Tizen: Fix wifi enterprise to support SIM and AKAArron Wang2-1/+32
Revise Wi-Fi enterprise to enable PEAP, TLS, TTLS Fix wifi enterprise to support SIM and AKA Change-Id: Ib9c10615fd0668b2ebca57eac9285bf8a3564427
2014-07-31Tizen: Integrate telephony pluginArron Wang4-0/+1777
Change-Id: Ia178f5de981501296573bf3f48e329d5a1355af6
2014-07-31Tizen: Export network proxy API for telephony pluginArron Wang4-0/+41
Telephony plug-in requires manual PROXY setting function Telephony stack provides proxy address (3G profile). Change-Id: Iaa02f59465a687961c303667ee09051b419507d2
2014-07-31Tizen: Append extra wifi service propertyArron Wang2-0/+69
Append wifi property bssid, maxrate, frequency, encryptionmode to wifi service Change-Id: I1d5987334ab288fc04ff931fda5108f4afe864f0
2014-07-31Tizen: Export more wifi info in ConnMan network APIArron Wang5-1/+172
Network client requires additional wifi specific info Export the BSSID property Export the MaxRate property Export the detailed info for encryption mode(mixed,aes,tkip,wep,none) Export the connman_network get/set method for bssid, maxrate, encryption_mode property Change-Id: Ic5744978282e49cb2f70165aaadc7822dc718dfb
2014-07-31Enable ConnMan VPND/OpenVPN/OpenConnect configurable in spec fileZhang zhengguang1-0/+88
2014-07-31Enable ConnMan NTP configurable in spec fileZhang zhengguang1-0/+19
2014-07-31Set ConnMan default settings in config filesZhang zhengguang2-1/+6
2014-07-31Set manifest request domain to floorZhang zhengguang2-0/+10
2014-07-31Add systemd service to manager ConnMan NTPZhang zhengguang2-0/+14
2014-07-31Add package build spec fileZhang zhengguang1-0/+97
Change-Id: Ia8c78e122998da70565700d895dbf54688e7c8b9
2014-07-31Add bootstrap filesZhang zhengguang2-0/+27
Change-Id: Ia3923cb1ff35e7bfbd4e45f13dd18af15ed89f56
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang216-12462/+64845
2013-06-13client: Fix passphrase handlingPatrik Flykt1-2/+10
An empty passphrase means that WPS is to be tried next. If WPS is not supported by the service, passphrase can not be left empty.
2013-06-13client: Implement VPN Agent API RequestInput method callPatrik Flykt1-54/+77
Instead of having a global agent_input struct, make the structure a member of the agent_data structure that gets passed around when handling the RequestInput method call. With this modification agent_data is self-contained with all needed information and the RequestInput handling code can be shared between ConnMan and VPN agent implementations.
2013-06-13client: Add vpnagent command to register and unregister VPN AgentPatrik Flykt1-0/+30
2013-06-13client: Implement support for queueing Agent messagesPatrik Flykt1-9/+60
ConnMan and ConnMan VPN daemon both send only one Agent message at a time. Since they are two different daemons, they can be sending messages at the same time independent of each other. Implement a check for an agent request from the other daemon being already processed and if so store the message for later. When the current agent request has been processed, check if there are pending requests from the other daemon and re-run the pending function. In order to support arbitrary queueing, make all method call implementations asynchronous.
2013-06-13client: Add VPN Agent support for Release, Cancel and ReportErrorPatrik Flykt2-0/+119
Create a new agent data structure for the VPN Agent and add the needed minor modifications to Release, Cancel and ReportError method calls in order to get them working both for Agent and VPN Agent. Create new register and unregister functions for the VPN Agent code.
2013-06-13client: Create agent data structure and pass it in function callbacksPatrik Flykt3-76/+116
Collect the agent variables into a data structure and update the agent functionality to pass this data structure around as function callback user data. Update the agent mode input functionality to store both the callback function and user data pointers. Notice that only only one input callback can be handled at any one time due to the input handling itself and the simple storing of callback and user data pointers.
2013-06-13client: Don't handle Agent messages in monitor codePatrik Flykt1-0/+4
Agent messages need to be handled in the agent code, ignore them when they get captured in the monitor code.
2013-06-13client: Fix DBUS_TYPE_UINT16 pretty-printingPatrik Flykt1-0/+5
The previous pretty-printing fix causes another change to be made for DBUS_TYPE_UINT16.
2013-06-12dhcpv6: Send domain list option to serverJukka Rissanen3-12/+22
OPTION_DOMAIN_LIST(24) was not sent to server.
2013-06-12unit: Multiple collisions with different poolsJukka Rissanen1-0/+97
Existing tests did not test this scenario: * new address is registered to * new address is registered to * ippool is created to (no collision) * ippool is created to (no collision) * new address is registered to (collision detected)
2013-06-12unit: Test ippool collision differentlyJukka Rissanen1-0/+87
Existing tests did not test this scenario: * new address is registered to * ippool is created to (no collision) * ippool is created to (there is a collision and the code should skip the range)
2013-06-12ippool: Clear allocated block pointer at cleanupJukka Rissanen1-0/+1
Without this the unit tests might core dump as the allocated_block pointer would point to already freed memory.
2013-06-12ippool: Private address check was incorrectJukka Rissanen1-13/+5
Fixes BMC#25993
2013-06-10service: Send proxy properties when connected or disconnectedJukka Rissanen1-0/+2
Fixes BMC#26019
2013-06-10technology: Offlinemode could not be disabled if no technology was poweredJukka Rissanen1-5/+9
If all the technologies were powered off, then offline mode could not be disabled. Fixes BMC#26018
2013-06-10TODO: Mark GSequence removal doneDaniel Wagner1-2/+1
2013-06-10service: Use GList instead of GSequence for service listDaniel Wagner1-186/+116
The hash table is now the owner of the service entry instead of the service list.
2013-06-10session: Use GList instead of GSequence for service listDaniel Wagner1-53/+41
The hash table is now the owner of the service entry instead of the service list.