platform/core/api/wifi-direct.git
16 months agoModify default value for test 88/285588/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20221226.020036
Jiung Yu [Thu, 15 Dec 2022 05:58:36 +0000 (14:58 +0900)]
Modify default value for test

Change-Id: Ie2bba1d08a3b50cca145a24897cc6a88c1656eae
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
22 months agoApply gcov automation 65/276065/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060130 accepted/tizen/7.0/unified/hotfix/20221116.104924 accepted/tizen/unified/20220614.134818 submit/tizen/20220610.003743 tizen_7.0_m2_release
Seonah Moon [Thu, 9 Jun 2022 06:15:14 +0000 (15:15 +0900)]
Apply gcov automation

Change-Id: Iefec044c5233631aa799a85a406f8f8307c59259
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2 years agoChnage a gcov path 89/270189/1 accepted/tizen/unified/20220208.112057 submit/tizen/20220126.091456 submit/tizen/20220203.092210
Jaehyun Kim [Wed, 26 Jan 2022 08:47:54 +0000 (17:47 +0900)]
Chnage a gcov path

Change-Id: I64fb0d5c26677d0555e5f0c90db7cf8df4fb4658
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2 years agoMerge "Added multi-threaded support in wifi-direct CAPI." into tizen
Jiung Yu [Thu, 15 Jul 2021 08:11:29 +0000 (08:11 +0000)]
Merge "Added multi-threaded support in wifi-direct CAPI." into tizen

2 years agoFix typo Copyiright => Copyright 49/259049/1 submit/tizen/20210602.014309
Nishant Chaprana [Mon, 31 May 2021 08:53:16 +0000 (14:23 +0530)]
Fix typo Copyiright => Copyright

Change-Id: I13c6faef0bf2f5453430d3399ffd50bf8ed36db8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoAdded multi-threaded support in wifi-direct CAPI. 42/254142/3
Niraj Kumar Goit [Tue, 23 Feb 2021 14:07:48 +0000 (19:37 +0530)]
Added multi-threaded support in wifi-direct CAPI.

This patch removes thread-scope variables for sharing handles between
multiple threads.

Change-Id: If106e2d429e6377d7b39eafa794dd5d544a2e60a
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoFix API references 16/243116/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121849 accepted/tizen/6.0/unified/hotfix/20201103.004122 accepted/tizen/6.0/unified/hotfix/20201103.051127 accepted/tizen/6.5/unified/20211028.095837 accepted/tizen/unified/20200904.035503 submit/tizen/20200903.080600 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 submit/tizen_6.5/20211028.161801 tizen_6.0.m2_release tizen_6.5.m2_release
Jaehyun Kim [Thu, 3 Sep 2020 07:48:00 +0000 (16:48 +0900)]
Fix API references

Change-Id: I314bc683faf7d1891d4a2cd64bacc6310a2f23b6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
3 years agoAdd test case for get supported channels CAPI 95/242195/1
Yu [Tue, 25 Aug 2020 02:14:29 +0000 (11:14 +0900)]
Add test case for get supported channels CAPI

Change-Id: If31207712aebd3df3a14412f57f3104fcafc71cd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoAdd wifi_direct_foreach_supported_channel() API 36/238936/3 submit/tizen/20200804.230001
Nishant Chaprana [Tue, 4 Aug 2020 04:57:17 +0000 (10:27 +0530)]
Add wifi_direct_foreach_supported_channel() API

This API is used to get channels which are supported by chipset.

Change-Id: I1efbd6aaca0d14801be543177889df031808cfa9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix memory leaks which are caught by gtest and valgrind 25/238525/1
Yu [Wed, 15 Jul 2020 00:46:47 +0000 (09:46 +0900)]
Fix memory leaks which are caught by gtest and valgrind

Change-Id: Ifc87fb0f8398bd329fab96a233e0d05b6ee2ff0a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoAdd gtest to check CAPI operations 82/238382/4
Yu [Mon, 13 Jul 2020 07:33:27 +0000 (16:33 +0900)]
Add gtest to check CAPI operations

Change-Id: I6357bb56a09b5e3046ad71b62d2fd0be7ccadc29
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoReplace duplicated code with macro, fix wrong returns 45/238345/1
Yu [Mon, 13 Jul 2020 04:26:04 +0000 (13:26 +0900)]
Replace duplicated code with macro, fix wrong returns

Change-Id: I57204985063733061045d3e8a539848e8be4f099
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoRevise CMakeLists 16/237516/2
Yu [Wed, 1 Jul 2020 05:01:29 +0000 (14:01 +0900)]
Revise CMakeLists

Change-Id: I132cbaadcae251b2174b14835a6c8aab28fab86c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoHandle parameter hidden warning #2 16/226116/1 accepted/tizen/unified/20200228.123659 submit/tizen/20200227.123712
Cheoleun Moon [Thu, 27 Feb 2020 04:02:55 +0000 (13:02 +0900)]
Handle parameter hidden warning #2

Local variable in swith-case, input, hides a parameter of the function
process_input()

Change-Id: I51c67f1baafd506f2e5d816fd282cbb3945a16e9
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoFix wrong pointer references in the test code 57/225957/1 accepted/tizen/unified/20200226.124301 submit/tizen/20200226.014233
Semun Lee [Wed, 26 Feb 2020 01:20:02 +0000 (10:20 +0900)]
Fix wrong pointer references in the test code

Change-Id: Ic9991b65cc1ad314c73526f419d8d8d2b7593641
Signed-off-by: Semun Lee <semun.lee@samsung.com>
4 years agoHandle parameter hidden warning 63/224763/1 accepted/tizen/unified/20200221.093557 submit/tizen/20200217.022009
Yu [Thu, 13 Feb 2020 02:14:08 +0000 (11:14 +0900)]
Handle parameter hidden warning

Change-Id: I8d61ae5dd02b0dbf01c7211172a357270a28d669
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoFix bugs which are reported by static analyzer 27/224627/1 submit/tizen/20200212.232659
Yu [Wed, 12 Feb 2020 05:08:14 +0000 (14:08 +0900)]
Fix bugs which are reported by static analyzer

