summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2016-06-28Modify to get rsn mode using pairwisesubmit/tizen/20160628.112647accepted/tizen/wearable/20160629.021326accepted/tizen/tv/20160629.021220accepted/tizen/mobile/20160629.021329accepted/tizen/ivi/20160629.021304accepted/tizen/common/20160628.141818hyunuktak1-2/+2
Change-Id: Icb3942835130528c4d61d427ee1891d88cc1ac3b Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-06-17[SPIN] Fix wireless issues in connman.Niraj Kumar Goit1-0/+3
desc: Set connection error when AP is removed. Change ASSOC_RETRY_COUNT(3 -> 4). send the scan request after connecting - check the ap availability fix the too much scan in associating Change-Id: Ia1d0367a2f792f6c2f92a6ef498b37511840135d Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] Added the connman disconnect reason property.Niraj Kumar Goit1-0/+3
Change-Id: I11fd7baa7d00fa3f3a12bdafda7ff7aa6943d020 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-17[SPIN] add keymgmt property for bss.Niraj Kumar Goit1-0/+4
Change-Id: Id436db5828febaabd8273c2e0aab91f9ee9572ff Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] network: enable DHCP failure.Niraj Kumar Goit1-0/+3
When DHCP is failed, most of normal users cannot understand auto-generated IP (IPV4 link local). So set error CONNMAN_NETWORK_ERROR_DHCP_FAIL. Change-Id: Ic80eb0436e41cff3a4bfb11dfef722b3029b0399 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-10Add support for WPS2-PSK security type in Security property of service interfaceJaehyun Kim1-0/+3
Change-Id: I5531a2e3e45da6b3d4caa6d5df15f54ebc2700d8
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak29-3/+17
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2015-07-08Fix MMS connection failureJaehyun Kim2-0/+43
Change-Id: Id3847d1d8233c2177cfbd65ba42ead8ff44a06a8
2014-11-07multi-user: Add function to get dbus user id synchronouslyZhang zhengguang1-0/+4
Change-Id: Ic41643e5f8b6e1a28ce00e0456d961fe2de7a7fb
2014-10-31Tethering: Add hidden access point support in technologyChengyi Zhao1-1/+1
Change-Id: I73fccf5f322ee2597f8f58d5e3d7f60ddeb0a641
2014-10-31Tethering: Add station information management featureChengyi Zhao1-0/+4
Change-Id: I2f699e42ec5ce7f148b8c1d685b52ee32e2e236b
2014-10-31Tizen: Export network proxy API for telephony pluginArron Wang1-0/+3
Telephony plug-in requires manual PROXY setting function Telephony stack provides proxy address (3G profile). Change-Id: Iaa02f59465a687961c303667ee09051b419507d2
2014-10-31Tizen: Export more wifi info in ConnMan network APIArron Wang1-0/+17
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-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang9-9/+121
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang15-89/+104
2013-05-31session: Add session identification method to configDaniel Wagner1-0/+9
The session core needs to the know which kind of session identification method has been selected in the plugin in order to use the right iptables rules etc.
2013-04-26include: Remove definition for connman_uint16_tPatrik Flykt1-1/+0
2013-04-26network: Replace connman_uint16_t with uint16_tPatrik Flykt1-4/+4
2013-04-26include: Remove definition for connman_uint8_tPatrik Flykt1-1/+0
2013-04-26network: Replace connman_uint8_t with uint8_tPatrik Flykt1-2/+4
2013-04-26ethernet: Add tethering supportJukka Rissanen1-0/+1
2013-04-26device: Add support functions needed by ethernet tetheringJukka Rissanen1-0/+3
2013-04-18dbus: Add connman_dbus_get_connnection_unix_user()Daniel Wagner1-0/+8
The UID is fetched via org.freedesktop.DBus.GetConnectionUnixUser D-Bus method call.
2013-04-18session: Do not fail when creating default policy configurationDaniel Wagner1-1/+1
Do not handle the small alloc failures because glib will abort when memory is tight anyway.
2013-04-18session: Change to "func_t" postfix to callback typedefDaniel Wagner1-2/+2
Streamline the callback typedefs with the rest of the code.
2013-03-27provider: Set nameservers if we receive them from vpndJukka Rissanen1-1/+1
If we receive nameservers from vpnd we must set them in provider. The connman_provider_set_nameservers() function needs changes because we get the nameservers as an array, it makes no sense to convert the array to string and then back to array.
2013-03-25session: Add callback helpersDaniel Wagner1-0/+17
There is a common pattern when writing a callback function. Let's add a few helper for this. It is added to session.h because apart from the core also the session_policy_local.c will make use of it. This is shamelessly stolen from oFono.
2013-03-08provider: New provider removal function callable from vpn pluginJukka Rissanen1-0/+1
2013-03-08provider: Function to set the immutable flagJukka Rissanen1-0/+2
2013-02-26config: Add a function to provision mutable serviceTomasz Bursztyka1-0/+1
The point here is to create a virtual configuration, which does not come from a real file. This is a handy way for plugins to be able to provision services without creating any file on the FS. In case of a wifi configuration type and if connect is requested, it will trigger a scan, thus leading to a possible service being provisioned by such virtual configuration. If so and if connect was requested: the service will be asked to connect.
2013-02-26technology: Provide a function to get WiFi tethering informationTomasz Bursztyka1-0/+3
2013-02-19config: Read only wifi configJukka Rissanen1-1/+1
2013-02-05ipconfig: Do not overwrite gateway addressJukka Rissanen1-1/+1
If we have already received gateway address via newroute rtnl message, then do not overwrite it when receiving newaddr message. Fixes BMC#25931
2013-01-04core: Remove WiMAX definitions from codePatrik Flykt3-12/+9
2012-12-05session: Return error code from callbackDaniel Wagner1-1/+1
In the case the callback is directly called we can use the return value to provide it to the user.
2012-11-23session: Factor out set default config helperDaniel Wagner1-0/+1
Whenever a configuration gets invalid (e.g. a configuration is removed) then we need to be able to drop back to the default configutation.
2012-11-23session: Export session parsing functionsDaniel Wagner1-0/+4
We want to reuse these functions.
2012-11-23session: Add getter for session ownerDaniel Wagner1-0/+2
2012-11-23session: Add destroy function for pluginsDaniel Wagner1-0/+1
The error handling can get easily get pretty hairy, e.g. reallocating memory for allowed_bearers. If we hit this situation we allow the plugin to shutdown the session. That is consistent with what we do when there is a problem while creating a new session.
2012-11-23session: Add sessions config update functionDaniel Wagner1-0/+2
Give a policy plugin a way to inform the session core that some of the config values have changed. This could be done in a more clever way, e.g. figure out only to update the necessary info entries but we keep it for now as simple and assume everthing has changed.
2012-11-23dbus: Add SELinux supportDaniel Wagner1-0/+8
ConnMan needs to identify application in a secure way when they are using the Session API. The current D-Bus server implemention supports two types of LSM, POSIX and SELinux. In order to support SMACK or TOMOYO the D-Bus code base needs to be patch. This is the initial work to support at least POSIX and SELinux. Maybe in the future we are able to support also the other LSMs. The idea behind gsec is to keep the LSM related code together in one directory. The API introduces in this patch is not any way final. It will need some more time figuring out how are able to intregrate this in a nice way. The current API introduces g_sec_get_selinux_label() which will return the SELinux context. The function will issuing a GetConnectionSELinuxSecurityContext method call. Note, that this function is not documented in the D-Bus specification. See for more details the source code dbus/bus/drivers.c and dbus/bus/selinux.c in the D-Bus reference implementation.
2012-11-23inotify: Move inotify code into its own fileDaniel Wagner1-0/+37
The inotify code will be used by the core (config.c) and the session policy plugin. We introduce a new API for file modifcation notifcation. We move the factored out code part from the last patch into a new file and also change the inotify code so that it allows to monitor not only STORAGEDIR. When registering a new observer, the callee has to tell which directory should be watched. inotify.c will group the observers together.
2012-11-23provider: Add callback when creating vpn providerJukka Rissanen1-1/+3
Because the vpnd Create() in manager API only creates and does not connect the vpn, we must do the connect part after the vpn is created. This requires a callback which is called when the connection is established. Eventually this patch becomes obsolete because the CreateProvider() connman API is deprecated.
2012-11-23vpn: Add preliminary agent supportJukka Rissanen1-0/+1
2012-11-23agent: Split agent code into generic and service specific partsJukka Rissanen1-0/+73
2012-11-23provider: Refactor server and user route handlingJukka Rissanen1-0/+10
The server and user route handling is refactored in order to reflect the vpn dbus API changes. The routes are now array of dicts in dbus API.
2012-11-23provider: Support functions addedJukka Rissanen1-0/+2
2012-11-23provider: Remove functionality that is no longer usedJukka Rissanen1-0/+3
The VPN support functionality is moved into connman-vpnd.
2012-11-23provider: Add more driver interface functions needed by vpnd pluginJukka Rissanen1-0/+5
2012-11-23provider: Provider disconnect function made available to pluginJukka Rissanen1-0/+2
The VPN needs to be able to call the provider disconnect.