platform/core/connectivity/net-config.git
2 years agoFix build error for i586 and x86_64 10/264310/2 accepted/tizen/unified/20210916.005915 submit/tizen/20210915.152151
Jaehyun Kim [Wed, 15 Sep 2021 15:13:16 +0000 (00:13 +0900)]
Fix build error for i586 and x86_64

Change-Id: I71d38043a401ca3009a3c661ea0526a239bd860a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2 years agoAdd support to stop ongoing curl request. 37/264237/2 submit/tizen/20210915.122117
Niraj Kumar Goit [Tue, 14 Sep 2021 19:16:23 +0000 (00:46 +0530)]
Add support to stop ongoing curl request.

When online-monitor is stopped, removing an easy handle while being
used effectively stop the transfer in progress involving that easy handle.

Reference: https://curl.se/libcurl/c/curl_multi_remove_handle.html

Change-Id: Ia6e72688cbfe03140fe26a85e286fb3c913ed547
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2 years agoAdd support for online monitoring report 53/263853/4
Jaehyun Kim [Sun, 12 Sep 2021 17:34:20 +0000 (02:34 +0900)]
Add support for online monitoring report

Change-Id: I957ee296b2835713bb5c59845f76393412ef5856
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2 years agoAdd url checker and downgrade service state feature. 37/263737/11
Niraj Kumar Goit [Thu, 9 Sep 2021 19:26:00 +0000 (00:56 +0530)]
Add url checker and downgrade service state feature.

Change-Id: I134b1018f3c580bb3d3a999fd01ebc650f82d7c6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2 years agoAdd plugin for online monitoring 22/263622/11
Jaehyun Kim [Tue, 7 Sep 2021 05:59:37 +0000 (14:59 +0900)]
Add plugin for online monitoring

Change-Id: Ic96e513404635c869e18aba870e040418705d457
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2 years agoAdd SAE security type for netlink scan. 20/262920/3 accepted/tizen/unified/20210915.025101 submit/tizen/20210908.150016 submit/tizen/20210909.045500
Niraj Kumar Goit [Mon, 23 Aug 2021 15:26:26 +0000 (20:56 +0530)]
Add SAE security type for netlink scan.

Change-Id: I1f37d0fed1dfdbc8947f3ade2a2ed1faf32acd48
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2 years agoMerge "Remove the unused code." into tizen
Jaehyun Kim [Fri, 20 Aug 2021 07:25:34 +0000 (07:25 +0000)]
Merge "Remove the unused code." into tizen

2 years agoadded sae security for wpa3 13/241113/2
Rahul Jain [Sat, 15 Aug 2020 09:05:24 +0000 (14:35 +0530)]
added sae security for wpa3

Change-Id: I09beb829bb4dde5cee7a31d28354e22de9a52226

2 years agoRemove the unused code. 79/262479/1
Niraj Kumar Goit [Wed, 11 Aug 2021 12:58:41 +0000 (18:28 +0530)]
Remove the unused code.

Change-Id: I879885c7d2df9acf9495c7acc14ef7ec018b9269
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2 years agoFix a memory leak 75/261475/1 accepted/tizen/unified/20210720.123307 submit/tizen/20210720.015818
Seonah Moon [Tue, 20 Jul 2021 00:18:59 +0000 (09:18 +0900)]
Fix a memory leak

Change-Id: I81c198a15f4cb80b1b1f670ea2b66902fab08ff2

2 years agoAdjust socket buffer size for robot profile 97/261197/4 accepted/tizen/unified/20210716.131312 submit/tizen/20210715.041332
Seonah Moon [Tue, 13 Jul 2021 06:41:45 +0000 (15:41 +0900)]
Adjust socket buffer size for robot profile

Change-Id: I35857cac9d8a6ae9f06308749c2e303027f044c6

2 years agoGet interface name from fi.w1.wpa_supplicant1.Interface 99/257899/2 accepted/tizen/unified/20210506.103554 submit/tizen/20210506.065212
Seonah Moon [Thu, 6 May 2021 06:36:21 +0000 (15:36 +0900)]
Get interface name from fi.w1.wpa_supplicant1.Interface

Interface.WPS doesn't have Ifname property.

Change-Id: I3a67ebcb012dd3f3a554b81a86aec5676f1d41ae

3 years agoRemove files unnecessarily included in the package 89/256289/1 accepted/tizen/unified/20210401.110101 submit/tizen/20210401.060505
Jaehyun Kim [Thu, 1 Apr 2021 03:00:22 +0000 (12:00 +0900)]
Remove files unnecessarily included in the package

