platform/core/api/wifi-manager.git
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>
6 years agoAdded privilege check logic for foreach found bssid function 77/182277/1 accepted/tizen/unified/20180622.122707 submit/tizen/20180622.032935
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>
6 years agoFixed various issues reported by valgrind 74/181274/1 accepted/tizen/unified/20180612.044205 submit/tizen/20180612.012523
Saurav Babu [Mon, 11 Jun 2018 11:10:54 +0000 (16:40 +0530)]
Fixed various issues reported by valgrind

==13792== Invalid read of size 4
==13792==    at 0x4D4AEE4: g_type_check_instance_is_fundamentally_a (in /usr/lib/libgobject-2.0.so.0.5200.2)
==13792==  Address 0x4ebdc48 is 0 bytes inside a block of size 136 free'd
==13792==    at 0x4846EC8: free (vg_replace_malloc.c:530)
==13792==    by 0x4D49A5B: g_type_free_instance (in /usr/lib/libgobject-2.0.so.0.5200.2)
==13792==    by 0x4885443: _net_dbus_close_gdbus_call (network_internal.c:640)
==13792==    by 0x4882BA5: net_deregister_client_ext (network_interface.c:2837)
==13792==    by 0x48900CD: _wifi_deinit (wifi_internal.c:1447)
==13792==    by 0x4897F55: wifi_manager_deinitialize (wifi_manager.c:236)
==13792==    by 0x10D997: ??? (in /usr/bin/wifi_manager_test)
==13792==    by 0x110087: ??? (in /usr/bin/wifi_manager_test)
==13792==    by 0x48FF8E7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x48FFC77: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x48FFFD7: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x10B30B: ??? (in /usr/bin/wifi_manager_test)
==13792==  Block was alloc'd at
==13792==    at 0x48458A4: malloc (vg_replace_malloc.c:299)
==13792==    by 0x49051B3: g_malloc (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x491E4A3: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x491EA7F: g_slice_alloc0 (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x4D4979B: g_type_create_instance (in /usr/lib/libgobject-2.0.so.0.5200.2)
==13792==    by 0x4D29853: ??? (in /usr/lib/libgobject-2.0.so.0.5200.2)
==13792==    by 0x4D2BBF7: g_object_new_valist (in /usr/lib/libgobject-2.0.so.0.5200.2)

==13792== 1,150 bytes in 138 blocks are definitely lost in loss record 956 of 970
==13792==    at 0x48458A4: malloc (vg_replace_malloc.c:299)
==13792==    by 0x49051B3: g_malloc (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x491FF03: g_strdup (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x493CF0B: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x493CB5F: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x493DF1B: g_variant_iter_next (in /usr/lib/libglib-2.0.so.0.5200.2)
==13792==    by 0x487E4C7: __net_extract_wifi_info (network_interface.c:1070)
==13792==    by 0x487FAFD: __net_extract_all_services (network_interface.c:1184)
==13792==    by 0x487FAFD: __net_extract_services (network_interface.c:1218)
==13792==    by 0x487FAFD: _net_get_profile_list (network_interface.c:1383)
==13792==    by 0x4883AAF: net_get_profile_list (network_interface.c:3134)
==13792==    by 0x488F83F: __update_profile_iterator (wifi_internal.c:320)
==13792==    by 0x4892A59: _wifi_foreach_found_ap (wifi_internal.c:2239)
==13792==    by 0x10DD11: ??? (in /usr/bin/wifi_manager_test)

==13655== 96,381 (8 direct, 96,373 indirect) bytes in 1 blocks are definitely lost in loss record 1,157 of 1,158
==13655==    at 0x48458A4: malloc (vg_replace_malloc.c:299)
==13655==    by 0x49051B3: g_malloc (in /usr/lib/libglib-2.0.so.0.5200.2)
==13655==    by 0x491E4A3: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.5200.2)
==13655==    by 0x491FA13: g_slist_append (in /usr/lib/libglib-2.0.so.0.5200.2)
==13655==    by 0x487FB0D: __net_extract_all_services (network_interface.c:1191)
==13655==    by 0x487FB0D: __net_extract_services (network_interface.c:1218)
==13655==    by 0x487FB0D: _net_get_profile_list (network_interface.c:1383)
==13655==    by 0x487A239: _net_dbus_connect_service (network_dbus.c:1272)
==13655==    by 0x4884D05: _net_open_connection_with_wifi_info (network_internal.c:330)
==13655==    by 0x48810E9: net_open_connection_with_wifi_info (network_interface.c:2037)
==13655==    by 0x488F8E9: __connect_with_wifi_info (wifi_internal.c:521)
==13655==    by 0x4892D3D: _wifi_open_profile (wifi_internal.c:2354)
==13655==    by 0x10B963: ??? (in /usr/bin/wifi_manager_test)
==13655==    by 0x4892A91: _wifi_foreach_found_ap (wifi_internal.c:2255)

Change-Id: I417fcd081ff51509735e2e87dc2b96e53812f34b
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoClear GObject only if it is valid GObject 11/179611/1 submit/tizen/20180521.002723
Saurav Babu [Fri, 18 May 2018 13:23:54 +0000 (18:53 +0530)]
Clear GObject only if it is valid GObject

Change-Id: I72671d331f1cde3a190f703260543d1c5c5a7e89
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agowifi-manager: To get vsie list of APs 60/179260/3
Mayank Haarit [Wed, 16 May 2018 16:04:10 +0000 (21:34 +0530)]
wifi-manager: To get vsie list of APs

This patch add the funtionality :
1) To get the vsie list of APs during netlink scan results.
2) Added common function to clear internal GSList of net_profile_info_s.

Change-Id: Iac37300311cb8069a6b459107a9f8afd729ae250
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agowifi-manager: Clear gdbus connection after it is unref'd 68/179068/1 submit/tizen/20180516.084045 submit/tizen/20180517.074802
Saurav Babu [Tue, 15 May 2018 11:38:32 +0000 (17:08 +0530)]
wifi-manager: Clear gdbus connection after it is unref'd

In the below scenario:
 1. Initalize wifi manager
 2. Start WiFi Scan (or any other asynchronous method)
 3. Deinitialize wifi manager before asynchronous method is finished

At the time of deinitialization pending calls exist and gdbus connection
is unref'd but it is not cleared to NULL, so in future initializations
gdbus connection handle is corrupted and wifi_manager_initialize() is
failed.

https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-unref
states that if pointer to the GObject may be reused in future after
calling g_object_unref() then it is recommended to clear the pointer to
NULL rather than retain a dangling pointer to a potentially invalid
GObject instance using g_clear_object()

Change-Id: I36aa1184afed01c1dbc0779722239f262fb890f4
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoUse g_variant_iter_next to prevent crash 37/178637/1 accepted/tizen/unified/20180514.094119 submit/tizen/20180511.073347
chleun.moon [Fri, 11 May 2018 05:04:13 +0000 (14:04 +0900)]
Use g_variant_iter_next to prevent crash

Change-Id: I689ee3736389ff35fd7198a7ff89db1c445c343f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoMerge "Handled the memory leak" into tizen accepted/tizen/unified/20180511.073930 submit/tizen/20180510.091306
taesub kim [Wed, 9 May 2018 23:56:50 +0000 (23:56 +0000)]
Merge "Handled the memory leak" into tizen

6 years agoMerge "Apply lcov block and line for line coverage" into tizen accepted/tizen/unified/20180510.070840 submit/tizen/20180509.132251
Jaehyun Kim [Wed, 9 May 2018 13:21:12 +0000 (13:21 +0000)]
Merge "Apply lcov block and line for line coverage" into tizen

6 years agoMerge "Added new Error Codes" into tizen
Jaehyun Kim [Wed, 9 May 2018 13:20:32 +0000 (13:20 +0000)]
Merge "Added new Error Codes" into tizen

6 years agoApply lcov block and line for line coverage 89/178289/1
hyunuktak [Wed, 9 May 2018 07:15:58 +0000 (16:15 +0900)]
Apply lcov block and line for line coverage

Change-Id: I5df6018685191256d719ade7e0d5a145e3bee37f
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
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 agoAdded network.get privilege to get the wps pin number 69/177569/4
taesub kim [Wed, 2 May 2018 03:57:19 +0000 (12:57 +0900)]
Added network.get privilege to get the wps pin number

Change-Id: I4f8d46f38fdce39128d808b29a0634b1ff6a6512
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoHandled the memory leak 61/177961/1
Mayank Haarit [Fri, 4 May 2018 14:45:22 +0000 (20:15 +0530)]
Handled the memory leak

This patch fixes the memory leak in case
of netlink scan

Change-Id: I44cdac586308bad98ec60c66f1004902e85c384c
Signed-off-by: Mayank Haarit <mayank.h@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>