Change-Id: I2686090e2aa37c58026e395450327572e192340f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoFix bugs which are detected by static analyzer 78/223678/2 submit/tizen/20200205.081631
Yu [Mon, 3 Feb 2020 04:09:02 +0000 (13:09 +0900)]
Fix bugs which are detected by static analyzer

Change-Id: I4a28e45afc9930be9ce43d4764d473f832b9330f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoChange reference link 55/218955/4
hyunuk.tak [Fri, 29 Nov 2019 07:05:54 +0000 (16:05 +0900)]
Change reference link

Change-Id: Ia6ddcdf8c87ef3c0c49ee210c3e80d9d04b69e60
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoMerge "Correct API reference" into tizen accepted/tizen/unified/20191112.125238 submit/tizen/20191111.013104
Jaehyun Kim [Mon, 11 Nov 2019 01:23:31 +0000 (01:23 +0000)]
Merge "Correct API reference" into tizen

4 years agoCorrect API reference 40/216240/1
Jaehyun Kim [Tue, 22 Oct 2019 11:35:31 +0000 (20:35 +0900)]
Correct API reference

Change-Id: Ibbac1607fe34b400cf97d0be606c889c7608d5da
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix Wi-Fi Direct CAPI doxygen 38/214938/1
Yu [Mon, 30 Sep 2019 05:12:27 +0000 (14:12 +0900)]
Fix Wi-Fi Direct CAPI doxygen

Change-Id: Ia80f126ffcac7fc076cc996ecc7641c5d223e6d8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoMake a gcov package for coverage 88/209188/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.025821 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065054 accepted/tizen/5.5/unified/wearable/hotfix/20201027.121101 accepted/tizen/unified/20190705.110715 submit/tizen/20190704.043443 submit/tizen/20190705.002959 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 submit/tizen_5.5_wearable_hotfix/20201026.184302 tizen_5.5.m2_release
Yu [Wed, 3 Jul 2019 08:32:00 +0000 (17:32 +0900)]
Make a gcov package for coverage

Change-Id: I276e3e8bbc136398c0f38734f007dfdbbb5ce9b2
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoFix ASAN issue about wrong parameter size 68/205168/1 accepted/tizen/unified/20190502.051419 submit/tizen/20190430.054121
Yu [Tue, 30 Apr 2019 02:01:57 +0000 (11:01 +0900)]
Fix ASAN issue about wrong parameter size

Change-Id: Ief69bfaf10cf78bbd4d1fad9c596070e35c5e96b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoRemove IsGroupOwner call when application initialize capi 30/200030/3 accepted/tizen/unified/20190221.015345 submit/tizen/20190220.080805
Yu [Mon, 18 Feb 2019 07:58:58 +0000 (16:58 +0900)]
Remove IsGroupOwner call when application initialize capi

Description : The IsGroupOnwer method call was used to check
privilege at wifi_direct_initialize. But AddClient method
call checks privilege also. So, that became unnecessary
overhead.

Change-Id: Ibea141920a9f703644ece0dd483d945cc0059e12
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoFix typo in public header 66/197766/2 accepted/tizen/unified/20190116.160747 submit/tizen/20190116.091041
Yu [Wed, 16 Jan 2019 07:42:17 +0000 (16:42 +0900)]
Fix typo in public header

Change-Id: Iee89db5a278b9e6bbfc6469c9429580c6bf67519
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years ago[Multithread support] Maintain ref_count for Dbus signal registration/deregistration 61/196061/1 accepted/tizen/unified/20190115.060004 submit/tizen/20190114.060735 submit/tizen/20190114.074207
Shagun Garg [Fri, 21 Dec 2018 05:39:32 +0000 (11:09 +0530)]
[Multithread support] Maintain ref_count for Dbus signal registration/deregistration

Maintain ref_count for Dbus signal registration/deregistration.
Register for DBus signals only once for a process, irrespective of multiple threads.
Deregiter Dbus signals when ref_count becomes zero.
This patch also handles the case when duplicated signals are being sent to main thread because of multiple threads signal registrations.

Change-Id: I33b1b53f69538e39fdef183fc7f06122e16c324f
Signed-off-by: Shagun Garg <shagun1.garg@samsung.com>
5 years agoSupport for MultiThreaded Applications 12/190012/2 accepted/tizen/unified/20181115.151607 submit/tizen/20181115.005500
Shagun Garg [Wed, 26 Sep 2018 09:18:37 +0000 (14:48 +0530)]
Support for MultiThreaded Applications

This Patch makes the variable "wifi_direct_dbus_signal_map[]" thread specific.
As a result, mutilple threads in a single application can maintain subscription/unsubscription for signals.

Signed-off-by: Shagun Garg <shagun1.garg@samsung.com>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Change-Id: If6a1cfa2563e47c54e61db5bf61dba46660f0869

5 years agoFix typo 11/187711/2 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.013818 accepted/tizen/unified/20180829.142540 submit/tizen/20180828.043551 submit/tizen_5.0/20181101.000002
chleun.moon [Tue, 28 Aug 2018 04:25:43 +0000 (13:25 +0900)]
Fix typo

Change-Id: Ib01123d4ee5c5a818d8a50233953b31230174725
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix invalid syntax for g_variant_get() 67/186867/1
Shagun Garg [Thu, 16 Aug 2018 05:25:52 +0000 (10:55 +0530)]
Fix invalid syntax for g_variant_get()

This patch fixes the error in usage of g_variant_get()

Signed-off-by: Shagun Garg <shagun1.garg@samsung.com>
Change-Id: I9da02346cdfa1eb2557f1b5ba70ed923c9c96d88

5 years agoMerge "Implemented wifi_direct_get_display() and wifi_direct_get_display_availability... accepted/tizen/unified/20180801.144808 submit/tizen/20180731.072936
taesub kim [Tue, 31 Jul 2018 07:28:18 +0000 (07:28 +0000)]
Merge "Implemented wifi_direct_get_display() and wifi_direct_get_display_availability()" into tizen