Change-Id: I31a4447e52fc1b8ff7a907dcf6dc87dc9b9deca6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoAdd support for wifi dongle 48/256048/1 accepted/tizen/unified/20210330.003649 submit/tizen/20210329.051231
Jaehyun Kim [Mon, 29 Mar 2021 02:37:21 +0000 (11:37 +0900)]
Add support for wifi dongle

Change-Id: Ic9b5dc328a33b62e5b1db594e5d5a8a417ab88a1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoFix uncaught exception in haltests 56/255856/1
Jaehyun Kim [Wed, 24 Mar 2021 08:34:39 +0000 (17:34 +0900)]
Fix uncaught exception in haltests

Change-Id: I7615631a4da292493757b00a8c4c9340429f60ec
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoRemove codes to launch mdnsd 96/255296/1 accepted/tizen/unified/20210318.060248 submit/tizen/20210317.065443
Cheoleun Moon [Tue, 16 Mar 2021 10:24:40 +0000 (19:24 +0900)]
Remove codes to launch mdnsd

Change-Id: I9848812f74a59b98647cc9354badae2402a81025

3 years agoRevert "Remove codes to launch mdnsd"
Cheoleun Moon [Tue, 16 Mar 2021 10:39:00 +0000 (19:39 +0900)]
Revert "Remove codes to launch mdnsd"

This reverts commit d64465cb8d80c549dbe50fe4dad643c68f4a98c3.

3 years agoRemove codes to launch mdnsd
Cheoleun Moon [Tue, 16 Mar 2021 10:24:40 +0000 (19:24 +0900)]
Remove codes to launch mdnsd

Change-Id: I9848812f74a59b98647cc9354badae2402a81025

3 years agoMerge "Add SmackProcessLabel" into tizen accepted/tizen/unified/20210308.132431 submit/tizen/20210225.043806 submit/tizen/20210308.065858
cheoleun moon [Thu, 25 Feb 2021 04:37:42 +0000 (04:37 +0000)]
Merge "Add SmackProcessLabel" into tizen

3 years agoMerge "Revise wifi statistics routine" into tizen accepted/tizen/unified/20210225.130538 submit/tizen/20210224.083420
Jaehyun Kim [Wed, 24 Feb 2021 08:11:33 +0000 (08:11 +0000)]
Merge "Revise wifi statistics routine" into tizen

3 years agoAdd SmackProcessLabel 57/254157/1
Cheoleun Moon [Wed, 24 Feb 2021 06:59:01 +0000 (15:59 +0900)]
Add SmackProcessLabel

Change-Id: I4c340fcb5e14922390dd7e4c59002bfcd69857b7

3 years agoRevise haltests 01/254101/1
Jaehyun Kim [Tue, 23 Feb 2021 10:51:11 +0000 (19:51 +0900)]
Revise haltests

Change-Id: I99afd0a85c363575a7991b4ec5e8dad3a4673ba6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoReplace HAL interface with hal-api-wifi 08/252108/6 accepted/tizen/unified/20210210.130355 submit/tizen/20210209.010000
Jaehyun Kim [Fri, 22 Jan 2021 12:24:50 +0000 (21:24 +0900)]
Replace HAL interface with hal-api-wifi

Change-Id: I4339754ddca51ecb08cb8f32818ada9a26b1da46
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoFix double free 16/252516/1
Jaehyun Kim [Fri, 29 Jan 2021 05:39:27 +0000 (14:39 +0900)]
Fix double free

Change-Id: I05c991d891295601949fb91f380383fcfc886567
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoRevise wifi statistics routine 95/251595/2
Jaehyun Kim [Fri, 15 Jan 2021 10:38:58 +0000 (19:38 +0900)]
Revise wifi statistics routine

Net-config updates the DB every 2 or 10 seconds for the wifi usage statistics,
which can cause shorten flash storage lifetime.
So the update cycle and method have been changed.

Change-Id: I0ed5053a48771d569320211c31890d3aec7cb55d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoRemove temporary code changes. 12/250512/1 accepted/tizen/unified/20210129.002150 submit/tizen/20210125.084818 submit/tizen/20210126.062930 submit/tizen/20210127.105449
Niraj Kumar Goit [Mon, 28 Dec 2020 20:23:53 +0000 (01:53 +0530)]
Remove temporary code changes.

Change-Id: Id5fcb88a21530ca55770f4a23c35259e65b144d7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoMoved dbus method IsEapSupported to connman. 29/249929/1
Niraj Kumar Goit [Thu, 17 Dec 2020 11:00:11 +0000 (16:30 +0530)]
Moved dbus method IsEapSupported to connman.

Dbus method IsEapSupported to check EAPoL enabled status is moved to
connman and renamed as IsEapolEnabled.

