platform/core/connectivity/ua-plugin-wifi-dummy.git
4 years agoModified to add the last detection time information at the plugin accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191118.084844 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115104 submit/tizen_5.5/20191115.102057 submit/tizen_5.5_wearable_hotfix/20201026.184303
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: I3ecfd30706df893293009ccbe37437cbcf1c34f4
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: I936fbf2f95d7f1ab8ba7a6e1826e1f167f1ae574
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: I500f56348bf359627ecd408ea5b7a0ce21b33527
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: Iff54b5685b731315559e5d7bd2909207c9926c57
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>
5 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