platform/core/api/connection.git
4 years agodoc: change reference link 00/218900/1
Seonah Moon [Fri, 29 Nov 2019 04:35:41 +0000 (13:35 +0900)]
doc: change reference link

Change-Id: I5546fbcd35297756c49c00c7c1763ec0590eb741

4 years agoRemove dead code 80/218680/1 accepted/tizen/unified/20191127.141705 submit/tizen/20191127.014557
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>
4 years agoAdd some LCOV macro for coverage 40/215940/3 submit/tizen/20191018.074346
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>
4 years agoDestroy profile handle when all connection handle is deinitialized 86/215786/1 submit/tizen/20191018.005838
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>
4 years agoMerge "Remove DEPRECATED connection_set_ethernet_cable_state_chaged_cb() call" into... accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.030104 accepted/tizen/5.5/unified/mobile/hotfix/20201027.064104 accepted/tizen/unified/20191011.015511 submit/tizen/20191010.060003 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
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

4 years agoMerge "Fix double CONN_LOCK call leading to deadlock" 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

4 years agoMerge "Add APIs for getting internet connection state" 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

4 years agoAdd APIs for getting internet connection state 94/213794/5
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>
4 years agoRemove DEPRECATED connection_set_ethernet_cable_state_chaged_cb() call 93/215493/1
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>
4 years agoFix double CONN_LOCK call leading to deadlock 92/215492/1
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>
4 years agoFix type error. 16/213416/1 submit/tizen/20191008.125704 submit/tizen/20191010.004456
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>
4 years agoDo not pack untested gcov objects 11/208911/1 submit/tizen/20190702.011709 submit/tizen/20190708.075804
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>
4 years agoMake a gcov package for coverage 10/208910/1
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>
4 years agoAdded support of WPA3-SAE security mode. 89/207989/2
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>
4 years agoRefactoring how to get profile list 42/203842/5 submit/tizen/20190509.021344
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>
4 years agoAdd mutex lock/unlock 74/203574/7
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>
4 years agoMake local handle for event loop 44/203344/5
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>
5 years agoGet max speed of connected AP 29/196029/1 accepted/tizen/unified/20181228.053026 submit/tizen/20181227.045513
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>
5 years agoFix build errors 75/195075/1 accepted/tizen/unified/20181211.064642 submit/tizen/20181210.103346
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>
5 years ago[MPTCP] Add LCOV_EXCL comments 61/191161/1
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>
5 years agoMerge "Suppose Device trying to connect with a wifi router which does not support... accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.013201 accepted/tizen/unified/20180907.043101 submit/tizen/20180904.110831 submit/tizen/20180906.090023 submit/tizen_5.0/20181101.000002
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

5 years agoMerge "Fix wrong function name" into tizen submit/tizen/20180903.045143
Jaehyun Kim [Mon, 3 Sep 2018 04:10:45 +0000 (04:10 +0000)]
Merge "Fix wrong function name" into tizen

5 years agoFix wrong function name 37/187837/2
Seonah Moon [Wed, 29 Aug 2018 01:34:17 +0000 (10:34 +0900)]
Fix wrong function name

Change-Id: I34aa6cc2574c5f7bcbb5db96772bf0734982abaf

5 years agoCheck if mptcp is supported first 14/187714/1
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>
5 years agoMerge "Fix build failure" into tizen submit/tizen/20180828.011353
chleun.moon [Tue, 28 Aug 2018 01:13:15 +0000 (01:13 +0000)]
Merge "Fix build failure" into tizen

5 years agoFix build failure 26/187626/1
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>
5 years agoSuppose Device trying to connect with a wifi router which does not support IPV6. 65/187265/1
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>
5 years ago[connection] Added Tizen Wi-Fi Mesh 77/186777/1 submit/tizen/20180824.072908
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>
5 years agoAdd new error (ACR-1257) 70/183670/6 accepted/tizen/unified/20180724.073334 submit/tizen/20180723.014622 submit/tizen/20180723.233312
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>
5 years agoModified header files by tizen policy 73/183273/2 accepted/tizen/unified/20180709.064823 submit/tizen/20180706.050915
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>
6 years agoUpdate doxygen for ip config type 69/176569/1
Seonah Moon [Fri, 20 Apr 2018 04:49:09 +0000 (13:49 +0900)]
Update doxygen for ip config type

Change-Id: I0e333b36dd89cac304589369209c235255f312b8

6 years ago[ASan] Revert commit related to ASan. 09/175209/1 accepted/tizen/unified/20180423.062731 submit/tizen/20180420.003342
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

6 years ago[MPTCP] Add connection_mptcp_is_supported() 06/173506/3 accepted/tizen/unified/20180403.182502 submit/tizen/20180329.042536
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>
6 years agoMerge "[ASan] Disable sanitization for _connection_libnet_set_type_changed_cb" into... accepted/tizen/unified/20180320.141349 submit/tizen/20180318.231541 submit/tizen/20180320.043504
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