5 years ago[Prototype] Add APIs to fetch Wi-Fi Display information of own device #2 55/185355/5
taesub.kim [Sun, 29 Jul 2018 23:28:01 +0000 (08:28 +0900)]
[Prototype] Add APIs to fetch Wi-Fi Display information of own device #2

Change-Id: I49e306ace655c748b50d3a8ae77be5942e087c4b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
5 years agoImplemented wifi_direct_get_display() and wifi_direct_get_display_availability() 92/185392/1
Nishant Chaprana [Mon, 30 Jul 2018 06:36:46 +0000 (12:06 +0530)]
Implemented wifi_direct_get_display() and wifi_direct_get_display_availability()

Change-Id: I4571e8ec0ff98ed6524aefbc7861663a9dfb37d3
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoFixed doxygen documentation issues in wifi-direct.h 35/185135/1
Nishant Chaprana [Thu, 26 Jul 2018 06:18:14 +0000 (11:48 +0530)]
Fixed doxygen documentation issues in wifi-direct.h

Change-Id: Iadda688708081fede3cf4ba3b3a904cfe312d71c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years ago[Prototype] Add APIs to fetch Wi-Fi Display information of own device. 45/185045/2
Nishant Chaprana [Wed, 25 Jul 2018 11:49:43 +0000 (17:19 +0530)]
[Prototype] Add APIs to fetch Wi-Fi Display information of own device.

Change-Id: I940d1fe08477a41ac95f22a57a084f1dc3fb00b0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years ago[Fix][stack-buffer-overflow] Use gboolean when using g_variant_get for boolean. 45/184945/1 accepted/tizen/unified/20180726.064923 submit/tizen/20180725.233100
Nishant Chaprana [Tue, 24 Jul 2018 10:42:45 +0000 (16:12 +0530)]
[Fix][stack-buffer-overflow] Use gboolean when using g_variant_get for boolean.

Description: g_variant_get API expects reference of gboolean variable
in third parameter, and we arepassing reference of bool variable.

As per Glib's documentation, gboolean is typecast of int.
=================================================================
(Reference: https://people.gnome.org/~desrt/glib-docs/glib-Basic-Types.html#gboolean)

gboolean

typedef gint   gboolean;

A standard boolean type. Variables of this type should only contain the value TRUE or FALSE.
=================================================================

Change-Id: I89ee1d9e367efec6355d31837d3efbcb13d0fabb
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoFix: Call connection callback at reception of "DisconectionInd" event 42/179742/2 accepted/tizen/unified/20180523.144416 submit/tizen/20180522.233138
Milind Murhekar [Mon, 21 May 2018 13:39:18 +0000 (19:09 +0530)]
Fix: Call connection callback at reception of "DisconectionInd" event

Description: This patch fixes the scenario in which connection callback
is never called when wfd-manager sends DisconnectionInd event.

Change-Id: Ic06835b5e51ea3779b56848d3691b25938139165
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years agoAdd Not supported error for some CAPIs 62/176862/2 accepted/tizen/unified/20180427.062356 submit/tizen/20180426.072841
Jiung [Tue, 24 Apr 2018 04:47:52 +0000 (13:47 +0900)]
Add Not supported error for some CAPIs

Change-Id: I763ddef7aa718ae7fa9d00631e69c429a2922984
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdd CAPI description about returning error 16/176816/2
Jiung [Mon, 23 Apr 2018 23:56:01 +0000 (08:56 +0900)]
Add CAPI description about returning error

Change-Id: I3e340c9f0828c8c827a18a044c2048bb7b3face6
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdd new APIs for Wi-Fi Direct 58/174258/15
Milind Murhekar [Thu, 29 Mar 2018 09:59:31 +0000 (15:29 +0530)]
Add new APIs for Wi-Fi Direct

Decription: This patch adds the new API's
for below functionalities for Wi-Fi Direct Applications.

a) create Group with SSID
b) set/get go intent based on device type
c) set/unset notification for peer device info connection state
d) set/get WPS config method
e) remove persistent device based on BSSID
f) remove all persistent device

Change-Id: Ib0b2fe539737de038f5430cd64ebda33e238ef1b
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years agoMerge "Fix various bugs from static analysis in a test file" into tizen accepted/tizen/unified/20180320.141355 submit/tizen/20180318.231541 submit/tizen/20180320.043504
taesub kim [Fri, 16 Mar 2018 00:02:06 +0000 (00:02 +0000)]
Merge "Fix various bugs from static analysis in a test file" into tizen

6 years agoFix various bugs from static analysis in a test file 56/172356/1
Taesoo Jun [Tue, 13 Mar 2018 10:22:41 +0000 (19:22 +0900)]
Fix various bugs from static analysis in a test file

Change-Id: Ic134afb2d20215b8a9826fbb804facbdc5c9be81

6 years agoFix resource leak 13/172213/2
Jiung [Mon, 12 Mar 2018 23:56:49 +0000 (08:56 +0900)]
Fix resource leak

Change-Id: Ia675d3ff4f55ac2ec1a242a140e40d04558e4ef0
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoImplemented wifi_direct_get_peer_vsie() 25/170125/2 accepted/tizen/unified/20180302.061518 submit/tizen/20180228.035728
Nishant Chaprana [Tue, 13 Feb 2018 11:42:55 +0000 (17:12 +0530)]
Implemented wifi_direct_get_peer_vsie()

Change-Id: Ida380a49e368ffd5a8d4b95491d1a08a9ea2e9af
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoDeprecated wifi_display_type_e as it is no more used by library. 55/168655/6 accepted/tizen/unified/20180226.061656 submit/tizen/20180213.000354 submit/tizen/20180225.225905
Jiung [Tue, 30 Jan 2018 05:29:35 +0000 (14:29 +0900)]
Deprecated wifi_display_type_e as it is no more used by library.
Instead of wifi_display_type_e library uses wifi_direct_display_type_e

