platform/core/api/wifi-manager.git
6 years agoReturn correct EAP type for AKA PRIME, FAST and PWD EAP types. 53/175453/1
Abhishek Sansanwal [Tue, 10 Apr 2018 09:33:01 +0000 (15:03 +0530)]
Return correct EAP type for AKA PRIME, FAST and PWD EAP types.

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

6 years agoMerge "Fixed some coverity for resource leak" into tizen accepted/tizen/unified/20180406.144311 submit/tizen/20180406.023145
Jaehyun Kim [Fri, 6 Apr 2018 01:37:52 +0000 (01:37 +0000)]
Merge "Fixed some coverity for resource leak" into tizen

6 years agoFixed some coverity for resource leak 36/174536/3
hyunuktak [Tue, 3 Apr 2018 00:48:20 +0000 (09:48 +0900)]
Fixed some coverity for resource leak

Change-Id: I18d828bd6b10af992adc48333a962787831df7b0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFix memory leak - _test_found_print_ap_info_callback 90/174490/1 accepted/tizen/unified/20180406.062053 submit/tizen/20180403.231154
Taesoo Jun [Mon, 2 Apr 2018 10:35:26 +0000 (19:35 +0900)]
Fix memory leak -  _test_found_print_ap_info_callback

Change-Id: Ia464456f6c58f7d81679611bcf71d06e88184dca

6 years agoFixed a coverity for unchecked return value 38/173638/1 accepted/tizen/unified/20180403.060109 submit/tizen/20180329.102914
hyunuktak [Fri, 23 Mar 2018 01:03:27 +0000 (10:03 +0900)]
Fixed a coverity for unchecked return value

Change-Id: I9f3e9d748d4f7eb955e0869314dc135bb244d101
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoExecute netlink scan only in softap mode. 20/172920/2 accepted/tizen/unified/20180322.145026 submit/tizen/20180322.015431
Niraj Kumar Goit [Sat, 17 Mar 2018 13:13:10 +0000 (18:43 +0530)]
Execute netlink scan only in softap mode.

Change-Id: Ief6f72edbd6906a783a395c3d660db39624c83df
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoParse the security and encryption mode in the netlink scan results. 67/172867/1
Niraj Kumar Goit [Fri, 16 Mar 2018 09:52:02 +0000 (15:22 +0530)]
Parse the security and encryption mode in the netlink scan results.

Change-Id: I52d41db29315a629daf073df0a26752b974998cd
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoFixed some coverity for resource leak 16/172216/1 accepted/tizen/unified/20180320.141329 submit/tizen/20180318.231541 submit/tizen/20180320.043504
hyunuktak [Tue, 13 Mar 2018 00:35:03 +0000 (09:35 +0900)]
Fixed some coverity for resource leak

Change-Id: I21000cd8a58d18b88903e4efcc614122968f0403
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFixed a svace for unreachable code 89/171289/1 accepted/tizen/unified/20180305.062855 submit/tizen/20180302.043216
hyunuktak [Wed, 28 Feb 2018 08:14:08 +0000 (17:14 +0900)]
Fixed a svace for unreachable code

Change-Id: I483006356c757b163bbcdce51ba857746a9f7cb9
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFix ASan build 52/171252/1 accepted/tizen/unified/20180302.061515 submit/tizen/20180228.035728
taesub kim [Wed, 28 Feb 2018 02:36:11 +0000 (11:36 +0900)]
Fix ASan build

Change-Id: Iaa2c5ee4d9a80794a4d357f1bd6158e72b419467
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Added support of EAP-FAST, EAP-PWD and EAP-AKA'." into tizen accepted/tizen/unified/20180227.062946 submit/tizen/20180226.110934
taesub kim [Mon, 26 Feb 2018 08:49:45 +0000 (08:49 +0000)]
Merge "Added support of EAP-FAST, EAP-PWD and EAP-AKA'." into tizen

6 years agoMerge "Modified dbus nonblock method of setting auto connect mode to dbus block"...
taesub kim [Mon, 26 Feb 2018 08:07:04 +0000 (08:07 +0000)]
Merge "Modified dbus nonblock method of setting auto connect mode to dbus block" into tizen

