platform/core/connectivity/ua-plugin-wifi-dummy.git
2 years agoReplace g_memdup to g_memdup2 48/267948/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.060454 accepted/tizen/7.0/unified/hotfix/20221116.105230 accepted/tizen/8.0/unified/20231005.093252 accepted/tizen/unified/20211222.230654 submit/tizen/20211212.233427 tizen_7.0_m2_release tizen_8.0_m2_release
hyunuk.tak [Tue, 14 Dec 2021 00:16:45 +0000 (09:16 +0900)]
Replace g_memdup to g_memdup2

Change-Id: I818653d3fadcb5980ef3967904bd0379de296a94
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoAdd some patches 03/250903/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.101115 accepted/tizen/unified/20210201.055424 accepted/tizen/unified/20210203.145521 submit/tizen/20210112.005356 submit/tizen/20210131.225751 submit/tizen/20210203.045513 submit/tizen_6.5/20211028.162201 tizen_6.5.m2_release
hyunuk.tak [Tue, 5 Jan 2021 09:19:38 +0000 (18:19 +0900)]
Add some patches

Change the install path for plugin so to RO area
Add scan_mode functionality in detection
Send plugin id in callback to ua-manager

Change-Id: I71452a975f44772fe32bb0837abbedeef59208b0
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
3 years agoModify the package version 50/240050/3 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120620 accepted/tizen/6.0/unified/hotfix/20201103.051459 accepted/tizen/unified/20200810.123041 submit/tizen/20200806.040127 submit/tizen/20200809.234730 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
DoHyun Pyun [Mon, 3 Aug 2020 01:42:58 +0000 (10:42 +0900)]
Modify the package version

In order to distinguish the package history as tizen version,
we manage the package version from now.

Change-Id: I9b35ce1a9a678a6de81d690c239e370c1a8009ed
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix new coverity issues (incorrect deallocator used) 36/225836/1 accepted/tizen/unified/20200225.224448 submit/tizen/20200225.034111
DoHyun Pyun [Tue, 25 Feb 2020 02:41:55 +0000 (11:41 +0900)]
Fix new coverity issues (incorrect deallocator used)

Change-Id: I14b80b36c2aeceae3f05c98fca4a236e84aacc7b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix the coverity issue (incorrect deallocator used) 37/225037/1 accepted/tizen/unified/20200218.145851 submit/tizen/20200218.012430
DoHyun Pyun [Mon, 17 Feb 2020 02:37:34 +0000 (11:37 +0900)]
Fix the coverity issue (incorrect deallocator used)

Change-Id: I6658cb8d5b1b038318151374776815ed0753ae13
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoModified to add the last detection time information at the plugin accepted/tizen/unified/20191115.125604 accepted/tizen/unified/20191119.133201 submit/tizen/20191115.102151 submit/tizen/20191119.082254
saerome.kim [Fri, 15 Nov 2019 07:21:52 +0000 (16:21 +0900)]
Modified to add the last detection time information at the plugin

- Problem: The function of recording the detection time is required
- Cause: The function to record the recent detection time does not support
  in the plugin.
- Solution: Add a function to record the latest detection time.

Change-Id: I6a63ae98e89faf38b754d5b1fcd4b3a86fc45829
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agoApplying the changed plugin callback function name
saerome.kim [Thu, 14 Nov 2019 10:31:52 +0000 (19:31 +0900)]
Applying the changed plugin callback function name

- Problem: The plugin callback function name changed.
- Cause: The naming rule is strange.
- Solution: Change the callback function mame.

Change-Id: I868f3848330116395efef30acc99968ee5ee6078
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agoAllow device to be removed when discriminant disabled
Abhay agarwal [Fri, 15 Nov 2019 06:47:27 +0000 (12:17 +0530)]
Allow device to be removed when discriminant disabled

