platform/core/api/wifi-manager.git
6 years agoAdded new Error Codes 32/177332/3
Jaehyun Kim [Fri, 27 Apr 2018 07:00:32 +0000 (16:00 +0900)]
Added new Error Codes

WIFI_MANAGER_ERROR_OFFLINE & WIFI_MANAGER_ERROR_INVALID_GATEWAY

Change-Id: I32494bec4396c1cd12746a57a975bfdf77320df8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoMerge "wifi-manager:Modify comment as per guideline" into tizen accepted/tizen/unified/20180430.072137 submit/tizen/20180427.093512
taesub kim [Thu, 26 Apr 2018 23:56:37 +0000 (23:56 +0000)]
Merge "wifi-manager:Modify comment as per guideline" into tizen

6 years agowifi-manager:Modify comment as per guideline 75/177275/1
Mayank Haarit [Thu, 26 Apr 2018 15:13:10 +0000 (20:43 +0530)]
wifi-manager:Modify comment as per guideline

Change-Id: I6240a9f064ac27a383a3ae7c0d965afb83192caf
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoModified header file 37/177037/1
taesub kim [Wed, 25 Apr 2018 01:49:25 +0000 (10:49 +0900)]
Modified header file

Change-Id: I278f8163a79ff780037317c239aae83185b42252
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Update doxygen for ip config type" into tizen accepted/tizen/unified/20180425.062306 submit/tizen/20180424.084858
taesub kim [Tue, 24 Apr 2018 03:59:07 +0000 (03:59 +0000)]
Merge "Update doxygen for ip config type" into tizen

6 years agowifi-manager: Add support for returning APs information 77/176677/3
Mayank Haarit [Fri, 20 Apr 2018 15:41:15 +0000 (21:11 +0530)]
wifi-manager: Add support for returning APs information

This patch provides list of bssid, signal strength
and frequency of APs having same SSID and security type.

Change-Id: I1545a9e8818ee4956c5062f86cd99ffcc5dbf9b6
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoUpdate doxygen for ip config type 70/176570/1
Seonah Moon [Fri, 20 Apr 2018 04:51:03 +0000 (13:51 +0900)]
Update doxygen for ip config type

Change-Id: I7d8c04747396c74c68061af99b913de2c6a1be8f

6 years agowifi-manager: Implemented functionality to get AP's country code 52/176352/7
Mayank Haarit [Wed, 18 Apr 2018 15:17:44 +0000 (20:47 +0530)]
wifi-manager: Implemented functionality to get AP's country code

Change-Id: Id767e0b34753860f283f39bddffd84a2f45b698d
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoMerge "Added prototype for new APIs" into tizen accepted/tizen/unified/20180420.081853 submit/tizen/20180419.131851
Jaehyun Kim [Thu, 19 Apr 2018 06:52:51 +0000 (06:52 +0000)]
Merge "Added prototype for new APIs" into tizen

6 years agoFixed a coverity for resource leak 80/176380/2
Jaehyun Kim [Thu, 19 Apr 2018 02:39:39 +0000 (11:39 +0900)]
Fixed a coverity for resource leak

Change-Id: I0892e107ea2216aaed04490ae938156ac15dbf91
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdded prototype for new APIs 32/174132/8
Mayank Haarit [Wed, 28 Mar 2018 10:28:58 +0000 (15:58 +0530)]
Added prototype for new APIs

This patch adds below APIs prototype in header file
a) To get the BSSID list
b) To get country code

Change-Id: I1fe38a341cebbedcd2ee20c272fdc43e6bfbb995
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoMerge "Added new CAPI to get the wps pin number from supplicant" into tizen accepted/tizen/unified/20180417.173156 submit/tizen/20180416.224602
taesub kim [Mon, 16 Apr 2018 08:55:36 +0000 (08:55 +0000)]
Merge "Added new CAPI to get the wps pin number from supplicant" into tizen

6 years agoMerge "Return correct EAP type for AKA PRIME, FAST and PWD EAP types." into tizen
taesub kim [Mon, 16 Apr 2018 08:07:54 +0000 (08:07 +0000)]
Merge "Return correct EAP type for AKA PRIME, FAST and PWD EAP types." into tizen

6 years agoMerge "Add support of SSID and Frequency mixed scan." into tizen
taesub kim [Mon, 16 Apr 2018 08:06:02 +0000 (08:06 +0000)]
Merge "Add support of SSID and Frequency mixed scan." into tizen

6 years agoAdded new CAPI to get the wps pin number from supplicant 02/175002/4
taesub kim [Fri, 6 Apr 2018 01:43:48 +0000 (10:43 +0900)]
Added new CAPI to get the wps pin number from supplicant

Change-Id: I9231e26bb6e788d1412bbed86bbf88df9e49962f
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFixed a coverity for resource leak 61/175761/1 accepted/tizen/unified/20180413.073622 submit/tizen/20180413.011058
hyunuktak [Thu, 12 Apr 2018 07:17:45 +0000 (16:17 +0900)]
Fixed a coverity for resource leak

Change-Id: Ifa903cfc9e930fa2cbb552570f9e40e3e1ea7310
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
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 agoAdd support of SSID and Frequency mixed scan. 33/174933/3
Niraj Kumar Goit [Thu, 5 Apr 2018 06:31:01 +0000 (12:01 +0530)]
Add support of SSID and Frequency mixed scan.

Change-Id: I8bad83fafd1681fe5b98aa961453c4c1ddb4168a
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
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>
7 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

7 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>
7 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>
7 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

7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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

7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>