6 years agoMerge "Fixed g_variant_unref problem when set auto connect & Modified the routine...
taesub kim [Mon, 26 Feb 2018 08:06:59 +0000 (08:06 +0000)]
Merge "Fixed g_variant_unref problem when set auto connect & Modified the routine to get auto scan when wifi is deactivated" into tizen

6 years agoModified dbus nonblock method of setting auto connect mode to dbus block 36/171036/2
taesub kim [Mon, 26 Feb 2018 05:44:26 +0000 (14:44 +0900)]
Modified dbus nonblock method of setting auto connect mode to dbus block

Change-Id: I9d5d809bb6dc231c13b0f584284590c74d853b9b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFixed g_variant_unref problem when set auto connect & Modified the routine to get... 33/171033/3
taesub kim [Mon, 26 Feb 2018 05:16:15 +0000 (14:16 +0900)]
Fixed g_variant_unref problem when set auto connect & Modified the routine to get auto scan when wifi is deactivated

Change-Id: I0d714e0714b8bb7b2d54ea750178306849d6dd5e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded CAPIs for C# thread handling 33/170833/2
Jaehyun Kim [Thu, 22 Feb 2018 11:30:03 +0000 (20:30 +0900)]
Added CAPIs for C# thread handling

It is not guaranteed that the GC in C# will call wifi_manager_deinitialize
on the thread that called wifi_manager_initialize.
So I added thread-independent CAPIs for init/deinit.

Change-Id: I9d60f439e45a46a3ea1d8e292e6086f46f9bc93b
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoFix issue with unref of bssid 10/170810/1
Jaehyun Kim [Thu, 22 Feb 2018 08:25:51 +0000 (17:25 +0900)]
Fix issue with unref of bssid

Change-Id: I4e06af3112162339c3af44ac00c58900c1fbe981
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdded CAPI for bssid based connection 09/170609/2
Jaehyun Kim [Wed, 21 Feb 2018 04:53:22 +0000 (13:53 +0900)]
Added CAPI for bssid based connection

Change-Id: Ie9fb62c9b69a04fbcb51342695075d7c93444d61
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdded support of EAP-FAST, EAP-PWD and EAP-AKA'. 46/170246/1
Niraj Kumar Goit [Thu, 15 Feb 2018 08:40:38 +0000 (14:10 +0530)]
Added support of EAP-FAST, EAP-PWD and EAP-AKA'.

Change-Id: I3f52d3211611c809d9024363b9807c61127e0bd5
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoDo not add redundant vsie to system. 40/168740/2 accepted/tizen/unified/20180201.075957 submit/tizen/20180131.092238
Niraj Kumar Goit [Tue, 30 Jan 2018 10:58:07 +0000 (16:28 +0530)]
Do not add redundant vsie to system.

Added check in CAPI "wifi_manager_add_vsie" so that redundant vsie is not
appended in the system.

Change-Id: I29cc5b50aaa68c8f35da9562a5195e0c23ec09d3
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoCancel CAPI wifi_manager_ap_get_vsie(). 53/167853/1 accepted/tizen/unified/20180124.154226 submit/tizen/20180124.041849
Niraj Kumar Goit [Mon, 22 Jan 2018 10:10:48 +0000 (15:40 +0530)]
Cancel CAPI wifi_manager_ap_get_vsie().

Cancel CAPI wifi_manager_ap_get_vsie() through ACR-1150.
http://suprem.sec.samsung.net/jira/browse/ACR-1150

Change-Id: I043d127e9761c6687cb96fbb4dd70cbe26ec3b4e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded CAPI to receive each vsie in callback. 98/165798/4 accepted/tizen/unified/20180123.061052 submit/tizen/20180122.055424
Niraj Kumar Goit [Thu, 4 Jan 2018 05:18:57 +0000 (10:48 +0530)]
Added CAPI to receive each vsie in callback.

Added CAPI "wifi_manager_ap_foreach_vsie()" to receive each vsie of AP
in callback.

