platform/core/api/wifi-manager.git
6 years agoExcluded block coverage 82/148182/1
taesub kim [Thu, 7 Sep 2017 04:33:33 +0000 (13:33 +0900)]
Excluded block coverage

Change-Id: Iaf7c6f649819bc6c5ec16a131d323f4e898d443e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFixed api ref for addtogroup closer 65/147965/1 submit/tizen/20170906.080801
hyunuktak [Wed, 6 Sep 2017 06:48:02 +0000 (15:48 +0900)]
Fixed api ref for addtogroup closer

Change-Id: Ibacfb9c9d4b4c053f399142060364628bfebf8ca
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoModified the get function for update of technology state 60/147560/5 accepted/tizen/unified/20170906.144502 submit/tizen/20170906.001111
taesub kim [Tue, 5 Sep 2017 02:10:38 +0000 (11:10 +0900)]
Modified the get function for update of technology state

Change-Id: I384d3adc6ff8ac41789e7a637525a58b04a33968
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoRequest Bssid scan only when wifi is deactivated 01/146801/3
Abhishek Sansanwal [Thu, 31 Aug 2017 07:04:24 +0000 (12:34 +0530)]
Request Bssid scan only when wifi is deactivated

Description: When wifi is in activated state perform a
normal scan. In case of deactivated wifi state, perform
a bssid scan.

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Iebb4a37fe1e63eb7491a4b770a2993c5407949d9

6 years agoModified log for scan and net state 54/146454/3 accepted/tizen/unified/20170901.025930 submit/tizen/20170830.065642
taesub kim [Tue, 29 Aug 2017 01:43:17 +0000 (10:43 +0900)]
Modified log for scan and net state

Change-Id: I7288fe58a3abfd1ab4f21976f24302e4ca928a4b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoUse macro 'GPOINTER_TO_INT' to extract an integer from a pointer. 16/145116/2 accepted/tizen/4.0/unified/20170828.223814 accepted/tizen/unified/20170823.165944 submit/tizen/20170822.002714 submit/tizen/20170822.062753 submit/tizen_4.0/20170828.100002
Niraj Kumar Goit [Mon, 21 Aug 2017 09:16:20 +0000 (14:46 +0530)]
Use macro 'GPOINTER_TO_INT' to extract an integer from a pointer.

Change-Id: I5fc5fb10e3714b0557cf35efa8cf81f24bc2fc94
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years ago[wifi-manager] Added CAPI to support Multi Specific AP scan. 90/143890/4 submit/tizen/20170821.070104
Niraj Kumar Goit [Sun, 13 Aug 2017 10:43:20 +0000 (16:13 +0530)]
[wifi-manager] Added CAPI to support Multi Specific AP scan.

Change-Id: Iba35f619dae3e75b5cbbd8f9cc7cc9da2d417d55
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdd CAPI for Wi-Fi multi SSID and multi channel specific scan. 97/139697/9
Niraj Kumar Goit [Thu, 20 Jul 2017 06:59:46 +0000 (12:29 +0530)]
Add CAPI for Wi-Fi multi SSID and multi channel specific scan.

Description: Following CAPIs are added-
wifi_manager_specific_scan_create();
wifi_manager_specific_scan_destroy();
wifi_manager_specific_scan_set_ssid();
wifi_manager_specific_scan_set_freq();
wifi_manager_specific_ap_start_multi_scan();

Change-Id: Id55ba6d38f84be0e545170ac442651d04b1a6dc2
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years ago[wifi-manager] Refactor wifi Specific AP scan to fix syncup issue. 49/144049/2 accepted/tizen/unified/20170818.000123 submit/tizen/20170817.042132
Niraj Kumar Goit [Mon, 14 Aug 2017 14:19:12 +0000 (19:49 +0530)]
[wifi-manager] Refactor wifi Specific AP scan to fix syncup issue.

To search specific AP, use connman "SpecificScan" dbus
method instead of net-config "RequestSpecificScan" method.

Change-Id: I77b61efe679126bdc935e295a3b9f69fd3496c2f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoMerge "[wifi-manager] Added CAPI to get WiFi VSIE list." into tizen accepted/tizen/unified/20170811.133321 submit/tizen/20170811.041528
taesub kim [Thu, 10 Aug 2017 07:34:30 +0000 (07:34 +0000)]
Merge "[wifi-manager] Added CAPI to get WiFi VSIE list." into tizen

6 years agoMerge "Add API to get the RSSI level" into tizen accepted/tizen/unified/20170811.021033 submit/tizen/20170809.085632
taesub kim [Wed, 9 Aug 2017 06:12:12 +0000 (06:12 +0000)]
Merge "Add API to get the RSSI level" into tizen

6 years ago[wifi-manager] Added CAPI to get WiFi VSIE list. 15/142615/8
Niraj Kumar Goit [Fri, 4 Aug 2017 14:29:50 +0000 (19:59 +0530)]
[wifi-manager] Added CAPI to get WiFi VSIE list.