Change-Id: I500e8f6569ce116c3a28640e575648bffa3a65da
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoDeprecated vsie_info from discovered peer infor structure 54/168654/3
Jiung [Tue, 30 Jan 2018 05:27:34 +0000 (14:27 +0900)]
Deprecated vsie_info from discovered peer infor structure

Change-Id: I0b1d4504b6e92ecd56057ac8831470f9adb0d5c1
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdd wifi_direct_get_peer_vsie() API 53/168653/2
Jiung [Tue, 30 Jan 2018 05:24:46 +0000 (14:24 +0900)]
Add wifi_direct_get_peer_vsie() API

Change-Id: I63ea17a7f8981bf9b1d03212eb7d0f8dc4937316
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdded test rpm 51/168251/1 accepted/tizen/unified/20180130.144327 submit/tizen/20180129.223849
taesub kim [Thu, 25 Jan 2018 07:39:32 +0000 (16:39 +0900)]
Added test rpm

Change-Id: If1d548ddbc7774288aeb3545f99a8db0ba4e0a6f
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdd API usage guide in doxygen report 32/146932/3 accepted/tizen/unified/20180126.042850 submit/tizen/20180125.231503
Milind Ramesh Murhekar [Thu, 31 Aug 2017 07:09:10 +0000 (12:39 +0530)]
Add API usage guide in doxygen report

Decription: This patch adds the API usage code
snippet to demonstrate the functionality of all API's
in doxygen report of Wi-Fi Direct.

Change-Id: Id7cd139d9524efd1f585a4de1e328d1d78bffaff
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
6 years agoRemove unused RPM 29/146929/1 accepted/tizen/unified/20170913.071047 submit/tizen/20170911.125730
Jiung [Thu, 31 Aug 2017 06:34:59 +0000 (15:34 +0900)]
Remove unused RPM

Change-Id: I5efa67548422f7da6e3c0509bb0661ab59008c00
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoRemove the TIZEN_FEATURE_WIFI_DIRECT_ON_DEMAND build flag 22/139222/3 accepted/tizen/4.0/unified/20170816.012201 accepted/tizen/4.0/unified/20170828.223824 accepted/tizen/unified/20170801.054929 submit/tizen/20170731.064647 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100002
Jiung Yu [Tue, 18 Jul 2017 04:05:34 +0000 (13:05 +0900)]
Remove the TIZEN_FEATURE_WIFI_DIRECT_ON_DEMAND build flag

Description: We'll handle this feature only in wfd-manager and
it's configuration file.

Change-Id: Icbdb2a87edbdad21e4c50d99774aef08c897776f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoRemove TIZEN_FEATURE_SERVICE_DISCOVERY build flag 85/138385/1
Jiung Yu [Wed, 12 Jul 2017 05:02:35 +0000 (14:02 +0900)]
Remove TIZEN_FEATURE_SERVICE_DISCOVERY build flag

Description: Remove this flag and manage it at run time.
If "http://tizen.org/feature/network.wifi.direct.service_discovery"
is disabled in model configuration, we won't  handle related part.

Change-Id: I8c75dbd1db0456bc87de480827d296769d9f000f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoRemove build flag TIZEN_FEATURE_WIFI_DISPLAY 00/138100/1
Jiung Yu [Tue, 11 Jul 2017 05:25:29 +0000 (14:25 +0900)]
Remove build flag TIZEN_FEATURE_WIFI_DISPLAY

Description: We have added new features with build flags.
But it makes spec file complicated. So we'll manage this feature
at run time not compile time.

Change-Id: Ia419ba5d7051caa1cf8a1216c83b73e30af95a1f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoCorrected the memory allocation for [out] variables as per CAPI description. 77/137077/1 accepted/tizen/unified/20170707.154553 submit/tizen/20170706.230808
Nishant Chaprana [Tue, 4 Jul 2017 09:24:36 +0000 (14:54 +0530)]
Corrected the memory allocation for [out] variables as per CAPI description.

Change-Id: Ic8daca49ecae954389ce3ead827b12c4b5dce4a8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoCorrected formatting issues and missing references in Header file. 73/137073/1
Nishant Chaprana [Tue, 4 Jul 2017 05:11:22 +0000 (10:41 +0530)]
Corrected formatting issues and missing references in Header file.

Change-Id: Iacbf37d0bf56a492285955eb64b4dda7eb5de072
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoAppend empty dictionary entry a{sv} as param in CreateGroup call. 84/131984/1 accepted/tizen/unified/20170608.184740 submit/tizen/20170608.074045
Nishant Chaprana [Wed, 31 May 2017 11:27:25 +0000 (16:57 +0530)]
Append empty dictionary entry a{sv} as param in CreateGroup call.

Patch is in conjunction with https://review.tizen.org/gerrit/#/c/130525/.

Change-Id: I174366725c9df78ca17921e6278cf36434703752
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years ago[test] Use proper input message in CMD_SET_AUTO_GROUP_REMOVAL 81/131981/2
Nishant Chaprana [Wed, 31 May 2017 11:22:13 +0000 (16:52 +0530)]
[test] Use proper input message in CMD_SET_AUTO_GROUP_REMOVAL

Change-Id: I40fb1f545f3a25e261d04b0069f6918c8d6e7a70
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoRemove .so file from binary package 84/131184/1 accepted/tizen/unified/20170602.154226 submit/tizen/20170601.042236
chleun.moon [Fri, 26 May 2017 00:33:17 +0000 (09:33 +0900)]
Remove .so file from binary package

Change-Id: I59913e6743dc57bcc2b76e2622b14d4b4df76d8c
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years agoModified API reference feature link 84/130384/1 accepted/tizen/unified/20170531.082407 submit/tizen/20170523.030944
taesub kim [Mon, 22 May 2017 07:07:21 +0000 (16:07 +0900)]
Modified API reference feature link

Change-Id: I302c9a2fbe80ac6f6b6588f2ddcee00fa247a9c7
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoRearrange the header format 02/127602/1 accepted/tizen/unified/20170502.041155 submit/tizen/20170502.020209 tizen_4.0.m1_release
Jiung Yu [Fri, 28 Apr 2017 05:19:52 +0000 (14:19 +0900)]
Rearrange the header format

