platform/core/api/wifi-direct.git
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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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

8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 years agoModify the privilege for each APIs 82/72082/5
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>
8 years agoRemove the gcov flag 39/72939/2 accepted/tizen/common/20160603.151051 accepted/tizen/ivi/20160606.040627 accepted/tizen/mobile/20160606.035234 accepted/tizen/tv/20160606.035922 accepted/tizen/wearable/20160606.040122 submit/tizen/20160603.083223
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>
8 years ago[wifi-direct]: Added support of "wifi_direct_set_auto_group_removal()" CAPI 67/70567/9 accepted/tizen/common/20160523.144136 accepted/tizen/ivi/20160523.103133 accepted/tizen/mobile/20160523.103140 accepted/tizen/tv/20160523.103100 accepted/tizen/wearable/20160523.103128 submit/tizen/20160523.083958
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>
8 years ago[wifi-direct]: Implement support of following CAPI 20/70420/4
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>
8 years agoAdd symbolic link for libwifi-direct named libwifi-direct.0 23/70123/1 accepted/tizen/common/20160519.191348 accepted/tizen/ivi/20160519.085211 accepted/tizen/mobile/20160519.085225 accepted/tizen/tv/20160519.085148 accepted/tizen/wearable/20160519.085141 submit/tizen/20160519.014408
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>
8 years agoModify the way to copying license file on RPM packages 09/70109/3
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>
8 years ago[wifi-direct][Merged]: Added new CAPI's Prototype in WiFI Direct Header File 72/69272/7
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>
8 years agoEnable Wi-Fi Direct Display and Service Discovery code for common profile 47/69647/1 accepted/tizen/common/20160517.174229 accepted/tizen/ivi/20160517.083655 accepted/tizen/mobile/20160517.083819 accepted/tizen/tv/20160517.083641 accepted/tizen/wearable/20160517.083708 submit/tizen/20160517.051644
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>
8 years agoAdd build configuration for common profile 61/67561/2 accepted/tizen/common/20160429.170500 accepted/tizen/ivi/20160429.074242 accepted/tizen/mobile/20160429.074156 accepted/tizen/tv/20160429.074208 accepted/tizen/wearable/20160429.074223 submit/tizen/20160429.020129
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>
8 years agoApply Tizen coding rules2 58/66258/1 accepted/tizen/common/20160427.144111 accepted/tizen/ivi/20160428.002448 accepted/tizen/mobile/20160428.004553 accepted/tizen/tv/20160428.002326 accepted/tizen/wearable/20160428.002545 submit/tizen/20160418.070357 submit/tizen/20160427.070140
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>
8 years agoApply Tizen coding rules 07/64407/1 accepted/tizen/common/20160406.144728 accepted/tizen/ivi/20160406.104842 accepted/tizen/mobile/20160406.104748 accepted/tizen/tv/20160406.104806 accepted/tizen/wearable/20160406.104820 submit/tizen/20160406.070613
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>
8 years agoAdd macros to check line coverage of UTC 26/63926/1
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>
8 years agoFix the return value for privilege error 05/63805/1 accepted/tizen/common/20160329.050839 accepted/tizen/ivi/20160328.115808 accepted/tizen/mobile/20160328.115523 accepted/tizen/tv/20160328.115542 accepted/tizen/wearable/20160328.115813 submit/tizen/20160328.081447
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>
8 years ago[SVACE][TIZEN_3.0_TV][Critical][WGID-66380] MEMORY_LEAK 36/63636/1 accepted/tizen/common/20160325.135807 accepted/tizen/ivi/20160325.073107 accepted/tizen/mobile/20160325.072938 accepted/tizen/tv/20160325.073005 accepted/tizen/wearable/20160325.073036 submit/tizen/20160325.053430
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>
8 years agoUse GError to indicate Wi-Fi Direct error 21/63521/1 accepted/tizen/common/20160325.135659 accepted/tizen/ivi/20160325.072345 accepted/tizen/mobile/20160325.072212 accepted/tizen/tv/20160325.072246 accepted/tizen/wearable/20160325.072310 submit/tizen/20160325.042525
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>
8 years ago[wifi-direct]:Fixed SVACE Issue 52/62852/2 accepted/tizen/common/20160322.150948 accepted/tizen/ivi/20160323.012713 accepted/tizen/mobile/20160323.012618 accepted/tizen/tv/20160323.012634 accepted/tizen/wearable/20160323.012653 submit/tizen/20160322.084344
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>
8 years agoFix SVace issue WGID 40946 89/62589/1 accepted/tizen/common/20160317.160736 accepted/tizen/ivi/20160318.112900 accepted/tizen/mobile/20160318.112210 accepted/tizen/tv/20160318.112547 accepted/tizen/wearable/20160318.112600 submit/tizen/20160317.043432
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>
8 years agoRemoved "LaunchDirect" call to net-config from wifi_direct_initialize 75/62075/1 accepted/tizen/common/20160316.160335 accepted/tizen/ivi/20160316.040516 accepted/tizen/mobile/20160316.040425 accepted/tizen/tv/20160316.040439 accepted/tizen/wearable/20160316.040502 submit/tizen/20160316.022156
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>
8 years ago[wifi-direct] Handled error case in wifi_direct_initialize 23/61723/1 accepted/tizen/common/20160315.220912 accepted/tizen/ivi/20160314.105019 accepted/tizen/mobile/20160314.104927 accepted/tizen/tv/20160314.104944 accepted/tizen/wearable/20160314.105001 submit/tizen/20160314.023520
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>
8 years ago[wifi-direct] wifi_direct_get_wps_pin() should NULL check pin pointer. 22/61722/1
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>
8 years ago[wifi-direct] Fixed memory leak. 19/61719/1
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>
8 years agoAdd modification to make wifi-direct pass current test cases 41/61641/2 accepted/tizen/common/20160311.201809 accepted/tizen/ivi/20160311.061522 accepted/tizen/mobile/20160311.061420 accepted/tizen/tv/20160311.061439 accepted/tizen/wearable/20160311.061457 submit/tizen/20160311.021629
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>
8 years ago[wifi-direct] Replaced Socket IPC with DBUS IPC between Library<->Manager 88/61188/1 accepted/tizen/common/20160308.142857 submit/tizen/20160308.040435
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>
8 years ago[Fixed] memory allocated using g_try_malloc0_n should be freed using g_free() 28/56828/1 accepted/tizen/mobile/20160216.103627 accepted/tizen/tv/20160216.103641 accepted/tizen/wearable/20160216.103701 submit/tizen/20160216.061917 submit/tizen/20160216.090113 submit/tizen_common/20160218.142243
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>
8 years ago[Fixed] comment as per doxygen style 27/56827/1
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>
8 years agoFixed wifi_direct_foreach_connected_peers() API calling malloc(0) 97/56297/1
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>
8 years agoFixed wrong macro name used in wifi-direct-ipc.h 71/56271/1
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>
8 years agoMerge "[Fixed] Possible Integer Overflow" into tizen
taesub kim [Mon, 4 Jan 2016 02:01:11 +0000 (18:01 -0800)]
Merge "[Fixed] Possible Integer Overflow" into tizen