Change-Id: I5f9eb2e2c9267b9d3779592571b5b0165d5dac0d
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
4 years agoFixed ASAN issue
MAYANK HAARIT [Fri, 15 Nov 2019 06:46:12 +0000 (12:16 +0530)]
Fixed ASAN issue

2. underflow issue: SUMMARY: AddressSanitizer: stack-buffer-overflow
   (/usr/lib/libasan.so+0x3f7b5) in scanf_common(void*, int, bool, char const*,
   std::__va_list)

  This frame has 2 object(s):
   [32, 800) 'entry'
   [832, 1856) 'data' <== Memory access at offset 800 partially underflows this
                          variable

Change-Id: I303369dd82fb93e8df77e4d4747f52869aef3676
Signed-off-by: MAYANK HAARIT <mayank.h@samsung.com>
4 years agoAdded dummy scan_active_devices() and cancel_active_device_scan() accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024840 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084630 accepted/tizen/unified/20191004.003624 submit/tizen/20191002.073539 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Nishant Chaprana [Tue, 1 Oct 2019 15:49:13 +0000 (21:19 +0530)]
Added dummy scan_active_devices() and cancel_active_device_scan()

Change-Id: I6df624f1048634c029d18d49f27134cb1c028826
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFixed ASAN issue. accepted/tizen/unified/20190929.221442 submit/tizen/20190927.055416
saerome.kim [Fri, 27 Sep 2019 05:48:13 +0000 (14:48 +0900)]
Fixed ASAN issue.

3.  memcpy(arp_data->arp_source_mac, source_mac_address, MAX_SIZE_BUFFER-1);
source mac address is 18 bytes but 127 bytes are being read

Change-Id: I09b0ad4ffd27ea3a9dc0e1b7cd44eac31a083066
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agowifi capi to wifi-manager capi
Abhay Agarwal [Fri, 27 Sep 2019 01:25:53 +0000 (10:25 +0900)]
wifi capi to wifi-manager capi

Change-Id: I4b24fde28dc047bf594c31d5559dd05880952a69
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
4 years agoUpdate default detection window accepted/tizen/unified/20190917.034058 submit/tizen/20190916.120818
saerome.kim [Mon, 16 Sep 2019 11:43:28 +0000 (20:43 +0900)]
Update default detection window

Change-Id: I2a1dd59a8cbd6db7984596853cb23aceaf029984
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agoFixed the Coverity issue. 43/212743/1 accepted/tizen/unified/20190826.225913 submit/tizen/20190826.140219
saerome.kim [Mon, 26 Aug 2019 08:55:18 +0000 (17:55 +0900)]
Fixed the Coverity issue.

1078577: leaked_storage -> Variable wifi_info going out of scope
         leaks the storage it points to.

Change-Id: I4b66a1b5908159605590cd130562e31d3e718292
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agoRemove useless adding a null-terminating character. accepted/tizen/unified/20190819.112106 submit/tizen/20190819.084830
saerome.kim [Wed, 14 Aug 2019 10:12:12 +0000 (19:12 +0900)]
Remove useless adding a null-terminating character.

Change-Id: Ia37f65ad42c30f0cf7be5d119288e0baa532fa0f
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agobacked out the change made according to the security's guideline. 75/212075/1 accepted/tizen/unified/20190816.112350 submit/tizen/20190814.071001
saerome.kim [Wed, 14 Aug 2019 04:21:05 +0000 (13:21 +0900)]
backed out the change made according to the security's guideline.

Change-Id: I5fa3b7b3bc3215dbf26f1f7e8c68db91d94477bc
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years ago1. Changed API names. 89/211989/1
saerome.kim [Tue, 13 Aug 2019 05:43:58 +0000 (14:43 +0900)]
1. Changed API names.
2. Fixed security vulnerability issues.

Change-Id: I273dfed976b300cd125a1174857c466423e730bb
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agoversion update 0.6.0 85/211485/1
saerome.kim [Tue, 6 Aug 2019 00:40:43 +0000 (09:40 +0900)]
version update 0.6.0