Change-Id: I429e5f90387d30f66017dbedc116237a7fe536a3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdded implementation for new APIs. 88/127188/1 accepted/tizen/unified/20170428.032837 submit/tizen/20170427.090631
Nishant Chaprana [Wed, 26 Apr 2017 10:23:17 +0000 (15:53 +0530)]
Added implementation for new APIs.

Description: Implementation for below APIs are added:-
1. wifi_direct_add_vsie
2. wifi_direct_get_vsie
3. wifi_direct_remove_vsie
4. wifi_direct_get_connecting_peer_info
5. wifi_direct_start_discovery_specific_freq

Change-Id: I0f361ff70dd8cd1171e1599e987291d618884f42
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoMerge "Add CAPIs to control VSIE, set freq. for scan and get connecting peers" into...
taesub kim [Wed, 26 Apr 2017 08:40:03 +0000 (08:40 +0000)]
Merge "Add CAPIs to control VSIE, set freq. for scan and get connecting peers" into tizen

7 years agoFixed static analysis errors from cppcheck. 51/124051/3
Nishant Chaprana [Mon, 10 Apr 2017 05:01:58 +0000 (10:31 +0530)]
Fixed static analysis errors from cppcheck.

wifi-direct$ cppcheck --enable=all --force ./ | grep error
[src/wifi-direct-client-proxy.c:1160] -> [src/wifi-direct-client-proxy.c:1164]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[src/wifi-direct-client-proxy.c:2425]: (style) Variable 'result' is assigned a value that is never used.
[test/test-wifi-direct.c:892] -> [test/test-wifi-direct.c:878]: (warning) Possible null pointer dereference: ad - otherwise it is redundant to check it against null.
[test/test-wifi-direct.c:893] -> [test/test-wifi-direct.c:878]: (warning) Possible null pointer dereference: ad - otherwise it is redundant to check it against null.
[test/test-wifi-direct.c:2514]: (warning) Array index -1 is out of bounds. Otherwise there is useless condition at line 2515.
[test/test-wifi-direct.c:2464]: (portability) scanf without field width limits can crash with huge input data on some versions of libc.
[test/test-wifi-direct.c:891]: (error) Uninitialized variable: result
[src/wifi-direct-client-proxy.c:682]: (style) The function '__wfd_client_print_connected_peer_info' is never used.
[src/wifi-direct-client-proxy.c:665]: (style) The function '__wfd_client_print_entry_list' is never used.
[src/wifi-direct-client-proxy.c:698]: (style) The function '__wfd_client_print_persistent_group_info' is never used.
[test/test-wifi-direct.c:304]: (style) The function 'get_appdata' is never used.
[test/test-wifi-direct.c:341]: (style) The function 'usage' is never used.
[src/wifi-direct-dbus.c:151]: (style) The function 'wifi_direct_dbus_method_call_sync_debug' is never used.
[src/wifi-direct-client-proxy.c:1110]: (style) The function 'wifi_direct_unset_client_ip_address_assigned_cb' is never used.
(information) Cppcheck cannot find all the include files (use --check-config for details)

Change-Id: Ic9931366bb562a0f73d29ce24f67a65bfdd499eb
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAdd CAPIs to control VSIE, set freq. for scan and get connecting peers 01/123901/16
Yu Jiung [Fri, 7 Apr 2017 10:22:15 +0000 (19:22 +0900)]
Add CAPIs to control VSIE, set freq. for scan and get connecting peers

Change-Id: I353369f53620c2b5c4721f8cb265cdbcd26118a3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoBug Fix and code cleaup 05/125805/3 accepted/tizen/unified/20170425.044941 submit/tizen/20170424.094825
Milind Ramesh Murhekar [Tue, 18 Apr 2017 15:06:29 +0000 (20:36 +0530)]
Bug Fix and code cleaup

Description: This change includes the
VD tizen 3.0 product changes which merged as a bug fixes
and code clean up

Change-Id: Ic9a8ab65c347eccc5028e457ced95c14e5bbddc8
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoAdded NOTICE file 76/118176/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170313.162410 accepted/tizen/ivi/20170313.042635 accepted/tizen/mobile/20170313.042542 accepted/tizen/tv/20170313.042604 accepted/tizen/unified/20170313.042700 accepted/tizen/wearable/20170313.042620 submit/tizen/20170313.001510
taesub kim [Thu, 9 Mar 2017 05:47:57 +0000 (14:47 +0900)]
Added NOTICE file

Change-Id: Ic1b3f1cecbd403ac705ce3b44f4824f962daa1df
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "Provides libwifi-direct.so.0 explicitly" into tizen accepted/tizen/common/20170210.170550 accepted/tizen/ivi/20170214.011048 accepted/tizen/mobile/20170214.010853 accepted/tizen/tv/20170214.010931 accepted/tizen/unified/20170309.032042 accepted/tizen/wearable/20170214.011017 submit/tizen/20170210.072732 submit/tizen/20170210.083740 submit/tizen_unified/20170308.100405
taesub kim [Thu, 9 Feb 2017 01:29:33 +0000 (17:29 -0800)]
Merge "Provides libwifi-direct.so.0 explicitly" into tizen

7 years agoProvides libwifi-direct.so.0 explicitly 65/113665/1
Yu Jiung [Wed, 8 Feb 2017 09:18:19 +0000 (18:18 +0900)]
Provides libwifi-direct.so.0 explicitly

Change-Id: I553b36cb6b4f60a3c8219943b28f6bcbe3b97cda
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoCorrect doxygen 75/112075/1 tizen_3.0_tv accepted/tizen/3.0/common/20170201.163936 accepted/tizen/3.0/ivi/20170201.035045 accepted/tizen/3.0/mobile/20170201.034959 accepted/tizen/3.0/tv/20170201.035013 accepted/tizen/3.0/wearable/20170201.035035 submit/tizen_3.0/20170126.063039
chleun.moon [Thu, 26 Jan 2017 01:22:09 +0000 (10:22 +0900)]
Correct doxygen

