Niraj Kumar Goit [Thu, 16 Apr 2020 08:33:04 +0000 (14:03 +0530)]
Added APIs to support EAPoL connection.
Change-Id: Ie6cb28c31c2ad147ce371b1241b00b3969daef8e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Niraj Kumar Goit [Fri, 3 Apr 2020 04:34:31 +0000 (10:04 +0530)]
Added prototype of APIs for EAP over ethernet.
Change-Id: Ib561aa5ffbca167ac1614be5ecabf0d69b53da1b
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Semun Lee [Thu, 26 Dec 2019 01:42:16 +0000 (10:42 +0900)]
Fix gcc9 warning
error: '%s' directive argument is null [-Werror=format-overflow=]
Change-Id: I811c89262b91516c49601ce0e6d8d04a279edb2b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Seonah Moon [Fri, 29 Nov 2019 04:35:41 +0000 (13:35 +0900)]
doc: change reference link
Change-Id: I5546fbcd35297756c49c00c7c1763ec0590eb741
hyunuk.tak [Wed, 27 Nov 2019 01:29:43 +0000 (10:29 +0900)]
Remove dead code
Change-Id: Ib0a2502704d3009afcd29cdde14464704f9d3401
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Fri, 18 Oct 2019 00:05:11 +0000 (09:05 +0900)]
Add some LCOV macro for coverage
Change-Id: I59be39d5a233dee5f51dd3f0be57e20a4772a258
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Wed, 16 Oct 2019 01:02:44 +0000 (10:02 +0900)]
Destroy profile handle when all connection handle is deinitialized
Change-Id: I79b0ef91e9dd5c6cce5007747219a4f994d7e120
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Jaehyun Kim [Thu, 10 Oct 2019 05:58:32 +0000 (05:58 +0000)]
Merge "Remove DEPRECATED connection_set_ethernet_cable_state_chaged_cb() call" into tizen
Jaehyun Kim [Thu, 10 Oct 2019 05:58:11 +0000 (05:58 +0000)]
Merge "Fix double CONN_LOCK call leading to deadlock" into tizen
Jaehyun Kim [Thu, 10 Oct 2019 05:57:48 +0000 (05:57 +0000)]
Merge "Add APIs for getting internet connection state" into tizen
Jaehyun Kim [Wed, 11 Sep 2019 10:19:46 +0000 (19:19 +0900)]
Add APIs for getting internet connection state
Change-Id: I3617a5e18f45572f1fa1109d8e8820a723216361
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Nishant Chaprana [Wed, 9 Oct 2019 12:26:08 +0000 (17:56 +0530)]
Remove DEPRECATED connection_set_ethernet_cable_state_chaged_cb() call
connection_set_ethernet_cable_state_chaged_cb() is deprecated and will be removed from next release.
Using connection_set_ethernet_cable_state_changed_cb() instead
Change-Id: Iae867e17dd1feb2389877d16ce2aabf2afbdcd45
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 9 Oct 2019 12:23:21 +0000 (17:53 +0530)]
Fix double CONN_LOCK call leading to deadlock
Change-Id: I4020c5d80514440899e0d16e05b9170e769bb478
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Niraj Kumar Goit [Thu, 5 Sep 2019 05:42:28 +0000 (11:12 +0530)]
Fix type error.
Change-Id: I423c3f7974965d037eb709b257c98e6d92e5163f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Cheoleun Moon [Mon, 1 Jul 2019 07:47:41 +0000 (16:47 +0900)]
Do not pack untested gcov objects
Change-Id: I6212a181ba033b805b23687548fec8e1c384d1d4
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Mon, 1 Jul 2019 07:43:10 +0000 (16:43 +0900)]
Make a gcov package for coverage
Change-Id: Id11c225597425eb2dacb5efbaaefa4b511d6328b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Niraj Kumar Goit [Fri, 14 Jun 2019 11:57:22 +0000 (17:27 +0530)]
Added support of WPA3-SAE security mode.
Change-Id: I98bffd6e79d1eb829aae5770b154204d4b5788aa
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
hyunuktak [Thu, 18 Apr 2019 05:49:53 +0000 (14:49 +0900)]
Refactoring how to get profile list
Change-Id: I4ca1c236f3ff530cf94ad56a77c008f51179be98
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 16 Apr 2019 04:29:24 +0000 (13:29 +0900)]
Add mutex lock/unlock
It's one of the processess for multi-thread safety.
Change-Id: Id5480690d453bd962fb8fd74da14fbfbfdeeff1f
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Fri, 12 Apr 2019 02:17:07 +0000 (11:17 +0900)]
Make local handle for event loop
It's one of the processess for multi-thread safety.
Change-Id: Ic935276933b63ebea691cdafc393ac5ce839fed9
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Cheoleun Moon [Fri, 21 Dec 2018 02:17:32 +0000 (11:17 +0900)]
Get max speed of connected AP
Change-Id: Ia68e9e1e667d7beb25dda104b401ea75106d0c4b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Mon, 10 Dec 2018 10:29:19 +0000 (19:29 +0900)]
Fix build errors
Change-Id: I1d38558b99b5aaee78ab3ff9b89f64fd0b12edf1
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Fri, 12 Oct 2018 03:51:13 +0000 (12:51 +0900)]
[MPTCP] Add LCOV_EXCL comments
Change-Id: Ib6cff6394688726f11c2390ff4b96ed142de5fa8
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Jaehyun Kim [Tue, 4 Sep 2018 11:02:23 +0000 (11:02 +0000)]
Merge "Suppose Device trying to connect with a wifi router which does not support IPV6. In that Case __profile_convert_ip_to_string() function will be called for IPV6 address family and if net_info->IpAddr is passed as 1st argument, sometime garbage ip like "c0a8:5::" could be set to output variable ip_address(passed by Application)." into tizen
Jaehyun Kim [Mon, 3 Sep 2018 04:10:45 +0000 (04:10 +0000)]
Merge "Fix wrong function name" into tizen
Seonah Moon [Wed, 29 Aug 2018 01:34:17 +0000 (10:34 +0900)]
Fix wrong function name
Change-Id: I34aa6cc2574c5f7bcbb5db96772bf0734982abaf
chleun.moon [Tue, 28 Aug 2018 04:41:02 +0000 (13:41 +0900)]
Check if mptcp is supported first
Change-Id: I814e8304cddcecde4cfae111afe5506f683e97f8
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
chleun.moon [Tue, 28 Aug 2018 01:13:15 +0000 (01:13 +0000)]
Merge "Fix build failure" into tizen
chleun.moon [Mon, 27 Aug 2018 04:28:53 +0000 (13:28 +0900)]
Fix build failure
Change-Id: I212feac55c19a8ebf6ea31bb1491ae577a68160e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Bhaskar Dutta [Tue, 21 Aug 2018 09:20:57 +0000 (14:50 +0530)]
Suppose Device trying to connect with a wifi router which does not support IPV6.
In that Case __profile_convert_ip_to_string() function will be called for IPV6
address family and if net_info->IpAddr is passed as 1st argument, sometime garbage
ip like "c0a8:5::" could be set to output variable ip_address(passed by Application).
Change-Id: I3695f3720653c6b2b96d4766b27dfb17da44ccc2
Signed-off-by: Bhaskar Dutta <bhaskar.d@samsung.com>
Nishant Chaprana [Tue, 14 Aug 2018 07:35:05 +0000 (13:05 +0530)]
[connection] Added Tizen Wi-Fi Mesh
Change-Id: I0d4d9c44abc60609a1104b877b31f3b7fe912451
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
taesub kim [Mon, 9 Jul 2018 23:40:54 +0000 (08:40 +0900)]
Add new error (ACR-1257)
Change-Id: I9caba25fa33c0e538c07f2ba15764927ebe25d1d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Wed, 4 Jul 2018 04:47:54 +0000 (13:47 +0900)]
Modified header files by tizen policy
Change-Id: Ie8f94482658d9c074bc5f8bf8a9501da6f7bb344
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Seonah Moon [Fri, 20 Apr 2018 04:49:09 +0000 (13:49 +0900)]
Update doxygen for ip config type
Change-Id: I0e333b36dd89cac304589369209c235255f312b8
Denis Khalikov [Mon, 9 Apr 2018 08:13:46 +0000 (11:13 +0300)]
[ASan] Revert commit related to ASan.
Revert commit related to workaround, which was a temporary
fix for bug into GCC pass. So, this bug was fixed on the
compiler side and was related to ASan and ANHCOR sections.
Change-Id: I26b92d17e33265abc7346bf04b0b31846d420cb1
chleun.moon [Thu, 22 Mar 2018 05:24:05 +0000 (14:24 +0900)]
[MPTCP] Add connection_mptcp_is_supported()
Change-Id: Ife77a96b74db82f3f32f9a0487aa4c2a68b20b78
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
taesub kim [Fri, 16 Mar 2018 02:02:55 +0000 (02:02 +0000)]
Merge "[ASan] Disable sanitization for _connection_libnet_set_type_changed_cb" into tizen
Denis Khalikov [Wed, 7 Mar 2018 13:53:39 +0000 (16:53 +0300)]
[ASan] Disable sanitization for _connection_libnet_set_type_changed_cb
Workaround for error:
#0 0xb6fb9ac7 in __GI___tls_get_addr /usr/src/debug/glibc-2.24/elf/dl-tls.c:834
#1 0xb6a7c185 in __tls_get_addr (/usr/lib/libasan.so+0x2b185)
#2 0xb456d5c3 in _connection_libnet_set_type_changed_cb /usr/src/debug/capi-network-connection-1.0.108/src/libnetwork.c:710
#3 0xb4562289 in __connection_set_type_changed_callback /usr/src/debug/capi-network-connection-1.0.108/src/connection.c:152
#4 0xb5121dfd in _suspend_init /usr/src/debug/amd-1.2.3/src/lib/amd_suspend.c:242
#5 0xb50fd68d in __init /usr/src/debug/amd-1.2.3/src/lib/amd_main.c:342
#6 0xb50fd68d in main /usr/src/debug/amd-1.2.3/src/lib/amd_main.c:402
#7 0xb68df63b (/lib/libc.so.6+0x1663b)
Change-Id: Iae412b9e938f20067a71251e3c27b215fbd1ae39
hyunuktak [Tue, 6 Mar 2018 07:45:57 +0000 (16:45 +0900)]
Fixed typo
Change-Id: Id7ba2356364a6ac4fdae5c4a601687555343645e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Jaehyun Kim [Fri, 23 Feb 2018 08:27:23 +0000 (17:27 +0900)]
Added CAPIs for C# thread handling
It is not guaranteed that the GC in C# will call connection_destroy
on the thread that called connection_create.
So I added thread-independent CAPIs for init/deinit.
Change-Id: Ia70fdc543b06c34611643a702aa43377ad144365
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
chleun.moon [Mon, 5 Feb 2018 02:09:22 +0000 (11:09 +0900)]
Add Multipath TCP
Change-Id: I374ced383bc1c89d764bc264a17c4400393e346b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Seonah Moon [Wed, 27 Dec 2017 05:26:19 +0000 (14:26 +0900)]
Bug fix: connection_profile_get_ip_address()
Change-Id: Iba5d634a46ffd9c9bc9545180582018f1c5add54
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Saurav Babu [Tue, 12 Dec 2017 14:23:16 +0000 (19:53 +0530)]
connection: Notify network config changed from libnet-client's event
This patch removes logic to notify network configuration changed event
by using vconf_notify_key_changed() functions. VCONF logic only works in
main thread of application, so this patch adds logic to get network
configurations changed event from libnet-client so that callbacks can be
called in respective threads.
Change-Id: I8b2faaae0d6eb14655b6675a4d25c2ae71d7ee55
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Seonah Moon [Mon, 11 Dec 2017 05:33:38 +0000 (14:33 +0900)]
Use preferred ipv6 address
Change-Id: Idda6dbe52ac4211681d26b7da2507c7dd2464e45
taesub kim [Tue, 5 Dec 2017 09:11:07 +0000 (18:11 +0900)]
Added comment in test file
Change-Id: I7326e5952ebd82d0f2e26ac065b1e2f5be870e24
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Tue, 5 Dec 2017 05:17:13 +0000 (05:17 +0000)]
Merge "Added APIs get the tcp dump and network state" into tizen
taesub kim [Tue, 24 Oct 2017 05:00:07 +0000 (14:00 +0900)]
Added APIs get the tcp dump and network state
Change-Id: I1b12e22d94a9cd6e0874697c24b1c5f534773009
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Thu, 19 Oct 2017 22:41:00 +0000 (07:41 +0900)]
Fixed invalid declaration
Change-Id: If32ac8ec1e984f9f9f3c340bd31e7e8d27142d3b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Mon, 16 Oct 2017 00:05:14 +0000 (09:05 +0900)]
Modified the feature check for metered network api
Change-Id: If292d3fdcaf24cda68a59954e75f727e96a26041
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Fri, 29 Sep 2017 02:15:04 +0000 (11:15 +0900)]
[CID-44367] Remove deadcode
Change-Id: Iaa2f5a6479bf1d6b5d290f91f4f1eea0eae1f17a
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Jaehyun Kim [Fri, 8 Sep 2017 10:58:37 +0000 (19:58 +0900)]
Add new API to check whether metered or non metered
Change-Id: I36909e3bea7ec991913ed1218d2489f455b01ce2
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Tue, 5 Sep 2017 10:32:14 +0000 (16:02 +0530)]
[connection] Added support to validate netmask address.
Change-Id: I901cba2c331e19eb11ada4f4ca5d709b3ce3d53d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Abhishek Sansanwal [Fri, 4 Aug 2017 09:21:33 +0000 (14:51 +0530)]
Fix returned value's in connection_profile_get_dhcp_lease_duration
Description: Return invalid parameter in case the
passed address of dhcp_lease_duration in NULL.
Return not supported in case CAPI is called
for IPV6 address family.
Change-Id: Iafe92b2714c9044f23665d5135e949133bb0b7c0
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
taesub kim [Thu, 3 Aug 2017 08:32:25 +0000 (08:32 +0000)]
Merge "Added connection_profile_get_dhcp_lease_duration API" into tizen
Abhishek Sansanwal [Thu, 3 Aug 2017 06:32:37 +0000 (12:02 +0530)]
Added connection_profile_get_dhcp_lease_duration API
Change-Id: I428ad98cbdca4daabfcfc53d1983262903d6601a
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Abhishek Sansanwal [Thu, 27 Jul 2017 05:55:04 +0000 (11:25 +0530)]
Add CAPI to get DHCP lease duration
Description: The following CAPI was added-
connection_profile_get_dhcp_lease_duration();
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Iffe6e0a5aa3f428b3665172ed68672d112635365
Seonah Moon [Tue, 16 May 2017 06:30:15 +0000 (15:30 +0900)]
[connection_test] Updated test menu description
Change-Id: I96a791bc1238253da1d3ca379e74fba9fc35ccab
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
taesub kim [Mon, 22 May 2017 06:34:55 +0000 (15:34 +0900)]
Modified API reference feature link
Change-Id: I1058f36a20bb2536a1c199be14cc576165b72c7e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Seonah Moon [Fri, 28 Apr 2017 08:31:47 +0000 (17:31 +0900)]
Removed code for IPv6 from subnet mask APIs
Change-Id: Ia5135d3ce840ae03295366972163d3dea489215e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
chleun.moon [Tue, 25 Apr 2017 08:31:49 +0000 (17:31 +0900)]
Add error description to doxygen
Change-Id: If87db8338ea2d654a659f2070dfd6cf3888f1126
Signed-off-by: cheoleun <chleun.moon@samsung.com>
taesub kim [Mon, 24 Apr 2017 01:03:23 +0000 (10:03 +0900)]
Fix build error
Change-Id: I5e3734cf9bb7085694fb5e0cac1766b8d9723c99
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Thu, 6 Apr 2017 08:41:55 +0000 (17:41 +0900)]
[ACR-924] Added CAPI to get DHCP Server Address
Change-Id: I34c5b09e0e8a562c4ff9d65e557b58e457c35380
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
chleun.moon [Thu, 20 Apr 2017 06:16:44 +0000 (15:16 +0900)]
Remove unnecessary exception description
Change-Id: Ibe86940b933637b85c7335ed3370d6e0fbeb23b6
Signed-off-by: cheoleun <chleun.moon@samsung.com>
taesub kim [Thu, 20 Apr 2017 02:25:23 +0000 (19:25 -0700)]
Merge "Modified enumeration of cellular PDN type" into tizen
taesub kim [Mon, 17 Apr 2017 07:18:16 +0000 (16:18 +0900)]
Modified enumeration of cellular PDN type
Change-Id: I2ad2ac07a78232456a1512bde70289cafdfc028d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Wed, 19 Apr 2017 03:50:49 +0000 (12:50 +0900)]
Fix errors that could be returned
Change-Id: Id93463e01b4aae7055d99dd950c1c5dc17186126
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Mon, 10 Apr 2017 09:13:00 +0000 (18:13 +0900)]
[ACR-930] Added CAPI to add/remove route table
Change-Id: Iadf8e5b78247185ac00ea2c8cc1464fecf08e89b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Abhishek Sansanwal [Mon, 10 Apr 2017 05:16:00 +0000 (10:46 +0530)]
Free vconf_get_str using free() instead of g_free()
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I1ab58242e0e0b5201a9246279986cbc700dc4a1e
Seonah Moon [Tue, 4 Apr 2017 01:33:38 +0000 (10:33 +0900)]
[WGID-199988] Remove unreachable code
Change-Id: Ib77c3194ac30d2ec7849a122cfa4626c7ab450f0
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Mon, 3 Apr 2017 05:47:35 +0000 (14:47 +0900)]
Change 'Feature List' link
Change-Id: I14c30c958501f50bac3fbdeb7ba29ec9594bdb88
Seonah Moon [Wed, 29 Mar 2017 04:20:52 +0000 (13:20 +0900)]
Fixed to get IPv6 address in address changed callback
Change-Id: Ib6c9d6e1f9778d176b1006f5e4bc4e95ff474a34
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Mon, 27 Mar 2017 02:23:55 +0000 (11:23 +0900)]
Returned CONNECTION_DNS_CONFIG_TYPE_NONE when dns type is not set
Change-Id: I88e1fda99a5029deb4b87b4f4cb4c58d3c0a8eaf
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
taesub kim [Fri, 24 Mar 2017 02:15:50 +0000 (19:15 -0700)]
Merge "Add new APIs for ethernet cable and deprecate wrong APIs" into tizen
Seonah Moon [Wed, 22 Mar 2017 06:32:29 +0000 (15:32 +0900)]
Changed the path of license by using '%license' macro
Change-Id: I70b27c5fc692ee55c73282b722c3a804662d0f37
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Thu, 16 Mar 2017 04:32:38 +0000 (13:32 +0900)]
Add new APIs for ethernet cable and deprecate wrong APIs
Some APIs have typo in name. It should be modified.
Therefore, new APIs are added and old API is deprecated.
Old APIs will be removed from next release.
Change-Id: I38e41fee9b9eef27ea52cd10ca58991b6245d67d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Tue, 21 Mar 2017 05:01:34 +0000 (14:01 +0900)]
Add converting function for netmask
Change-Id: I4e04daa8e5b2efce8c1fdde40d35857cecabe3e1
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Mon, 20 Mar 2017 05:30:03 +0000 (14:30 +0900)]
Implement API to get IPv6 addresses
Change-Id: I87838ac2ad0a8672f462122bb0c2f89f7175d57f
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Tue, 14 Mar 2017 07:49:21 +0000 (16:49 +0900)]
Implement APIs for IPv6 and DNS configuration
Change-Id: If049a154b9cdbbdaf03173f441cb3602b13fc72c
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Tue, 14 Feb 2017 09:54:35 +0000 (18:54 +0900)]
Add new APIs for IPv6 and DNS configuration
Change-Id: Ie41e572f780c12c837edf78cca84e3a8fdeaf111
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Thu, 9 Mar 2017 05:23:25 +0000 (14:23 +0900)]
Changed vconf key for IPv6 address
Change-Id: I77a91ce95646367743b3fad2ef96e3cbea376216
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
cheoleun moon [Wed, 1 Feb 2017 02:16:05 +0000 (18:16 -0800)]
Merge "Fixed to check whether Ethernet cable state changed callback exists when it is released" into tizen
cheoleun moon [Mon, 23 Jan 2017 05:33:37 +0000 (21:33 -0800)]
Merge "Use free instead of g_free if it's given by vconf_get_str" into tizen
cheoleun moon [Mon, 23 Jan 2017 05:33:19 +0000 (21:33 -0800)]
Merge "Remove Profile Build Dependency (TV)" into tizen
cheoleun moon [Mon, 23 Jan 2017 05:30:02 +0000 (21:30 -0800)]
Merge "Remove dead and dangerous code" into tizen
Jaehyun Kim [Fri, 6 Jan 2017 08:15:35 +0000 (17:15 +0900)]
Fixed to check whether Ethernet cable state changed callback exists when it is released
The callback can be registered for each connection handle
and the ref count is incremented each time it is registered.
However, when the callback is released,
the ref count is decremented without checking whether or not the callback is registered in the connection handle.
Therefore, the ref count can be 0 even though there is a valid callback, and the event may not be processed.
Change-Id: I0569e8d0a74ca647c5bcdba6c877e7374a89e6f9
chleun.moon [Mon, 19 Dec 2016 09:59:13 +0000 (18:59 +0900)]
Modify the header and documentation
Change-Id: Ie555def3733b9bf12e18d3adef16d84d71322a80
Signed-off-by: cheoleun <chleun.moon@samsung.com>
MyungJoo Ham [Fri, 11 Nov 2016 06:42:38 +0000 (15:42 +0900)]
Use free instead of g_free if it's given by vconf_get_str
vconf_get_str from buxton2 uses standard library.
So, it is recommended to use free instead of g_free because
g_free might not be a simple wrapper of free depending on
the build options of glib:
https://mail.gnome.org/archives/gtk-list/2000-July/msg00002.html
Change-Id: I0a6687dd2d303566b45746ee95b6b47f531276da
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 11 Nov 2016 05:30:05 +0000 (14:30 +0900)]
Remove Profile Build Dependency (TV)
- This is for Tizen 4.0
- TV or not is determined at runtime, unifying the binary for all.
After this commit, there is no more TIZEN_TV:
connection$ grep -r "TIZEN_TV" *
connection$
Change-Id: I762dbbd6d44ef27987b7463fd717fa604187858a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 11 Nov 2016 05:21:58 +0000 (14:21 +0900)]
Remove dead and dangerous code
- This is for Tizen 4.0
- For 4.0 Configurability & Building-Blocks, we need to remove
profile build dependencies and this is the first step for it.
There will be other commits following this soon.
TIZEN_MOBILE/TIZEN_WEARABLE are useless:
connection$ grep -r "TIZEN_MOBILE" *
CMakeLists.txt:IF(TIZEN_MOBILE)
CMakeLists.txt: ADD_DEFINITIONS(-DTIZEN_MOBILE)
CMakeLists.txt:ENDIF(TIZEN_MOBILE)
packaging/capi-network-connection.spec: -DTIZEN_MOBILE=1 \
Binary file packaging/.capi-network-connection.spec.swp matches
connection$ grep -r "TIZEN_WEARABLE" *
CMakeLists.txt:IF(TIZEN_WEARABLE)
CMakeLists.txt: ADD_DEFINITIONS(-DTIZEN_WEARABLE)
CMakeLists.txt:ENDIF(TIZEN_WEARABLE)
packaging/capi-network-connection.spec: -DTIZEN_WEARABLE=1 \
Binary file packaging/.capi-network-connection.spec.swp matches
connection$
Change-Id: I658208e213db777011f7e1f19b78bd1bf529b277
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
hyunuktak [Fri, 23 Sep 2016 01:50:54 +0000 (10:50 +0900)]
Remove reference warning
Change-Id: I4ed65d145421c287cafa8ec838bd3ed41c7beb88
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Saurav Babu [Thu, 7 Jul 2016 06:15:22 +0000 (11:45 +0530)]
[connection] Modified test code to print ethernet information correctly
This patch has below changes:
1. Print ethernet information correctly in
test_get_user_selected_profile(), earlier ethernet was treated as
cellular profiles.
2. For WiFi profile_name and essid are same so no need to print both.
3. Print cellular service type only for cellular profiles.
Change-Id: I560fbb5dddd8a6534de6637b2ce450bca0fd2424
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Sumit Aggarwal [Mon, 20 Jun 2016 16:29:53 +0000 (21:59 +0530)]
Provided option to set IPType as Auto for IPv6
Change-Id: I68a5eb90d3f635b0e7f7e4c5dd59ff52226fd689
Signed-off-by: Sumit Aggarwal <aggarwal.s@samsung.com>
taesubkim [Thu, 16 Jun 2016 00:52:41 +0000 (09:52 +0900)]
Fixed build error for __libnet_check_address_type
Change-Id: I679cb85d24e2ab3ae846fd68fd88e73687c69f27
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
hyunuktak [Tue, 14 Jun 2016 10:17:09 +0000 (19:17 +0900)]
Fix some svace
Change-Id: Iec8a65ac5162022f22dafc43e25716330b22b157
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 14 Jun 2016 07:08:50 +0000 (16:08 +0900)]
Apply coding rule
Change-Id: Ie26ef8da0c6b5140183b1ddd3b47fe9ae33b3637
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 8 Jun 2016 09:50:51 +0000 (18:50 +0900)]
Fix the return value unit for wifi max speed
Change-Id: Ie9d8f24e5f3b12e1327d8890c5f0857c125d924c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
taesubkim [Fri, 3 Jun 2016 07:58:04 +0000 (16:58 +0900)]
Remove the gcov flag #2
Change-Id: I50099135510177fe0f91d0b734573613afba749c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
hyunuktak [Tue, 31 May 2016 23:51:11 +0000 (08:51 +0900)]
Fixed memory leak for vconf_get_str
Change-Id: I3c99e343d738816dd08a84e49dc19ad0bddce155
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 25 May 2016 06:40:57 +0000 (15:40 +0900)]
Remove the gcov flag
Change-Id: I87a26ddeb04a00ece1e1cb0c75726523f398d4a4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 17 May 2016 05:55:31 +0000 (14:55 +0900)]
Add default case to fix build warning
Change-Id: I2e321f0224180261ffe8d973b9532b6c06eec046
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>