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>
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>
Jiung Yu [Thu, 15 Jul 2021 08:11:29 +0000 (08:11 +0000)]
Merge "Added multi-threaded support in wifi-direct CAPI." into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jaehyun Kim [Mon, 11 Nov 2019 01:23:31 +0000 (01:23 +0000)]
Merge "Correct API reference" into tizen
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
taesub kim [Thu, 9 Feb 2017 01:29:33 +0000 (17:29 -0800)]
Merge "Provides libwifi-direct.so.0 explicitly" into tizen
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>
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>
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>
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>
cheoleun moon [Fri, 30 Dec 2016 01:48:00 +0000 (17:48 -0800)]
Merge "Remove Profile Build Dependency (m/t/c)" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
taesub kim [Fri, 17 Jun 2016 01:47:59 +0000 (18:47 -0700)]
Merge "Modify the privilege for each APIs" into tizen
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
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>
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>
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>
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>
Yu Jiung [Mon, 30 May 2016 07:13:18 +0000 (16:13 +0900)]
Modify the privilege for each APIs
Description : Some APIs don't need ot return the
WIFI_DIRECT_ERROR_PERMISSION_DENIED error because there's no
privilege check and that API doesn't provide private information
Change-Id: Ic183a7c025cfdfe88cc6fdd2da9c4b7a0e7f1b62
Signed-off-by: Yu jiung <jiung.yu@samsung.com>