Change-Id: I359ffe3f289edd40fd4e7e3d4fce1158b3a96b95
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 81/110081/1 accepted/tizen/common/20170207.062007 accepted/tizen/ivi/20170207.092053 accepted/tizen/mobile/20170207.092011 accepted/tizen/tv/20170207.092027 accepted/tizen/wearable/20170207.092041 submit/tizen/20170207.045631
Yu Jiung [Fri, 13 Jan 2017 01:29:59 +0000 (10:29 +0900)]
Merge branch 'tizen_3.0' into tizen

Conflicts:
include/wifi-direct.h
packaging/capi-network-wifi-direct.spec

Change-Id: Id2326863999ddbd500a71f961a7513ed800c2c22
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix warnings when generating 3.0 API reference 65/109165/1 accepted/tizen/3.0/common/20170109.200013 accepted/tizen/3.0/ivi/20170109.074810 accepted/tizen/3.0/mobile/20170109.074714 accepted/tizen/3.0/tv/20170109.074730 accepted/tizen/3.0/wearable/20170109.074748 submit/tizen_3.0/20170109.061229
Yu Jiung [Mon, 9 Jan 2017 06:01:04 +0000 (15:01 +0900)]
Fix warnings when generating 3.0 API reference

Change-Id: I6c2d05301cff086b62f496293e3e2c9930fde0d3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "Remove Profile Build Dependency (m/t/c)" into tizen
cheoleun moon [Fri, 30 Dec 2016 01:48:00 +0000 (17:48 -0800)]
Merge "Remove Profile Build Dependency (m/t/c)" into tizen

7 years agoModify the header and documentation 17/105617/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121917 accepted/tizen/3.0.m2/tv/20170104.122433 accepted/tizen/3.0.m2/wearable/20170104.122834 accepted/tizen/3.0/common/20161221.180645 accepted/tizen/3.0/ivi/20161221.005350 accepted/tizen/3.0/mobile/20161221.005407 accepted/tizen/3.0/tv/20161221.005304 accepted/tizen/3.0/wearable/20161221.005331 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161219.100739
Yu Jiung [Mon, 19 Dec 2016 04:50:22 +0000 (13:50 +0900)]
Modify the header and documentation

Change-Id: I9dd40954ab2f67cb3eb59de28c6d88befdbafac5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoModify the header and documentation 63/105563/4
Yu Jiung [Mon, 19 Dec 2016 04:50:22 +0000 (13:50 +0900)]
Modify the header and documentation

Change-Id: I9dd40954ab2f67cb3eb59de28c6d88befdbafac5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove Profile Build Dependency (m/t/c) 11/97111/2
MyungJoo Ham [Fri, 11 Nov 2016 07:13:26 +0000 (16:13 +0900)]
Remove Profile Build Dependency (m/t/c)

- This is for Tizen 4.0.

- When this gets SR, the maintainer needs to create a JIRA-TRE issue of:

  Add capi-network-wifi-direct-profile_common for common profile
  Add capi-network-wifi-direct-profile_mobile for mobile profile
  Add capi-network-wifi-direct-profile_tv for tv profile

- It'd be better to distinguish such features at runtime using CAPI(system-info)
 or VCONF/BUXTON; however, such refactoring can be done later and this modification
 is enough for Tizen 4.0 Configurability & Building Blocks.

Change-Id: Id5ccb8856f58d5f8096ba7d3f76e7594d7d1cf0f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMerge branch 'tizen' into tizen_3.0 78/96678/1 accepted/tizen/3.0/common/20161117.090516 accepted/tizen/3.0/ivi/20161117.021456 accepted/tizen/3.0/mobile/20161117.021410 accepted/tizen/3.0/tv/20161117.021425 accepted/tizen/3.0/wearable/20161117.021440 submit/tizen_3.0/20161116.022802
chleun.moon [Thu, 10 Nov 2016 00:33:13 +0000 (09:33 +0900)]
Merge branch 'tizen' into tizen_3.0
Fix formatting issues in wifi-direct.h and coding rule issue in
test-wifi-direct.c

Change-Id: I52dd703cb80219341dcf2a12bd552f8732e0edbc
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge branch 'tizen' into tizen_3.0 67/94967/1 accepted/tizen/3.0/common/20161114.082001 accepted/tizen/3.0/ivi/20161102.075848 accepted/tizen/3.0/mobile/20161102.075801 accepted/tizen/3.0/tv/20161102.075818 accepted/tizen/3.0/wearable/20161102.075834 submit/tizen_3.0/20161102.052717 submit/tizen_3.0_common/20161110.084657
chleun.moon [Wed, 2 Nov 2016 05:12:33 +0000 (14:12 +0900)]
Merge branch 'tizen' into tizen_3.0

Change-Id: Ibf05506b3c13b195d687132a2c3494fbf68e9126
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix formatting issues in wifi-direct.h and coding rule issue in test-wifi-direct.c 28/94928/1 accepted/tizen/common/20161116.134428 accepted/tizen/common/20170111.155011 accepted/tizen/ivi/20161117.010110 accepted/tizen/mobile/20161117.005951 accepted/tizen/tv/20161117.010011 accepted/tizen/wearable/20161117.010022 submit/tizen/20161116.043314 submit/tizen_common/20170111.150147
Nishant Chaprana [Wed, 2 Nov 2016 04:27:11 +0000 (09:57 +0530)]
Fix formatting issues in wifi-direct.h and coding rule issue in test-wifi-direct.c

Change-Id: I8ddec5a05365c6e9ed36fcef7c9aaf441a9b8671
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoRemoved redundant NULL check for pin in wifi_direct_get_wps_pin() 84/93984/1 accepted/tizen/common/20161102.121916 accepted/tizen/ivi/20161102.073217 accepted/tizen/mobile/20161102.073127 accepted/tizen/tv/20161102.073141 accepted/tizen/wearable/20161102.073155 submit/tizen/20161102.022647
Nishant Chaprana [Wed, 26 Oct 2016 11:43:27 +0000 (17:13 +0530)]
Removed redundant NULL check for pin in wifi_direct_get_wps_pin()