Change-Id: I6290038ea5a75755a13e395238306fa167638ba9
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdd support for pending scan and error handling to BSSID scan 12/167412/1 accepted/tizen/unified/20180123.061112 submit/tizen/20180119.040348 submit/tizen/20180121.225846
Jaehyun Kim [Wed, 17 Jan 2018 11:52:01 +0000 (20:52 +0900)]
Add support for pending scan and error handling to BSSID scan

Change-Id: Ia1c4c473a4736ddb38b3ed1fbe03666e80136b89
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdded tool application 20/166120/3 accepted/tizen/unified/20180112.073216 submit/tizen/20180112.015821
hyunuktak [Mon, 8 Jan 2018 04:25:24 +0000 (13:25 +0900)]
Added tool application

Change-Id: I82c59b6b673a80fa9e0a59857c73e8338be967b4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoRemove test application from main rpm 78/165978/1 accepted/tizen/unified/20180108.062544 submit/tizen/20180105.051034
Jaehyun Kim [Fri, 5 Jan 2018 04:50:06 +0000 (13:50 +0900)]
Remove test application from main rpm

Change-Id: Ie022ad6ed989389474e30a7cd654bbb245c52ed3
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoMerge "[CID-94441] Fix resource leak" into tizen accepted/tizen/unified/20180103.151852 submit/tizen/20180102.074639
taesub kim [Tue, 2 Jan 2018 07:04:20 +0000 (07:04 +0000)]
Merge "[CID-94441] Fix resource leak" into tizen

6 years ago[CID-94441] Fix resource leak 23/165523/1
Seonah Moon [Tue, 2 Jan 2018 01:38:07 +0000 (10:38 +0900)]
[CID-94441] Fix resource leak

Change-Id: I4052bfd65082949fa015ab611229bbab0330c178

6 years agoFixed memory leak 16/165516/2
taesub kim [Tue, 2 Jan 2018 00:17:02 +0000 (09:17 +0900)]
Fixed memory leak

304423, 304424 SVACE issue

Change-Id: I52fd2347db2d6af1c4ceb7284e7467b917db42b6
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Add new rpm package for test application" into tizen accepted/tizen/unified/20180103.070146 submit/tizen/20180102.005852
taesub kim [Mon, 1 Jan 2018 23:41:03 +0000 (23:41 +0000)]
Merge "Add new rpm package for test application" into tizen

6 years agowifi-manager: Reduce dbus timeout to 10secs for synchronous dbus calls 27/165327/2 accepted/tizen/unified/20171229.070245 submit/tizen/20171229.034008
Saurav Babu [Thu, 28 Dec 2017 07:37:16 +0000 (13:07 +0530)]
wifi-manager: Reduce dbus timeout to 10secs for synchronous dbus calls

Change-Id: I33e94f61f8b750b6bcd4fad64b6c43e5847e6c03
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoModify 'NET_WLAN_MAX_VSIE_LEN' value form 255 to 1024. 69/165269/1 accepted/tizen/unified/20171229.070209 submit/tizen/20171228.053515 submit/tizen/20171228.074717
Niraj Kumar Goit [Wed, 27 Dec 2017 12:27:05 +0000 (17:57 +0530)]
Modify 'NET_WLAN_MAX_VSIE_LEN' value form 255 to 1024.

Change-Id: Iad9b81359d4b32c92ec4df5b81392d151b2a20db
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoMerge "Remove invalid memory release" into tizen accepted/tizen/unified/20171227.062308 submit/tizen/20171226.232826
taesub kim [Tue, 26 Dec 2017 23:04:45 +0000 (23:04 +0000)]
Merge "Remove invalid memory release" into tizen

6 years agoRemove invalid memory release 87/165087/2
chleun.moon [Tue, 26 Dec 2017 05:12:43 +0000 (14:12 +0900)]
Remove invalid memory release

In __net_handle_ip_conflict_rsp, conflict_info->mac and
conflict_info->state are freed in the corresponding callback, __ip_conflict_cb

Change-Id: Ibbceb820d9248ab38b18fed26ee6075787032e45
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoRefactored "wifi_manager_netlink_scan" to perform both Normal and specific AP scan. 09/165009/3
Niraj Kumar Goit [Fri, 22 Dec 2017 08:47:08 +0000 (14:17 +0530)]
Refactored "wifi_manager_netlink_scan" to perform both Normal and specific AP scan.

