platform/core/api/wifi-manager.git
3 years agoMerge "Use dbus method 'GetConnectedService' to get connected AP" into tizen
Jaehyun Kim [Fri, 28 May 2021 08:47:54 +0000 (08:47 +0000)]
Merge "Use dbus method 'GetConnectedService' to get connected AP" into tizen

3 years agoAdded API to get device country-code. 73/258473/4
Niraj Kumar Goit [Tue, 18 May 2021 08:12:41 +0000 (13:42 +0530)]
Added API to get device country-code.

Change-Id: I96c6276b8b002c3c4e72e7ed6f1f8a016a046a4e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoAdded API to set device country-code. 38/258238/7
Niraj Kumar Goit [Wed, 12 May 2021 14:30:11 +0000 (20:00 +0530)]
Added API to set device country-code.

Change-Id: I1549591ef478f6ae556a787683b234da259d9a42
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoUse dbus method 'GetConnectedService' to get connected AP 76/258476/2
Jaehyun Kim [Tue, 18 May 2021 09:23:46 +0000 (18:23 +0900)]
Use dbus method 'GetConnectedService' to get connected AP

Change-Id: I887c0b85850785ce5f80ec65c98a9c9455545322
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years ago[Crash Fix] Validate handle before use in set_auto_connect() API 87/258287/4 submit/tizen/20210513.084419
Prasadam Prashath Kumar [Thu, 13 May 2021 06:32:35 +0000 (12:02 +0530)]
[Crash Fix] Validate handle before use in set_auto_connect() API

Change-Id: Ib156fb0d56d7a2c2ab6cce5ecd3ff38c19087ae0
Signed-off-by: Prasadam Prashath Kumar <prasadam.p@samsung.com>
3 years agoMerge "Fix WPS-PIN connection when device is already connected." into tizen submit/tizen/20210512.013459
Jaehyun Kim [Fri, 7 May 2021 07:19:39 +0000 (07:19 +0000)]
Merge "Fix WPS-PIN connection when device is already connected." into tizen

3 years agoMerge "wps-event: fix a GVariant format string" into tizen accepted/tizen/unified/20210506.103548 submit/tizen/20210506.065212
cheoleun moon [Thu, 6 May 2021 06:46:14 +0000 (06:46 +0000)]
Merge "wps-event: fix a GVariant format string" into tizen

3 years agowps-event: fix a GVariant format string 97/257897/1
Seonah Moon [Thu, 6 May 2021 05:56:17 +0000 (14:56 +0900)]
wps-event: fix a GVariant format string

net-config notifies a wps event which has a '(sa{sv})' format string.

Change-Id: I8ba389308ef840a9df2c47e27dcd9aeeda024c2e

3 years agoFix WPS-PIN connection when device is already connected. 68/257868/1
Niraj Kumar Goit [Tue, 4 May 2021 14:16:20 +0000 (19:46 +0530)]
Fix WPS-PIN connection when device is already connected.

When device is already connected to an AP and WPS-PIN connection is initiated,
first device disconnect network and on receiving disconnected callback start
WPS-PIN connection. But in this scenario wps-pin was missing and not passed to
lower layer.

Change-Id: I5de2d9af254b70506c753f94ac93f0320a569e80
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoAdd setter/getter APIs for MAC randomization policies 95/255595/7 accepted/tizen/unified/20210506.103539 submit/tizen/20210421.161229 submit/tizen/20210427.065300 submit/tizen/20210503.112345
Nishant Chaprana [Wed, 21 Apr 2021 08:43:15 +0000 (14:13 +0530)]
Add setter/getter APIs for MAC randomization policies

Change-Id: I4837e743419be60f427f88ec44624ff166403748
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoAdd a mutex for the ap_handle_list 31/255931/1 accepted/tizen/unified/20210329.145051 submit/tizen/20210325.101906
Seonah Moon [Thu, 25 Mar 2021 05:47:17 +0000 (14:47 +0900)]
Add a mutex for the ap_handle_list

In CLR environment, GC can release an ap handle in non-main thread.
The problem is that add() operation for an ap handle can arise during GC
working in main or other thread. In this case, the ap_handle_list is accessed
at the same time in main and non-main thread.
This can make a memory corruption of the ap_handle_list.

Change-Id: I7e6a37751e746153d2f6610fc340b44c1e498f25

