platform/core/api/wifi-manager.git
5 years agoRemove APIs that do not match the API version 25/223425/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20200204.081058 submit/tizen_4.0/20200130.092833
Jaehyun Kim [Wed, 29 Jan 2020 13:30:40 +0000 (22:30 +0900)]
Remove APIs that do not match the API version

Change-Id: I7d7c47b4e4286a2ff362e58d8bd71024eeca57d8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agodoc: Change reference link #2 76/219076/1
Seonah Moon [Mon, 2 Dec 2019 04:25:57 +0000 (13:25 +0900)]
doc: Change reference link #2

Change-Id: Ic126c1c0d27029c62e415db77a338c98822c1fb3

5 years agodoc: change reference link 98/218898/1
Seonah Moon [Fri, 29 Nov 2019 04:19:24 +0000 (13:19 +0900)]
doc: change reference link

Change-Id: Ie2536480c191914146a5c7a526e899fc49466ea1

5 years agodoc: fix wrong description 37/216437/1
Seonah Moon [Fri, 25 Oct 2019 02:05:56 +0000 (11:05 +0900)]
doc: fix wrong description

Change-Id: Ied0309742a3ce46275ac64b86142a829260876ee

6 years agoFixed some coverity for resource leak 39/197539/2 accepted/tizen/4.0/unified/20190114.234156 submit/tizen_4.0/20190114.044225
Seonah Moon [Mon, 14 Jan 2019 04:21:22 +0000 (13:21 +0900)]
Fixed some coverity for resource leak

Change-Id: Ieec80adf4ccd73628b7620bfe1fd3b817f9b008f

6 years agoReturn error code when failed to turn Wi-Fi on 76/196876/2 submit/tizen_4.0/20190109.002415
Seonah Moon [Mon, 7 Jan 2019 07:53:48 +0000 (16:53 +0900)]
Return error code when failed to turn Wi-Fi on

Change-Id: I2157832dd83fa7c9aa0867a854204baaef8c7c10

6 years agoCorrect the classification of some APIs 44/186944/2 accepted/tizen/4.0/unified/20180904.002645 submit/tizen_4.0/20180817.034424 submit/tizen_4.0/20180830.041543
Jaehyun Kim [Thu, 16 Aug 2018 12:26:52 +0000 (21:26 +0900)]
Correct the classification of some APIs

Change-Id: Ib5cb86aa8ad8255a4629feca97164b38dfd4c5c1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoFix crash issue 37/184337/1 submit/tizen_4.0/20180717.214254
chleun.moon [Tue, 17 Jul 2018 04:31:50 +0000 (13:31 +0900)]
Fix crash issue

Change-Id: Ib8773610bba19581777f8d327de1c72ba1f7d216
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoAdded privilege check logic for foreach found bssid function 78/182278/1 accepted/tizen/4.0/unified/20180622.231429 submit/tizen_4.0/20180622.053626
taesub kim [Fri, 22 Jun 2018 03:17:47 +0000 (12:17 +0900)]
Added privilege check logic for foreach found bssid function

Change-Id: I0dc46318cf14e799f36910e59b6ea79f9621197c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFix memory leak - _test_found_print_ap_info_callback 92/174492/1 accepted/tizen/4.0/unified/20180405.064451 submit/tizen_4.0/20180403.231355
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