Change-Id: Id3797e2f0844eff5a5d22e50ea617fe2707f5fd0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoModify the logic for WPS PIN connection 36/92436/1 accepted/tizen/3.0/ivi/20161028.123118 accepted/tizen/3.0/mobile/20161028.122439 accepted/tizen/3.0/tv/20161028.122603 accepted/tizen/3.0/wearable/20161028.122820 accepted/tizen/common/20161019.145719 accepted/tizen/ivi/20161021.062432 accepted/tizen/mobile/20161021.062325 accepted/tizen/tv/20161021.062345 accepted/tizen/wearable/20161021.062411 submit/tizen/20161019.063605 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
Yu Jiung [Mon, 17 Oct 2016 04:39:40 +0000 (13:39 +0900)]
Modify the logic for WPS PIN connection

Change-Id: If019597fa2a4bc7b7c8a81f21182731f3d122317
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd parsing for Wi-Fi Direct status vconfkey value 66/91366/1 accepted/tizen/common/20161012.154239 accepted/tizen/ivi/20161012.113718 accepted/tizen/mobile/20161012.113633 accepted/tizen/tv/20161012.113652 accepted/tizen/wearable/20161012.113701 submit/tizen/20161012.014104
Yu Jiung [Fri, 7 Oct 2016 07:05:22 +0000 (16:05 +0900)]
Add parsing for Wi-Fi Direct status vconfkey value

Change-Id: I54b7ba48eea1f573edc7fc9843fc0a650e0645e6
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[wifi-direct]: Added support of "wifi_direct_get_peer_rssi" CAPI 27/90327/7 accepted/tizen/3.0/ivi/20161011.070328 accepted/tizen/3.0/mobile/20161015.034354 accepted/tizen/3.0/tv/20161016.005957 accepted/tizen/3.0/wearable/20161015.084435 accepted/tizen/common/20161006.153621 accepted/tizen/ivi/20161006.080220 accepted/tizen/mobile/20161006.080118 accepted/tizen/tv/20161006.080145 accepted/tizen/wearable/20161006.080201 submit/tizen/20161006.010203 submit/tizen_3.0_ivi/20161010.000008 submit/tizen_3.0_mobile/20161015.000007 submit/tizen_3.0_tv/20161015.000006 submit/tizen_3.0_wearable/20161015.000006
Maneesh Jain [Thu, 8 Sep 2016 11:59:24 +0000 (17:29 +0530)]
[wifi-direct]: Added support of "wifi_direct_get_peer_rssi" CAPI

Description: This CAPI is used to extract the signal strength(i.e. RSSI)
of Peer Device.

Change-Id: Ief91065b8128b29390ff45dc97b4db5969439c92
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years ago[wifi-direct]: Add prototype of "wifi_direct_get_peer_rssi" CAPI 94/87294/9
Maneesh Jain [Wed, 7 Sep 2016 08:36:00 +0000 (14:06 +0530)]
[wifi-direct]: Add prototype of "wifi_direct_get_peer_rssi" CAPI

Change-Id: I24159b8f264477c304b1646e5c1052b90ef0126f
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoRemove reference warning 66/89266/1 accepted/tizen/common/20160928.164145 accepted/tizen/ivi/20160929.081230 accepted/tizen/mobile/20160929.081123 accepted/tizen/tv/20160929.081206 accepted/tizen/wearable/20160929.081047 submit/tizen/20160928.053415
chleun.moon [Fri, 23 Sep 2016 02:03:35 +0000 (11:03 +0900)]
Remove reference warning

Change-Id: Iec9b6be8c6dc10047a7ceb57bb7e33ea070a9735
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoAdded Handling of ON DEMAND Services for wfd-manager in intialise call 18/85518/3 accepted/tizen/common/20160831.161656 accepted/tizen/ivi/20160831.080224 accepted/tizen/mobile/20160831.080101 accepted/tizen/tv/20160831.080127 accepted/tizen/wearable/20160831.080155 submit/tizen/20160831.022854
Milind Ramesh Murhekar [Thu, 25 Aug 2016 12:03:56 +0000 (17:33 +0530)]
Added Handling of ON DEMAND Services for wfd-manager in intialise call

Description: Added dbus method call to Add active client id
when application calls wifi_direct_initialise().

Change-Id: If15b54fa1fcbc19b067993367d7a765c01d0adeb
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoUpgrading signal subscription logic. 46/84646/1 accepted/tizen/common/20160824.154526 accepted/tizen/ivi/20160825.000601 accepted/tizen/mobile/20160825.000508 accepted/tizen/tv/20160825.000525 accepted/tizen/wearable/20160825.000540 submit/tizen/20160824.043713
Nishant Chaprana [Sat, 20 Aug 2016 05:49:53 +0000 (11:19 +0530)]
Upgrading signal subscription logic.

Currently there is a common signal handler which receives signal
and then checks signal name to call signals handler function.

This process is done for every received signal.

If we register signals seperately then dbus will directly call
signal handler function.

Change-Id: Id3b641a19782da2163f1c3e5aebb63776738f849
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoGetting primary and secondary device type from wifi-direct-manager. 04/84004/1 accepted/tizen/common/20160818.144048 accepted/tizen/ivi/20160818.231618 accepted/tizen/mobile/20160818.231602 accepted/tizen/tv/20160818.231611 accepted/tizen/wearable/20160818.231551 submit/tizen/20160818.002458
Nishant Chaprana [Tue, 16 Aug 2016 07:46:00 +0000 (13:16 +0530)]
Getting primary and secondary device type from wifi-direct-manager.

This patch changes logic to get primary and secondary device type
from wifi-direct-manager and also removes TIZEN_TV macro.