Change-Id: I267fc859cdea72d925c58009dd02776016622cd4
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoReturn WIFI_MANAGER_ERROR_INVALID_PARAMETER if passed address is NULL 71/142571/1 submit/tizen/20170808.043745
Abhishek Sansanwal [Fri, 4 Aug 2017 09:30:31 +0000 (15:00 +0530)]
Return WIFI_MANAGER_ERROR_INVALID_PARAMETER if passed address is NULL

Change-Id: Ic010dfa2e598a3feec52b9e3c90f5aeb5dac1085
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
6 years agoAdd API to get the RSSI level 24/141924/13
taesub kim [Wed, 2 Aug 2017 04:26:14 +0000 (13:26 +0900)]
Add API to get the RSSI level

Change-Id: I921590441282351a4cc0f7f957f78831195889e1
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Added wifi_manager_ap_get_dhcp_lease_duration API" into tizen
taesub kim [Thu, 3 Aug 2017 08:32:36 +0000 (08:32 +0000)]
Merge "Added wifi_manager_ap_get_dhcp_lease_duration API" into tizen

6 years agoMerge "Added CAPI to get DHCP lease duration" into tizen submit/tizen/20170803.074947
taesub kim [Thu, 3 Aug 2017 07:19:04 +0000 (07:19 +0000)]
Merge "Added CAPI to get DHCP lease duration" into tizen

6 years agoAdded wifi_manager_ap_get_dhcp_lease_duration API 11/142211/1
Abhishek Sansanwal [Thu, 3 Aug 2017 05:32:19 +0000 (11:02 +0530)]
Added wifi_manager_ap_get_dhcp_lease_duration API

Change-Id: I6ed6b1ec968b949c94d1b25c3258624580adb59f
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
6 years agoAdded support to Add, Get and Remove VSIE data. 03/140603/5
Niraj Kumar Goit [Tue, 25 Jul 2017 13:07:47 +0000 (18:37 +0530)]
Added support to Add, Get and Remove VSIE data.

Change-Id: I96282db0df1e310e8f1d8585bd50b8cd2505b6e1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years ago[SVACE][WGID: 25292] Fix dereferencing of NULL pointer. 10/140610/2
Niraj Kumar Goit [Tue, 25 Jul 2017 13:59:18 +0000 (19:29 +0530)]
[SVACE][WGID: 25292] Fix dereferencing of NULL pointer.

Change-Id: Ie6c6743de10ebfb3ece38bd0105d1b2320f2518e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoAdded CAPI to get DHCP lease duration 08/140908/3
Abhishek Sansanwal [Thu, 27 Jul 2017 06:13:31 +0000 (11:43 +0530)]
Added CAPI to get DHCP lease duration

Description: The following CAPI was added-
wifi_manager_ap_get_dhcp_lease_duration();

Change-Id: I7089b9cc11b92b2bd5742995797b07ab41c3f706
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
7 years agoAdd new CAPI's to configure the VSIE for Wi-Fi Frames 21/140321/1
Niraj Kumar Goit [Mon, 24 Jul 2017 12:04:52 +0000 (17:34 +0530)]
Add new CAPI's to configure the VSIE for Wi-Fi Frames

Description: Following CAPI's is added :
1. wifi_manager_add_vsie()
2. wifi_manager_remove_vsie();
3. wifi_manager_get_vsie();

Change-Id: I7e5b71807665f8d2692a18f16e50cfab5d6aee41

7 years agoMerge "[wifi-manager] Enabled support of EAP-AKA and EAP_SIM." into tizen accepted/tizen/4.0/unified/20170816.011502 accepted/tizen/4.0/unified/20170816.014738 accepted/tizen/unified/20170710.154645 submit/tizen/20170710.074033 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
taesub kim [Mon, 10 Jul 2017 00:43:47 +0000 (00:43 +0000)]
Merge "[wifi-manager] Enabled support of EAP-AKA and EAP_SIM." into tizen

7 years agoAdd Support for bssid scan feature. 29/136729/4
Milind Ramesh Murhekar [Mon, 3 Jul 2017 04:55:32 +0000 (10:25 +0530)]
Add Support for bssid scan feature.

Description: This patch adds the bssid scan feature
to get the bss info from wpa_supplicant

Change-Id: I64679d4f9b5177b66e40d8e9a3ba11d2a7da4629
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years ago[wifi-manager] Enabled support of EAP-AKA and EAP_SIM. 03/136703/3
Niraj Kumar Goit [Mon, 3 Jul 2017 03:10:54 +0000 (08:40 +0530)]
[wifi-manager] Enabled support of EAP-AKA and EAP_SIM.

Change-Id: Id538cbbd78df352a87e22cd257d93cc77fea5fa6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoModified description to avoid confusing 73/135773/2 accepted/tizen/unified/20170706.194144 accepted/tizen/unified/20170707.154544 submit/tizen/20170706.101920 submit/tizen/20170706.230808
Seonah Moon [Mon, 26 Jun 2017 09:50:50 +0000 (18:50 +0900)]
Modified description to avoid confusing

Using "API" when describing a single function is confusing.
A single function in an API is a "function".

