platform/core/api/wifi-manager.git
4 years agodoc: change reference link 96/218896/1
Seonah Moon [Fri, 29 Nov 2019 04:19:24 +0000 (13:19 +0900)]
doc: change reference link

Change-Id: I79c8578623df7f843401130843fb92222431c67f

4 years agoFix some coverity 37/218437/2
hyunuk.tak [Fri, 22 Nov 2019 07:25:08 +0000 (16:25 +0900)]
Fix some coverity

872459, 83456

Change-Id: I61d396933b9fd77434a6d6f7f277f9bb8a1ac492
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoSignal strength criteria for 5GHz changed 37/217637/1 accepted/tizen/unified/20191114.042628 submit/tizen/20191113.075649
Jaehyun Kim [Wed, 13 Nov 2019 05:33:09 +0000 (14:33 +0900)]
Signal strength criteria for 5GHz changed

Change-Id: I8fa666f904ec18168326c7e6a282717a876d7052
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoCorrect API reference 36/216236/1 accepted/tizen/unified/20191112.125232 submit/tizen/20191111.013104
Jaehyun Kim [Tue, 22 Oct 2019 10:59:04 +0000 (19:59 +0900)]
Correct API reference

Change-Id: Ibd811b7239d981276003b0d4c23ee9872da644f1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoModify document properly 04/216204/1 submit/tizen/20191023.050421
hyunuk.tak [Tue, 22 Oct 2019 08:15:24 +0000 (17:15 +0900)]
Modify document properly

Change-Id: I052ba63ff065ffa168907e93ef9972a56cd1e7d1
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoRemove private keys 03/216203/2
Jihoon Jung [Tue, 22 Oct 2019 16:39:49 +0000 (01:39 +0900)]
Remove private keys

Change-Id: Id851381882a28805ffc153dece6fae9371f14431
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
4 years agoModified to WIFI_MANAGER_ERROR 23/215323/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.030256 accepted/tizen/5.5/unified/mobile/hotfix/20201027.064930 accepted/tizen/unified/20191008.001331 submit/tizen/20191007.071428 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
hyunuk.tak [Mon, 7 Oct 2019 05:14:35 +0000 (14:14 +0900)]
Modified to WIFI_MANAGER_ERROR

Change-Id: I86df25393f66315649439fb952a4d3a6e911eb56
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoAdd CAPI implementation for Device Provisioning Protocol 45/212345/6 accepted/tizen/unified/20191007.234753 submit/tizen/20190927.130602 submit/tizen/20191001.114836
Yu [Tue, 20 Aug 2019 10:33:32 +0000 (19:33 +0900)]
Add CAPI implementation for Device Provisioning Protocol

Change-Id: I2406164f9d2193ac9b2002cebf8598a7becb0ecc
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoMerge "Add support for OWE security mode" into tizen accepted/tizen/unified/20190820.115115 submit/tizen/20190729.091802 submit/tizen/20190731.012344 submit/tizen/20190819.082417
Jaehyun Kim [Mon, 29 Jul 2019 09:16:37 +0000 (09:16 +0000)]
Merge "Add support for OWE security mode" into tizen

5 years agoMerge "Added CAPI to get AP hidden status." into tizen submit/tizen/20190726.070639
Jaehyun Kim [Fri, 26 Jul 2019 07:05:01 +0000 (07:05 +0000)]
Merge "Added CAPI to get AP hidden status." into tizen

5 years agoMerge "Added CAPI to get the hidden property of access point" into tizen
Jaehyun Kim [Fri, 26 Jul 2019 07:04:46 +0000 (07:04 +0000)]
Merge "Added CAPI to get the hidden property of access point" into tizen

5 years agoAdded CAPI to get AP hidden status. 80/210180/3
Niraj Kumar Goit [Wed, 17 Jul 2019 05:24:43 +0000 (10:54 +0530)]
Added CAPI to get AP hidden status.

Change-Id: I35b56a260a9e4d19e21a9b48691f22c15f50174d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdd support for OWE security mode 24/210824/1
Yu [Thu, 25 Jul 2019 05:49:24 +0000 (14:49 +0900)]
Add support for OWE security mode

Change-Id: I65fe3abe254a985e13e4977268218148f44d43fc

5 years agoAdded CAPI to get the hidden property of access point 85/204685/2
Jaehyun Kim [Thu, 25 Apr 2019 12:13:49 +0000 (21:13 +0900)]
Added CAPI to get the hidden property of access point

Change-Id: If3e80eb3bf7b3d8a14577201c67be2f6923035d2
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoCorrected doxygen comments for specific scan APIs 91/209491/4 accepted/tizen/unified/20190711.062819 submit/tizen/20190709.124406
Jaehyun Kim [Mon, 8 Jul 2019 09:11:28 +0000 (18:11 +0900)]
Corrected doxygen comments for specific scan APIs

Change-Id: I1a06c4972b5515504cc07adcbdc4779c6318f41d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoMerge "Correct wifi_manager_specific_scan_get_max_ssids() API name as per wifi-manage... accepted/tizen/unified/20190708.052428 submit/tizen/20190708.003621
Jaehyun Kim [Mon, 8 Jul 2019 00:35:12 +0000 (00:35 +0000)]
Merge "Correct wifi_manager_specific_scan_get_max_ssids() API name as per wifi-manager.h header file" into tizen