Change-Id: I77e5f76d89af722cadad8373d5bc8025379a54e4
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoFixed dereferencing of the NULL pointer. 12/249612/2 accepted/tizen/unified/20210122.123008 submit/tizen/20201229.102954 submit/tizen/20210119.130611
Niraj Kumar Goit [Tue, 15 Dec 2020 09:59:06 +0000 (15:29 +0530)]
Fixed dereferencing of the NULL pointer.

Change-Id: Ibd23d2ea1c5c1028a7f42fe68199a7a2f914c939
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoFix some svaces 51/248751/2 submit/tizen/20201217.131910
hyunuk.tak [Wed, 2 Dec 2020 05:04:53 +0000 (14:04 +0900)]
Fix some svaces

MEMORY_LEAK.EX
UNINIT.LOCAL_VAR.EX
DEREF_OF_NULL.RET.ALLOC

Change-Id: I1b3910c0dfc9e8752e3f781dab6aab8eb965f781
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoRename EAPoL configuration file path and g_eap_supported. 00/247300/1 submit/tizen/20201116.030352 submit/tizen/20201127.052752
Niraj Kumar Goit [Mon, 9 Nov 2020 15:27:37 +0000 (20:57 +0530)]
Rename EAPoL configuration file path and g_eap_supported.

1. Rename EAPoL configuration file path storage directory.
2. Rename g_eap_supported variable to g_eap_enabled to sync with CAPI.

Change-Id: Icc80b1b1363fb67ba9a5adfe25005913e7d59994
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoMerge "Add a number of iteration for updating device list" into tizen accepted/tizen/unified/20201029.124911 submit/tizen/20201028.023046
Jaehyun Kim [Tue, 27 Oct 2020 03:04:06 +0000 (03:04 +0000)]
Merge "Add a number of iteration for updating device list" into tizen

3 years agoMerge "Modify eap config file name for mac address" into tizen
Jaehyun Kim [Tue, 27 Oct 2020 03:04:03 +0000 (03:04 +0000)]
Merge "Modify eap config file name for mac address" into tizen

3 years agoAdd a number of iteration for updating device list 92/245892/1
hyunuk.tak [Mon, 19 Oct 2020 07:48:39 +0000 (16:48 +0900)]
Add a number of iteration for updating device list

Change-Id: Ia4c4f74ca41907cf154ed627f87f8a4fda094d51

3 years ago[TDLS] Remove redundant operation to finish method call 80/245480/1
Nishant Chaprana [Fri, 9 Oct 2020 13:44:24 +0000 (19:14 +0530)]
[TDLS] Remove redundant operation to finish method call

Change-Id: I6dc693f6342b83a8d487dc1edbb7f56271ea65c1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years ago[TDLS] Use TDLS's enumeration for dbus method call reply 79/245479/1
Nishant Chaprana [Fri, 9 Oct 2020 13:41:27 +0000 (19:11 +0530)]
[TDLS] Use TDLS's enumeration for dbus method call reply

Change-Id: If262fc7156403f79d56be7dccbfe25883dc13c77
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoModify eap config file name for mac address 61/245261/5
hyunuk.tak [Tue, 6 Oct 2020 06:33:43 +0000 (15:33 +0900)]
Modify eap config file name for mac address

Change-Id: I8ffe284084e3177fa57bbd350e080931f72c41fd
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoFix memory leaks 16/245216/1 submit/tizen/20201008.114009
Jaehyun Kim [Mon, 5 Oct 2020 11:36:51 +0000 (20:36 +0900)]
Fix memory leaks

g_variant_print() returns a newly-allocated string holding the result.
It was not getting free.

Change-Id: I291c6a1e6a80ad99fc7c15aa4187c32c866eff14
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoAdd null check 44/244844/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120449 accepted/tizen/6.0/unified/hotfix/20201103.050151 accepted/tizen/unified/20201006.044358 submit/tizen/20200925.061031 submit/tizen/20200925.132900 submit/tizen/20201005.112026 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Cheoleun Moon [Fri, 25 Sep 2020 04:13:25 +0000 (13:13 +0900)]
Add null check

Change-Id: I620ed7beba7b0b697f94c163642e6bb8e4bdff25

3 years agoMerge "Cleanup driver and wpa_supplicant when tech power on is failed" into tizen
Jaehyun Kim [Thu, 24 Sep 2020 08:26:02 +0000 (08:26 +0000)]
Merge "Cleanup driver and wpa_supplicant when tech power on is failed" into tizen

3 years agoCleanup driver and wpa_supplicant when tech power on is failed 04/244604/2
Nishant Chaprana [Tue, 22 Sep 2020 08:32:21 +0000 (14:02 +0530)]
Cleanup driver and wpa_supplicant when tech power on is failed