Change-Id: Ic632668d73bf4ddd0914154a32d122a183aa1f8e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[wifi-manager]: Add new CAPI for WPS Scan 75/135475/4
Maneesh Jain [Thu, 22 Jun 2017 11:57:03 +0000 (17:27 +0530)]
[wifi-manager]: Add new CAPI for WPS  Scan

Description: This patch is used to add support of following CAPIs
to scan the network and extract the BSSID, ESSID & Channel
information.

1. wifi_manager_bssid_scan()
2. wifi_manager_foreach_found_bssid_ap()

Change-Id: Idc8a84ddb15bcee02c3f9adc9cb99cf123306b5b
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years ago[wifi-manager] Add new CAPI to get raw ssid 57/135557/9
Milind Ramesh Murhekar [Fri, 23 Jun 2017 05:40:18 +0000 (11:10 +0530)]
[wifi-manager] Add new CAPI to get raw ssid

Description: This patch adds the new API
to get raw SSID in bytes of an AP.

Change-Id: If351a442723f6b71808266cfde0d6a1bde3434a5
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoMerge "Added callback CAPIs to get WiFi Module State event" into tizen accepted/tizen/unified/20170703.064307 submit/tizen/20170703.005838
taesub kim [Fri, 23 Jun 2017 06:02:32 +0000 (06:02 +0000)]
Merge "Added callback CAPIs to get WiFi Module State event" into tizen

7 years agoMerge "[TV Profile]: Add new CAPI to get WiFi Module State" into tizen
taesub kim [Fri, 23 Jun 2017 06:02:23 +0000 (06:02 +0000)]
Merge "[TV Profile]: Add new CAPI to get WiFi Module State" into tizen

7 years agoMerge "Added new CAPI to print the WiFi Connection Error State" into tizen
taesub kim [Fri, 23 Jun 2017 01:19:58 +0000 (01:19 +0000)]
Merge "Added new CAPI to print the WiFi Connection Error State" into tizen

7 years agoAdded callback CAPIs to get WiFi Module State event 09/132209/15
Maneesh Jain [Thu, 1 Jun 2017 12:54:15 +0000 (18:24 +0530)]
Added callback CAPIs to get WiFi Module State event

Description: Added support of following to get the Wi-Fi
Module state changed event while module insert or remove.
    1. wifi_manager_set_module_state_changed_cb()
    2. wifi_manager_unset_module_state_changed_cb()

Change-Id: Ifdfb6523383466187245013f71593d9c7aae4dee
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years ago[TV Profile]: Add new CAPI to get WiFi Module State 58/131858/10
Maneesh Jain [Wed, 31 May 2017 05:42:01 +0000 (11:12 +0530)]
[TV Profile]: Add new CAPI to get WiFi Module State

Description: Added support of following to get the Wi-Fi
Module state. (Attached or Detached)
    1./ wifi_manager_get_module_state()

This CAPI may useful only for TV Profile case where user can insert or
remove the Wi-Fi Module.

Change-Id: Ia18b8a1e4a7b1ce25739a03ca32d0c4b83eb79e3
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoAdded new CAPI to print the WiFi Connection Error State 35/132335/5
Maneesh Jain [Fri, 2 Jun 2017 09:15:19 +0000 (14:45 +0530)]
Added new CAPI to print the WiFi Connection Error State

Change-Id: Ia6c43e8da89bbe4ad153b79415f2a424ba51ed35
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoMerge "wifi-manager: Notify WPS Connection Errors to application" into tizen accepted/tizen/unified/20170609.203904 submit/tizen/20170609.022610
taesub kim [Fri, 9 Jun 2017 01:12:30 +0000 (01:12 +0000)]
Merge "wifi-manager: Notify WPS Connection Errors to application" into tizen

7 years agoExcluded some lines and block coverage 89/132889/1 submit/tizen/20170608.073827
taesub kim [Thu, 8 Jun 2017 07:14:31 +0000 (16:14 +0900)]
Excluded some lines and block coverage

Change-Id: I2ef8f876f9e53cbac3aa8fd07c268ba17d7bdf84
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agowifi-manager: Notify WPS Connection Errors to application 53/132753/3
Saurav Babu [Wed, 7 Jun 2017 10:44:02 +0000 (16:14 +0530)]
wifi-manager: Notify WPS Connection Errors to application

Change-Id: I3b68ed8677f3930c12a76dd4e9d3349de2dd0e8d
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoMerge "wifi-manager: Add new error codes for WPS Connection Failure" into tizen accepted/tizen/unified/20170602.154210 submit/tizen/20170601.042236
taesub kim [Thu, 1 Jun 2017 00:52:21 +0000 (00:52 +0000)]
Merge "wifi-manager: Add new error codes for WPS Connection Failure" into tizen

7 years agoModified test file for proxy method 45/131545/1
taesub kim [Tue, 30 May 2017 03:19:37 +0000 (12:19 +0900)]
Modified test file for proxy method