5 years agoCorrect wifi_manager_specific_scan_get_max_ssids() API name as per wifi-manager.h... 08/209408/1
Nishant Chaprana [Fri, 5 Jul 2019 13:04:05 +0000 (18:34 +0530)]
Correct wifi_manager_specific_scan_get_max_ssids() API name as per wifi-manager.h header file

Change-Id: I16330e3ecc402a56a37afb7953852d402fe032cc
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoCorrected incorrectly checking of state value 96/209296/1
Jaehyun Kim [Thu, 4 Jul 2019 11:05:20 +0000 (20:05 +0900)]
Corrected incorrectly checking of state value

WIFI_MANAGER_CONNECTION_STATE_FAILURE is defined as -1
but it is considered to be an CAPI error in wifi_manager_ap_get_connection_state().

Change-Id: I28ddd2f0e1d2409a668a78166fcdc75674f76753
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoMerge "Corrected CAPI name and some doxygen comments" into tizen accepted/tizen/unified/20190703.110719 submit/tizen/20190702.113133
Jaehyun Kim [Tue, 2 Jul 2019 11:25:45 +0000 (11:25 +0000)]
Merge "Corrected CAPI name and some doxygen comments" into tizen

5 years agoMerge "Check flight mode when bssid scan called" into tizen
Jaehyun Kim [Tue, 2 Jul 2019 11:25:32 +0000 (11:25 +0000)]
Merge "Check flight mode when bssid scan called" into tizen

5 years agoMerge "Add to get passphrase internally from config" into tizen
Jaehyun Kim [Tue, 2 Jul 2019 11:25:17 +0000 (11:25 +0000)]
Merge "Add to get passphrase internally from config" into tizen

5 years agoCorrected CAPI name and some doxygen comments 62/208962/2
Jaehyun Kim [Mon, 1 Jul 2019 12:20:16 +0000 (21:20 +0900)]
Corrected CAPI name and some doxygen comments

Change-Id: I3e1450b287292e4229cca7437deb2c389687ac93
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoMake a gcov package for coverage 88/208888/1 submit/tizen/20190702.011709 submit/tizen/20190704.043443 submit/tizen/20190705.002457
Cheoleun Moon [Mon, 1 Jul 2019 06:39:30 +0000 (15:39 +0900)]
Make a gcov package for coverage

Change-Id: Ibb7a353efd8d93f38e90c55547ce74e329cfc75c
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoCheck flight mode when bssid scan called 06/208606/1
hyunuktak [Wed, 26 Jun 2019 10:14:31 +0000 (19:14 +0900)]
Check flight mode when bssid scan called

Change-Id: I353760c0ff80604c74353b80c5aeec47ee4d8b3e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoAdd to get passphrase internally from config 66/208366/2
hyunuktak [Mon, 24 Jun 2019 01:38:12 +0000 (10:38 +0900)]
Add to get passphrase internally from config

Change-Id: I46766950cdd8a6d45dd06d8055e978042073699e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoAdded support of WPA3-SAE security mode. 85/207985/3 accepted/tizen/unified/20190624.075212 submit/tizen/20190621.094817
Niraj Kumar Goit [Fri, 14 Jun 2019 11:50:13 +0000 (17:20 +0530)]
Added support of WPA3-SAE security mode.

Change-Id: I44114045b9716defe4e467007a1d32d2df38b1ef
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoMerge "Fix API reference in header" into tizen accepted/tizen/unified/20190605.215637 submit/tizen/20190604.090814
Jaehyun Kim [Tue, 4 Jun 2019 09:06:57 +0000 (09:06 +0000)]
Merge "Fix API reference in header" into tizen

5 years agoAdded CAPI to get the maximum scan SSIDs. 97/196197/7
Niraj Kumar Goit [Wed, 26 Dec 2018 03:27:59 +0000 (08:57 +0530)]
Added CAPI to get the maximum scan SSIDs.

Added CAPI to get the maximum number of scan SSIDs
supported by wlan chipset.

Change-Id: I44991b5bde6d6ce1bd8d5f44150fff9957616f7b
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded prototype of CAPI to get maximum scan SSIDs. 96/196196/4
Niraj Kumar Goit [Wed, 26 Dec 2018 03:23:18 +0000 (08:53 +0530)]
Added prototype of CAPI to get maximum scan SSIDs.

Added prototype of CAPI to get the maximum number of SSIDs
supported by wlan chipset for scan operation.

Change-Id: I88f6d9922fc38487a8bcbd1942b8f508a1649d7f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoFix API reference in header 23/205123/3
hyunuktak [Mon, 29 Apr 2019 08:37:41 +0000 (17:37 +0900)]
Fix API reference in header

Change-Id: I72046f489139a30a1a76997564b6c65d739fb2c0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoUpdate comments as per guideline 15/202815/2 accepted/tizen/unified/20190408.131008 submit/tizen/20190404.222826
Jaehyun Kim [Thu, 4 Apr 2019 13:41:59 +0000 (22:41 +0900)]
Update comments as per guideline