Change-Id: I2594903463f933b9932c04dea52c8dffb6f35248
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years ago- Reset wifi_detection_type Flag when No devices to scan. 84/211484/1
saerome.kim [Tue, 6 Aug 2019 00:18:20 +0000 (09:18 +0900)]
- Reset wifi_detection_type Flag when No devices to scan.
Description: When application starts presence without adding devices,
wifi_detection_type is never reset due to which future wifi presence are not started.

- Fixed security vulnerability issues.

Change-Id: I9e99d8ece766960c42a36c1d553c201f4fa8f6ec
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years ago[Fix] Remove spaces and extra function call 49/209749/2 accepted/tizen/unified/20190712.115322 submit/tizen/20190711.231148
saerome kim [Wed, 10 Jul 2019 12:05:09 +0000 (21:05 +0900)]
[Fix] Remove spaces and extra function call

Change-Id: I1dfb575163db48c8ccd5bcd22fbed31c59999a13
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
4 years agoReplace space with tab 40/209740/1
saerome kim [Wed, 10 Jul 2019 11:04:38 +0000 (20:04 +0900)]
Replace space with tab

Change-Id: I15a0e486ed943f7c8f94a895596c69627fa05de5
Signed-off-by: saerome kim <saerome.kim@samsung.com>
4 years agoFix Coverity issues 39/209739/1
Jung Jihoon [Wed, 10 Jul 2019 09:59:52 +0000 (18:59 +0900)]
Fix Coverity issues

Dereference Null check : 1074421 1074417 1074423 1044429

Change-Id: Ibc19d8d80c54abd162bad520a7d06fbd94426957
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
4 years agoSends device_added event to upper layer after return from add_device call. 54/209654/1
Mayank Haarit [Tue, 9 Jul 2019 13:18:01 +0000 (18:48 +0530)]
Sends device_added event to upper layer after return from add_device call.

Change-Id: I3f6b80e37e85be3cc1f7906c2591c72ecede9b4a
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
4 years agoFixed tizen coding rules 61/208861/1 accepted/tizen/unified/20190702.234204 accepted/tizen/unified/20190705.110648 submit/tizen/20190702.103155 submit/tizen/20190705.042311
saerome.kim [Mon, 1 Jul 2019 02:20:06 +0000 (11:20 +0900)]
Fixed tizen coding rules
Fixed missing sensor plugin interface

Change-Id: Ie095c5d1e11bde88e5c90c58f0e23e6d01e64258
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
4 years agoupdate ARP dummy plugin 57/205757/1
saerome.kim [Thu, 9 May 2019 04:47:32 +0000 (13:47 +0900)]
update ARP dummy plugin

- This plugin simply serves to send ARP Request to devices
  that know IP and MAC addresses to unicast.

- If there is an ARP response, the PRESENCE detection is notified.
  If there is no ARP response, the ABSENCE detection is notified.

- Known Issue) In the case of Google Wi-Fi,
  ARP Response is sent to the MAC address of the mobile device
  that has been disconnected for a certain period of time
  even if the mobile device is disconnected.

Change-Id: I8e1ba2520d889c28766a53188717f93ba320538f
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoModified plugin install directory 02/201502/1 submit/tizen/20190315.045054
saerome.kim [Fri, 15 Mar 2019 04:46:25 +0000 (13:46 +0900)]
Modified plugin install directory

Change-Id: Ib4211226c52dc05e7a189b3b85df93a2672fc574
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoFixed indent issues of the license phrase.
saerome.kim [Fri, 22 Feb 2019 09:49:10 +0000 (18:49 +0900)]
Fixed indent issues of the license phrase.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
5 years agoFirst commit
Jihoon Jung [Tue, 19 Feb 2019 06:48:31 +0000 (15:48 +0900)]
First commit