Description:
- Refactored "wifi_manager_netlink_scan" CAPI to perform both Normal and specific AP
scan and removed "wifi_manager_netlink_scan_specific_ap" CAPI.
- Added CAPIs to create netlink scan handle, set ssid and set vsie.
- wifi_manager_netlink_scan_create()
- wifi_manager_netlink_scan_set_ssid()
- wifi_manager_netlink_scan_set_vsie()

Change-Id: I60ba4b911689e1f3c61f0494c1363a9fad33cb9d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded APIs to set/get enable or disable of passpoint 10/164510/6
taesub kim [Tue, 19 Dec 2017 11:05:49 +0000 (20:05 +0900)]
Added APIs to set/get enable or disable of passpoint

Change-Id: Ib41979110d6ceeceec7e605a6b7de6d233060abb
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdd new rpm package for test application 65/164365/4
taesub kim [Tue, 19 Dec 2017 01:31:42 +0000 (10:31 +0900)]
Add new rpm package for test application

Change-Id: Ic5431a567f2a6c30db5958cf943eb9fdcf114de9
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded CAPI for netlink specific AP scan. 00/164000/2 accepted/tizen/unified/20171219.072613 submit/tizen/20171218.085650 submit/tizen/20171220.222501
Niraj Kumar Goit [Thu, 14 Dec 2017 12:15:07 +0000 (17:45 +0530)]
Added CAPI for netlink specific AP scan.

Added CAPI "wifi_manager_netlink_scan_specific_ap" to search
specific AP using netlink scan.

Change-Id: I9dbbdd56ce5baa34e4e9dcfcce03dde9ff18cafa
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoRename extension header 17/164217/1
Seonah Moon [Mon, 18 Dec 2017 05:45:44 +0000 (14:45 +0900)]
Rename extension header

CMakeLists.txt doesn't install wifi_*.h file - such as wifi_interna.h
and wifi_manager_extension.h - to the devel package.
However wifi_manager_extension.h has to be installed to the devel
package. Thus, rename wifi_manager_extension.h to wifi-manager-extension.h

Change-Id: I9aa62b4fbbd0198dd4eddf48473b7defad7d1912
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoFix memory leak in __net_handle_ip_conflict_rsp() 86/163686/1 accepted/tizen/unified/20171218.072316 submit/tizen/20171213.071346
Taesoo Jun [Wed, 13 Dec 2017 02:10:49 +0000 (11:10 +0900)]
Fix memory leak in __net_handle_ip_conflict_rsp()

Change-Id: I3bdbc33ffb557810d1fff61d3631fd995db46d37

6 years agoFix memory leak in dbus_wifi_set_autoconnect() 74/163674/1
Taesoo Jun [Wed, 13 Dec 2017 01:38:48 +0000 (10:38 +0900)]
Fix memory leak in dbus_wifi_set_autoconnect()

Change-Id: I7527c230fe6384f2f7f96778b93db086d03ce529

6 years agoFixed critical build issues 51/163551/1 accepted/tizen/unified/20171212.171959 submit/tizen/20171212.082257
Saurav Babu [Tue, 12 Dec 2017 04:03:51 +0000 (09:33 +0530)]
Fixed critical build issues

Change-Id: I1261576320587b6c6d77887e1bc7e8d446cc28f3
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoModifided logic for wifi_manager_ap_get_ip_address() 08/162908/1 accepted/tizen/unified/20171206.115942 submit/tizen/20171206.064834
taesub kim [Tue, 5 Dec 2017 23:43:25 +0000 (08:43 +0900)]
Modifided logic for wifi_manager_ap_get_ip_address()

Change-Id: Ib94782398155d056b485531d7c7590b673562ae4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Fix g_variant memory leak - _net_dbus_wifi_set_autoconnect()" into tizen accepted/tizen/unified/20171205.155524 submit/tizen/20171205.070837
taesub kim [Tue, 5 Dec 2017 07:07:34 +0000 (07:07 +0000)]
Merge "Fix g_variant memory leak - _net_dbus_wifi_set_autoconnect()" into tizen