6 years ago[ASan] Disable sanitization for _connection_libnet_set_type_changed_cb 41/171841/1
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

6 years agoFixed typo 98/171598/1 accepted/tizen/unified/20180307.071328 submit/tizen/20180306.081256
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>
6 years agoAdded CAPIs for C# thread handling 34/170934/1 accepted/tizen/unified/20180227.062948 submit/tizen/20180226.110934
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>
6 years agoAdd Multipath TCP 80/169180/3
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>
6 years agoBug fix: connection_profile_get_ip_address() 97/165197/1 accepted/tizen/unified/20171228.065011 submit/tizen/20171227.071346
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>
6 years agoconnection: Notify network config changed from libnet-client's event 44/163644/3 accepted/tizen/unified/20171219.072628 submit/tizen/20171218.085650
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>
6 years agoUse preferred ipv6 address 13/163413/1 accepted/tizen/unified/20171212.064751 submit/tizen/20171211.062320
Seonah Moon [Mon, 11 Dec 2017 05:33:38 +0000 (14:33 +0900)]
Use preferred ipv6 address

Change-Id: Idda6dbe52ac4211681d26b7da2507c7dd2464e45

6 years agoAdded comment in test file 89/162789/4
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>
6 years agoMerge "Added APIs get the tcp dump and network state" into tizen accepted/tizen/unified/20171206.063057 submit/tizen/20171205.053202
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

6 years agoAdded APIs get the tcp dump and network state 79/157279/11
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>
6 years agoFixed invalid declaration 39/156739/3 accepted/tizen/unified/20171101.064649 submit/tizen/20171030.235228
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>
6 years agoModified the feature check for metered network api 04/155604/1 accepted/tizen/unified/20171016.064629 submit/tizen/20171016.003519
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>
6 years ago[CID-44367] Remove deadcode 09/153609/2 accepted/tizen/unified/20171011.065906 submit/tizen/20171010.084928
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>
6 years agoAdd new API to check whether metered or non metered 15/148715/3 accepted/tizen/unified/20170914.065440 submit/tizen/20170913.024954
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>
6 years ago[connection] Added support to validate netmask address. 32/147732/2 accepted/tizen/unified/20170913.071044 submit/tizen/20170911.125730
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>
6 years agoFix returned value's in connection_profile_get_dhcp_lease_duration 68/142568/2 accepted/tizen/4.0/unified/20170828.223656 accepted/tizen/unified/20170811.021103 submit/tizen/20170808.043745 submit/tizen/20170809.085632 submit/tizen_4.0/20170828.100002
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>
6 years agoMerge "Added connection_profile_get_dhcp_lease_duration API" into tizen
taesub kim [Thu, 3 Aug 2017 08:32:25 +0000 (08:32 +0000)]
Merge "Added connection_profile_get_dhcp_lease_duration API" into tizen

6 years agoAdded connection_profile_get_dhcp_lease_duration API 32/142232/1
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>
6 years agoAdd CAPI to get DHCP lease duration 03/140903/3 submit/tizen/20170803.074947
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

6 years ago[connection_test] Updated test menu description 34/129334/2 accepted/tizen/4.0/unified/20170816.013058 accepted/tizen/unified/20170602.154225 submit/tizen/20170601.042236 submit/tizen_4.0/20170811.094300
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>
6 years agoModified API reference feature link 65/130365/1 accepted/tizen/unified/20170531.082411 submit/tizen/20170523.030944
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>
7 years agoRemoved code for IPv6 from subnet mask APIs 80/127680/1 accepted/tizen/unified/20170510.012958 submit/tizen/20170508.081935 tizen_4.0.m1_release
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>
7 years agoAdd error description to doxygen 03/126903/1 accepted/tizen/unified/20170427.015604 submit/tizen/20170426.084841
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>
7 years agoFix build error 95/126495/1 accepted/tizen/unified/20170427.015556 submit/tizen/20170424.014832 submit/tizen/20170425.040532
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>
7 years ago[ACR-924] Added CAPI to get DHCP Server Address 00/126400/4
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>
7 years agoRemove unnecessary exception description 00/126100/1
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>
7 years agoMerge "Modified enumeration of cellular PDN type" into tizen
taesub kim [Thu, 20 Apr 2017 02:25:23 +0000 (19:25 -0700)]
Merge "Modified enumeration of cellular PDN type" into tizen