7 years agoFix ASan build 54/171254/1 accepted/tizen/4.0/unified/20180228.071737 submit/tizen_4.0/20180228.040055
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>
7 years agoAdded CAPIs for C# thread handling 67/171067/1 accepted/tizen/4.0/unified/20180227.062904 submit/tizen_4.0/20180226.110141 submit/tizen_4.0/20180226.114233
Jaehyun Kim [Mon, 26 Feb 2018 07:00:45 +0000 (16:00 +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: Ib462a9a5584d966dd5528c271132ecd0461f3e61
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoAdd support for pending scan and error handling to BSSID scan 63/167463/1 accepted/tizen/4.0/unified/20180131.050323 submit/tizen_4.0/20180119.040625 submit/tizen_4.0/20180124.230507
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>
7 years agoAdded tool application 62/167462/1
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>
7 years agoRemove test application from main rpm 76/165976/1 accepted/tizen/4.0/unified/20180111.051006 submit/tizen_4.0/20180105.051237 tizen_4.0.IoT.p2_release
Jaehyun Kim [Fri, 5 Jan 2018 04:29:41 +0000 (13:29 +0900)]
Remove test application from main rpm

Change-Id: I864a21a26fc35bc3dbe95e1eb9a74af10ad4c725
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoMerge "[CID-94441] Fix resource leak" into tizen_4.0 accepted/tizen/4.0/unified/20180103.151908 submit/tizen_4.0/20180102.074818
taesub kim [Tue, 2 Jan 2018 07:04:04 +0000 (07:04 +0000)]
Merge "[CID-94441] Fix resource leak" into tizen_4.0

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

Change-Id: I4052bfd65082949fa015ab611229bbab0330c178

7 years agoFixed memory leak 17/165517/1
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>
7 years agoMerge "Add new rpm package for test application" into tizen_4.0 accepted/tizen/4.0/unified/20180103.064726 submit/tizen_4.0/20180102.010014
taesub kim [Mon, 1 Jan 2018 23:41:34 +0000 (23:41 +0000)]
Merge "Add new rpm package for test application" into tizen_4.0

7 years agowifi-manager: Reduce dbus timeout to 10secs for synchronous dbus calls 32/165332/3 accepted/tizen/4.0/unified/20180102.065605 submit/tizen_4.0/20171229.034135
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: I2fa542265b92e638ac52573b1b5d1ec2576ad0e9
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoModify 'NET_WLAN_MAX_VSIE_LEN' value form 255 to 1024. 98/165298/1 submit/tizen_4.0/20171228.053412
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>
7 years agoRemove invalid memory release 72/165172/1 submit/tizen_4.0/20171227.021428
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: I1623e90b61a71fa0b22ccc8ca79e22620d333bc8
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years agoRefactored "wifi_manager_netlink_scan" to perform both Normal and specific AP scan. 43/165143/1
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>
7 years agoAdded APIs to set/get enable or disable of passpoint 42/165142/1
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>
7 years agoAdded CAPI for netlink specific AP scan. 41/165141/1
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>
7 years agoAdd new rpm package for test application 41/164741/2
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>
7 years agoRename extension header 13/164213/3 accepted/tizen/4.0/unified/20171219.072135 accepted/tizen/4.0/unified/20171221.070941 submit/tizen_4.0/20171218.090947 submit/tizen_4.0/20171220.223039
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>
7 years agoMerge "[wifi-manager] Added CAPI for Netlink scan." into tizen_4.0 accepted/tizen/4.0/unified/20171218.071937 submit/tizen_4.0/20171213.071411
taesub kim [Wed, 13 Dec 2017 07:12:54 +0000 (07:12 +0000)]
Merge "[wifi-manager] Added CAPI for Netlink scan." into tizen_4.0

7 years agoMerge "Fix memory leak in __net_handle_ip_conflict_rsp()" into tizen_4.0
taesub kim [Wed, 13 Dec 2017 07:11:59 +0000 (07:11 +0000)]
Merge "Fix memory leak in __net_handle_ip_conflict_rsp()" into tizen_4.0

7 years agoFix memory leak in __net_handle_ip_conflict_rsp() 88/163688/1
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

7 years agoFix memory leak in dbus_wifi_set_autoconnect() 75/163675/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

7 years ago[wifi-manager] Added CAPI for Netlink scan. 63/163663/1
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>
7 years agoFixed critical build issues 30/163630/1 accepted/tizen/4.0/unified/20171214.050321 submit/tizen_4.0/20171212.235102
Saurav Babu [Tue, 12 Dec 2017 04:03:51 +0000 (09:33 +0530)]
Fixed critical build issues

Change-Id: I5784e5c2de5d71c16279157c72dddf1c22e8c8c1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoModifided logic for wifi_manager_ap_get_ip_address() 68/162868/2 accepted/tizen/4.0/unified/20171207.070739 submit/tizen_4.0/20171206.064856
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>
7 years agoFix g_variant memory leak - _net_dbus_wifi_set_autoconnect() 31/162731/1 accepted/tizen/4.0/unified/20171205.155614 submit/tizen_4.0/20171205.070915
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

7 years agoFix g_variant memory leak - _net_dbus_set_auto_connect_mode() 29/162729/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

7 years agobug fix for test app 12/162312/1 accepted/tizen/4.0/unified/20171130.113308 submit/tizen_4.0/20171130.075045
Seonah Moon [Thu, 30 Nov 2017 06:35:48 +0000 (15:35 +0900)]
bug fix for test app

Change-Id: Id58aac1d130ccc9d83e640c07da9047eb82dbf82

7 years agoAdded CAPI's for IP conflict detection 76/161176/1 accepted/tizen/4.0/unified/20171124.063538 submit/tizen_4.0/20171122.064346
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

7 years agouse preferred ipv6 address 75/161175/1
Seonah Moon [Wed, 8 Nov 2017 08:13:22 +0000 (17:13 +0900)]
use preferred ipv6 address

Change-Id: I3e0f410e0c3394a251dbaac3882a38d72dbe3362

7 years agoAdded support to Add, Get and Remove VSIE data and to get vsie information of each AP 73/161173/1
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: I30e0e10a7d79a74fff9e6b6d821c21e27520da42
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agowifi-manager: Added new macro in wifi_manager_disconnect_reason_e Enum. 71/161171/1
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: I2e8157fd9a545eeec7f3c29a66704633f4a64c4b
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoAdded new CAPI to get the Association Status Code from Supplicant. 69/161169/1
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: Ica6bb1230ba3c9a71fd2ee3a3704d511d8188218
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoRemove unused 'wifi_manager_get_vsie_list' CAPI. 68/161168/1
Niraj Kumar Goit [Mon, 6 Nov 2017 06:01:40 +0000 (11:31 +0530)]
Remove unused 'wifi_manager_get_vsie_list' CAPI.

Change-Id: I3f1bbcaad32a61801179136b9e7a823b8d9593d7

7 years agoAdded CAPI to get vsie information of each AP. 67/161167/1
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: I5e4e95b9e7162bccfa569e2e748ef14ff2c09d0f

7 years agoChecking for client connection before doing dbus connection close 43/161143/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 agowifi-manager: Fixed GLIB critical warning 41/161141/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 agoAdded APIs to set/get enable or disable of Wi-Fi profile auto-connect in extension... 40/161140/1
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 agoFix wrong error type 97/157697/1 accepted/tizen/4.0/unified/20171106.074032 submit/tizen_4.0/20171103.014414
Seonah Moon [Thu, 26 Oct 2017 01:51:53 +0000 (10:51 +0900)]
Fix wrong error type

Change-Id: I023c69253f3c65b991ac28b041e8852cc829708e

7 years agoReset scan_request_cb before calling scan_request_cb 93/155193/1 accepted/tizen/4.0/unified/20171012.225938 submit/tizen_4.0/20171012.091731
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) 26/155026/1 accepted/tizen/4.0/unified/20171012.230159 submit/tizen_4.0/20171012.045330
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_4.0 accepted/tizen/4.0/unified/20171012.230319 submit/tizen_4.0/20171011.035617 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
taesub kim [Wed, 11 Oct 2017 02:34:03 +0000 (02:34 +0000)]
Merge "[CID-43867] Check return value" into tizen_4.0

7 years agoImprove line Coverage 09/154609/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 ago[CID-43867] Check return value 35/154535/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 agoAdded check for GVariant parameter type in ScanDone event. 43/154243/1 accepted/tizen/4.0/unified/20171011.071437 submit/tizen_4.0/20171010.085454
Jaehyun Kim [Tue, 10 Oct 2017 01:58:14 +0000 (10:58 +0900)]
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: I1476189a14ffcd727e51c9e519166f2aa0ab890d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years ago[CID-43828, 72998] bug fix (unused code, untrusted value) 55/153455/1 accepted/tizen/4.0/unified/20170929.080613 submit/tizen_4.0/20170928.232552
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 63/153063/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 58/152658/1 submit/tizen_4.0/20170927.082824
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 90/150990/1 accepted/tizen/4.0/unified/20170921.073333 submit/tizen_4.0/20170920.021207
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 agoAdded scanf length specifier 57/149657/1 accepted/tizen/4.0/unified/20170914.175549 submit/tizen_4.0/20170913.025326
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 ago[wifi-manager] Issue scan request based on last scan type. 40/149640/1
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 agoAdd API to flush BSS 89/148889/1 accepted/tizen/4.0/unified/20170913.002854 submit/tizen_4.0/20170911.130433
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 83/148183/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 00/148000/1 submit/tizen_4.0/20170906.092538
Jaehyun Kim [Wed, 6 Sep 2017 08:36:23 +0000 (17:36 +0900)]
Fixed api ref for addtogroup closer

Change-Id: I261411b25a175312f6579a870607df86d51be361
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoModified the get function for update of technology state 03/147803/1 accepted/tizen/4.0/unified/20170907.193547 submit/tizen_4.0/20170906.010245
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 02/147802/1
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 10/147010/1 accepted/tizen/4.0/unified/20170901.202602 submit/tizen_4.0/20170831.131058
taesub kim [Tue, 29 Aug 2017 01:43:17 +0000 (10:43 +0900)]
Modified log for scan and net state

Change-Id: I7288fe58a3abfd1ab4f21976f24302e4ca928a41
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>
7 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>
7 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>
7 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

7 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

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

7 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

7 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>
7 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>
7 years ago[SVACE][WGID: 25292] Fix dereferencing of NULL pointer. 10/140610/2
Niraj Kumar Goit [Tue, 25 Jul 2017 13:59:18 +0000 (19:29 +0530)]
[SVACE][WGID: 25292] Fix dereferencing of NULL pointer.

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

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

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

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

Change-Id: I7e5b71807665f8d2692a18f16e50cfab5d6aee41

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

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

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

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

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

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

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

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

1. wifi_manager_bssid_scan()
2. wifi_manager_foreach_found_bssid_ap()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change-Id: I8e4b3834c8cb8e6ebf7cb8cfc8eeeaa5e252d1a3
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>