platform/core/api/wifi-manager.git
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 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>
8 years agoMerge "Modify to update specific scan list and clear profile list" into tizen
cheoleun moon [Mon, 7 Nov 2016 05:19:01 +0000 (21:19 -0800)]
Merge "Modify to update specific scan list and clear profile list" into tizen

8 years agoModify to update specific scan list and clear profile list 49/94249/3
hyunuktak [Fri, 28 Oct 2016 01:32:53 +0000 (10:32 +0900)]
Modify to update specific scan list and clear profile list

Change-Id: Ibfc06bad3bc4f587b3b9ec7137a0bdddb1657bcd
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoUpdate AP info on changing IP Method Type 51/94051/1 accepted/tizen/common/20161102.121512 accepted/tizen/ivi/20161102.072333 accepted/tizen/mobile/20161102.072234 accepted/tizen/tv/20161102.072252 accepted/tizen/wearable/20161102.072307 submit/tizen/20161101.065543
Saurav Babu [Thu, 27 Oct 2016 04:20:01 +0000 (09:50 +0530)]
Update AP info on changing IP Method Type

Wi-Fi manager package added CAPI wifi_manager_update_ap() to update AP
info when IP Method type is changed. This CAPI must be called to update
AP info properly

Change-Id: I995b94a8bb88ae43a69db90be238334f244e2e73
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoMerge "Fixed chances of memory corruption in wifi_manager_get_network_interface_name... accepted/tizen/3.0/ivi/20161011.053612 accepted/tizen/3.0/mobile/20161015.032635 accepted/tizen/3.0/tv/20161016.004132 accepted/tizen/3.0/wearable/20161015.081955 accepted/tizen/common/20161006.153607 accepted/tizen/ivi/20161006.080210 accepted/tizen/mobile/20161006.080105 accepted/tizen/tv/20161006.080138 accepted/tizen/wearable/20161006.080154 submit/tizen/20161006.010203 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
cheoleun moon [Thu, 6 Oct 2016 00:39:51 +0000 (17:39 -0700)]
Merge "Fixed chances of memory corruption in wifi_manager_get_network_interface_name()." into tizen

8 years agoMerge "Fixed chances of memory corruption in wifi_manager_get_mac_address()." into...
cheoleun moon [Thu, 6 Oct 2016 00:39:32 +0000 (17:39 -0700)]
Merge "Fixed chances of memory corruption in wifi_manager_get_mac_address()." into tizen

8 years agoMerge "Fixed memory leaks when using g_variant_get()." into tizen
cheoleun moon [Thu, 6 Oct 2016 00:38:56 +0000 (17:38 -0700)]
Merge "Fixed memory leaks when using g_variant_get()." into tizen

8 years agoMerge "[wifi-manager]: fixed typo issue" into tizen
cheoleun moon [Thu, 6 Oct 2016 00:24:37 +0000 (17:24 -0700)]
Merge "[wifi-manager]: fixed typo issue" into tizen

8 years agoFixed chances of memory corruption in wifi_manager_get_network_interface_name(). 12/91012/1
Nishant Chaprana [Wed, 5 Oct 2016 09:43:27 +0000 (15:13 +0530)]
Fixed chances of memory corruption in wifi_manager_get_network_interface_name().

Description: As per API documentation, mac_address should be freed using free().
But we are using glib allocator for allocating memory.
So, that allocated memory should be freed by g_free() only as per GLIB documentation.

Usage os g_strdup in API may lead to memory corruption, because memory allocated
using g_strdup should be freed using g_free.

So to match declaration in header file for wifi_manager_get_network_interface_name()
we should use strndup in place of g_strdup().

Change-Id: I0dc8df3aaa66f402075c6369964c9ae1919d562f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoFixed chances of memory corruption in wifi_manager_get_mac_address(). 11/91011/1
Nishant Chaprana [Wed, 5 Oct 2016 09:20:08 +0000 (14:50 +0530)]
Fixed chances of memory corruption in wifi_manager_get_mac_address().