6 years agoFix g_variant memory leak - _net_dbus_wifi_set_autoconnect() 33/162733/1
Taesoo Jun [Tue, 5 Dec 2017 06:29:24 +0000 (15:29 +0900)]
Fix g_variant memory leak - _net_dbus_wifi_set_autoconnect()

Change-Id: Ie75056c7e57bf4e24d4a5400b65d4877aa0bbb90

6 years agoFix g_variant memory leak - _net_dbus_set_auto_connect_mode() 32/162732/1
Taesoo Jun [Tue, 5 Dec 2017 06:24:23 +0000 (15:24 +0900)]
Fix g_variant memory leak - _net_dbus_set_auto_connect_mode()

Change-Id: Ib117b8079e46a329bfceea2ec7860576cf8bf324

6 years agobug fix for test app 92/162292/1 accepted/tizen/unified/20171204.072225 submit/tizen/20171130.074734
Seonah Moon [Thu, 30 Nov 2017 06:35:48 +0000 (15:35 +0900)]
bug fix for test app

Change-Id: Id58aac1d130ccc9d83e640c07da9047eb82dbf82

6 years ago[wifi-manager] Added CAPI for Netlink scan. 82/160582/3
Niraj Kumar Goit [Fri, 17 Nov 2017 04:19:37 +0000 (09:49 +0530)]
[wifi-manager] Added CAPI for Netlink scan.

When tethering is enabled 'wlan' interface is available but wifi device is
in deactivated state and so to search APs wifi_manager_netlink_scan() API is used.
When wifi device is in activated state use wifi_manager_scan() API instead.

Change-Id: I81a96ae7462e3d9d1276d7266f7c58e02e480e54
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded CAPI's for IP conflict detection 65/151965/14 accepted/tizen/unified/20171117.125007 submit/tizen/20171116.232504
Abhishek Sansanwal [Fri, 22 Sep 2017 12:13:37 +0000 (17:43 +0530)]
Added CAPI's for IP conflict detection

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

6 years agoAdded support to Add, Get and Remove VSIE data and to get vsie information of each AP 47/158947/7
taesub kim [Mon, 6 Nov 2017 05:48:04 +0000 (14:48 +0900)]
Added support to Add, Get and Remove VSIE data and to get vsie information of each AP

Change-Id: I7ad6cd29aee2ca9c00a640bc6cfabf5069c106b4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "wifi-manager: Added new macro in wifi_manager_disconnect_reason_e Enum." into...
taesub kim [Tue, 14 Nov 2017 05:35:35 +0000 (05:35 +0000)]
Merge "wifi-manager: Added new macro in wifi_manager_disconnect_reason_e Enum." into tizen

6 years agoMerge "Added new CAPI to get the Association Status Code from Supplicant." into tizen
taesub kim [Tue, 14 Nov 2017 05:32:31 +0000 (05:32 +0000)]
Merge "Added new CAPI to get the Association Status Code from Supplicant." into tizen

6 years agoAdded new CAPI to get the Association Status Code from Supplicant. 62/158262/5
Maneesh Jain [Mon, 30 Oct 2017 12:48:52 +0000 (18:18 +0530)]
Added new CAPI to get the Association Status Code from Supplicant.

Change-Id: I779fbaa1bf7fc77b9419ebbd2d86caf89ac647e5
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
6 years agowifi-manager: Added new macro in wifi_manager_disconnect_reason_e Enum. 51/158851/3
Maneesh Jain [Fri, 3 Nov 2017 10:50:13 +0000 (16:20 +0530)]
wifi-manager: Added new macro in wifi_manager_disconnect_reason_e Enum.

Description: This patch is used to add macro "WIFI_REASON_LOCAL_GENERATE_FROM_USER" to sync with supplicant
disconnect reason.

Change-Id: I59e58df33d8a849eef0a7a798fa2d05ab15cb747
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
6 years agouse preferred ipv6 address 43/159343/3 accepted/tizen/unified/20171115.061140 submit/tizen/20171113.231943
Seonah Moon [Wed, 8 Nov 2017 08:13:22 +0000 (17:13 +0900)]
use preferred ipv6 address