Change-Id: I75c05778611ca8c652bbb78157c456f8f6e53825
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoAdded CAPIs for EAP AnonymousIdentity 86/201886/5
Jaehyun Kim [Wed, 20 Mar 2019 12:09:12 +0000 (21:09 +0900)]
Added CAPIs for EAP AnonymousIdentity

Change-Id: I013af1c16c22b7d7525616b5a2945969d505aabc
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years ago[wifi_manager_test] Print error message when there is no AP 08/202208/4 accepted/tizen/unified/20190327.025219 submit/tizen/20190326.072635
Cheoleun Moon [Tue, 26 Mar 2019 05:18:02 +0000 (14:18 +0900)]
[wifi_manager_test] Print error message when there is no AP

When an user try to connect an AP by wifi_manager_test but the AP
doesn't exist in scan result, an error message is shown.

Change-Id: I5f7bdb30baa83b0bedd1347e69fc5fd7a8ef0d99
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoCall connected_cb when wifi_manager_cancel_wps() is called 41/202141/1 accepted/tizen/unified/20190326.073452 submit/tizen/20190326.001708
Cheoleun Moon [Mon, 25 Mar 2019 07:23:23 +0000 (16:23 +0900)]
Call connected_cb when wifi_manager_cancel_wps() is called

wifi_manager_connect_by_wps.. APIs have wifi_manager_connected_cb as a
parameter. It is not called when WPS connection is cancelled by calling
wifi_manager_cancel_wps().

Change-Id: Ie209938c659ea601e4bdb9dbe3abf88e809fff4a
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoAdd a condition for NET_ERR_ALREADY_EXISTS in __convert_to_ap_error_type 21/199721/1 accepted/tizen/unified/20190214.154057 submit/tizen/20190214.084704
Cheoleun Moon [Thu, 14 Feb 2019 08:37:32 +0000 (17:37 +0900)]
Add a condition for NET_ERR_ALREADY_EXISTS in __convert_to_ap_error_type

Change-Id: Ic155a6585d4125fdf34ce74e64d2f667387f4f63
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoReset service_state value in initialization time 70/199070/1 submit/tizen/20190201.112357 submit/tizen/20190211.023331 submit/tizen/20190213.070039
Jaehyun Kim [Fri, 1 Feb 2019 10:23:04 +0000 (19:23 +0900)]
Reset service_state value in initialization time

The service_state value remains as the value at the time of deinitializing when reinitializing after deinitialization.
For this reason, it may be different from the actual value in some cases.

Change-Id: Ia91af535a76ef7d15f270e8e0c485e44a9a76cd4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoFix to specify that WIFI_MANAGER_ERROR_NOW_IN_PROGRESS is returned 70/198770/3 submit/tizen/20190130.012311 submit/tizen/20190130.064512
Cheoleun Moon [Tue, 29 Jan 2019 09:01:11 +0000 (18:01 +0900)]
Fix to specify that WIFI_MANAGER_ERROR_NOW_IN_PROGRESS is returned

1. Although some APIs return WIFI_MANAGER_ERROR_NOW_IN_PROGRESS, the
description of those APIs don't specify it.
2. wifi_manager_connect() return WIFI_MANAGER_ERROR_OPERATION_FAILED
instead of WIFI_MANAGER_ERROR_NOW_IN_PROGRESS in the scenario that AP requires password.
Fix to return the correct error.

Change-Id: Ibb5fe266d150f8b1c43137081d4da787df5a0f4a
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix a svace issue for memory leak 65/197865/1 accepted/tizen/unified/20190128.061707 submit/tizen/20190122.114357 submit/tizen/20190123.120006
hyunuktak [Thu, 17 Jan 2019 00:32:07 +0000 (09:32 +0900)]
Fix a svace issue for memory leak

Change-Id: If2eab9f054b181306999ac7e00723dd4abefe063
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoMerge "Added internal CAPI to check for 5Ghz band support." into tizen accepted/tizen/unified/20181219.063348 submit/tizen/20181218.125545
Jaehyun Kim [Mon, 17 Dec 2018 11:56:46 +0000 (11:56 +0000)]
Merge "Added internal CAPI to check for 5Ghz band support." into tizen

5 years agoAdded internal CAPI to check for 5Ghz band support. 81/195381/2
Abhishek Sansanwal [Thu, 13 Dec 2018 04:56:16 +0000 (10:26 +0530)]
Added internal CAPI to check for 5Ghz band support.

Change-Id: I1dd38a0d3ee48b264a2cc8503de48c24b2d5ca78
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
5 years agoFix dlog format error 81/195081/1 submit/tizen/20181211.041504 submit/tizen/20181214.044953
Seonah Moon [Mon, 10 Dec 2018 11:31:25 +0000 (20:31 +0900)]
Fix dlog format error

Change-Id: Id49e0f2cd4a894c14cac94a545741aa347b9dcae

5 years agoValidate the ESSID before use 59/193459/1 accepted/tizen/unified/20181129.054220 submit/tizen/20181127.113629
Jaehyun Kim [Wed, 21 Nov 2018 03:58:08 +0000 (12:58 +0900)]
Validate the ESSID before use