3 years agoMerge "Adding-Gtest-for-Line-and-Functional-Coverage" into tizen accepted/tizen/unified/20210316.151241 submit/tizen/20210309.020731 submit/tizen/20210316.015502
Jaehyun Kim [Tue, 9 Mar 2021 02:03:07 +0000 (02:03 +0000)]
Merge "Adding-Gtest-for-Line-and-Functional-Coverage" into tizen

3 years agoFix memory leak (2) 52/253752/4 accepted/tizen/unified/20210305.141715 submit/tizen/20210304.062232
Cheoleun Moon [Wed, 17 Feb 2021 06:34:54 +0000 (15:34 +0900)]
Fix memory leak (2)

Change-Id: I142823aa716ae9226eb679449d7f878393c03b72

3 years agoAdding-Gtest-for-Line-and-Functional-Coverage 02/254402/2
Tarun Pratap Singh Bhadouria [Tue, 2 Mar 2021 09:27:27 +0000 (14:57 +0530)]
Adding-Gtest-for-Line-and-Functional-Coverage

Change-Id: I9fc47c64841165100224ea2e9849526a597cd35a

3 years agoFix memory leak 51/253751/1
Cheoleun Moon [Wed, 17 Feb 2021 05:46:42 +0000 (14:46 +0900)]
Fix memory leak

Change-Id: Iae1e6e126e2f316b02823dadd36e78a8a65a92cc

3 years agoFix cppcheck 'shadowVariable' warnings 63/253363/1 accepted/tizen/unified/20210215.130903 submit/tizen/20210214.231941
Nishant Chaprana [Tue, 9 Feb 2021 07:01:29 +0000 (12:31 +0530)]
Fix cppcheck 'shadowVariable' warnings

Change-Id: I16af365ad5cf8deb0c1347b2a4ed283ee6119b37
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix cppcheck 'clarifyCalculation' warnings 62/253362/1
Nishant Chaprana [Tue, 9 Feb 2021 06:57:23 +0000 (12:27 +0530)]
Fix cppcheck 'clarifyCalculation' warnings

Change-Id: Id2c6e6466e27e948be4e4ace67f18fcf110abefa
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix cppcheck 'returnNonBoolInBooleanFunction' warnings 61/253361/1
Nishant Chaprana [Tue, 9 Feb 2021 06:55:55 +0000 (12:25 +0530)]
Fix cppcheck 'returnNonBoolInBooleanFunction' warnings

Change-Id: Ia7654b61f1b7e6f1e6e1f1b8e243ead49b37999d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix cppcheck 'invalidPrintfArgType_sint' warnings 60/253360/1
Nishant Chaprana [Tue, 9 Feb 2021 06:54:18 +0000 (12:24 +0530)]
Fix cppcheck 'invalidPrintfArgType_sint' warnings

Change-Id: I19cf070104c83102831472ac8415538976afda7f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix cppcheck 'unsignedLessThanZero' warnings 59/253359/1
Nishant Chaprana [Tue, 9 Feb 2021 06:51:57 +0000 (12:21 +0530)]
Fix cppcheck 'unsignedLessThanZero' warnings

Change-Id: Ifcbc0adac0e8f086a94e40c0feebd6ed03ed9d1c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix svace issues (PASSED_TO_PROC_AFTER_FREE) 27/253327/1 accepted/tizen/unified/20210209.124341 submit/tizen/20210209.032013
Cheoleun Moon [Tue, 9 Feb 2021 01:53:29 +0000 (10:53 +0900)]
Fix svace issues (PASSED_TO_PROC_AFTER_FREE)

Change-Id: I04291e7becbe78ed82a16a6fefbafb5c42a5b6b0

3 years agoMerge "Removing unnecessary HTML link for feature" into tizen accepted/tizen/unified/20210122.123005 submit/tizen/20201218.015506 submit/tizen/20201229.102954 submit/tizen/20201230.000625 submit/tizen/20210119.130611
cheoleun moon [Fri, 18 Dec 2020 01:48:37 +0000 (01:48 +0000)]
Merge "Removing unnecessary HTML link for feature" into tizen

3 years agoRemoving unnecessary HTML link for feature 67/249867/2
Cheoleun Moon [Thu, 17 Dec 2020 06:23:09 +0000 (15:23 +0900)]
Removing unnecessary HTML link for feature

Change-Id: I430e4b19674bfd51380f72fc12edd84b3a52675f

3 years agoFix incorrect pointer referencing 30/249730/1 submit/tizen/20201217.131910
Jaehyun Kim [Wed, 16 Dec 2020 08:48:06 +0000 (17:48 +0900)]
Fix incorrect pointer referencing