Change-Id: I9555ab361c7e7dac8c9e54c279d0d32206091d04
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[TDLS]: :Added support of more than one app for TDLS Discovery 76/131476/1
Maneesh Jain [Mon, 29 May 2017 10:03:05 +0000 (15:33 +0530)]
[TDLS]: :Added support of more than one app for TDLS Discovery

Change-Id: I8e4b3834c8cb8e6ebf7cb8cfc8eeeaa5e252d1a3
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoModified wrong log 59/131259/1
taesub kim [Fri, 26 May 2017 05:12:03 +0000 (14:12 +0900)]
Modified wrong log

Change-Id: I2c230362265e3c299307975e4c7885e63aa50068
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agowifi-manager: Add new error codes for WPS Connection Failure 89/129489/3
Saurav Babu [Tue, 16 May 2017 14:08:43 +0000 (19:38 +0530)]
wifi-manager: Add new error codes for WPS Connection Failure

Change-Id: I9fc5357b2ff68d50741d7e0821cc168e870fd3ba
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoMerge "Modified error of API reference" into tizen submit/tizen/20170523.030944
taesub kim [Tue, 23 May 2017 01:27:45 +0000 (01:27 +0000)]
Merge "Modified error of API reference" into tizen

7 years agoModified error of API reference 88/130388/1
taesub kim [Mon, 22 May 2017 07:16:49 +0000 (16:16 +0900)]
Modified error of API reference

Change-Id: Ice30e501e29c0805fcb0c73a68ff1dae8aacf8a6
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoModified API reference feature link 82/130382/1
taesub kim [Mon, 22 May 2017 07:03:51 +0000 (16:03 +0900)]
Modified API reference feature link

Change-Id: I1988990665009d19b7e02b18ad0057da10e6c7ad
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agowifi-manager: Fix issue where callback of WPS connection without ssid was not called 45/128945/1 accepted/tizen/unified/20170512.165704 submit/tizen/20170512.071139 tizen_4.0.m1_release
Saurav Babu [Fri, 12 May 2017 06:33:11 +0000 (12:03 +0530)]
wifi-manager: Fix issue where callback of WPS connection without ssid was not called

Change-Id: Ie288e4a26f54db5063b4a8e8ea252f955d444344
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoAdded the hidden connection API's discription #2 30/128430/1 accepted/tizen/unified/20170510.183713 submit/tizen/20170510.102153
taesub kim [Wed, 10 May 2017 04:19:06 +0000 (13:19 +0900)]
Added the hidden connection API's discription #2

Change-Id: I75292dac20b5f42fc47702b6154d5c6259a062fd
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdded the hidden connection API's dscription 06/128406/1
taesub kim [Wed, 10 May 2017 01:46:32 +0000 (10:46 +0900)]
Added the hidden connection API's dscription

Change-Id: I7da958d95c3f08e264d150d54fa2bd1284c09017
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "wifi-manager: Don't set agent fields for wps connection without SSID" into... accepted/tizen/unified/20170428.032829 submit/tizen/20170427.090631
taesub kim [Thu, 27 Apr 2017 08:52:04 +0000 (08:52 +0000)]
Merge "wifi-manager: Don't set agent fields for wps connection without SSID" into tizen

7 years agowifi-manager: Don't set agent fields for wps connection without SSID 73/127173/1
Saurav Babu [Wed, 26 Apr 2017 09:43:05 +0000 (15:13 +0530)]
wifi-manager: Don't set agent fields for wps connection without SSID

WPS Connection without SSID is requested from net-config so there is no
need to set agent field

Change-Id: I16e5bc76e20c5d39025fea96d24a17e6fd1b7a6b
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[TNEXT-348] Removed wrong return code 20/127120/1 accepted/tizen/unified/20170427.015603 submit/tizen/20170426.084841
Seonah Moon [Wed, 26 Apr 2017 07:59:45 +0000 (16:59 +0900)]
[TNEXT-348] Removed wrong return code

Change-Id: I56df1724a9b6c1c60994cd2d4bb4d5b925ff9639
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[TNEXT-348] Added null check to avoid crash 90/127090/1
Seonah Moon [Wed, 26 Apr 2017 07:05:25 +0000 (16:05 +0900)]
[TNEXT-348] Added null check to avoid crash

Change-Id: I551871f2e127fea6c56fa65cc23c9f0454a3fd92
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoModified the API name 34/126734/1 accepted/tizen/unified/20170427.015554 submit/tizen/20170425.040532
taesub kim [Tue, 25 Apr 2017 03:54:29 +0000 (12:54 +0900)]
Modified the API name

Change-Id: Id156880b033a65ccdccd9acd860517fb08742310
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agowifi-manager: Fix GLib warning 39/126539/2
Saurav Babu [Mon, 24 Apr 2017 06:01:58 +0000 (11:31 +0530)]
wifi-manager: Fix GLib warning

DisconnectReason can have negative values. It causes below GLib warning:
(process:4092): GLib-CRITICAL **: g_variant_get_uint32: assertion
'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT32)' failed

Change-Id: Ia2652a86a9844d84b25a1c7580512591b8238fc0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoMerge "Fixed error that could be returned" into tizen submit/tizen/20170424.014832
taesub kim [Mon, 24 Apr 2017 01:04:41 +0000 (01:04 +0000)]
Merge "Fixed error that could be returned" into tizen