Change-Id: I2c2041305d2e20aebc4d5a6fe1255df8686877c8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoDisconnect and forget the AP when removing the AP configuration. 38/192238/4 submit/tizen/20181120.123835
Jaehyun Kim [Thu, 1 Nov 2018 08:55:56 +0000 (17:55 +0900)]
Disconnect and forget the AP when removing the AP configuration.

Change-Id: I2daf6e343e796012eee2d48e322b73c1d6463c74
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoMerge "Implement wifi_manager_get_connection_state() using connman dbus methods inste...
Jaehyun Kim [Tue, 20 Nov 2018 08:40:49 +0000 (08:40 +0000)]
Merge "Implement wifi_manager_get_connection_state() using connman dbus methods instead of net-config" into tizen

5 years agoMerge "Added unexpected state transition handling" into tizen
Jaehyun Kim [Tue, 20 Nov 2018 08:32:24 +0000 (08:32 +0000)]
Merge "Added unexpected state transition handling" into tizen

5 years agoFix asan issue. 00/191500/3
Niraj Kumar Goit [Wed, 17 Oct 2018 11:50:39 +0000 (17:20 +0530)]
Fix asan issue.

Use g_slist_append() to copy list instead of g_slist_copy_deep().

Change-Id: If87eb606a1b6f5df6ecc451065e0e5c06ff69ec0
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoImplement wifi_manager_get_connection_state() using connman dbus methods instead... 50/193150/1
Abhishek Sansanwal [Thu, 15 Nov 2018 09:07:10 +0000 (14:37 +0530)]
Implement wifi_manager_get_connection_state() using connman dbus methods instead of net-config

Change-Id: Idebd2dda6e2cccecb52dc741248569c284b9ab16
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
5 years agoAdded unexpected state transition handling 50/191550/3
Jaehyun Kim [Thu, 18 Oct 2018 06:55:21 +0000 (15:55 +0900)]
Added unexpected state transition handling

Change-Id: I15dcd0876b6785d997fe1e90a72f9e6795241211
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoMerge "API to get connection mode of connected network" into tizen submit/tizen/20181106.114249
Jaehyun Kim [Tue, 6 Nov 2018 10:42:06 +0000 (10:42 +0000)]
Merge "API to get connection mode of connected network" into tizen

5 years agoMerge "[wifi-manager][Get max speed of connected AP]" into tizen
Jaehyun Kim [Tue, 6 Nov 2018 10:39:48 +0000 (10:39 +0000)]
Merge "[wifi-manager][Get max speed of connected AP]" into tizen

5 years agoAPI to get connection mode of connected network 48/189948/8
Milind Murhekar [Mon, 24 Sep 2018 12:13:36 +0000 (17:43 +0530)]
API to get connection mode of connected network

This patch adds the new API to get the IEEE 802.11
connection mode of an AP.
Ex:- 802.11b/g/n/a/ac modes

Change-Id: I031b824480373d507fba88635e7683e2b1debdd5
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
5 years agoChange signal level policy 74/190674/2 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.013723 accepted/tizen/unified/20181010.061702 submit/tizen/20181004.140159 submit/tizen/20181005.071221 submit/tizen_5.0/20181101.000002
Jaehyun Kim [Thu, 4 Oct 2018 13:09:26 +0000 (22:09 +0900)]
Change signal level policy

Change-Id: Icd29346d4be99119eeaf01fbe529d6f4522f5db9
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoFix DPM state synchronization issue 05/190205/1 accepted/tizen/unified/20180928.142140 submit/tizen/20180928.073243
Jaehyun Kim [Fri, 28 Sep 2018 06:51:07 +0000 (15:51 +0900)]
Fix DPM state synchronization issue

Change-Id: Ie088f7ecfeaa57c355352bce4326b43cd353dbbb
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years ago[wifi-manager][Get max speed of connected AP] 64/189564/1
Mayank Haarit [Tue, 18 Sep 2018 14:50:34 +0000 (20:20 +0530)]
[wifi-manager][Get max speed of connected AP]

This patch contains changes to get the max
speed of connected AP.

Change-Id: Id11940a84cf197475431ca47759d2133a5bc8c16
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoAdded config API to set and get prefix length. 65/189265/2 accepted/tizen/unified/20180918.152333 submit/tizen/20180918.053753
Niraj Kumar Goit [Fri, 14 Sep 2018 15:25:54 +0000 (20:55 +0530)]
Added config API to set and get prefix length.

Change-Id: I1c6a0542896331b55950bb45b60ade2d35cdcafe
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoCorrected CAPI name. 24/189124/1
Niraj Kumar Goit [Thu, 13 Sep 2018 13:03:11 +0000 (18:33 +0530)]
Corrected CAPI name.

Change-Id: I95b9cd5edce56e43ba354686b6b3d7be650bbc10
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoFix coverity issue (1025904). 71/188871/1 accepted/tizen/unified/20180912.061651 submit/tizen/20180911.120738
Niraj Kumar Goit [Tue, 11 Sep 2018 07:25:47 +0000 (12:55 +0530)]
Fix coverity issue (1025904).