Change-Id: Ib956140939b24ab0514e2abb1821d3aeb8970b6d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoUse mutex to avoid destroying the wifi handle during event processing 05/249305/2
Jaehyun Kim [Wed, 9 Dec 2020 13:21:07 +0000 (22:21 +0900)]
Use mutex to avoid destroying the wifi handle during event processing

Problems such as crash may occur when an event is received during wifi handle creation
or the wifi handle is destroyed during event processing. To avoid this we use mutex.

Change-Id: I89b300514158922664cd1742a649bb9f6f0d46d3
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoFixed to use user input ssid when connecting hidden AP. 56/249156/1
Jaehyun Kim [Tue, 8 Dec 2020 01:21:43 +0000 (10:21 +0900)]
Fixed to use user input ssid when connecting hidden AP.

In the case of hidden AP,
the ssid entered by the user must be used because the raw ssid cannot be determined by full scan.

Change-Id: I9772565d02826d83aa49c9db4366458e3f9cc183
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoFix memory leak 81/248481/1 submit/tizen/20201127.052752
Jaehyun Kim [Thu, 26 Nov 2020 11:26:04 +0000 (20:26 +0900)]
Fix memory leak

Change-Id: I393ef9221b581b7c29c027428ec98cbd114e540d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoValidate network_info before processing async dbus method call reply 04/248404/2
Nishant Chaprana [Thu, 26 Nov 2020 05:23:30 +0000 (10:53 +0530)]
Validate network_info before processing async dbus method call reply

Change-Id: Iea759afbfa9f70582fb722b2b5ba7ce9a587f55d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix typo Succesfully => Successfully 25/248325/3
Nishant Chaprana [Wed, 25 Nov 2020 09:30:30 +0000 (15:00 +0530)]
Fix typo Succesfully => Successfully

Change-Id: I057ea34660277d6e59a988057dd0861e99d6f06b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoValidate profile when DISCONNECTED before sending callback 34/248234/4
Nishant Chaprana [Tue, 24 Nov 2020 05:46:04 +0000 (11:16 +0530)]
Validate profile when DISCONNECTED before sending callback

Change-Id: I39a1d9458c77f3521fba740547d2178d1cbd5179
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix SVACE warning when IP conflict callback is triggered 21/248321/4
Nishant Chaprana [Wed, 25 Nov 2020 08:58:50 +0000 (14:28 +0530)]
Fix SVACE warning when IP conflict callback is triggered

Below SVCE warnings are fixed in this patch.
=================================
* MEMORY_LEAK.EX: Dynamic memory referenced by 'conflict_info.mac' was allocated at network_signal.c:1433 by calling function 'g_strdup' and lost at network_signal.c:1444.
    [create] Call of g_strdup at /home/abuild/rpmbuild/BUILD/capi-network-wifi-manager-1.3.2/src/network_signal.c:1433
    [leaked] leaked at /home/abuild/rpmbuild/BUILD/capi-network-wifi-manager-1.3.2/src/network_signal.c:1444
* MEMORY_LEAK.EX: Dynamic memory referenced by 'conflict_info.state' was allocated at network_signal.c:1430 by calling function 'g_strdup' and lost at network_signal.c:1444.
    [create] Call of g_strdup at /home/abuild/rpmbuild/BUILD/capi-network-wifi-manager-1.3.2/src/network_signal.c:1430
    [leaked] leaked at /home/abuild/rpmbuild/BUILD/capi-network-wifi-manager-1.3.2/src/network_signal.c:1444
=================================

Change-Id: I6438dba00550b99a4cd8bfca785f5f5b9d3c41d1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoUse wrapper to free wifi handle memory 19/248319/2
Nishant Chaprana [Wed, 25 Nov 2020 08:25:35 +0000 (13:55 +0530)]
Use wrapper to free wifi handle memory

Change-Id: I8951697392421ed0dba3190045fadbbdc8483300
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix wrong DataLength during TDLS event handling 58/247358/2 submit/tizen/20201116.030352
Nishant Chaprana [Tue, 10 Nov 2020 06:02:41 +0000 (11:32 +0530)]
Fix wrong DataLength during TDLS event handling

strlen() is used for getting the datalength which ignores NULL character.
DataLength should consider NULL character also.

Change-Id: I016f1e84f47ccfcf41c829cedf14b28a893e0d8e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoRemove GetProperties call from profile STATE_IND event 53/245053/3 submit/tizen/20201106.060323
Nishant Chaprana [Thu, 29 Oct 2020 09:11:27 +0000 (14:41 +0530)]
Remove GetProperties call from profile STATE_IND event