Change-Id: I72e6e548b8324f1fdda4c5b9e594b64152d49895
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoAdd to load/save frequency of config 01/244401/1
hyunuk.tak [Fri, 18 Sep 2020 06:53:22 +0000 (15:53 +0900)]
Add to load/save frequency of config

Change-Id: Ic904fccd6aaaa324c3bd7ba8a7cc366f09467694

3 years agoAdd log param for vconf 86/244386/2 accepted/tizen/unified/20200921.095112 submit/tizen/20200918.062939
hyunuk.tak [Fri, 18 Sep 2020 05:05:58 +0000 (14:05 +0900)]
Add log param for vconf

Change-Id: I21d1613a7569ad8364ec5a156fe9c63520c60703
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoMerge "Fix some coverity" into tizen
hyunuk tak [Fri, 18 Sep 2020 05:01:46 +0000 (05:01 +0000)]
Merge "Fix some coverity" into tizen

3 years agoFix some coverity 96/244296/2
hyunuk.tak [Thu, 17 Sep 2020 04:44:05 +0000 (13:44 +0900)]
Fix some coverity

FORWARD_NULL, REVERSE_INULL, RESOURCE_LEAK

Change-Id: I000aabec4e012889734c6f5f17f077023dcb0092
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoMerge "Maintain list for active wifi interfaces" into tizen submit/tizen/20200917.115639
Jaehyun Kim [Thu, 17 Sep 2020 11:58:56 +0000 (11:58 +0000)]
Merge "Maintain list for active wifi interfaces" into tizen

3 years agoMaintain list for active wifi interfaces 80/244280/2
Nishant Chaprana [Wed, 16 Sep 2020 17:41:10 +0000 (23:11 +0530)]
Maintain list for active wifi interfaces

Change-Id: I6a0f60f54f2fcfa1ef641fecea32334a522ebe06
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoModify to update statistics for multi-interfaces 90/244190/5
hyunuk.tak [Wed, 16 Sep 2020 01:15:50 +0000 (10:15 +0900)]
Modify to update statistics for multi-interfaces

Change-Id: Ia6e2c83549b3e68d99857e8cbcec5e9b242458a9
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoCrear default connection info 12/243812/1 accepted/tizen/unified/20200911.043222 submit/tizen/20200910.081543
hyunuk.tak [Thu, 10 Sep 2020 07:54:04 +0000 (16:54 +0900)]
Crear default connection info

Change-Id: I8c98a7487ff4bf53c40b0ce80d5fa44cef1f8cad

3 years agoUpdate rssi from strength signal of connman 37/243237/4 submit/tizen/20200909.082135
hyunuk.tak [Fri, 4 Sep 2020 06:57:33 +0000 (15:57 +0900)]
Update rssi from strength signal of connman

Change-Id: I6001209db19f69a5af4000e947d879d20a8b684f
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoMerge "Change the privilege requirement of AddRoute/RemoveRoute dbus method" into... accepted/tizen/unified/20200909.014344 submit/tizen/20200908.005600 submit/tizen/20200909.002419
cheoleun moon [Fri, 4 Sep 2020 05:37:51 +0000 (05:37 +0000)]
Merge "Change the privilege requirement of AddRoute/RemoveRoute dbus method" into tizen

3 years agoRevert "Add debug logs" 98/243198/1
seonah moon [Fri, 4 Sep 2020 01:31:17 +0000 (01:31 +0000)]
Revert "Add debug logs"

This reverts commit 8cc6dac36d27484d1047cb9f6ee5b3d7f44e8a17.

Change-Id: I37c3a293d15824727e1b55c24e1840044cfbd1fb

3 years agoChange the privilege requirement of AddRoute/RemoveRoute dbus method 68/243068/2
Cheoleun Moon [Thu, 3 Sep 2020 02:36:52 +0000 (11:36 +0900)]
Change the privilege requirement of AddRoute/RemoveRoute dbus method

Change-Id: I44322081108614fc1994ae662d5ae9ee92244620

3 years agoAdd debug logs 65/243065/1 submit/tizen/20200903.100909
Seonah Moon [Thu, 3 Sep 2020 01:29:57 +0000 (10:29 +0900)]
Add debug logs

Change-Id: Icb4b5375042d577bac10cf59c2923e6febf2afa0

3 years agoRemove unreachable code 10/243010/1 accepted/tizen/unified/20200903.151732 submit/tizen/20200902.111409 submit/tizen/20200903.044940
Jaehyun Kim [Wed, 2 Sep 2020 11:05:44 +0000 (20:05 +0900)]
Remove unreachable code