7 years agoModified the @remarks in header file 94/126494/1
taesub kim [Mon, 24 Apr 2017 00:33:14 +0000 (09:33 +0900)]
Modified the @remarks in header file

Change-Id: Ie48c4b289e778181ddb8be9e900349cec8d4c674
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoTDLS: Implement TDLS Channel Switch Feature 45/124545/3 accepted/tizen/unified/20170421.115026 submit/tizen/20170421.072430
Maneesh Jain [Fri, 21 Apr 2017 04:33:50 +0000 (10:03 +0530)]
TDLS: Implement TDLS Channel Switch Feature

Following CAPI's added to support this.
a./ wifi_manager_tdls_enable_channel_switching()
b./ wifi_manager_tdls_disable_channel_switching()

Change-Id: I87d19d6771381592c1f7df271de58093c3c0ced6
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoTDLS: Add new CAPI to enable TDLS Channel Switch Feature 05/124205/12
Maneesh Jain [Mon, 10 Apr 2017 13:34:19 +0000 (19:04 +0530)]
TDLS: Add new CAPI to enable TDLS Channel Switch Feature

a./ wifi_manager_tdls_enable_channel_switching()
b./ wifi_manager_tdls_diable_channel_switching()

Change-Id: If5f435c1dcacb5ed419c1159041c015fb8b41961
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFixed error that could be returned 62/126362/1
taesub kim [Fri, 21 Apr 2017 06:27:48 +0000 (15:27 +0900)]
Fixed error that could be returned

Change-Id: I434ddfc9cb9e2d5ece770d3a9c6cfef434934123
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "Fix for WGID-2660, WGID-2658, WGID-2663" into tizen accepted/tizen/unified/20170420.155737 submit/tizen/20170420.091040
taesub kim [Thu, 20 Apr 2017 07:24:41 +0000 (00:24 -0700)]
Merge "Fix for WGID-2660, WGID-2658, WGID-2663" into tizen

7 years agoFix for WGID-2660, WGID-2658, WGID-2663 60/124360/3
Abhishek Sansanwal [Tue, 11 Apr 2017 07:28:45 +0000 (12:58 +0530)]
Fix for WGID-2660, WGID-2658, WGID-2663

Change-Id: Ic49219f9954ded2c8b606653edd2dc36243094a8
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
7 years agoMerge "Added CAPI to get DHCP Server Address" into tizen
taesub kim [Thu, 20 Apr 2017 02:16:35 +0000 (19:16 -0700)]
Merge "Added CAPI to get DHCP Server Address" into tizen

7 years agoMerge "Added new APIs for TDLS feature" into tizen
taesub kim [Wed, 19 Apr 2017 06:21:12 +0000 (23:21 -0700)]
Merge "Added new APIs for TDLS feature" into tizen

7 years agoAdded new APIs for TDLS feature 34/119634/12
Saurav Babu [Fri, 7 Apr 2017 12:27:54 +0000 (17:57 +0530)]
Added new APIs for TDLS feature

Change-Id: I9d8d2638f93914723ffc1f14811a6414026f335d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoReplace ScanStarted with ScanChanged signal. 70/124770/1 accepted/tizen/unified/20170417.082444 submit/tizen/20170414.032608
Niraj Kumar Goit [Wed, 12 Apr 2017 09:58:00 +0000 (15:28 +0530)]
Replace ScanStarted with ScanChanged signal.

Change-Id: Ia620c346b1b530c8bec3af9c4e7f34c6b4dc5a37
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoAdded CAPI to get DHCP Server Address 22/123622/3
taesub kim [Thu, 6 Apr 2017 08:44:40 +0000 (17:44 +0900)]
Added CAPI to get DHCP Server Address

Change-Id: I1a4e86966f27961a1df4ceaeda972bc933862b60
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdd check for IP "0.0.0.0" and retrun CONNECTION ERROR 19/123519/4 accepted/tizen/unified/20170406.173410 submit/tizen/20170406.062437
taesub kim [Thu, 6 Apr 2017 03:55:37 +0000 (12:55 +0900)]
Add check for IP "0.0.0.0" and retrun CONNECTION ERROR

Change-Id: I9ccfa1284d35cd89bdcaa2be390d4dc3a62f09bc
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "Added CAPI to get device scanning status." into tizen
taesub kim [Thu, 6 Apr 2017 01:57:18 +0000 (18:57 -0700)]
Merge "Added CAPI to get device scanning status." into tizen

7 years agoAdded CAPI to get device scanning status. 29/119929/7
Niraj Kumar Goit [Mon, 20 Mar 2017 14:29:08 +0000 (19:59 +0530)]
Added CAPI to get device scanning status.