Change-Id: I6fd74f493b5d82ec54bb815148df1eddeaabbbd0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoRemove GetProperties call from profile CLOSE event 48/245048/3
Nishant Chaprana [Tue, 29 Sep 2020 13:11:40 +0000 (18:41 +0530)]
Remove GetProperties call from profile CLOSE event

Change-Id: Iad04e8292fe541604da0f407d28f1ae1d8e1143b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoRemove GetProperties call from profile OPEN event 47/245047/4
Nishant Chaprana [Tue, 29 Sep 2020 13:11:40 +0000 (18:41 +0530)]
Remove GetProperties call from profile OPEN event

Change-Id: I1bea5c4fab70b46d4d8025c823b87d63f3c11b65
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoUse connman's StateChangedProperties to process service state 30/245030/4
Nishant Chaprana [Tue, 29 Sep 2020 08:31:59 +0000 (14:01 +0530)]
Use connman's StateChangedProperties to process service state

Change-Id: I7c1dfa8205807998626cec4f6a1aeb56c38aaba8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoChange WPA security type for hidden AP 30/246230/1 accepted/tizen/unified/20201029.124900 submit/tizen/20201028.023046
hyunuk.tak [Tue, 27 Oct 2020 07:01:43 +0000 (16:01 +0900)]
Change WPA security type for hidden AP

Change-Id: Idbcfcbc45483c3e262bb96890090d1de1b6cc443

4 years agoMerge "[TDLS] Return proper error code in TDLS disconnect operation" into tizen
Jaehyun Kim [Fri, 23 Oct 2020 08:47:33 +0000 (08:47 +0000)]
Merge "[TDLS] Return proper error code in TDLS disconnect operation" into tizen

4 years agoFix an issue where local MAC address is not updated properly 73/245773/1
Jaehyun Kim [Thu, 15 Oct 2020 13:09:38 +0000 (22:09 +0900)]
Fix an issue where local MAC address is not updated properly

Change-Id: Iacd76126e064f37ed65f5d3b6cf99eda29b261a3
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years ago[TDLS] Return proper error code in TDLS disconnect operation 81/245481/1
Nishant Chaprana [Fri, 9 Oct 2020 13:36:47 +0000 (19:06 +0530)]
[TDLS] Return proper error code in TDLS disconnect operation

Change-Id: I2fc0391a500912a49157c0de014b5f85f615ab15
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix incorrectly handling of error messages 95/245395/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121743 accepted/tizen/6.0/unified/hotfix/20201103.004011 accepted/tizen/6.0/unified/hotfix/20201103.050934 accepted/tizen/unified/20201009.090844 submit/tizen/20201008.064833 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
Jaehyun Kim [Thu, 8 Oct 2020 06:43:15 +0000 (15:43 +0900)]
Fix incorrectly handling of error messages

Change-Id: Iffc04453482fe401f39278e915e0b4c1f7cc7e17
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoModify parameter to delete eap profile appropriately 28/245228/1
hyunuk.tak [Mon, 5 Oct 2020 23:38:03 +0000 (08:38 +0900)]
Modify parameter to delete eap profile appropriately

Change-Id: I07cc6922b3c057ad45d52c064ee2178fa062348e

4 years agoMerge "[tool] Use MACRO for using mac address length" into tizen accepted/tizen/unified/20201006.044345 submit/tizen/20200925.132900 submit/tizen/20201005.112026
Jaehyun Kim [Fri, 25 Sep 2020 05:22:20 +0000 (05:22 +0000)]
Merge "[tool] Use MACRO for using mac address length" into tizen

4 years agoMerge "Donot assign NULL after g_free to local pointer" into tizen
Jaehyun Kim [Fri, 25 Sep 2020 05:21:44 +0000 (05:21 +0000)]
Merge "Donot assign NULL after g_free to local pointer" into tizen

4 years agoMerge "Fetch profile info by GetProperties instead of GetServices" into tizen
Jaehyun Kim [Fri, 25 Sep 2020 05:21:28 +0000 (05:21 +0000)]
Merge "Fetch profile info by GetProperties instead of GetServices" into tizen

4 years agoAdd EAP type to test tool 36/244836/2
hyunuk.tak [Thu, 24 Sep 2020 23:57:06 +0000 (08:57 +0900)]
Add EAP type to test tool

Clean up some log