Change-Id: I3e0f410e0c3394a251dbaac3882a38d72dbe3362

6 years agoRemove unused 'wifi_manager_get_vsie_list' CAPI. 50/158950/2 submit/tizen/20171108.071810
Niraj Kumar Goit [Mon, 6 Nov 2017 06:01:40 +0000 (11:31 +0530)]
Remove unused 'wifi_manager_get_vsie_list' CAPI.

Change-Id: I24ea0d0deb3e6e9b96528c9478ac6cc553537da1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded CAPI to get vsie information of each AP. 59/158859/3
Niraj Kumar Goit [Fri, 3 Nov 2017 12:13:27 +0000 (17:43 +0530)]
Added CAPI to get vsie information of each AP.

Change-Id: I937be29ea3bbdbc799ea74eb3107cd42b83e5144
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoMerge "Checking for client connection before doing dbus connection close" into tizen accepted/tizen/unified/20171106.073044 submit/tizen/20171103.014532
taesub kim [Wed, 1 Nov 2017 05:39:04 +0000 (05:39 +0000)]
Merge "Checking for client connection before doing dbus connection close" into tizen

6 years agowifi-manager: Fixed GLIB critical warning 83/158383/1
Saurav Babu [Tue, 31 Oct 2017 11:42:40 +0000 (17:12 +0530)]
wifi-manager: Fixed GLIB critical warning

Change-Id: I88e271e9c2a1e4517b1f187dfb0ed8c7a15d7948
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoFix wrong error type 95/157695/1 accepted/tizen/unified/20171101.064652 submit/tizen/20171030.235228
Seonah Moon [Thu, 26 Oct 2017 01:51:53 +0000 (10:51 +0900)]
Fix wrong error type

Change-Id: I023c69253f3c65b991ac28b041e8852cc829708e

6 years agoAdded APIs to set/get enable or disable of Wi-Fi profile auto-connect in extension... 42/157042/9
taesub kim [Mon, 23 Oct 2017 07:27:58 +0000 (16:27 +0900)]
Added APIs to set/get enable or disable of Wi-Fi profile auto-connect in extension.h file

Change-Id: I0cc360ed78f26a85062b2af5d17b78af2798da81
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoChecking for client connection before doing dbus connection close 38/156738/1
taesub kim [Thu, 19 Oct 2017 22:29:33 +0000 (07:29 +0900)]
Checking for client connection before doing dbus connection close

Change-Id: Ic48eb9e794e4f9db3d9f57dd2a054cbaca243cb4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoReset scan_request_cb before calling scan_request_cb 91/155191/1 accepted/tizen/unified/20171013.192922 submit/tizen/20171012.091747
chleun.moon [Thu, 12 Oct 2017 09:03:11 +0000 (18:03 +0900)]
Reset scan_request_cb before calling scan_request_cb

If the second wifi_manager_scan() is called in wifi_manager_scan_finished_cb of the first wifi_manager_scan(), the callback of the second wifi_manager_scan() will never be called.

Change-Id: I9e6c0ca03beea802bda5d53048aff725e1e60eef
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoAdded dlog (NETWORK_CAPI_FUNC_ENTER/EXIT) 49/154749/10 accepted/tizen/unified/20171013.190307 submit/tizen/20171012.045027
taesub kim [Wed, 11 Oct 2017 08:39:22 +0000 (17:39 +0900)]
Added dlog (NETWORK_CAPI_FUNC_ENTER/EXIT)

Change-Id: I18ed62c75232c2b609b1472c5b57457936077d21
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "[CID-43867] Check return value" into tizen accepted/tizen/unified/20171011.150224 submit/tizen/20171011.035354
taesub kim [Wed, 11 Oct 2017 02:33:10 +0000 (02:33 +0000)]
Merge "[CID-43867] Check return value" into tizen

6 years ago[CID-43867] Check return value 36/154536/1
Seonah Moon [Tue, 10 Oct 2017 11:26:29 +0000 (20:26 +0900)]
[CID-43867] Check return value