Change-Id: Ia5553a37f4145f88af50744913a158e2ab4fbced
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoFix the dereference of NULL (WGID 184209, 184211) 56/122256/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190026 accepted/tizen/ivi/20170403.124549 accepted/tizen/mobile/20170403.124251 accepted/tizen/tv/20170403.124411 accepted/tizen/unified/20170403.124613 accepted/tizen/wearable/20170403.124438 submit/tizen/20170403.015738
chleun.moon [Fri, 31 Mar 2017 02:26:24 +0000 (11:26 +0900)]
Fix the dereference of NULL (WGID 184209, 184211)

Change-Id: I5e8ccfada050adaf9d8152fdf468ef4b15aec0c9
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix memory leak (WGID 185683, 185684) 55/121755/1 accepted/tizen/common/20170329.172440 accepted/tizen/ivi/20170329.222301 accepted/tizen/mobile/20170329.222151 accepted/tizen/tv/20170329.222224 accepted/tizen/unified/20170329.222317 accepted/tizen/wearable/20170329.222239 submit/tizen/20170329.085840
chleun.moon [Mon, 27 Mar 2017 02:07:34 +0000 (11:07 +0900)]
Fix memory leak (WGID 185683, 185684)

Change-Id: If5727ee4eca7f53b9ccd0395f52d03f5c682bfdc
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoReturned WIFI_MANAGER_DNS_CONFIG_TYPE_NONE when dns type is not set 68/120968/1 accepted/tizen/common/20170328.140652 accepted/tizen/ivi/20170328.060724 accepted/tizen/mobile/20170328.053719 accepted/tizen/tv/20170328.060647 accepted/tizen/unified/20170328.060736 accepted/tizen/wearable/20170328.060710 submit/tizen/20170328.004746
Seonah Moon [Mon, 27 Mar 2017 02:22:04 +0000 (11:22 +0900)]
Returned WIFI_MANAGER_DNS_CONFIG_TYPE_NONE when dns type is not set

Change-Id: I243c5240a2d4b870dc6b578576af6aae7fbd7be8
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge "Changed the path of license by using '%license' macro" into tizen accepted/tizen/common/20170324.122750 accepted/tizen/ivi/20170324.111312 accepted/tizen/mobile/20170324.111003 accepted/tizen/tv/20170324.111140 accepted/tizen/unified/20170324.111354 accepted/tizen/wearable/20170324.111222 submit/tizen/20170324.043751 submit/tizen/20170324.072948
taesub kim [Thu, 23 Mar 2017 03:23:48 +0000 (20:23 -0700)]
Merge "Changed the path of license by using '%license' macro" into tizen

7 years agoMerge "Added handling to notify scan started event." into tizen
taesub kim [Wed, 22 Mar 2017 06:32:02 +0000 (23:32 -0700)]
Merge "Added handling to notify scan started event." into tizen

7 years agoMerge "Use ScanDone signal from connman instead of wpa_supplicant." into tizen
taesub kim [Wed, 22 Mar 2017 06:31:50 +0000 (23:31 -0700)]
Merge "Use ScanDone signal from connman instead of wpa_supplicant." into tizen

7 years agoChanged the path of license by using '%license' macro 13/120213/1
Seonah Moon [Wed, 22 Mar 2017 06:25:22 +0000 (15:25 +0900)]
Changed the path of license by using '%license' macro

Change-Id: I380105706ed6dfa636e5d154c34fbb8cc1bad5ba
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdd converting function for netmask 26/120026/2 accepted/tizen/common/20170322.153706 accepted/tizen/ivi/20170322.235758 accepted/tizen/mobile/20170322.235624 accepted/tizen/tv/20170322.235706 accepted/tizen/unified/20170322.235827 accepted/tizen/wearable/20170322.235733 submit/tizen/20170322.011410
Seonah Moon [Tue, 21 Mar 2017 07:08:28 +0000 (16:08 +0900)]
Add converting function for netmask

Change-Id: Ic90e219ac7589918e87c2b7c3873ddf9d7214290
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdded handling to notify scan started event. 31/118431/5
Niraj Kumar Goit [Fri, 10 Mar 2017 09:19:58 +0000 (14:49 +0530)]
Added handling to notify scan started event.

Change-Id: I8cdf07f461218f7c286edbdb945cc7ffc39bb70d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoUse ScanDone signal from connman instead of wpa_supplicant. 53/118253/2
Niraj Kumar Goit [Thu, 9 Mar 2017 10:24:13 +0000 (15:54 +0530)]
Use ScanDone signal from connman instead of wpa_supplicant.

Change-Id: I73b9a50862c5a7d9f4366872850bf3d531e7cfa3
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoImplement API to get IPv6 addresses 85/119785/1
Seonah Moon [Mon, 20 Mar 2017 06:19:17 +0000 (15:19 +0900)]
Implement API to get IPv6 addresses

Change-Id: Id7760ec2d038d4492704c92fc7159f6524b46268
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoImplement APIs for IPv6 and DNS configuration 89/119689/3
Seonah Moon [Mon, 20 Mar 2017 02:03:07 +0000 (11:03 +0900)]
Implement APIs for IPv6 and DNS configuration