Change-Id: I5a3e1aa4aaaca8847c4af974847b6d062103a8ff
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoAdd some lcov block and line 00/244400/2
hyunuk.tak [Fri, 18 Sep 2020 06:39:51 +0000 (15:39 +0900)]
Add some lcov block and line

Change-Id: I87db7dc862ec6f22e679515cbab7ede494ff6ad8

4 years agoProcessing error string appropriately 44/244644/2
hyunuk.tak [Wed, 23 Sep 2020 00:52:25 +0000 (09:52 +0900)]
Processing error string appropriately

Change-Id: If786d3b3a8ad4fc77b08dea87cca72490ee1c7c4

4 years agoAdd to get/set frequency of config 80/244380/2
hyunuk.tak [Fri, 18 Sep 2020 04:01:42 +0000 (13:01 +0900)]
Add to get/set frequency of config

Change-Id: Ic64e6c19266e029a6d44c0746639766953fe9217
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years ago[tool] Use MACRO for using mac address length 90/244490/2
Nishant Chaprana [Sun, 20 Sep 2020 10:18:46 +0000 (15:48 +0530)]
[tool] Use MACRO for using mac address length

Change-Id: Ie463ceb3f8e65519b6d6fdee3c77b02ef13bdf9a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoDonot assign NULL after g_free to local pointer 89/244489/1
Nishant Chaprana [Sun, 20 Sep 2020 09:59:25 +0000 (15:29 +0530)]
Donot assign NULL after g_free to local pointer

Change-Id: Ic98bdce901586df1c8f9efc7c4e8b230ea12a94b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFetch profile info by GetProperties instead of GetServices 87/244487/2
Nishant Chaprana [Sun, 20 Sep 2020 08:03:12 +0000 (13:33 +0530)]
Fetch profile info by GetProperties instead of GetServices

Change-Id: Iba274d68e2ef94789237e756642f60ca92acc9c8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix memory leak 94/244294/2
hyunuk.tak [Thu, 17 Sep 2020 04:04:18 +0000 (13:04 +0900)]
Fix memory leak

Change-Id: I390587f1110e8e93febad8ba0ba23d81e39d22b5
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoMerge "Deep copy a vsie/bssid list" into tizen accepted/tizen/unified/20200910.123921 submit/tizen/20200909.093655
cheoleun moon [Wed, 9 Sep 2020 09:36:33 +0000 (09:36 +0000)]
Merge "Deep copy a vsie/bssid list" into tizen

4 years agoDeep copy a vsie/bssid list 99/243699/2
Seonah Moon [Wed, 9 Sep 2020 07:30:56 +0000 (16:30 +0900)]
Deep copy a vsie/bssid list

Change-Id: I229696def9490ce68e99b258df539ca581e8f305

4 years agoRemove cancellable valuable 45/243345/1 submit/tizen/20200909.082204
hyunuk.tak [Mon, 7 Sep 2020 01:49:05 +0000 (10:49 +0900)]
Remove cancellable valuable

Change-Id: I506cfe382798bcd811f976cf702d5873bf638189
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoFix an issue that occurred when copying vsie 69/243069/1 accepted/tizen/unified/20200903.151713 submit/tizen/20200903.044940
Jaehyun Kim [Thu, 3 Sep 2020 02:56:40 +0000 (11:56 +0900)]
Fix an issue that occurred when copying vsie

Change-Id: I1e3acab009d0b5c2b25be5a2f4d0aecf9474094e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoCorrect the wrong handle name in the test tool 08/243008/1 submit/tizen/20200902.111409
Jaehyun Kim [Wed, 2 Sep 2020 11:03:25 +0000 (20:03 +0900)]
Correct the wrong handle name in the test tool

Change-Id: Ib042166184542210bda9e142377cd62d4d0e18c4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix AP handle validation issue 92/242992/2
Jaehyun Kim [Wed, 2 Sep 2020 09:09:53 +0000 (18:09 +0900)]
Fix AP handle validation issue

Change-Id: I871947b65a9f76b24a08ac462c35fe91f50e683f
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix params for specific scan 74/242974/1
hyunuk.tak [Wed, 2 Sep 2020 07:04:53 +0000 (16:04 +0900)]
Fix params for specific scan

Change-Id: I9eb6ae19f8fefd0360f160d9b1f2649bf7d10f66
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoFix incorrect dbus call 08/242808/1 submit/tizen/20200901.053326
Jaehyun Kim [Tue, 1 Sep 2020 03:18:31 +0000 (12:18 +0900)]
Fix incorrect dbus call

