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>
taesubkim [Fri, 3 Jun 2016 07:26:45 +0000 (16:26 +0900)]
Remove the gcov flag
Change-Id: I49c56dc93b8738b47c28699b8bdc9b15b7b83d98
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Maneesh Jain [Thu, 19 May 2016 12:40:32 +0000 (18:10 +0530)]
[wifi-direct]: Added support of "wifi_direct_set_auto_group_removal()" CAPI
Description: Role of CAPI: :Enables / Disables automatic group
removal feature when all peers are disconnected
Change-Id: I69ed4044d9339429415dfffbdba95802455de036
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Maneesh Jain [Thu, 19 May 2016 07:32:22 +0000 (13:02 +0530)]
[wifi-direct]: Implement support of following CAPI
\1. wifi_direct_get_session_timer()
\2.wifi_direct_set_session_timer()
Change-Id: I2aa3b5666337e89e99094f3a97a298a2c7a5929d
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Yu Jiung [Wed, 18 May 2016 07:47:43 +0000 (16:47 +0900)]
Add symbolic link for libwifi-direct named libwifi-direct.0
Description : Unfortunately, Wi-Fi Direct library of Tizen 2.4
had major version 0. So, there's backward compatibility issue
because major version of Tizen 3.0 will be 1. This patch might
solve that issue and make Tizen 2.4 application happy.
Change-Id: I859bb19435ef25085b089d9f62343484accf7384
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Wed, 18 May 2016 06:35:03 +0000 (15:35 +0900)]
Modify the way to copying license file on RPM packages
Change-Id: I87af543bbabd8a2950d437d06b2ea466d9ac867a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Maneesh Jain [Thu, 12 May 2016 10:31:59 +0000 (16:01 +0530)]
[wifi-direct][Merged]: Added new CAPI's Prototype in WiFI Direct Header File
a./ wifi_direct_set_session_timer()
b./ wifi_direct_get_session_timer()
c./ wifi_direct_set_auto_group_removal()
Change-Id: I63c1d96cc9bdf11cf8ea1718dbc74f07d1035f85
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Yu Jiung [Mon, 16 May 2016 07:50:58 +0000 (16:50 +0900)]
Enable Wi-Fi Direct Display and Service Discovery code for common profile
Change-Id: I7b1dc37bf7bc0df9eb068a5b09f1bde88bd2669d
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Wed, 27 Apr 2016 08:24:02 +0000 (17:24 +0900)]
Add build configuration for common profile
Change-Id: Iaac3aa415f1839a1419a3c5796b7381b8673a9c3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Mon, 18 Apr 2016 06:08:12 +0000 (15:08 +0900)]
Apply Tizen coding rules2
Change-Id: I97c3162266ca32bc0e5c11fc09e82fbb5027fc14
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Fri, 1 Apr 2016 04:34:53 +0000 (13:34 +0900)]
Apply Tizen coding rules
Change-Id: I4cf1df84725683f911f770a377b24bfca7f046f1
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Tue, 29 Mar 2016 00:00:24 +0000 (09:00 +0900)]
Add macros to check line coverage of UTC
Change-Id: Ieb9f813ddcfab73b496490fa4f0e327d6e95d6b9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Mon, 28 Mar 2016 02:04:27 +0000 (11:04 +0900)]
Fix the return value for privilege error
Change-Id: Ie733a6149b076a317a675e83ca1ec956fe6e07a5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Seonah Moon [Fri, 25 Mar 2016 05:13:14 +0000 (14:13 +0900)]
[SVACE][TIZEN_3.0_TV][Critical][WGID-66380] MEMORY_LEAK
Change-Id: I87c52a2048de023cea3fd043155e3c396d20df89
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Yu Jiung [Thu, 24 Mar 2016 06:04:21 +0000 (15:04 +0900)]
Use GError to indicate Wi-Fi Direct error
Change-Id: Idb3cc9b314196605aea48b250434f73693b81b73
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Maneesh Jain [Sat, 19 Mar 2016 09:48:26 +0000 (05:48 -0400)]
[wifi-direct]:Fixed SVACE Issue
Description: Replace strok() to strok_r()
Change-Id: I7364574b218e9a484e4acc93d474f2b6c468f1a7
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Yu Jiung [Thu, 17 Mar 2016 01:15:50 +0000 (10:15 +0900)]
Fix SVace issue WGID 40946
Change-Id: Iee149fc50d8ffadab7c5cc46598b7a54b99fed5b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Nishant Chaprana [Mon, 14 Mar 2016 07:01:06 +0000 (12:31 +0530)]
Removed "LaunchDirect" call to net-config from wifi_direct_initialize
now wfd-manager starts with dbus auto activation logic, So launching
wfd-manager from net-config is not required anymore.
Also using this code with dbus auto activation leads to conditions
where two wfd-manager instances are running.
Change-Id: I5660fb454302b3955e87ee90244f5d6e7da67e7a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 10 Mar 2016 06:25:23 +0000 (11:55 +0530)]
[wifi-direct] Handled error case in wifi_direct_initialize
wifi_direct_dbus_init can return FALSE when it fails to get bus name.
So wifi_direct_initialize API should return error in failure case.
Change-Id: Ie16c1087bfd20f9d778abfcec12f53a1b9dfe3e9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 10 Mar 2016 06:21:54 +0000 (11:51 +0530)]
[wifi-direct] wifi_direct_get_wps_pin() should NULL check pin pointer.
Change-Id: I67515e01b28e17a4034ec5e32a2410b0b53cd8c8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 10 Mar 2016 06:20:01 +0000 (11:50 +0530)]
[wifi-direct] Fixed memory leak.
Change-Id: I1897e097383c11a0ea7326c301052fcf5a93d783
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu Jiung [Wed, 9 Mar 2016 08:47:59 +0000 (17:47 +0900)]
Add modification to make wifi-direct pass current test cases
Description : It should make is_registered "FALSE" when wifi-direct
is deinitialized. Prohibit wifi-direct library using vconf key
provided by wfd-manager directly. Add NULL checking for getting
passphrase
Change-Id: I0e71b677deae559f2dbfcd7be415bff6cc40c2c5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Nishant Chaprana [Fri, 4 Mar 2016 12:33:28 +0000 (18:03 +0530)]
[wifi-direct] Replaced Socket IPC with DBUS IPC between Library<->Manager
Change-Id: Ie33f61e389d2712e7e0e052a0cc9b31e472a6222
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 13 Jan 2016 03:48:44 +0000 (09:18 +0530)]
[Fixed] memory allocated using g_try_malloc0_n should be freed using g_free()
Change-Id: Icb9386bc375b583626472ac467adefae1a3ee540
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 13 Jan 2016 03:28:18 +0000 (08:58 +0530)]
[Fixed] comment as per doxygen style
Change-Id: Ie101abce0ce8869d351106fa4586f13bd71e05a1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 6 Jan 2016 05:33:34 +0000 (11:03 +0530)]
Fixed wifi_direct_foreach_connected_peers() API calling malloc(0)
This patch fixes behaiour of wifi_direct_foreach_connected_peers() API
when no connected peer at that time malloc(0) call was made and
WIFI_DIRECT_OPERATION_FAILED was returned.
But when no peer is conencted, at that time WIFI_DIRECT_ERROR_NONE
should be returned and no malloc(0) call should be done.
Change-Id: I266063ae0ecadef9b4c3959cd3bf69bb4bb886de
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 6 Jan 2016 02:37:00 +0000 (08:07 +0530)]
Fixed wrong macro name used in wifi-direct-ipc.h
This patch fixed wrong macro name used in wifi-direct-ipc.h
__WIFI_DIRECT_INTERNAL_H_ ==> __WIFI_DIRECT_IPC_H__
The wrong name could create confusion, So correction was required.
Change-Id: I646574e339e493d40fb3fd360637f8bd359dcaeb
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
taesub kim [Mon, 4 Jan 2016 02:01:11 +0000 (18:01 -0800)]
Merge "[Fixed] Possible Integer Overflow" into tizen
Seonah Moon [Mon, 28 Dec 2015 05:08:21 +0000 (14:08 +0900)]
[WGID-29760] Fix the svace issue
Change-Id: I1e17e809287842d9e5ffee6c6271620648d4211d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Milind Murhekar [Thu, 17 Dec 2015 04:06:59 +0000 (09:36 +0530)]
[Fixed] Possible Integer Overflow
Description: This patch fixes the possible integer overflow
while reading from socket.
Change-Id: I909f97ab021d77326c8cbc16dd79a5eb21084715
hyunuktak [Wed, 9 Dec 2015 05:26:28 +0000 (14:26 +0900)]
Apply coding rule
Change-Id: I47a6586a8e9538681b240040a4da7e7f49747caf
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Nishant Chaprana [Tue, 6 Oct 2015 08:59:38 +0000 (14:29 +0530)]
[Fixed] Typo error in wifi-direct package
Change-Id: I0410b12e54008f2bfaeeee8d8485e3d37542a658
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu Jiung [Mon, 7 Sep 2015 12:46:13 +0000 (21:46 +0900)]
[capi-network-wifi-direct]Enables Wi-Fi Display and Wi-Fi Direct Service Discovery code
Change-Id: I1f585582b1a9e5ec220c9b3f563692a526a06047
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Nishant Chaprana [Wed, 26 Aug 2015 04:23:19 +0000 (09:53 +0530)]
Added device lost event in discovery state callback
Description: This patch adds device lost event in discovery state
callback to notify application about device disappeared.
Change-Id: I6922cb66aeeb3d64832a7f2e1015e22c627590d2
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 21 Aug 2015 12:44:19 +0000 (18:14 +0530)]
Removed white spaces and fixed some warnings in test-wifi-direct
Description: This patch also resolves some warnings of spec file.
Change-Id: I8133ae7e2dc77b34aaca0360f60e73d946a9e08f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu Jiung [Fri, 10 Jul 2015 09:09:18 +0000 (18:09 +0900)]
[capi-network-wifi-direct]Sync with Tizen 2.4
Change-Id: I3284cbb37b2958446894fb1a135799b7a71e3aa7
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Maneesh Jain [Tue, 7 Jul 2015 13:54:18 +0000 (19:24 +0530)]
Enable CAPI access permission check for TV Profile
Change-Id: I599f21ed71adfc6c9f2198e2d011b9a0bffe5795
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Maneesh Jain [Tue, 7 Jul 2015 13:21:41 +0000 (18:51 +0530)]
[wifi-direct]: Modified Tizen Profile Build Flag
This patch adds the support of Tizen Profile
Build Flag according Tizen 3.0 Policy.
https://build.tizen.org/project/prjconf?project=Tizen%3ATV
Change-Id: I658a2899df7213b8c0730cdeedbd134a1160a960
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
hyunuktak [Thu, 2 Jul 2015 06:56:58 +0000 (15:56 +0900)]
Change the manifest file
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Change-Id: I4e2092b5bf52566535b655f64a64b1ecb2ec5a21
Yu Jiung [Sat, 20 Jun 2015 05:16:38 +0000 (14:16 +0900)]
[capi-network-wifi-direct]Modify the spec file to add version
Change-Id: Iebafd9f560189851ea8bbda5e9eca4ffd139a373
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu Jiung [Fri, 19 Jun 2015 02:47:56 +0000 (11:47 +0900)]
[capi-network-wifi-diret]Merge Tizen 2.4 for sync
Change-Id: I1ac445c8ed4de84b932ffb2a2830d526453db639
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
taesub.kim [Mon, 1 Jun 2015 00:52:03 +0000 (09:52 +0900)]
Add doc file
Change-Id: I060eccc1792e6b7a8415213bcbef6af0f38b81de
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
hyunuktak [Wed, 4 Feb 2015 02:20:10 +0000 (11:20 +0900)]
Merge 2.3 code for sync
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Change-Id: I413f150e373f819766129ec6a0244662e6158b2b
Alexandru Cornea [Fri, 28 Jun 2013 09:26:13 +0000 (12:26 +0300)]
resetting manifest requested domain to floor
Baptiste DURAND [Thu, 30 May 2013 13:24:21 +0000 (15:24 +0200)]
Update Changelog
Baptiste DURAND [Thu, 30 May 2013 13:23:59 +0000 (15:23 +0200)]
Fix hardcoded path in pc file
Anas Nashif [Wed, 29 May 2013 10:50:55 +0000 (06:50 -0400)]
Fixed build and remove hardcoding of libdir