Change-Id: I78af5eceed53ca053f6013df6a0342cf98722003
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdd new APIs for IPv6 and DNS configuration 68/114668/10
Seonah Moon [Tue, 14 Feb 2017 10:44:19 +0000 (19:44 +0900)]
Add new APIs for IPv6 and DNS configuration

Change-Id: Id0581e483258dd34d4adcf911eb89900820f7d5b
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdded CAPI WPS-PBC/PIN/cancel without ssid 34/118934/2 accepted/tizen/common/20170315.124856 accepted/tizen/ivi/20170315.104837 accepted/tizen/mobile/20170315.104745 accepted/tizen/tv/20170315.104806 accepted/tizen/unified/20170315.104852 accepted/tizen/wearable/20170315.104819 submit/tizen/20170315.050451
taesub kim [Thu, 23 Feb 2017 05:15:05 +0000 (14:15 +0900)]
Added CAPI WPS-PBC/PIN/cancel without ssid

Change-Id: Iaec443930bdc5c7d063cb352d767d02dc44bc6a9
hange-Id: I73d31d8eee438d36244488d040b74c27b7fd7f34
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoModified comment of enum 03/118503/1 accepted/tizen/common/20170314.172856 accepted/tizen/ivi/20170314.075036 accepted/tizen/mobile/20170314.075009 accepted/tizen/tv/20170314.075023 accepted/tizen/unified/20170314.075046 accepted/tizen/wearable/20170314.075029 submit/tizen/20170314.005318
taesub kim [Mon, 13 Mar 2017 00:26:55 +0000 (09:26 +0900)]
Modified comment of enum

Change-Id: Ic7ec6c475ab2dbf3ab5abd8f00d055419ce7402d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "Modified name of disconnect reason enum" into tizen accepted/tizen/common/20170309.175436 accepted/tizen/ivi/20170310.031653 accepted/tizen/mobile/20170310.031330 accepted/tizen/tv/20170310.031504 accepted/tizen/unified/20170310.075650 accepted/tizen/wearable/20170310.031551 submit/tizen/20170309.032538 submit/tizen_unified/20170310.011401
taesub kim [Thu, 9 Mar 2017 02:19:37 +0000 (18:19 -0800)]
Merge "Modified name of disconnect reason enum" into tizen

7 years agoModified name of disconnect reason enum 07/118107/1
taesub kim [Wed, 8 Mar 2017 23:54:17 +0000 (08:54 +0900)]
Modified name of disconnect reason enum

Change-Id: I01b620eac3b7bce7159e92e0aa347d475fd180e9
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdded new CAPI to support autoscan mode (Extension API) 03/118003/2
Maneesh Jain [Tue, 28 Feb 2017 10:34:44 +0000 (16:04 +0530)]
Added new CAPI to support autoscan mode (Extension API)

1. wifi_manager_set_autoscan()
2. wifi_manager_set_autoscan_mode()
3. wifi_manager_get_autoscan()
4. wifi_manager_get_autoscan_mode()

Change-Id: I37b58c0c7b03e4c086162ff6d0cf54be691a4061
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFixed signal filter of service 40/117740/2 accepted/tizen/common/20170309.175133 accepted/tizen/ivi/20170308.121238 accepted/tizen/mobile/20170308.121203 accepted/tizen/tv/20170308.121222 accepted/tizen/wearable/20170308.121231 submit/tizen/20170308.045955
taesub kim [Tue, 7 Mar 2017 08:39:20 +0000 (17:39 +0900)]
Fixed signal filter of service

Change-Id: I375332e2d07548cf81ebb7662b7dc5fb89898bd8
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[wifi-manager]: Add support of missing Error code 46/114446/11 accepted/tizen/common/20170303.090946 accepted/tizen/ivi/20170303.070509 accepted/tizen/mobile/20170303.070418 accepted/tizen/tv/20170303.070434 accepted/tizen/unified/20170309.032016 accepted/tizen/wearable/20170303.070450 submit/tizen/20170303.044054 submit/tizen_unified/20170308.100405
Maneesh Jain [Mon, 13 Feb 2017 10:08:09 +0000 (15:38 +0530)]
[wifi-manager]: Add support of missing Error code

Change-Id: I7d278fe5c4d88ee962515bfde3fa815a22bd2e49
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[tizen 4.0]: Add new CAPI to get the supplicant disconnect reason code 51/115151/7 accepted/tizen/common/20170303.090742 accepted/tizen/ivi/20170303.065636 accepted/tizen/mobile/20170303.065549 accepted/tizen/tv/20170303.065604 accepted/tizen/wearable/20170303.065622 submit/tizen/20170303.005553
Maneesh Jain [Thu, 16 Feb 2017 11:53:51 +0000 (17:23 +0530)]
[tizen 4.0]: Add new CAPI to get the supplicant disconnect reason code

Add following new CAPI wifi_manager_ap_get_disconnect_reason()to support
the same.