Change-Id: I32cad4f9a6df7d29d30524e7f8221c618e2437d2
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoMerge "Add missing interface name parameter in Firmware Start method call" into tizen submit/tizen/20200828.142119 submit/tizen/20200901.053326
Jaehyun Kim [Fri, 28 Aug 2020 12:54:06 +0000 (12:54 +0000)]
Merge "Add missing interface name parameter in Firmware Start method call" into tizen

3 years agoFix resource leak and double free 45/242645/1
Jaehyun Kim [Fri, 28 Aug 2020 11:15:50 +0000 (20:15 +0900)]
Fix resource leak and double free

Change-Id: I1dd7fe019e60c9bf552e7cce52b3b4deaa04f116
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoAdd missing interface name parameter in Firmware Start method call 40/242640/1
Nishant Chaprana [Fri, 28 Aug 2020 10:43:15 +0000 (16:13 +0530)]
Add missing interface name parameter in Firmware Start method call

Change-Id: Ic605fb9c0d5411e695318216618795a535099bf7
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoAdd multi interfaces function 83/242483/1
hyunuk.tak [Thu, 27 Aug 2020 07:38:57 +0000 (16:38 +0900)]
Add multi interfaces function

Change-Id: I1c7a200a1c627803f10c30f85066e921f10835d3
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoFix resource leak 34/242234/1 accepted/tizen/unified/20200827.105751 submit/tizen/20200825.063631
hyunuk.tak [Tue, 25 Aug 2020 06:05:09 +0000 (15:05 +0900)]
Fix resource leak

Change-Id: Ib78bc6744b347997c0d0b92143c8ac05fc0e2dbb
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoBlock background scan while Doze Mode is set 09/239509/1 accepted/tizen/unified/20200730.130919 submit/tizen/20200728.041121
Jaehyun Kim [Mon, 27 Jul 2020 07:53:24 +0000 (16:53 +0900)]
Block background scan while Doze Mode is set

Change-Id: Ia21041a6b5ee46a532f6d302bfa2cc0921a46e53
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoMinor Fix: ip-conflict: set sd to NULL after g_free() 16/238316/1 accepted/tizen/unified/20200717.124745 submit/tizen/20200716.044206
Rahul Jain [Sat, 11 Jul 2020 05:16:13 +0000 (10:46 +0530)]
Minor Fix: ip-conflict: set sd to NULL after g_free()

Change-Id: If24218a86e7cad6b317dcc4fd51ee759b4af885f

3 years agoRemove incorrect code 15/238315/1
Rahul Jain [Sat, 11 Jul 2020 05:01:00 +0000 (10:31 +0530)]
Remove incorrect code

Change-Id: I6c4dfe31cf768c8eddab1388140f409115a0537b

3 years agoMerge "Free route_dest when breaking out of g_variant_iter_loop" into tizen accepted/tizen/unified/20200701.123257 submit/tizen/20200629.101111 submit/tizen/20200630.072946
cheoleun moon [Fri, 26 Jun 2020 04:34:13 +0000 (04:34 +0000)]
Merge "Free route_dest when breaking out of g_variant_iter_loop" into tizen

3 years agoFree route_dest when breaking out of g_variant_iter_loop 92/237192/3
Cheoleun Moon [Fri, 26 Jun 2020 01:33:24 +0000 (10:33 +0900)]
Free route_dest when breaking out of g_variant_iter_loop

Change-Id: Ic71d1d9877e998bad9e865473ef6d38bca68b211
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
3 years agoChange the service file path for 64bit build 30/237030/1 accepted/tizen/unified/20200626.133555 submit/tizen/20200624.065138
Jaehyun Kim [Wed, 24 Jun 2020 06:38:18 +0000 (15:38 +0900)]
Change the service file path for 64bit build

Change-Id: I22bafa8f5442c5ac59ee1644af1534c67e048562
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoMerge "Sorting netlink scan result by signal strength" into tizen accepted/tizen/unified/20200609.153656 submit/tizen/20200608.073147
cheoleun moon [Mon, 8 Jun 2020 07:31:20 +0000 (07:31 +0000)]
Merge "Sorting netlink scan result by signal strength" into tizen

3 years agoPrint IFFLAGS before interface up/down 41/235041/2 accepted/tizen/unified/20200603.150131 submit/tizen/20200602.082342
Cheoleun Moon [Tue, 2 Jun 2020 02:19:46 +0000 (11:19 +0900)]
Print IFFLAGS before interface up/down

Change-Id: I008a96e2603d3aff4c4546b1434a37b0967f53de
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
3 years agoPrint errno when socket and ioctl fail 40/235040/1
Cheoleun Moon [Tue, 19 May 2020 12:03:51 +0000 (21:03 +0900)]
Print errno when socket and ioctl fail