Change-Id: If09ed15943c904c8c35de947a6603f4e37ba736d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoCorrect the classification of some APIs 27/188827/2
Jaehyun Kim [Tue, 11 Sep 2018 01:54:45 +0000 (10:54 +0900)]
Correct the classification of some APIs

Change-Id: Ib33d695f111f1c9274aca2ac8e5e20a9d7f2fe4e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoAdded test-code of config CAPIs to set IP details. 99/186499/7 accepted/tizen/unified/20180907.211654 submit/tizen/20180907.071239
Niraj Kumar Goit [Fri, 10 Aug 2018 03:39:10 +0000 (09:09 +0530)]
Added test-code of config CAPIs to set IP details.

Added test-code for below config CAPIs to set IP details.
- wifi_manager_config_set_ip_config_type()
- wifi_manager_config_set_ip_address()
- wifi_manager_config_set_subnet_mask()
- wifi_manager_config_set_gateway_address()
- wifi_manager_config_set_dns_config_type()
- wifi_manager_config_set_dns_address()

Change-Id: I6f1515f098d90019d7b805f7ed10975fa5882e4a
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded config CAPIs to get IP configuration details. 40/186440/8
Niraj Kumar Goit [Thu, 9 Aug 2018 12:34:46 +0000 (18:04 +0530)]
Added config CAPIs to get IP configuration details.

Added below config CAPIs to get  IP configuration details for
Hidden AP connection with static IP setting.
- wifi_manager_config_get_ip_config_type()
- wifi_manager_config_get_ip_address()
- wifi_manager_config_get_subnet_mask()
- wifi_manager_config_get_gateway_address()
- wifi_manager_config_get_dns_config_type()
- wifi_manager_config_get_dns_address()

Change-Id: I1659f82be81725b1da1d7217a0dbfe8081d394d7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoMerge "Added config CAPI to set DNS address." into tizen
Jaehyun Kim [Wed, 5 Sep 2018 11:46:24 +0000 (11:46 +0000)]
Merge "Added config CAPI to set DNS address." into tizen

5 years agoAdded config CAPI to set DNS address. 33/186233/9
Niraj Kumar Goit [Wed, 8 Aug 2018 07:27:32 +0000 (12:57 +0530)]
Added config CAPI to set DNS address.

Added config CAPI "wifi_manager_config_set_dns_address" for
Hidden AP connection with static IP setting.

Change-Id: I5a69912336da1b741907170e9c5dd13a39ac461f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoMerge "Added config CAPI to set DNS config type." into tizen
Jaehyun Kim [Tue, 4 Sep 2018 11:37:24 +0000 (11:37 +0000)]
Merge "Added config CAPI to set DNS config type." into tizen

5 years agoMerge "Added config CAPI to set gateway address." into tizen
Jaehyun Kim [Tue, 4 Sep 2018 11:35:06 +0000 (11:35 +0000)]
Merge "Added config CAPI to set gateway address." into tizen

5 years agoMerge "Added config CAPI to set subnet mask." into tizen
Jaehyun Kim [Tue, 4 Sep 2018 11:34:12 +0000 (11:34 +0000)]
Merge "Added config CAPI to set subnet mask." into tizen

5 years agoMerge "Added config CAPI to set IP address." into tizen
Jaehyun Kim [Tue, 4 Sep 2018 11:32:52 +0000 (11:32 +0000)]
Merge "Added config CAPI to set IP address." into tizen

5 years agoMerge "Added config CAPI to set IP configuration method." into tizen
Jaehyun Kim [Tue, 4 Sep 2018 11:31:17 +0000 (11:31 +0000)]
Merge "Added config CAPI to set IP configuration method." into tizen

5 years agoReturn unspecified if there's no disconnect reason 05/188305/1 accepted/tizen/unified/20180905.140041 submit/tizen/20180904.002519
chleun.moon [Mon, 3 Sep 2018 23:55:18 +0000 (08:55 +0900)]
Return unspecified if there's no disconnect reason

Change-Id: I8daa3be51ac17c8e348f4a3326ddf4700e0a798e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoAdded config CAPI to set DNS config type. 58/186158/8
Niraj Kumar Goit [Tue, 7 Aug 2018 13:59:29 +0000 (19:29 +0530)]
Added config CAPI to set DNS config type.

Added config CAPI "wifi_manager_config_set_dns_config_type" for
Hidden AP connection with static IP setting.

Change-Id: I0fe80353abd95002598dc242d6e473304672e716
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded config CAPI to set gateway address. 51/186151/5
Niraj Kumar Goit [Tue, 7 Aug 2018 12:37:01 +0000 (18:07 +0530)]
Added config CAPI to set gateway address.

Added config CAPI "wifi_manager_config_set_gateway_address" for
Hidden AP connection with static IP setting.

Change-Id: Idab2042d60e165dd40d2d4be1915e0d3610a0f8d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded config CAPI to set subnet mask. 50/186150/6
Niraj Kumar Goit [Tue, 7 Aug 2018 12:09:38 +0000 (17:39 +0530)]
Added config CAPI to set subnet mask.

Added config CAPI "wifi_manager_config_set_subnet_mask" for
Hidden AP connection with static IP setting.

