Jaehyun Kim [Thu, 27 Oct 2022 07:37:15 +0000 (16:37 +0900)]
DA: Fix connetion state callback issues
Change-Id: I53dbf4064633851d7e047cac6056712bcdeacd2b
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 27 Oct 2022 07:12:11 +0000 (16:12 +0900)]
DA: vsie format header can be dd and DD
Change-Id: Ic0b796333ff4ab5005a7c1ab4c4f4bc85f3f50b5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 27 Oct 2022 06:57:33 +0000 (15:57 +0900)]
DA: Save last net_profile_info_s for connection state callback
Save the last net_profile_info_s structure to send the connection state callback.
It doesn't have to send the null parameter to connection state callback.
So it saves the last net_profile_info_s structure.
Change-Id: Id71db25f97fad96d4403b614e27ccc8410f492ba
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 20 Oct 2022 09:06:27 +0000 (18:06 +0900)]
DA: Add connection callback timer
Send the callback to upper layer forcibly
if it did not receive the connection callback until 50 sec.
Invoke connection request and status callback
if it did not receive connection response.
Change-Id: I35caefdd24bc899db057c1d3a28ecf465e80b58e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 20 Oct 2022 07:52:40 +0000 (16:52 +0900)]
DA: Add scan callback timer
Send the callback to upper layer forcibly
if it did not receive the scan callback from connman until 10 sec.
Update bssid list from net-config
when it could not get the bssid scan callback until 10 sec.
Change-Id: I575f91c47d998990a497423cd17d75fbf8543559
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 20 Oct 2022 02:27:01 +0000 (11:27 +0900)]
DA: Create DA extension package for appliance devices
Change-Id: I4a847c3e2407d83063f07956a3995b344eec8f25
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 5 Oct 2022 08:07:31 +0000 (17:07 +0900)]
Fix resource leak that occur when finishing dbus call
Change-Id: I2c0012b63ef601145685e32bcfd369819e8062af
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Fri, 30 Sep 2022 03:40:06 +0000 (12:40 +0900)]
Fix resource leak that occur when getting IP
Change-Id: I7ad65f496f8d172f5b8edbb943cce773a1340c67
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 7 Sep 2022 02:50:18 +0000 (11:50 +0900)]
Add a new wifi error type for association failure
Change-Id: I6e44be299523f6f1ea2cb7808805eb3aed76bf8c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 7 Sep 2022 02:14:35 +0000 (11:14 +0900)]
Move some extension CAPIs to wifi-manager.h
Change-Id: Iad635537cf3eeac58180003cf082ae92d3d23b20
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 31 Aug 2022 02:53:24 +0000 (11:53 +0900)]
Refactor duplicate codes
Change-Id: I958242747e831302ba55bed91221a44d9a493f69
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Seonah Moon [Thu, 9 Jun 2022 06:02:33 +0000 (15:02 +0900)]
Apply gcov automation
Change-Id: I3aa386b20275117d025bc0b4c3bdf62e575780d4
Jaehyun Kim [Mon, 14 Feb 2022 11:22:35 +0000 (20:22 +0900)]
Add CAPI to provide PMF information
Change-Id: Idf213f236d201e21c7a26ab7eb79d3a8997c244e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 10 Feb 2022 06:08:58 +0000 (15:08 +0900)]
Fix gcov path
Change-Id: I2b53d19d2a4d0097707155a2aa3f3bf5e67d3d5a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 7 Feb 2022 10:36:04 +0000 (19:36 +0900)]
Fix dereference null return value
Change-Id: I1b54ee88eb6d0ac536f5f11a6cd34fccd61296ea
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 26 Jan 2022 08:35:51 +0000 (17:35 +0900)]
Change a gcov path
Change-Id: I13c536984fccc5d6c2f1e73974dd297a258c7f57
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 19 Jan 2022 09:33:36 +0000 (18:33 +0900)]
Modified to get frequency info for bssid scan
Change-Id: I10faff5cb734e796134b0f676baf519ba6d410b3
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 13 Jan 2022 07:07:38 +0000 (16:07 +0900)]
Support association failed error
Change-Id: I85caf38d46c91ae6f906eebb49aa1302e309244c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 20 Dec 2021 09:02:49 +0000 (18:02 +0900)]
Add CAPIs to handle Wi-Fi roaming signal
Change-Id: I0330789ad6b7be26776c42e1bf022862898a745c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Wed, 15 Dec 2021 05:07:52 +0000 (05:07 +0000)]
Merge "Fix set bssid operation" into tizen
Nishant Chaprana [Tue, 14 Dec 2021 04:48:03 +0000 (10:18 +0530)]
Fix set bssid operation
Change-Id: Ic8a4b7485ec2770e5dc4636bdfaa0069b16a734c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Tue, 14 Dec 2021 04:41:36 +0000 (13:41 +0900)]
Fix not getting 5GHz support information
Change-Id: Ibad91af3274b7adac1f954b275b66fc806a28716
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 7 Dec 2021 05:30:20 +0000 (14:30 +0900)]
Add CAPI to provide available security method information
Change-Id: Ibd1c19f0e9da4e7b33b5e51ba5317ca3da1d49ee
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Nishant Chaprana [Thu, 18 Nov 2021 11:02:22 +0000 (16:32 +0530)]
Ignore async dbus method call reply when G_IO_ERROR_CANCELLED is returned
In below scenario there are chances of dangling pointer access.
1. wifi_manager_initialize()
2. wifi_scan() or any other API which makes async dbus method call.
--> GDBUS increases gdbus connection ref count.
3. wifi_manager_deinitialize()
--> we cancel all method calls and unref gdbus connection and assign NULL to it.
4. Dbus reply recieved on default thread.
--> Because gdbus connection is not freed by gdbus, callback comes to us.
5. G_IO_ERROR_CANCELLED returned in g_dbus_connection_call_finish()
--> Invalid memory access when network_info is derefered for sending callback.
Change-Id: I592f33f115aa6091890a530b1e2daaec88a45d81
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 16 Nov 2021 11:16:37 +0000 (16:46 +0530)]
Send interface_name when using TDLS Dbus method calls
Change-Id: I1ac819750ac03fb12a384c34571e2c7d7aafad8a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Tue, 16 Nov 2021 11:08:37 +0000 (11:08 +0000)]
Merge "Fix memory leak by using &s for processing dbus signal" into tizen
Jaehyun Kim [Fri, 12 Nov 2021 08:36:05 +0000 (08:36 +0000)]
Merge "Get vconf value via DBus in container environment" into tizen
Jaehyun Kim [Thu, 11 Nov 2021 10:14:56 +0000 (10:14 +0000)]
Merge "Add support for container environment" into tizen
Jaehyun Kim [Wed, 10 Nov 2021 05:59:15 +0000 (14:59 +0900)]
Get vconf value via DBus in container environment
Change-Id: I35e19ed16c1558f5eb05ae000f330af04d1805e0
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Nishant Chaprana [Tue, 9 Nov 2021 08:24:03 +0000 (13:54 +0530)]
Fix memory leak by using &s for processing dbus signal
Change-Id: I600e761ce3080907544f3286ddcb4a1fbdbec07a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Mon, 25 Oct 2021 02:12:49 +0000 (02:12 +0000)]
Merge "Try to connect the AP using static IP if it's sec_mode is SAE" into tizen
Nishant Chaprana [Wed, 13 Oct 2021 12:52:25 +0000 (18:22 +0530)]
Fix enumeration mismatch during security type extraction
Change-Id: I2030623974de6e6a1f62544c3ea57492b21e034a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Tue, 12 Oct 2021 02:53:44 +0000 (11:53 +0900)]
Add support for container environment
Modified the container's wifi-manager to use the host's network daemons
to allow the container and host to control the same wifi interface.
Change-Id: Ifcdf4f1f722be9aeb4ae14dfc465e6c590f19ef8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Niraj Kumar Goit [Mon, 11 Oct 2021 07:28:21 +0000 (12:58 +0530)]
Try to connect the AP using static IP if it's sec_mode is SAE
Change-Id: I950cec931127a8e52f4f517ce6242ef0a197b810
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Nishant Chaprana [Wed, 6 Oct 2021 11:19:38 +0000 (16:49 +0530)]
Fix uninitialized variable usage
Change-Id: I51251319fb2af940c2a1b93ccbecf989133bd5fe
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 6 Oct 2021 11:03:11 +0000 (16:33 +0530)]
Fix resource leak in close connection reply handler
Change-Id: I6052bdd059c6b4e65354531d63f05bcd41a50496
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 30 Sep 2021 11:47:26 +0000 (17:17 +0530)]
Add gcov build and line coverage calculation during build
Change-Id: I9fea1ed0f2ebc182a09be5b2d6d69d19282280c1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 30 Sep 2021 10:39:50 +0000 (16:09 +0530)]
Fix coding guidelines issues
Change-Id: Ia4c414ed860173b2ff9ce0d662344520635f1478
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Youngjae Shin [Wed, 12 Aug 2020 00:34:59 +0000 (09:34 +0900)]
revise wifi_manager_test
separate big file and function
add storage class specifier(static)
Change-Id: I35484c7725ebb1d02d45b28a595cb7d4b1038676
Youngjae Shin [Wed, 12 Aug 2020 00:44:26 +0000 (09:44 +0900)]
increase code quality
separate big function
add storage class specifier(static)
remove unused global varialbe
Change-Id: I9a61adc1c253a145654752ce869f85c7ad87380a
Youngjae Shin [Wed, 12 Aug 2020 00:30:49 +0000 (09:30 +0900)]
[cleanup]revise build scripts and packaging
Change-Id: I03496fcdb3d0c713b1f40e15940fed29fc24cfed
Youngjae Shin [Wed, 12 Aug 2020 00:25:56 +0000 (09:25 +0900)]
[cleanup]revise file location and mode
Change-Id: Ia5c9b5842e9ecad1d0888241e0b250fd94f8ceef
Jaehyun Kim [Mon, 26 Jul 2021 01:59:42 +0000 (01:59 +0000)]
Merge "Add feature check in Mac Policy APIs" into tizen
Niraj Kumar Goit [Tue, 29 Jun 2021 19:11:31 +0000 (00:41 +0530)]
Fix crash issue.
If garbage pointer is passed as AP handle in wifi_manager_ap_destroy() API,
crash is observed while dereferencing the given pointer.
Change-Id: I89a71552c03b3fb90ed3fc5c9eda38cdae77e4d7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Nishant Chaprana [Fri, 11 Jun 2021 09:32:23 +0000 (15:02 +0530)]
Fix gtests test cases and Disabled some cases temporarily
Change-Id: I95c797d982aa0736fabb497f15b050a6619637d1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 11 Jun 2021 06:30:46 +0000 (12:00 +0530)]
Fix gtests test cases for AP operations
Change-Id: I97592a3399f30d2a6163caaba6c08cd0d60ec1e8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 11 Jun 2021 10:12:51 +0000 (15:42 +0530)]
Add NULL check for connect_mode
Change-Id: I771e9c311b7a1e2d61cddbce868e6bf5c2586146
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Tue, 15 Jun 2021 08:01:38 +0000 (08:01 +0000)]
Merge "Use strtol to identify invalid input before setting subnet_mask" into tizen
Jaehyun Kim [Tue, 15 Jun 2021 06:33:41 +0000 (06:33 +0000)]
Merge "Fix resource leak for ap_info" into tizen
Jaehyun Kim [Tue, 15 Jun 2021 06:33:39 +0000 (06:33 +0000)]
Merge "Initialize scalar variable for wps_info" into tizen
Nishant Chaprana [Fri, 11 Jun 2021 06:38:10 +0000 (12:08 +0530)]
Use strtol to identify invalid input before setting subnet_mask
Change-Id: I7ebddac6fd4a5808baa15de4e59d7a575485cc00
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Fri, 11 Jun 2021 04:37:33 +0000 (04:37 +0000)]
Merge "Add NULL check for dhcp_server before dereferencing" into tizen
Nishant Chaprana [Fri, 11 Jun 2021 04:22:07 +0000 (09:52 +0530)]
Add NULL check for dhcp_server before dereferencing
Change-Id: I165545377844140c644e2112a34d64032844e008
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 18 May 2021 10:42:34 +0000 (16:12 +0530)]
Remove unused dbus signal filter
Change-Id: I9bc17f541cf622a8d693c1acf4f605e5793baf94
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuk.tak [Thu, 10 Jun 2021 22:26:41 +0000 (07:26 +0900)]
Fix resource leak for ap_info
Change-Id: I5195dbcd1a8f1cd1f4b15e2d997631e73e02db96
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Thu, 10 Jun 2021 22:19:25 +0000 (07:19 +0900)]
Initialize scalar variable for wps_info
Change-Id: Ic3a84bd74a4e4c785613b664cc78a6bfcc928c14
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Nishant Chaprana [Wed, 9 Jun 2021 12:46:50 +0000 (18:16 +0530)]
Get Mac Policy parameters from Connman instead of wifi_handle
Change-Id: Ib883b766ada55290fc5d50e86d4d00dfd43ad246
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jaehyun Kim [Fri, 28 May 2021 08:49:42 +0000 (08:49 +0000)]
Merge "[tools] Fix build warnings" into tizen
Jaehyun Kim [Fri, 28 May 2021 08:49:17 +0000 (08:49 +0000)]
Merge "[Fix build warnings] Declaration of 'rv' shadows a previous local" into tizen
Jaehyun Kim [Fri, 28 May 2021 08:48:59 +0000 (08:48 +0000)]
Merge "[Fix build warnings] Missing initializer of 'network_tech_state_info_s'" 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
Nishant Chaprana [Wed, 26 May 2021 09:38:48 +0000 (15:08 +0530)]
[tools] Fix build warnings
Change-Id: I1d6b3802e80dd21687dfad4d611a3ba453c63f49
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 26 May 2021 09:08:20 +0000 (14:38 +0530)]
[Fix build warnings] Declaration of 'rv' shadows a previous local
Change-Id: Ie6ae3ef465eb005e4c52be906fbd930dee7125a9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 26 May 2021 09:02:29 +0000 (14:32 +0530)]
[Fix build warnings] Missing initializer of 'network_tech_state_info_s'
Change-Id: I7c60ba833c763227edb34737775b43e76d820848
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
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>
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>
Nishant Chaprana [Tue, 11 May 2021 12:22:26 +0000 (17:52 +0530)]
Add feature check in Mac Policy APIs
Change-Id: If0a2e8fe1bec1a96e833b29d0d8b9b1504069d6e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
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>
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>
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
cheoleun moon [Thu, 6 May 2021 06:46:14 +0000 (06:46 +0000)]
Merge "wps-event: fix a GVariant format string" into tizen
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
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>
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>
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
Jaehyun Kim [Tue, 9 Mar 2021 02:03:07 +0000 (02:03 +0000)]
Merge "Adding-Gtest-for-Line-and-Functional-Coverage" into tizen
Cheoleun Moon [Wed, 17 Feb 2021 06:34:54 +0000 (15:34 +0900)]
Fix memory leak (2)
Change-Id: I142823aa716ae9226eb679449d7f878393c03b72
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
Cheoleun Moon [Wed, 17 Feb 2021 05:46:42 +0000 (14:46 +0900)]
Fix memory leak
Change-Id: Iae1e6e126e2f316b02823dadd36e78a8a65a92cc
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>
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>
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>
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>
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>
Cheoleun Moon [Tue, 9 Feb 2021 01:53:29 +0000 (10:53 +0900)]
Fix svace issues (PASSED_TO_PROC_AFTER_FREE)
Change-Id: I04291e7becbe78ed82a16a6fefbafb5c42a5b6b0
cheoleun moon [Fri, 18 Dec 2020 01:48:37 +0000 (01:48 +0000)]
Merge "Removing unnecessary HTML link for feature" into tizen
Cheoleun Moon [Thu, 17 Dec 2020 06:23:09 +0000 (15:23 +0900)]
Removing unnecessary HTML link for feature
Change-Id: I430e4b19674bfd51380f72fc12edd84b3a52675f
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>