Change-Id: I29f6264dd8db405405494f360c9543a33d342bb9
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
3 years agoFree netlink socket 43/234743/1 accepted/tizen/unified/20200601.051726 submit/tizen/20200529.030032
Cheoleun Moon [Thu, 28 May 2020 08:23:27 +0000 (17:23 +0900)]
Free netlink socket

Change-Id: I1995731fb132fa75161a84a0eb8c14fc1b68de24
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
3 years agoSorting netlink scan result by signal strength 39/234739/1
Seonah Moon [Thu, 28 May 2020 08:13:17 +0000 (17:13 +0900)]
Sorting netlink scan result by signal strength

Change-Id: I616fe6902a9ab906d2ef9b9fd052d8b19de84a09

3 years agoMultiple vulnerabilities in handle-vpn-block-networks handler of vpnsvc D-Bus service 69/234369/3
Jeon YoungHo [Thu, 7 May 2020 13:27:19 +0000 (22:27 +0900)]
Multiple vulnerabilities in handle-vpn-block-networks handler of vpnsvc D-Bus service

Change-Id: Iff6033ce86a124f70d9062a6f00928e305763c02
Signed-off-by: Jeon YoungHo <ykernel.jeon@samsung.com>
3 years agoRemove debug log for field value 22/233622/1 accepted/tizen/unified/20200519.035058 submit/tizen/20200518.041610 submit/tizen/20200519.021428
Yu [Sun, 17 May 2020 23:02:29 +0000 (08:02 +0900)]
Remove debug log for field value

Change-Id: I8ea561f0465998c09311cd1f79fd1e3a3d592414
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoAdd mode to get technology state 65/232565/1 accepted/tizen/unified/20200507.052343 submit/tizen/20200506.120225
hyunuk.tak [Wed, 6 May 2020 09:58:10 +0000 (18:58 +0900)]
Add mode to get technology state

Change-Id: I63cc9312452e7aafa679f521f504de682fa196de
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoFix NULL pointer dereference while closing file pointer 34/232434/1 submit/tizen/20200504.152605
Nishant Chaprana [Mon, 4 May 2020 14:59:44 +0000 (20:29 +0530)]
Fix NULL pointer dereference while closing file pointer

Change-Id: I4ae4912a3ee85798ff2a4aebd5dcfe8508bc22ee
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years ago[net-config] Added support to set eapol property in connman. 67/232367/6 submit/tizen/20200504.135236
Niraj Kumar Goit [Sat, 2 May 2020 18:38:41 +0000 (00:08 +0530)]
[net-config] Added support to set eapol property in connman.

Change-Id: I4ce867d457b60545137d8273a19defd2a22c3a37
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
4 years ago[net-config] Added support for EAPoL connection. 54/230954/10
Niraj Kumar Goit [Thu, 16 Apr 2020 07:22:29 +0000 (12:52 +0530)]
[net-config] Added support for EAPoL connection.

Change-Id: Ic18901757f7ea1d205804e43641c5d36e7d83704
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoMerge changes I12d92fec,I8db32f58 into tizen submit/tizen/20200427.082157
cheoleun moon [Mon, 27 Apr 2020 08:20:41 +0000 (08:20 +0000)]
Merge changes I12d92fec,I8db32f58 into tizen

* changes:
  Use separate functions to improve readability
  Try again to scan if nl_recvmsgs returns NLE_AGAIN and there is no error

4 years agoMerge "Fix memory leak" into tizen submit/tizen/20200424.083643
hyunuk tak [Fri, 24 Apr 2020 08:36:06 +0000 (08:36 +0000)]
Merge "Fix memory leak" into tizen

4 years agoUse separate functions to improve readability 12/231612/3
Cheoleun Moon [Thu, 23 Apr 2020 04:11:54 +0000 (13:11 +0900)]
Use separate functions to improve readability

Change-Id: I12d92fecf920dbdec452b83ce8cf63c590aa12aa
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoTry again to scan if nl_recvmsgs returns NLE_AGAIN and there is no error 69/231569/1
Cheoleun Moon [Wed, 22 Apr 2020 11:48:41 +0000 (20:48 +0900)]
Try again to scan if nl_recvmsgs returns NLE_AGAIN and there is no error

Change-Id: I8db32f5847b578c5d93fbcb609361da0c0e6a299
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoAdd dbus conf for NetlinkScan 11/231511/1
Cheoleun Moon [Wed, 22 Apr 2020 07:31:41 +0000 (16:31 +0900)]
Add dbus conf for NetlinkScan