Change-Id: Ib2b12f26fdd0b09ad992967b0e464f25ff67f400
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agowifi-manager: No need to update wifi info from supplicant 92/113692/2 accepted/tizen/common/20170216.094228 accepted/tizen/ivi/20170216.095634 accepted/tizen/mobile/20170216.095541 accepted/tizen/tv/20170216.095557 accepted/tizen/wearable/20170216.095616 submit/tizen/20170216.070237
Saurav Babu [Wed, 8 Feb 2017 10:27:23 +0000 (15:57 +0530)]
wifi-manager: No need to update wifi info from supplicant

In case when there are multiple Wi-Fi networks with same SSID then
ConnMan only has one profile which is the profile for Connected AP. This
makes obsolete to update the information of Connected AP as ConnMan
already has updated information corresponding to connected AP.

Change-Id: I1d467bb3e0b9a7526ac7b598a2c4f8fda1dcb04a
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agowifi-manager: Don't set NULL ProfileName in request_table for hidden AP 52/113552/2
Saurav Babu [Wed, 8 Feb 2017 06:09:40 +0000 (11:39 +0530)]
wifi-manager: Don't set NULL ProfileName in request_table for hidden AP

In case of hidden AP connection, AP is not yet scanned so no profile
name exists. This patch sets the group name of hidden AP created using
ssid, mode and security as ProfileName in request_table.
Previous to this patch NULL was set as ProfileName in request_table and
prof_info variable was updated to contain last AP in profile_list  and connection
was initiated for that last AP instead of hidden AP.

Change-Id: I152565240206a2783e9df48f4064eec3afe33cc2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[ACR-878] Add new CAPI to connect to Hidden AP 37/113337/14
taesub kim [Tue, 7 Feb 2017 07:17:27 +0000 (16:17 +0900)]
[ACR-878] Add new CAPI to connect to Hidden AP

Change-Id: Iff271d59d2849460de55c7b96fc13358a4c8641a
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoWGID-169215: Fixed memory leak 40/114440/1 accepted/tizen/common/20170214.173410 accepted/tizen/ivi/20170214.011137 accepted/tizen/mobile/20170214.011100 accepted/tizen/tv/20170214.011113 accepted/tizen/wearable/20170214.011125 submit/tizen/20170213.093416
Seonah Moon [Mon, 13 Feb 2017 08:41:42 +0000 (17:41 +0900)]
WGID-169215: Fixed memory leak

Change-Id: If57184663e6b17b2dc2bc774c50a25071064fe7e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoCheck whether mac address is empty or not 21/110121/2 accepted/tizen/common/20170210.170522 accepted/tizen/ivi/20170214.011036 accepted/tizen/mobile/20170214.010827 accepted/tizen/tv/20170214.010919 accepted/tizen/wearable/20170214.011004 submit/tizen/20170210.072732 submit/tizen/20170210.083740
hyunuktak [Fri, 13 Jan 2017 04:30:56 +0000 (13:30 +0900)]
Check whether mac address is empty or not

Change-Id: I98008f6654ce9eb2d54d7e96f4fdbe41a1a954e4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoFix a savce for unreachable code 03/110103/2
hyunuktak [Fri, 2 Dec 2016 02:23:52 +0000 (11:23 +0900)]
Fix a savce for unreachable code

Change-Id: I18c76b532654980a6dffe3e66e954c0154e00ac3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoBuild Error Fix: Do Not Hardcode Install Path 53/107453/2
MyungJoo Ham [Wed, 28 Dec 2016 06:23:53 +0000 (15:23 +0900)]
Build Error Fix: Do Not Hardcode Install Path

This fixes build errors in 64bit systems.
Never hardcode library install paths.

Change-Id: I41b337ed9a918353692d94d23f27b05e512cb776
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependenceis: do it at runtime 02/99202/1
MyungJoo Ham [Tue, 22 Nov 2016 07:03:49 +0000 (16:03 +0900)]
Remove Profile Build Dependenceis: do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

ps. There was no code using TIZEN_WEARABLE/TIZEN_MOBILE
and there was only one effective code block for TIZEN_TV.

ps2. I really doubt whether you need capi-appfw-application
in this package.

Change-Id: Ie70acdf66e5cde1ca4932d3e30bb6f8e35a4e64f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoModified the signal handler for overlap connection/disconnection callback 24/97324/1 accepted/tizen/common/20161114.171547 accepted/tizen/ivi/20161114.074500 accepted/tizen/mobile/20161114.074402 accepted/tizen/tv/20161114.074424 accepted/tizen/wearable/20161114.074442 submit/tizen/20161114.043131
hyunuktak [Thu, 10 Nov 2016 00:47:54 +0000 (09:47 +0900)]
Modified the signal handler for overlap connection/disconnection callback

Change-Id: I2f44aa2639ef67f10c52ec59bb15889397bcaf6e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoFixed coding rule issues 16/97316/1
hyunuktak [Mon, 7 Nov 2016 06:02:26 +0000 (15:02 +0900)]
Fixed coding rule issues

Change-Id: I87842c4cbce30fd8999ee149035dea99e265200a
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoAdded WPA2_PSK security type for wlan mode 15/97315/1
hyunuktak [Tue, 8 Nov 2016 11:05:17 +0000 (20:05 +0900)]
Added WPA2_PSK security type for wlan mode

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