Change-Id: I8ddca1af8bab711240fc249f41757e36a7148c71
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded config CAPI to set IP address. 49/186149/5
Niraj Kumar Goit [Tue, 7 Aug 2018 11:51:54 +0000 (17:21 +0530)]
Added config CAPI to set IP address.

Added config CAPI "wifi_manager_config_set_ip_address" for
Hidden AP connection with static IP setting.

Change-Id: I889ae244e08bbaf7e05ebd7fec27fcc51bb33410
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded config CAPI to set IP configuration method. 48/186148/7
Niraj Kumar Goit [Tue, 7 Aug 2018 11:40:09 +0000 (17:10 +0530)]
Added config CAPI to set IP configuration method.

Added config CAPI "wifi_manager_config_set_ip_config_type" for
Hidden AP connection with static IP setting.

Change-Id: Id3b1102240b5057a451cbe98787480e4a7e1fee3
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoMerge "Fix default disconnect_reason as WIFI_REASON_UNSPECIFIED" into tizen accepted/tizen/unified/20180830.060925 submit/tizen/20180828.112014 submit/tizen/20180829.082616
Jaehyun Kim [Tue, 28 Aug 2018 11:17:47 +0000 (11:17 +0000)]
Merge "Fix default disconnect_reason as WIFI_REASON_UNSPECIFIED" into tizen

5 years agoAdded support for FT PSK 79/187779/1
Jaehyun Kim [Tue, 28 Aug 2018 08:51:04 +0000 (17:51 +0900)]
Added support for FT PSK

Change-Id: I6761d2734d9afe896882e51b9e2c65b85b7938af
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoFix default disconnect_reason as WIFI_REASON_UNSPECIFIED 29/187729/1
chleun.moon [Tue, 28 Aug 2018 05:52:58 +0000 (14:52 +0900)]
Fix default disconnect_reason as WIFI_REASON_UNSPECIFIED

Change-Id: Id62f12e001fd7e75d950c65c36f848103b95b28b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoAdded a security type for FT PSK 37/184537/5
Jaehyun Kim [Wed, 18 Jul 2018 12:27:14 +0000 (21:27 +0900)]
Added a security type for FT PSK

Change-Id: Iab968d8c1aa56ab9e1fbf9f557990c85bb5afdb7
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
5 years agoAdded config CAPI to get eap private-key file. 60/186060/2
Niraj Kumar Goit [Mon, 6 Aug 2018 11:46:13 +0000 (17:16 +0530)]
Added config CAPI to get eap private-key file.

Change-Id: I6377878c80cb06117edcb33d81412a0ba40a3464
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoAdded config CAPI to set eap private-key information. 59/186059/3
Niraj Kumar Goit [Mon, 6 Aug 2018 11:19:07 +0000 (16:49 +0530)]
Added config CAPI to set eap private-key information.

Change-Id: Ief31411700e49cf4e22f06e3ad96edf795d5b48c
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoMerge "Added config APIs for EAP private key and password" into tizen
Jaehyun Kim [Thu, 23 Aug 2018 08:09:05 +0000 (08:09 +0000)]
Merge "Added config APIs for EAP private key and password" into tizen

5 years agoAdded config APIs for Hidden AP connection with static IP setting. 69/185169/4
Niraj Kumar Goit [Fri, 3 Aug 2018 04:57:56 +0000 (10:27 +0530)]
Added config APIs for Hidden AP connection with static IP setting.

Change-Id: Icf38c8ed7c42fe117a41c65c8d2b2f2ef5d5e273
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoFixed various memory leaks 02/186902/2 accepted/tizen/unified/20180822.093834 submit/tizen/20180821.220138
Saurav Babu [Thu, 16 Aug 2018 10:19:05 +0000 (15:49 +0530)]
Fixed various memory leaks

Change-Id: I235a85b4a83dab3202f9f63b488d567dc03aae41
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
5 years agoFixed memory leak multi scan API 49/186849/1 accepted/tizen/unified/20180817.061741 submit/tizen/20180816.050429
Saurav Babu [Thu, 16 Aug 2018 04:02:39 +0000 (09:32 +0530)]
Fixed memory leak multi scan API

Change-Id: Ifad1dd73a2a4b6ef512bb41f06cd49ff209de2fd
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
5 years agoFixed invalid read issue 65/186765/1 submit/tizen/20180814.075657 submit/tizen/20180815.221347
Saurav Babu [Tue, 14 Aug 2018 07:21:13 +0000 (12:51 +0530)]
Fixed invalid read issue