7 years agoModified enumeration of cellular PDN type 83/125383/6
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>
7 years agoFix errors that could be returned 07/125807/1 accepted/tizen/unified/20170419.165224 submit/tizen/20170419.041337
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>
7 years ago[ACR-930] Added CAPI to add/remove route table 99/125799/1
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>
7 years agoFree vconf_get_str using free() instead of g_free() 56/124056/2 accepted/tizen/unified/20170412.152330 submit/tizen/20170411.091632 submit/tizen/20170412.005740
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

7 years ago[WGID-199988] Remove unreachable code 89/122889/1 accepted/tizen/unified/20170406.054215 submit/tizen/20170404.234357
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>
7 years agoChange 'Feature List' link 40/122640/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142824 accepted/tizen/ivi/20170404.060830 accepted/tizen/mobile/20170404.060717 accepted/tizen/tv/20170404.060748 accepted/tizen/unified/20170404.060855 accepted/tizen/wearable/20170404.060810 submit/tizen/20170404.011910
Seonah Moon [Mon, 3 Apr 2017 05:47:35 +0000 (14:47 +0900)]
Change 'Feature List' link

Change-Id: I14c30c958501f50bac3fbdeb7ba29ec9594bdb88

7 years agoFixed to get IPv6 address in address changed callback 85/121785/1 accepted/tizen/common/20170329.172456 accepted/tizen/ivi/20170329.222306 accepted/tizen/mobile/20170329.222205 accepted/tizen/tv/20170329.222229 accepted/tizen/unified/20170329.222322 accepted/tizen/wearable/20170329.222244 submit/tizen/20170329.085840
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>
7 years agoReturned CONNECTION_DNS_CONFIG_TYPE_NONE when dns type is not set 70/120970/1 accepted/tizen/common/20170328.140656 accepted/tizen/ivi/20170328.060726 accepted/tizen/mobile/20170328.053722 accepted/tizen/tv/20170328.060652 accepted/tizen/unified/20170328.060739 accepted/tizen/wearable/20170328.060712 submit/tizen/20170328.004746
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>
7 years agoMerge "Add new APIs for ethernet cable and deprecate wrong APIs" into tizen accepted/tizen/common/20170324.122844 accepted/tizen/ivi/20170324.111327 accepted/tizen/mobile/20170324.111051 accepted/tizen/tv/20170324.111157 accepted/tizen/unified/20170324.111410 accepted/tizen/wearable/20170324.111238 submit/tizen/20170324.043751 submit/tizen/20170324.072948
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

7 years agoChanged the path of license by using '%license' macro 17/120217/1
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>
7 years agoAdd new APIs for ethernet cable and deprecate wrong APIs 14/119214/4
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>
7 years agoAdd converting function for netmask 89/119989/1 accepted/tizen/common/20170322.153719 accepted/tizen/ivi/20170322.235805 accepted/tizen/mobile/20170322.235640 accepted/tizen/tv/20170322.235712 accepted/tizen/unified/20170322.235834 accepted/tizen/wearable/20170322.235739 submit/tizen/20170322.011410
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>
7 years agoImplement API to get IPv6 addresses 69/119769/2
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>
7 years agoImplement APIs for IPv6 and DNS configuration 36/118836/3
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>
7 years agoAdd new APIs for IPv6 and DNS configuration 52/114652/20
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>
7 years agoChanged vconf key for IPv6 address 67/118167/1 accepted/tizen/common/20170313.162355 accepted/tizen/ivi/20170313.042634 accepted/tizen/mobile/20170313.042540 accepted/tizen/tv/20170313.042602 accepted/tizen/unified/20170313.042657 accepted/tizen/wearable/20170313.042619 submit/tizen/20170313.001510
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>
7 years agoMerge "Fixed to check whether Ethernet cable state changed callback exists when it... accepted/tizen/common/20170201.171547 accepted/tizen/ivi/20170201.090024 accepted/tizen/mobile/20170201.085930 accepted/tizen/tv/20170201.085949 accepted/tizen/unified/20170309.031456 accepted/tizen/wearable/20170201.090008 submit/tizen/20170201.015422 submit/tizen_unified/20170308.100404
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

7 years agoMerge "Use free instead of g_free if it's given by vconf_get_str" 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

7 years agoMerge "Remove Profile Build Dependency (TV)" into tizen
cheoleun moon [Mon, 23 Jan 2017 05:33:19 +0000 (21:33 -0800)]
Merge "Remove Profile Build Dependency (TV)" into tizen

7 years agoMerge "Remove dead and dangerous code" into tizen
cheoleun moon [Mon, 23 Jan 2017 05:30:02 +0000 (21:30 -0800)]
Merge "Remove dead and dangerous code" into tizen

7 years agoFixed to check whether Ethernet cable state changed callback exists when it is released 61/110761/1
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