Change-Id: I2f63fc3ef6dea0c004dc2fdef29640ad5d273af0
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoImprove line Coverage 25/154525/1
taesub kim [Tue, 10 Oct 2017 11:06:20 +0000 (20:06 +0900)]
Improve line Coverage

Change-Id: I54400db4c360e1139eb1ce4e3c9fec7ebb8b7c75
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded check for GVariant parameter type in ScanDone event. 69/154169/1 accepted/tizen/unified/20171011.065844 submit/tizen/20171010.084928
Niraj Kumar Goit [Mon, 9 Oct 2017 07:58:27 +0000 (13:28 +0530)]
Added check for GVariant parameter type in ScanDone event.

Description: Extract value from GVariant parameter received in ScanDone
event only if GVariant type is "(sv)".

Change-Id: I402470bf8d55f64fb77c9164616a2797fe8f0f1b
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years ago[CID-43828, 72998] bug fix (unused code, untrusted value) 56/153456/1 accepted/tizen/unified/20170929.081847 submit/tizen/20170928.232941
Seonah Moon [Thu, 28 Sep 2017 11:05:12 +0000 (20:05 +0900)]
[CID-43828, 72998] bug fix (unused code, untrusted value)

Change-Id: Ic8a43af0282834a6011094a58462d805d32faafe
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[CID-83168] fix memory leak 67/153067/1
Seonah Moon [Thu, 28 Sep 2017 01:34:58 +0000 (10:34 +0900)]
[CID-83168] fix memory leak

Change-Id: Id61e249eaab3a28aabf428bcd2377dee833982c7
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoFix memory leak in test app 57/152657/1 submit/tizen/20170927.082657
Taesoo Jun [Wed, 27 Sep 2017 00:13:16 +0000 (09:13 +0900)]
Fix memory leak in test app

Change-Id: Iade6dbe40635b33d3ac4f7a0ec779bfa063105aa

6 years agoAdd APIs to set/get auto connection mode 66/149966/3 accepted/tizen/unified/20170921.072212 submit/tizen/20170920.020838
taesub kim [Thu, 14 Sep 2017 00:31:40 +0000 (09:31 +0900)]
Add APIs to set/get auto connection mode

Change-Id: I81a3438278354b225f8d3b1fe55bac26e0ea8b14
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Added scanf length specifier" into tizen accepted/tizen/unified/20170914.065425 submit/tizen/20170913.024954
taesub kim [Wed, 13 Sep 2017 00:49:44 +0000 (00:49 +0000)]
Merge "Added scanf length specifier" into tizen

6 years agoMerge "[wifi-manager] Issue scan request based on last scan type." into tizen
taesub kim [Wed, 13 Sep 2017 00:41:19 +0000 (00:41 +0000)]
Merge "[wifi-manager] Issue scan request based on last scan type." into tizen

6 years ago[wifi-manager] Issue scan request based on last scan type. 90/147490/6
Niraj Kumar Goit [Mon, 4 Sep 2017 12:30:31 +0000 (18:00 +0530)]
[wifi-manager] Issue scan request based on last scan type.

When scan is requested by application but previous scan is already
in progress at connman then hold new scan request till scan-done
signal of previous scan is received.
On receiving scan-done signal, wifi-manager extract last scan type.
- If last scan type is same as new scan type and scan is done for full
channel then do not start fresh scan and send scan results of last
scan to applications.
- In all other scenarios start fresh scan for new scan type.

Change-Id: I2d171611707c5508c1aa60bcf150579cf192fbf8
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded scanf length specifier 74/149474/1
hyunuktak [Tue, 12 Sep 2017 09:13:43 +0000 (18:13 +0900)]
Added scanf length specifier

Change-Id: Iee2e98d383672719f1d4abc77b2c3f08d3f77c57
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoAdd API to flush BSS 35/148835/1 accepted/tizen/unified/20170913.071026 submit/tizen/20170911.125730
taesub kim [Mon, 11 Sep 2017 04:34:16 +0000 (13:34 +0900)]
Add API to flush BSS

Change-Id: I26a2ba518b5bbda07ba5597eb9f55df851df1159
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
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>