Change-Id: I5f7f924a28ab5f25149561865453f268fe36970a
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoFix memory leak 79/231479/1
INSUN PYO [Wed, 22 Apr 2020 06:02:40 +0000 (15:02 +0900)]
Fix memory leak

Change-Id: I4c1e6ba4ea1a315ab12afbed189bce559c11b1f1

4 years agoCheck NULL before use 53/231453/2
Cheoleun Moon [Wed, 22 Apr 2020 05:05:35 +0000 (14:05 +0900)]
Check NULL before use

Change-Id: Id2ee59375d74c3f1a6314726fa954957f44eafa1
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agowifi-netlink-scan: handle EAGAIN 12/231412/1 accepted/tizen/unified/20200427.125831 submit/tizen/20200422.045342
Seonah Moon [Wed, 22 Apr 2020 01:42:56 +0000 (10:42 +0900)]
wifi-netlink-scan: handle EAGAIN

Change-Id: Ia4549e274ae5a3f93c01927d5b5e3bde992c2a2e

4 years agoFix branch past initialization issue 27/225127/1 accepted/tizen/unified/20200227.121049 submit/tizen/20200220.041614 submit/tizen/20200227.012332
Jaehyun Kim [Mon, 17 Feb 2020 12:06:15 +0000 (21:06 +0900)]
Fix branch past initialization issue

Change-Id: I250d6815e939b0e7d33b6a98efc1b3157135fa10
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoReplace deprecated APIs of Glib v2.62.3 with suggested GLib APIs 11/224111/2 accepted/tizen/unified/20200224.081431 submit/tizen/20200203.160801 submit/tizen/20200211.061437 submit/tizen/20200212.120218 submit/tizen/20200217.011016
Nishant Chaprana [Thu, 6 Feb 2020 08:29:29 +0000 (13:59 +0530)]
Replace deprecated APIs of Glib v2.62.3 with suggested GLib APIs

Below Glib API calls are replaced:-
1. GTimeVal => GDateTime
2. g_get_current_time => g_get_real_time
3. g_time_val_to_iso8601 => g_date_time_format_iso8601

Change-Id: I0d7354d1c3cb06901135843e91745d15f3eb2b33
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix build warnings for gcc 9 50/220950/1 accepted/tizen/unified/20191227.142754 submit/tizen/20191226.234511
Semun Lee [Thu, 26 Dec 2019 05:05:42 +0000 (14:05 +0900)]
Fix build warnings for gcc 9

- remove #include <sys/sysctl.h>
- fix wrong log format

Change-Id: I5a5ecc22b4b579810755e3a9891a05444a6c5f41
Signed-off-by: Semun Lee <semun.lee@samsung.com>
4 years agoModified to get current time to match stc 76/217976/1 accepted/tizen/unified/20191126.124721 submit/tizen/20191118.075427
hyunuk.tak [Mon, 18 Nov 2019 06:55:41 +0000 (15:55 +0900)]
Modified to get current time to match stc

Change-Id: I43e3ba0161854dfb881ffbb587dc8f20d891fd45
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoSignal strength criteria for 5GHz changed 42/217642/1 accepted/tizen/unified/20191114.042633 submit/tizen/20191113.075649
Jaehyun Kim [Wed, 13 Nov 2019 05:45:23 +0000 (14:45 +0900)]
Signal strength criteria for 5GHz changed

Change-Id: Id34844422a54797e617f619a0c804e19778adadc
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoMerge "[net-config] Manage the MAX saved wireless profiles." into tizen accepted/tizen/unified/20191108.065924 submit/tizen/20191106.105409
Jaehyun Kim [Wed, 6 Nov 2019 10:51:27 +0000 (10:51 +0000)]
Merge "[net-config] Manage the MAX saved wireless profiles." into tizen

4 years agoAdd some dbus rule to default group into conf file 85/215885/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.024000 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083905 accepted/tizen/unified/20191022.150256 submit/tizen/20191021.102317 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
hyunuk.tak [Thu, 17 Oct 2019 07:05:42 +0000 (16:05 +0900)]
Add some dbus rule to default group into conf file

Change-Id: I88e56d640fbe60d8ddc1ab42c4b74bcc0cdeed1b
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years ago[net-config] Manage the MAX saved wireless profiles. 74/215774/2
prashanth kumar [Tue, 15 Oct 2019 09:12:18 +0000 (14:42 +0530)]
[net-config] Manage the MAX saved wireless profiles.

If the number of saved profiles exceed 200, remove the
oldest profile in the list.

Change-Id: Ic0a2fc850f13f44f3191efe9bb8e2aa7f13cd911
Signed-off-by: prashanth kumar <prasadam.p@samsung.com>
4 years agoMerge "Add battery monitor framework" into tizen accepted/tizen/unified/20191017.072557 submit/tizen/20191014.104721 submit/tizen/20191016.060650
Jaehyun Kim [Mon, 14 Oct 2019 09:50:03 +0000 (09:50 +0000)]
Merge "Add battery monitor framework" into tizen