Change-Id: Idab8b7c00a8981f9ac0efb55111323948b5233d8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix DEREF_AFTER_NULL issue 62/242662/1 submit/tizen/20200828.142119
Jaehyun Kim [Fri, 28 Aug 2020 13:28:14 +0000 (22:28 +0900)]
Fix DEREF_AFTER_NULL issue

After having been compared to NULL value at network_dbus.c:806,
pointer 'network_info' is dereferenced at network_dbus.c:824

Change-Id: I866901dc43c93857e2eea77f87c1fb32cea21a54
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoAdd multi interfaces function 76/242476/3
hyunuk.tak [Thu, 27 Aug 2020 06:30:46 +0000 (15:30 +0900)]
Add multi interfaces function

Change-Id: Ifed28d38defb34ab11a0b48a3cc5cc78332a11c1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoFix wrong function prototype 31/241331/1 accepted/tizen/unified/20200828.121528 submit/tizen/20200819.075837 submit/tizen/20200821.035857 submit/tizen/20200827.070548
Cheoleun Moon [Wed, 19 Aug 2020 07:53:47 +0000 (16:53 +0900)]
Fix wrong function prototype

Change-Id: I8197aa314a3f77bb060bbb7a2b9991b0526c8511

4 years agoReplace char* with char[] for mac address 28/241328/2 accepted/tizen/unified/20200821.042419 submit/tizen/20200819.075008
Cheoleun Moon [Wed, 19 Aug 2020 07:39:29 +0000 (16:39 +0900)]
Replace char* with char[] for mac address

Change-Id: I747861dc6ca9d4d496cc73c3d4f93c6df47368a2

4 years agoUse one constant for length of MAC address 26/241326/3
Cheoleun Moon [Wed, 19 Aug 2020 07:21:32 +0000 (16:21 +0900)]
Use one constant for length of MAC address

Change-Id: I118eea1ee35a68235b24653b6dc8afa624007f5c

4 years agoUse 'raw ssid' to create group name instead of ssid. 06/241006/3 submit/tizen/20200818.124301
Niraj Kumar Goit [Thu, 13 Aug 2020 11:40:46 +0000 (17:10 +0530)]
Use 'raw ssid' to create group name instead of ssid.

Cause:
When AP name is in EUC-KR character, there is mismatch in
group name created using ssid and the profiles received from connman.

Solution:
To keep in sync with connman, creating group name using raw ssid
to compare profiles for wireless connection.

Change-Id: I95d0d71fc10bf99775b3fc892e4ed806a62ba773
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
4 years agoRemove unreachable return statement 18/240518/4 submit/tizen/20200813.075752
Cheoleun Moon [Fri, 7 Aug 2020 04:55:46 +0000 (13:55 +0900)]
Remove unreachable return statement

Change-Id: I619fa8186e1930ece48caddd1604b9276d419e7f

4 years agoMerge "Delete unused function _net_dbus_get_wifi_state()" into tizen accepted/tizen/unified/20200717.124741 submit/tizen/20200716.045047
cheoleun moon [Thu, 16 Jul 2020 04:49:38 +0000 (04:49 +0000)]
Merge "Delete unused function _net_dbus_get_wifi_state()" into tizen

4 years agoFix double free 43/238543/3 accepted/tizen/unified/20200716.144618 submit/tizen/20200715.050246
Seonah Moon [Wed, 15 Jul 2020 01:55:14 +0000 (10:55 +0900)]
Fix double free

Change-Id: I41f5f8ec4a5aedc5ff22f95f9c2831f4c3f8cf1c

4 years agoDelete unused function _net_dbus_get_wifi_state() 24/238224/1
Rahul Jain [Thu, 9 Jul 2020 11:33:00 +0000 (17:03 +0530)]
Delete unused function _net_dbus_get_wifi_state()

Change-Id: If243af62329a90e3a5fe9f6f34394f962207bb32

4 years agotool: fix memory leak 96/237496/1 accepted/tizen/unified/20200703.155124 submit/tizen/20200701.055950
Seonah Moon [Wed, 1 Jul 2020 02:34:04 +0000 (11:34 +0900)]
tool: fix memory leak

Change-Id: I576e170f22e34d9031a99c2697035f1aaaf3a810

4 years agoFree ap_name after use 24/236624/1 accepted/tizen/unified/20200622.134533 submit/tizen/20200619.020446
Cheoleun Moon [Fri, 19 Jun 2020 01:56:24 +0000 (10:56 +0900)]
Free ap_name after use

Change-Id: Icecadec3d3212968f695aca5bd69420a94d3d3e0