8 years ago[WGID-29760] Fix the svace issue 91/55591/1 accepted/tizen/ivi/20160218.023315 accepted/tizen/mobile/20151228.232849 accepted/tizen/tv/20151228.231910 accepted/tizen/wearable/20151228.231219 submit/tizen/20151228.081859 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
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>
8 years ago[Fixed] Possible Integer Overflow 57/54657/2
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

8 years agoApply coding rule 39/53739/1 accepted/tizen/mobile/20151210.030344 accepted/tizen/tv/20151210.021317 accepted/tizen/wearable/20151210.024302 submit/tizen/20151209.061113 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
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>
9 years ago[Fixed] Typo error in wifi-direct package 91/49091/1
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>
9 years ago[capi-network-wifi-direct]Enables Wi-Fi Display and Wi-Fi Direct Service Discovery... 53/47653/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150910.025125 accepted/tizen/tv/20150910.025139 accepted/tizen/wearable/20150910.025148 submit/tizen/20150910.012202 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
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>
9 years agoAdded device lost event in discovery state callback 72/46772/1 accepted/tizen/mobile/20150826.070013 accepted/tizen/tv/20150826.070120 accepted/tizen/wearable/20150826.070213 submit/tizen/20150826.045717
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>
9 years agoRemoved white spaces and fixed some warnings in test-wifi-direct 56/46556/4
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>
9 years ago[capi-network-wifi-direct]Sync with Tizen 2.4 81/43581/2 accepted/tizen/mobile/20150727.093519 accepted/tizen/tv/20150727.093535 accepted/tizen/wearable/20150727.093546 submit/tizen/20150727.080907
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>
9 years agoEnable CAPI access permission check for TV Profile 82/43082/1
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>
9 years ago[wifi-direct]: Modified Tizen Profile Build Flag 79/43079/1
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>
9 years agoChange the manifest file 64/42764/1 accepted/tizen/mobile/20150703.014647 accepted/tizen/tv/20150703.014709 accepted/tizen/wearable/20150703.014724 submit/tizen/20150702.105307
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