7 years agoModify the header and documentation 17/105717/2
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>
7 years agoUse free instead of g_free if it's given by vconf_get_str 02/97102/1
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>
7 years agoRemove Profile Build Dependency (TV) 59/97059/2
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>
7 years agoRemove dead and dangerous code 53/97053/1
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>
7 years agoRemove reference warning 61/89261/1 accepted/tizen/3.0/common/20161114.105151 accepted/tizen/3.0/ivi/20161011.043745 accepted/tizen/3.0/mobile/20161015.032617 accepted/tizen/3.0/tv/20161016.003911 accepted/tizen/3.0/wearable/20161015.081814 accepted/tizen/common/20160928.164142 accepted/tizen/common/20170111.155033 accepted/tizen/ivi/20160929.081229 accepted/tizen/mobile/20160929.081122 accepted/tizen/tv/20160929.081205 accepted/tizen/wearable/20160929.081044 submit/tizen/20160928.053415 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001 submit/tizen_common/20170111.150147
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>
7 years ago[connection] Modified test code to print ethernet information correctly 48/78848/1 accepted/tizen/common/20160805.125931 accepted/tizen/ivi/20160809.010542 accepted/tizen/mobile/20160809.010454 accepted/tizen/tv/20160809.010507 accepted/tizen/wearable/20160809.010525 submit/tizen/20160805.043033
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>
7 years agoProvided option to set IPType as Auto for IPv6 55/75555/2 accepted/tizen/common/20160621.184503 accepted/tizen/ivi/20160623.120459 accepted/tizen/mobile/20160623.120402 accepted/tizen/tv/20160623.120415 accepted/tizen/wearable/20160623.120438 submit/tizen/20160621.060739 submit/tizen/20160621.234856
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>
7 years agoFixed build error for __libnet_check_address_type 44/74844/1 accepted/tizen/common/20160616.151806 accepted/tizen/ivi/20160617.081459 accepted/tizen/mobile/20160617.081150 accepted/tizen/tv/20160617.081235 accepted/tizen/wearable/20160617.081304 submit/tizen/20160616.005920
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>
7 years agoFix some svace 88/74488/1 submit/tizen/20160615.100519
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>
7 years agoApply coding rule 10/74410/1
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>
7 years agoFix the return value unit for wifi max speed 07/73507/1 accepted/tizen/common/20160608.160933 accepted/tizen/ivi/20160609.090756 accepted/tizen/mobile/20160609.090621 accepted/tizen/tv/20160609.090735 accepted/tizen/wearable/20160609.090718 submit/tizen/20160608.101452
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>
7 years agoRemove the gcov flag #2 46/72946/1 accepted/tizen/common/20160603.151101 accepted/tizen/ivi/20160606.040623 accepted/tizen/mobile/20160606.035241 accepted/tizen/tv/20160606.035927 accepted/tizen/wearable/20160606.040127 submit/tizen/20160603.083223 submit/tizen_common/20160606.120215
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>
7 years agoFixed memory leak for vconf_get_str 00/72400/2 accepted/tizen/ivi/20160602.230623 accepted/tizen/mobile/20160602.230556 accepted/tizen/tv/20160602.230613 accepted/tizen/wearable/20160602.230539 submit/tizen/20160602.021703
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>
7 years agoRemove the gcov flag 57/71357/2
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>
7 years agoAdd default case to fix build warning 59/69859/1 accepted/tizen/common/20160518.124817 accepted/tizen/ivi/20160518.003837 accepted/tizen/mobile/20160518.003813 accepted/tizen/tv/20160518.003828 accepted/tizen/wearable/20160518.003803 submit/tizen/20160517.075821
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>
7 years agoModify some test code 74/69674/4
hyunuktak [Mon, 16 May 2016 09:51:44 +0000 (18:51 +0900)]
Modify some test code

Change-Id: I213bdb7ba5721ea575585a94aebc9cd887c1569a
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoModified version of wearable 3.0 API 59/68159/2 accepted/tizen/common/20160504.130240 accepted/tizen/ivi/20160504.012624 accepted/tizen/mobile/20160504.012531 accepted/tizen/tv/20160504.012548 accepted/tizen/wearable/20160504.012605 submit/tizen/20160503.120331
taesubkim [Tue, 3 May 2016 00:25:11 +0000 (09:25 +0900)]
Modified version of wearable 3.0 API

Change-Id: Ie3bcb56a6a9507afe777c73b71676b0f8f87cc08
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agoMerge "Add some APIs to get and set cellular pdn type" into tizen accepted/tizen/common/20160429.170654 accepted/tizen/ivi/20160501.121734 accepted/tizen/mobile/20160501.120839 accepted/tizen/tv/20160501.121240 accepted/tizen/wearable/20160501.121449 submit/tizen/20160429.065012
taesub kim [Fri, 29 Apr 2016 07:22:01 +0000 (00:22 -0700)]
Merge "Add some APIs to get and set cellular pdn type" into tizen