4 years agoFree string after use 23/235723/3 accepted/tizen/unified/20200610.140857 submit/tizen/20200609.064440 submit/tizen/20200609.074451
Cheoleun Moon [Tue, 9 Jun 2020 06:21:16 +0000 (15:21 +0900)]
Free string after use

Change-Id: I1decfe388823fb79609acf0e21ecac06098e7a94

4 years agoModify message to be printed 13/235713/1 submit/tizen/20200609.061244
Cheoleun Moon [Tue, 9 Jun 2020 05:56:32 +0000 (14:56 +0900)]
Modify message to be printed

Change-Id: I9376b9a9732215d1143c89130033a0ae8913e758

4 years agoAdd status function to wifi_connect_tool 08/235708/3
Cheoleun Moon [Tue, 9 Jun 2020 05:31:43 +0000 (14:31 +0900)]
Add status function to wifi_connect_tool

Change-Id: I5522e5ebab5c3d87d39ec72490b30930c706b978

4 years agoMerge "Added API to get IEEE 802.11 connection mode." into tizen accepted/tizen/unified/20200609.153523 submit/tizen/20200609.003709
cheoleun moon [Tue, 9 Jun 2020 00:36:43 +0000 (00:36 +0000)]
Merge "Added API to get IEEE 802.11 connection mode." into tizen

4 years agoAdded API to get IEEE 802.11 connection mode. 78/234178/4
Niraj Kumar Goit [Thu, 21 May 2020 16:09:20 +0000 (21:39 +0530)]
Added API to get IEEE 802.11 connection mode.

API wifi_manager_ap_get_connection_mode() will be used to get
IEEE 802.11 connection mode supported by an AP.

Change-Id: I909b6e8a6380a4378de70f7ddb4aec6e9db99c81
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
4 years agoAdd wifi_connect_tool for test 50/234950/5 accepted/tizen/unified/20200601.140059 submit/tizen/20200601.055705
Cheoleun Moon [Mon, 1 Jun 2020 05:03:18 +0000 (14:03 +0900)]
Add wifi_connect_tool for test

Change-Id: I60d3b88d15af140f642adfb8fd4dfa63ea04cec4
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoFix double free issue 98/234598/1 accepted/tizen/unified/20200602.133300 submit/tizen/20200601.000448
Seonah Moon [Wed, 27 May 2020 09:05:29 +0000 (18:05 +0900)]
Fix double free issue

'ap' is freed in __net_client_clear_cb_data()

Change-Id: I115e725799c99f56cedf0e2d25e38f918b801e6e

4 years agoFix memory leak 96/232496/3 accepted/tizen/unified/20200507.052329 submit/tizen/20200506.042332 submit/tizen/20200506.120225
Seonah Moon [Wed, 6 May 2020 03:30:13 +0000 (12:30 +0900)]
Fix memory leak

Change-Id: I71e4d15c12aeb70db9c0cf1d8cd4b4636fb1989d

4 years agoFixed some array sizes to reduce unnecessary memory usage 05/229505/1 accepted/tizen/unified/20200428.125854 submit/tizen/20200402.133730 submit/tizen/20200417.045625 submit/tizen/20200428.075547
Jaehyun Kim [Wed, 1 Apr 2020 10:34:05 +0000 (19:34 +0900)]
Fixed some array sizes to reduce unnecessary memory usage

Some arrays are using more memory size than is actually needed.
For this reason, the size of the arrays has been modified to reduce unnecessary memory usage.

Change-Id: I6b74e6d201bd93b67deb1334385d2c281db0fc5b
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years ago[wifi_manager_test] Support for AP names that include spaces 98/226798/1 submit/tizen/20200324.061720
Jaehyun Kim [Thu, 5 Mar 2020 10:19:30 +0000 (19:19 +0900)]
[wifi_manager_test] Support for AP names that include spaces

Change-Id: I0246933b8482526d265f2fc4086b373ee9a96364
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix memory leak 29/224129/1
Jaehyun Kim [Thu, 6 Feb 2020 10:48:32 +0000 (19:48 +0900)]
Fix memory leak

Change-Id: I4fd92339d05e43bed1eb4150cbbf02d6b6c48ea1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoMerge "Remove logically dead code when registering D-Bus signals" into tizen submit/tizen/20200203.052833
Jaehyun Kim [Mon, 3 Feb 2020 02:12:53 +0000 (02:12 +0000)]
Merge "Remove logically dead code when registering D-Bus signals" into tizen