==4662== Invalid read of size 4
==4662==    at 0x491D9EC: g_slist_last (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==  Address 0x514dfd4 is 0 bytes after a block of size 4 alloc'd
==4662==    at 0x484801C: calloc (vg_replace_malloc.c:711)
==4662==    by 0x489216B: _wifi_specific_scan_create (wifi_internal.c:3341)
==4662==    by 0x48985E7: wifi_manager_specific_scan_create (wifi_manager.c:1678)
==4662==    by 0x10F821: test_wifi_manager_specific_ap_start_multi_scan (wifi_manager_test.c:2972)
==4662==    by 0x11022B: test_thread (wifi_manager_test.c:3420)
==4662==    by 0x48FD8E7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x48FDC77: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x48FDFD7: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x10B353: main (wifi_manager_test.c:3215)
==4662==
==4662== Invalid write of size 4
==4662==    at 0x491DA34: g_slist_append (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x4892213: _wifi_specific_scan_set_ssid (wifi_internal.c:3365)
==4662==    by 0x10F92F: test_wifi_manager_specific_ap_start_multi_scan (wifi_manager_test.c:3001)
==4662==    by 0x11022B: test_thread (wifi_manager_test.c:3420)
==4662==    by 0x48FD8E7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x48FDC77: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x48FDFD7: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x10B353: main (wifi_manager_test.c:3215)
==4662==  Address 0x514dfd4 is 0 bytes after a block of size 4 alloc'd
==4662==    at 0x484801C: calloc (vg_replace_malloc.c:711)
==4662==    by 0x489216B: _wifi_specific_scan_create (wifi_internal.c:3341)
==4662==    by 0x48985E7: wifi_manager_specific_scan_create (wifi_manager.c:1678)
==4662==    by 0x10F821: test_wifi_manager_specific_ap_start_multi_scan (wifi_manager_test.c:2972)
==4662==    by 0x11022B: test_thread (wifi_manager_test.c:3420)
==4662==    by 0x48FD8E7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x48FDC77: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x48FDFD7: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5200.2)
==4662==    by 0x10B353: main (wifi_manager_test.c:3215)

Change-Id: I5aac1a17c015925785304315940e14583ae9dec5
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
5 years agoAdded config APIs for EAP private key and password 09/185809/1
Jaehyun Kim [Thu, 2 Aug 2018 12:00:55 +0000 (21:00 +0900)]
Added config APIs for EAP private key and password

Change-Id: Ifa7aaf4aab41862b3424d1046aa82b887f492a7a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoRemove "Not supported" logic for module state function #2 62/184862/1 accepted/tizen/unified/20180724.073331 submit/tizen/20180723.233312
taesub.kim [Mon, 23 Jul 2018 23:31:36 +0000 (08:31 +0900)]
Remove "Not supported" logic for module state function #2

Change-Id: I3963006f5fa0a4ef7b823dfa39f115db34cc4371
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFixed some invalid exception handling in asynchronous API for forgetting access point. 10/184810/1 submit/tizen/20180723.101631
Jaehyun Kim [Mon, 23 Jul 2018 08:39:55 +0000 (17:39 +0900)]
Fixed some invalid exception handling in asynchronous API for forgetting access point.

Change-Id: I9638532b0964d45ad05c0e8e8d46362d0440de2e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoModified error for wifi-manager (ACR-1256) 56/184756/1 submit/tizen/20180723.014622
taesub.kim [Sun, 22 Jul 2018 22:15:59 +0000 (07:15 +0900)]
Modified error for wifi-manager (ACR-1256)

Change-Id: I7989900ab61788b5b4d254010b94dcdda38747f5
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded __NETWORK_CAPI_FUNC_EXIT__ 81/184681/1
taesub.kim [Fri, 20 Jul 2018 06:37:52 +0000 (15:37 +0900)]
Added __NETWORK_CAPI_FUNC_EXIT__

Change-Id: I4dec1b8bf5239ed25db4bcea135e0def3a2ec4b5
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoCheck wifi_manager_h handle validity 10/183810/2
Abhishek Sansanwal [Wed, 11 Jul 2018 07:10:20 +0000 (12:40 +0530)]
Check wifi_manager_h handle validity

Description: Check the wifi_manager_h handle
in each API and return the appropriate error
in case of failure.

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

6 years agoAdd new error (ACR-1256) 69/183669/5
taesub kim [Mon, 9 Jul 2018 23:39:57 +0000 (08:39 +0900)]
Add new error (ACR-1256)

Change-Id: I5e04b8b115eac7c1becd800d82749a9413c79943
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Fix crash issue" into tizen accepted/tizen/unified/20180718.071609 submit/tizen/20180717.214119
taesub kim [Tue, 17 Jul 2018 21:39:20 +0000 (21:39 +0000)]
Merge "Fix crash issue" into tizen

6 years agoFix crash issue 86/184286/2
chleun.moon [Tue, 17 Jul 2018 04:31:50 +0000 (13:31 +0900)]
Fix crash issue

Change-Id: Ia9035c8f4e36e5d6996917f87e0d5d08adc09907
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years ago[Fix] When connected SOftAP goes out of range, AP sate was stuck at Association. 91/184191/1
Nishant Chaprana [Mon, 16 Jul 2018 07:23:15 +0000 (12:53 +0530)]
[Fix] When connected SOftAP goes out of range, AP sate was stuck at Association.

This patch fixes the scenario when connected SoftAp goes out of range.
In this case, the profile_info is NULL, due to which state changed callback
was not notified to application.

Below are the test application logs for above mentioned scenario:-

sh-3.2# /usr/bin/wifi_manager_test
Test Thread created...
1
Event received from stdin
Wifi init succeeded
Operation succeeded!
9
Event received from stdin
Scan request succeeded
Operation succeeded!
Scan changed, scan state : 1
Scan changed, scan state : 0
Scan Completed from scan request, error code : NONE
9
Event received from stdin
Scan request succeeded
Operation succeeded!
Scan changed, scan state : 1
Scan changed, scan state : 0
Scan Completed from scan request, error code : NONE
[1] Connection state changed callback, state : Association, AP name : Nishant
[2] Connection state changed callback, state : Association, AP name : Nishant
[1] Connection state changed callback, state : Configuration, AP name : Nishant
[2] Connection state changed callback, state : Configuration, AP name : Nishant
[1] Connection state changed callback, state : Connected, AP name : Nishant
[2] Connection state changed callback, state : Connected, AP name : Nishant
[1] RSSI level changed callback, level = 4
[2] RSSI level changed callback, level = 4
[1] Connection state changed callback, state : Configuration, AP name : Nishant
[2] Connection state changed callback, state : Configuration, AP name : Nishant
[1] Connection state changed callback, state : Disconnected, AP name : Nishant
[2] Connection state changed callback, state : Disconnected, AP name : Nishant
[1] Connection state changed callback, state : Association, AP name : Nishant
[2] Connection state changed callback, state : Association, AP name : Nishant
[1] Connection state changed callback, state : Unknown, AP name : Nishant
[2] Connection state changed callback, state : Unknown, AP name : Nishant
[1] Connection state changed callback, state : Disconnected, AP name : Nishant
[2] Connection state changed callback, state : Disconnected, AP name : Nishant
[1] Connection state changed callback, state : Association, AP name : Nishant
[2] Connection state changed callback, state : Association, AP name : Nishant
Scan changed, scan state : 1
Scan changed, scan state : 0
[1] Background Scan Completed, error code : NONE
[2] Background Scan Completed, error code : NONE
Scan changed, scan state : 1
Scan changed, scan state : 0
[1] Background Scan Completed, error code : NONE
[2] Background Scan Completed, error code : NONE
Scan changed, scan state : 1
Scan changed, scan state : 0
[1] Background Scan Completed, error code : NONE
[2] Background Scan Completed, error code : NONE
Scan changed, scan state : 1
Scan changed, scan state : 0
[1] Background Scan Completed, error code : NONE
[2] Background Scan Completed, error code : NONE
[1] Connection state changed callback, state : Unknown, AP name : Nishant
[2] Connection state changed callback, state : Unknown, AP name : Nishant
[1] Connection state changed callback, state : Disconnected, AP name : Nishant
[2] Connection state changed callback, state : Disconnected, AP name : Nishant
[1] Connection state changed callback, state : Association, AP name : Nishant
[2] Connection state changed callback, state : Association, AP name : Nishant
Scan changed, scan state : 1
Scan changed, scan state : 0
[1] Background Scan Completed, error code : NONE
[2] Background Scan Completed, error code : NONE

Change-Id: I7143a5ea790fd967ac17f41cbcf3c265ec6d6e16
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoRemove "Not supported" logic for module state function 51/184151/1 submit/tizen/20180716.045511
taesub.kim [Mon, 16 Jul 2018 04:03:06 +0000 (13:03 +0900)]
Remove "Not supported" logic for module state function

Change-Id: I0eb9baa7b8e53925f7f7568d4573bf28a0ea31a0
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoModified wifi_manager_test file for testhub 22/183822/2 accepted/tizen/unified/20180712.092642 submit/tizen/20180711.084813
taesub kim [Wed, 11 Jul 2018 07:47:11 +0000 (16:47 +0900)]
Modified wifi_manager_test file for testhub

Change-Id: If9d99f47a79d3d82686718c7abe6d0c5b5d9cd21
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years ago[Implemention] Asynchronous API for forgetting access point. 33/183233/4 accepted/tizen/unified/20180709.064826 submit/tizen/20180706.050915
Nishant Chaprana [Tue, 3 Jul 2018 12:48:49 +0000 (18:18 +0530)]
[Implemention] Asynchronous API for forgetting access point.

This patch implements asynchronous API for forgetting access point.
The API name is "wifi_manager_forget_ap_async()"

Change-Id: I03e823a7bbd63b994fec3d6d3fe151b92af72a0a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoFixed issue in cancelling wps connection 55/182955/3 accepted/tizen/unified/20180702.151336 submit/tizen/20180702.034741
Saurav Babu [Fri, 29 Jun 2018 06:40:20 +0000 (12:10 +0530)]
Fixed issue in cancelling wps connection

Change-Id: I7b8b873417782273812017ef7e09fef4a044b051
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoMerge "[Prototype] Add asynchronous API for forgeting acces point." into tizen
taesub kim [Wed, 27 Jun 2018 02:02:03 +0000 (02:02 +0000)]
Merge "[Prototype] Add asynchronous API for forgeting acces point." into tizen

6 years ago[Prototype] Add asynchronous API for forgeting acces point. 83/180383/7
Nishant Chaprana [Tue, 29 May 2018 05:02:44 +0000 (10:32 +0530)]
[Prototype] Add asynchronous API for forgeting acces point.

Description:
This patch adds prototype for new API "wifi_manager_forget_ap_async()".
Using this API application can asynchronously forget acces point and
disconnect from it, if it was connected.

Change-Id: Id9d049b4945d3b4b81d2c022bfd02a06c9e098a8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>