Description: As per API documentation, mac_address should be freed using free().
But we are using g_try_malloc0 for allocating memory for Tizen TV profile.
So, that allocated memory should be freed by g_free() only as per GLIB documentation.

Usage os g_try_malloc0 in API will lead to memory corruption, because g_try_malloc0
and normal memory allocator may use different memory pools which will be freed properly
by there corresponding memory deallocator only.

So to match declaration in header file for wifi_manager_get_mac_address()
we should use strndup in place of g_try_malloc0().

Change-Id: I4263a456c9f6fa7dec0ce4cd8c24778b4ae6e850
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoFixed memory leaks when using g_variant_get(). 94/90994/1
Nishant Chaprana [Wed, 5 Oct 2016 08:52:01 +0000 (14:22 +0530)]
Fixed memory leaks when using g_variant_get().

Change-Id: I40b45fa19f0aa07bcdb961c39bb5676b126ee241
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years ago[wifi-manager] Modify to load configurations 08/90908/2 accepted/tizen/common/20161005.165328 accepted/tizen/ivi/20161005.231945 accepted/tizen/mobile/20161005.231902 accepted/tizen/tv/20161005.231914 accepted/tizen/wearable/20161005.231933 submit/tizen/20161005.051812
hyunuktak [Wed, 5 Oct 2016 02:17:58 +0000 (11:17 +0900)]
[wifi-manager] Modify to load configurations

When there is configuration ID without settings file,
it is not error, just no profile.

Change-Id: Ib97b54198d825baa2093b1b660dad6bd40cb6d6f
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[wifi-manager] remove to check NULL for callback function 12/90712/1
hyunuktak [Tue, 4 Oct 2016 04:49:06 +0000 (13:49 +0900)]
[wifi-manager] remove to check NULL for callback function

This can be NULL if you don't want to get the notification about wifi
deactivate.

Change-Id: I90a18b9327ceb923d90cb626db1d7c96189359c3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[wifi-manager]: fixed typo issue 62/90462/1
Maneesh Jain [Fri, 30 Sep 2016 06:56:39 +0000 (12:26 +0530)]
[wifi-manager]: fixed typo issue

Change-Id: I449ee2ead5744720a54aa938fcfe2abb71db0096
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years agoRemove to check NULL for callback function 19/89819/1 accepted/tizen/common/20160928.164117 accepted/tizen/ivi/20160929.081215 accepted/tizen/mobile/20160929.081103 accepted/tizen/tv/20160929.081144 accepted/tizen/wearable/20160929.081021 submit/tizen/20160928.053415
hyunuktak [Tue, 27 Sep 2016 06:30:10 +0000 (15:30 +0900)]
Remove to check NULL for callback function

This can be NULL if you don't want to get the notification about wifi
activate.

Change-Id: Ie3e325edc5545d9cf67b18d9dd6fca8cb9fc24b4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[wifi-manager] remove reference warning 57/89257/1
hyunuktak [Fri, 23 Sep 2016 01:45:07 +0000 (10:45 +0900)]
[wifi-manager] remove reference warning

Change-Id: I295eaf4e33722c14b4764ed1993ed94dccbab336
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoInitialize the wifi-manager package 33/83033/5 accepted/tizen/common/20160831.161605 accepted/tizen/ivi/20160909.060529 accepted/tizen/mobile/20160831.124855 accepted/tizen/tv/20160831.124907 accepted/tizen/wearable/20160831.124913 submit/tizen/20160831.020435 submit/tizen/20160831.045307 submit/tizen_ivi/20160909.055713
hyunuktak [Tue, 9 Aug 2016 00:47:42 +0000 (09:47 +0900)]
Initialize the wifi-manager package

The handle based module to support multi instance

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

8 years agoInitial empty repository master
seonil kim [Wed, 13 Jul 2016 01:00:12 +0000 (18:00 -0700)]
Initial empty repository