4 years agoRemove logically dead code when registering D-Bus signals 19/223419/1
Nishant Chaprana [Wed, 29 Jan 2020 06:42:45 +0000 (12:12 +0530)]
Remove logically dead code when registering D-Bus signals

As per Gdbus documentation for g_dbus_connection_signal_subscribe() API.
The returned subscription identifier is an opaque value which is guaranteed to never be zero.
This function can never fail.

Reference: https://developer.gnome.org/gio/stable/GDBusConnection.html#g-dbus-connection-signal-subscribe

Change-Id: Idfb4fa84ecf503d1e67430972984c9101f9d9f60
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix memory leak 94/223294/2
Jaehyun Kim [Tue, 28 Jan 2020 08:39:11 +0000 (17:39 +0900)]
Fix memory leak

Change-Id: I8b21ff519cb58c024f272c64835c0d646e1156e2
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoRelease registered signal when getting tech info failed 16/222616/1 submit/tizen/20200128.091900
Jaehyun Kim [Thu, 16 Jan 2020 12:42:49 +0000 (21:42 +0900)]
Release registered signal when getting tech info failed

Change-Id: Idcd029af3b9bdbf5c0fbc7b3291cb138785f2cc4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix memory leaks 50/221150/2 submit/tizen/20200115.081408
Jaehyun Kim [Fri, 27 Dec 2019 12:46:13 +0000 (21:46 +0900)]
Fix memory leaks

Change-Id: Idc0f49c7965593b9e2d2b2de358adc17fed609e5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoMerge "Remove useless code" into tizen
Jaehyun Kim [Fri, 27 Dec 2019 12:11:14 +0000 (12:11 +0000)]
Merge "Remove useless code" into tizen

4 years agoRemove useless code 95/219995/1
Jaehyun Kim [Thu, 12 Dec 2019 08:06:47 +0000 (17:06 +0900)]
Remove useless code

Change-Id: If8c3b1a3a214d8c2d1dd9afa3a96b44f8b4081e1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoRemove document for DPP 44/219344/2 accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191205.090146 accepted/tizen/5.5/unified/wearable/hotfix/20201027.120959 submit/tizen_5.5/20191204.104340 submit/tizen_5.5/20191204.114845 submit/tizen_5.5_wearable_hotfix/20201026.184302
Yu [Wed, 4 Dec 2019 10:28:46 +0000 (19:28 +0900)]
Remove document for DPP

Change-Id: Ib1ef864d4654f2ed7651d28ce757d9ea81a2a1e4
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoRemove document for DPP 52/218752/3 accepted/tizen/unified/20191205.091326 submit/tizen/20191204.103323 submit/tizen/20191204.103839
Yu [Wed, 4 Dec 2019 10:25:58 +0000 (19:25 +0900)]
Remove document for DPP

Change-Id: Ib1ef864d4654f2ed7651d28ce757d9ea81a2a1e4
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agodoc: Change reference link #2 74/219074/1
Seonah Moon [Mon, 2 Dec 2019 04:25:57 +0000 (13:25 +0900)]
doc: Change reference link #2

Change-Id: Ia002ad9e076c0cfaec9beb478ea2352c73946279

4 years agodoc: Change reference link #2 73/219073/1
Seonah Moon [Mon, 2 Dec 2019 04:25:57 +0000 (13:25 +0900)]
doc: Change reference link #2

Change-Id: Ia002ad9e076c0cfaec9beb478ea2352c73946279

4 years agodoc: change reference link 96/218896/1
Seonah Moon [Fri, 29 Nov 2019 04:19:24 +0000 (13:19 +0900)]
doc: change reference link

Change-Id: I79c8578623df7f843401130843fb92222431c67f

4 years agodoc: change reference link 95/218895/1
Seonah Moon [Fri, 29 Nov 2019 04:19:24 +0000 (13:19 +0900)]
doc: change reference link

Change-Id: I79c8578623df7f843401130843fb92222431c67f

4 years agoFix some coverity 42/218442/1 submit/tizen_5.5/20191122.081231
hyunuk.tak [Fri, 22 Nov 2019 07:25:08 +0000 (16:25 +0900)]
Fix some coverity

872459, 83456

Change-Id: I5049f2c806e398061b222264f49515209f5daf8a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoFix some coverity 37/218437/2
hyunuk.tak [Fri, 22 Nov 2019 07:25:08 +0000 (16:25 +0900)]
Fix some coverity

872459, 83456

Change-Id: I61d396933b9fd77434a6d6f7f277f9bb8a1ac492
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>