4 years agoAdd battery monitor framework 08/215408/2
hyunuk.tak [Wed, 14 Aug 2019 08:36:46 +0000 (17:36 +0900)]
Add battery monitor framework

Change-Id: Iaccffa57e6ce5d0fb8ce8112452c6893fcd232f8
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoMerge "Refactoring sd->timer_id for ip-conflict-detect code" into tizen
Jaehyun Kim [Mon, 14 Oct 2019 07:24:21 +0000 (07:24 +0000)]
Merge "Refactoring sd->timer_id for ip-conflict-detect code" into tizen

4 years agoMerge "Using updated clatd's Dbus interface and Path values" into tizen
Jaehyun Kim [Mon, 14 Oct 2019 07:22:37 +0000 (07:22 +0000)]
Merge "Using updated clatd's Dbus interface and Path values" into tizen

4 years agoFix Coverity issues 64/215664/3 accepted/tizen/unified/20191015.011952 submit/tizen/20191014.071714
Jihoon Jung [Mon, 14 Oct 2019 14:49:14 +0000 (23:49 +0900)]
Fix Coverity issues

- Resource leak : 1087883, 1087991, 1087992

Change-Id: Ic3191b2c5aac190d48537cc6b03ccbb5a33f2158
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
4 years agoRefactoring sd->timer_id for ip-conflict-detect code 34/215334/1
INSUN PYO [Mon, 7 Oct 2019 06:11:16 +0000 (15:11 +0900)]
Refactoring sd->timer_id for ip-conflict-detect code

0  0xb6ab5634 in raise () from /lib/libpthread.so.0
1  0xb6c23774 in g_logv (log_domain=0xb6c23774 <g_logv+772> "\300\377\377\352", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x5 <error: Cannot access memory at address 0x5>, args=..., args@entry=...) at gmessages.c:1357
2  0xb6c23824 in g_log (log_domain=<optimized out>, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=0xb6c73a7c "%s: assertion '%s' failed") at gmessages.c:1398
3  0xb6c23dc0 in g_return_if_fail_warning (log_domain=<optimized out>, pretty_function=<optimized out>, expression=<optimized out>) at gmessages.c:2688
4  0xb6c1b374 in g_source_remove (tag=0) at gmain.c:2351
5  0xb6f46058 in send_arp (data=0xb79817d0) at /usr/src/debug/net-config-1.1.146/src/ip-conflict-detect.c:363
6  0xb6f46468 in start_ip_conflict_mon () at /usr/src/debug/net-config-1.1.146/src/ip-conflict-detect.c:408
7  0xb6f3c34c in _service_signal_cb (conn=<optimized out>, name=<optimized out>, path=<optimized out>, interface=<optimized out>, sig=0xb5231540 "", param=0xb5236298, user_data=0x0) at /usr/src/debug/net-config-1.1.146/src/signal-handler.c:447
8  0xb6dec980 in emit_signal_instance_in_idle_cb (data=0xb52074c8) at gdbusconnection.c:4660
9  0xb6c1c654 in g_main_dispatch (context=0xb7960d70) at gmain.c:3234
10 g_main_context_dispatch (context=context@entry=0xb7960d70) at gmain.c:3887
11 0xb6c1c9e4 in g_main_context_iterate (context=0xb7960d70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3960
12 0xb6c1cd44 in g_main_loop_run (loop=0xb795e3c0) at gmain.c:4156
13 0xb6f21a20 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/net-config-1.1.146/src/main.c:152

Change-Id: I59d0eb7dc0b1e4ce5eed8795c2d25a8ca8c31ad0

4 years agoAdd logic for Device Provisioning Protocol(DPP) 44/212344/14 accepted/tizen/unified/20191007.234802 submit/tizen/20190927.130602 submit/tizen/20191001.114836
Yu [Tue, 24 Sep 2019 06:46:17 +0000 (15:46 +0900)]
Add logic for Device Provisioning Protocol(DPP)

Description : Currently, there's problem that
DPP operation is working with only P2P Wi-Fi interface.
Change-Id: I7e7285a453ecbf1f5b352c97962f752e2482ef2f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoUsing updated clatd's Dbus interface and Path values 97/214597/1
Nishant Chaprana [Tue, 24 Sep 2019 09:04:15 +0000 (14:34 +0530)]
Using updated clatd's Dbus interface and Path values

Change-Id: I6c5228f6e09d261c9cf624f97a4d484267a29edd
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>