Change-Id: Ia28c9bc08e9bf063c2bdea709e39f3625a733c0f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoRemove ambigous mac_address variable in DeviceAddress handling in wifi_direct_get_pee... 03/84003/1
Nishant Chaprana [Tue, 16 Aug 2016 07:41:17 +0000 (13:11 +0530)]
Remove ambigous mac_address variable in DeviceAddress handling in wifi_direct_get_peer_info().

Change-Id: Ia5e23a8bc20bdafff4e60672ea7ec8244b049f91
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoChanged File permissions 755 => 644. 02/84002/1
Nishant Chaprana [Tue, 16 Aug 2016 07:39:23 +0000 (13:09 +0530)]
Changed File permissions 755 => 644.

Change-Id: Ifd328db5816e53fe7e8b2d2c3de907c40d02bc03
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAdded support for Multi-threaded Applicaitons. 35/79635/2 accepted/tizen/common/20160805.130035 accepted/tizen/ivi/20160809.011030 accepted/tizen/mobile/20160809.010944 accepted/tizen/tv/20160809.010953 accepted/tizen/wearable/20160809.011009 submit/tizen/20160805.044059
Nishant Chaprana [Tue, 12 Jul 2016 07:01:28 +0000 (12:31 +0530)]
Added support for Multi-threaded Applicaitons.

This patch adds support for multi-threaded applications in wifi-direct
library. This patch also cleans unused variables and 80 character line
length issue in src/wifi-direct-dbus.c file.

Change-Id: I91b59394c79ff6a4f8f57e2ef1cd046407bbed95
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoModify returning status value 87/75687/3 accepted/tizen/common/20160621.184504 accepted/tizen/ivi/20160623.120452 accepted/tizen/mobile/20160623.120352 accepted/tizen/tv/20160623.120411 accepted/tizen/wearable/20160623.120432 submit/tizen/20160621.060739 submit/tizen/20160621.234856
Yu Jiung [Tue, 21 Jun 2016 02:36:56 +0000 (11:36 +0900)]
Modify returning status value

Description : There's no group owner state. Wi-Fi Direct
state regarding that as connected.

Change-Id: Ie0bde0944060c1dcecedd2d4f1873ed6dd9db415
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix WIFI_DIRECT_DISCOVERY_LOST enum value to avoid ABI issue 68/75168/3 accepted/tizen/common/20160620.163540 accepted/tizen/ivi/20160620.081604 accepted/tizen/mobile/20160620.081514 accepted/tizen/tv/20160620.081530 accepted/tizen/wearable/20160620.081548 submit/tizen/20160620.015850
Yu Jiung [Fri, 17 Jun 2016 02:28:14 +0000 (11:28 +0900)]
Fix WIFI_DIRECT_DISCOVERY_LOST enum value to avoid ABI issue

Change-Id: Idcb6ce7e7b6f4ef93287af6e87c1c9429295ba84
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "Add set callback API to get Wi-Fi Direct state using vconf" into tizen accepted/tizen/common/20160617.121941 accepted/tizen/ivi/20160620.024314 accepted/tizen/mobile/20160620.024158 accepted/tizen/tv/20160620.024220 accepted/tizen/wearable/20160620.024247 submit/tizen/20160617.081742
taesub kim [Fri, 17 Jun 2016 01:48:33 +0000 (18:48 -0700)]
Merge "Add set callback API to get Wi-Fi Direct state using vconf" into tizen

7 years agoMerge "Make wifi_direct_get_state API work without any precondition" into tizen
taesub kim [Fri, 17 Jun 2016 01:48:14 +0000 (18:48 -0700)]
Merge "Make wifi_direct_get_state API work without any precondition" into tizen

7 years agoMerge "Modify the privilege for each APIs" into tizen
taesub kim [Fri, 17 Jun 2016 01:47:59 +0000 (18:47 -0700)]
Merge "Modify the privilege for each APIs" into tizen

7 years agoMerge "[test-wifi-direct] Checking connected peer list when disconnecting peer."...
taesub kim [Fri, 17 Jun 2016 01:47:34 +0000 (18:47 -0700)]
Merge "[test-wifi-direct] Checking connected peer list when disconnecting peer." into tizen

7 years agoApply coding rule 92/74892/1 accepted/tizen/common/20160616.151758 accepted/tizen/ivi/20160617.081455 accepted/tizen/mobile/20160617.081136 accepted/tizen/tv/20160617.081232 accepted/tizen/wearable/20160617.081306 submit/tizen/20160616.005920
taesubkim [Thu, 16 Jun 2016 04:26:07 +0000 (13:26 +0900)]
Apply coding rule

Change-Id: I00539f5ec4a90621d22d80bf3d1b84a8e3de8695
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdd set callback API to get Wi-Fi Direct state using vconf 84/72084/10
Yu Jiung [Mon, 30 May 2016 11:25:50 +0000 (20:25 +0900)]
Add set callback API to get Wi-Fi Direct state using vconf

Description : Add following APIs which don't need to
invoke wfd-manager daemon to get Wi-Fi Direct state
wifi_direct_set_state_changed_cb()
wifi_direct_unset_state_changed_cb()

Change-Id: I74ac2d17b768386a5083cbf9bbba29366fdafdb3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[test-wifi-direct] Checking connected peer list when disconnecting peer. 28/74528/1
Nishant Chaprana [Tue, 14 Jun 2016 11:50:51 +0000 (17:20 +0530)]
[test-wifi-direct] Checking connected peer list when disconnecting peer.

This patch checks connected peer list when disconnecting peer.
Currently discovered peer list is checked for disconnection.

Change-Id: Ibb983b7e663a0cc9042bbf9cabbe708bc4480afc
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoMake wifi_direct_get_state API work without any precondition 83/72083/5
Yu Jiung [Mon, 30 May 2016 11:21:01 +0000 (20:21 +0900)]
Make wifi_direct_get_state API work without any precondition

Description : wifi_direct_get_state API uses vconf to get
Wi-Fi Direct state. Applications can use this API without
triggering DBUS method or launching wfd-manager daemon

Change-Id: I0ec5eafb8e24dd71791854cfb031426661f55258
Signed-off-by: Yu jiung <jiung.yu@samsung.com>