platform/core/connectivity/wifi-direct-manager.git
7 years agoAdd service file for 64bit build 51/99551/1 accepted/tizen/3.0/common/20161124.181633 accepted/tizen/3.0/ivi/20161124.025241 accepted/tizen/3.0/mobile/20161124.025148 accepted/tizen/3.0/tv/20161124.025159 accepted/tizen/3.0/wearable/20161124.025222 submit/tizen_3.0/20161123.083851
Yu Jiung [Wed, 23 Nov 2016 08:15:13 +0000 (17:15 +0900)]
Add service file for 64bit build

Change-Id: I2fa7548557b7d1c5450e6e8d816eee5e2e4e15fe
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge branch 'tizen' into tizen_3.0 68/94968/1 accepted/tizen/3.0/common/20161114.082049 accepted/tizen/3.0/ivi/20161102.075850 accepted/tizen/3.0/mobile/20161102.075804 accepted/tizen/3.0/tv/20161102.075820 accepted/tizen/3.0/wearable/20161102.075837 submit/tizen_3.0/20161102.052717 submit/tizen_3.0_common/20161110.084657
chleun.moon [Wed, 2 Nov 2016 05:13:02 +0000 (14:13 +0900)]
Merge branch 'tizen' into tizen_3.0

Change-Id: Idb84177e40116607fa7bcbaeee6ad33f5d78bf1c
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoRemoved redundant NULL check for service in ws_start_service_discovery() 82/93982/1 accepted/tizen/common/20161102.121906 accepted/tizen/ivi/20161102.073213 accepted/tizen/mobile/20161102.073124 accepted/tizen/tv/20161102.073139 accepted/tizen/wearable/20161102.073153 submit/tizen/20161102.022647
Nishant Chaprana [Wed, 26 Oct 2016 11:39:18 +0000 (17:09 +0530)]
Removed redundant NULL check for service in ws_start_service_discovery()

Change-Id: I346f0f79e06130eec25723cf9b415cde784cce8e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix logic when device gets GO-NEG after requesting connection 40/92440/2 accepted/tizen/3.0/ivi/20161028.133915 accepted/tizen/3.0/mobile/20161028.133015 accepted/tizen/3.0/tv/20161028.133337 accepted/tizen/3.0/wearable/20161028.133637 accepted/tizen/common/20161019.145707 accepted/tizen/ivi/20161021.062428 accepted/tizen/mobile/20161021.062317 accepted/tizen/tv/20161021.062340 accepted/tizen/wearable/20161021.062409 submit/tizen/20161019.063605 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
Yu Jiung [Mon, 17 Oct 2016 04:41:59 +0000 (13:41 +0900)]
Fix logic when device gets GO-NEG after requesting connection

When device requests WPS PIN Display connection, it shouldn't
send GO-NEG-REQ after it gets the GO-NEG-REQ because at that time
device haven't get the PIN number from user. So with previous logic,
there'll be connection failure.

Change-Id: I3ca63e170b6a1508aa3ef10ec57d1d0b78059a6a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix DBus configuration file 12/91612/1 accepted/tizen/common/20161012.154231 accepted/tizen/ivi/20161012.113715 accepted/tizen/mobile/20161012.113620 accepted/tizen/tv/20161012.113647 accepted/tizen/wearable/20161012.113706 submit/tizen/20161012.014104
Yu Jiung [Mon, 10 Oct 2016 10:38:45 +0000 (19:38 +0900)]
Fix DBus configuration file

Change-Id: Iccab3bd16a7cbebe0f6ba5bd0f13521641d093f2
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoSet additional Wi-Fi Direct status value on vconf 65/91365/1
Yu Jiung [Fri, 7 Oct 2016 07:06:55 +0000 (16:06 +0900)]
Set additional Wi-Fi Direct status value on vconf

Change-Id: I88cb1221f7f7e3c20536a87dfd2f0eb5c28f9a84
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix ASP Wi-Fi P2P ConfirmSession method 58/91158/2
Yu Jiung [Thu, 6 Oct 2016 06:11:02 +0000 (15:11 +0900)]
Fix ASP Wi-Fi P2P ConfirmSession method

Change-Id: Ifbd08bbdd02ccc98537756743efb6cb304a62ed5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[wfd-manager]: Added support to extract the RSSI of Peer Device 39/90339/5 accepted/tizen/3.0/ivi/20161011.070319 accepted/tizen/3.0/mobile/20161015.034339 accepted/tizen/3.0/tv/20161016.005936 accepted/tizen/3.0/wearable/20161015.084347 accepted/tizen/common/20161006.153640 accepted/tizen/ivi/20161006.080257 accepted/tizen/mobile/20161006.080226 accepted/tizen/tv/20161006.080230 accepted/tizen/wearable/20161006.080242 submit/tizen/20161006.021034 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
Yu Jiung [Thu, 6 Oct 2016 02:07:15 +0000 (11:07 +0900)]
[wfd-manager]: Added support to extract the RSSI of Peer Device

Change-Id: Ib0cba32fb589c57f14f3066d2e231fd90742de57
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFixed: Spelling mistake. 85/90285/1 accepted/tizen/common/20161006.153608 accepted/tizen/ivi/20161006.080212 accepted/tizen/mobile/20161006.080106 accepted/tizen/tv/20161006.080139 accepted/tizen/wearable/20161006.080156 submit/tizen/20161006.010203
Nishant Chaprana [Thu, 29 Sep 2016 09:06:46 +0000 (14:36 +0530)]
Fixed: Spelling mistake.

Change-Id: I1ec1376883cc0b2d888b16a096f372bb303441c5
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFixed: Coding rule issues. 83/90283/1
Nishant Chaprana [Thu, 29 Sep 2016 09:04:33 +0000 (14:34 +0530)]
Fixed: Coding rule issues.

Change-Id: I389025aeaad05998571d62cf60eb0c727e7ded70
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix SVace issue 142066 28/90228/1 accepted/tizen/common/20160929.163341 accepted/tizen/ivi/20160929.081925 accepted/tizen/mobile/20160929.081534 accepted/tizen/tv/20160929.081915 accepted/tizen/wearable/20160929.081920 submit/tizen/20160929.063705
Yu Jiung [Thu, 29 Sep 2016 06:09:29 +0000 (15:09 +0900)]
Fix SVace issue 142066

Change-Id: I44d0b59aa11bcf650fb26e7b4d0634830d9af1ef
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFixed svace issues 85/88985/1 accepted/tizen/common/20160921.162916 accepted/tizen/ivi/20160922.042155 accepted/tizen/mobile/20160922.042258 accepted/tizen/tv/20160922.042105 accepted/tizen/wearable/20160922.042144 submit/tizen/20160921.092833
chleun.moon [Wed, 21 Sep 2016 09:23:40 +0000 (18:23 +0900)]
Fixed svace issues

Change-Id: I38202eba8e22d3b1806bbd6b3647111b9df1f038
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix ASP logic and parameter for seek service 77/87777/2 accepted/tizen/common/20160912.180837 accepted/tizen/ivi/20160912.053948 accepted/tizen/mobile/20160912.053858 accepted/tizen/tv/20160912.053913 accepted/tizen/wearable/20160912.053931 submit/tizen/20160912.021246
Yu Jiung [Fri, 9 Sep 2016 10:23:32 +0000 (19:23 +0900)]
Fix ASP logic and parameter for seek service

Change-Id: Iffb421a626d84c3e020bc2dba682fa83b58fe8ea
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix SVace issues 67/87667/1
Yu Jiung [Fri, 9 Sep 2016 05:01:54 +0000 (14:01 +0900)]
Fix SVace issues

Description : The condition for checking NULL pointer
was wrong.

Change-Id: I4b6bec23b2bb4b380ff8b51ca1c864c642ff5c3f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd upgrade script 04/87004/1 accepted/tizen/common/20160907.154220 accepted/tizen/ivi/20160908.003642 accepted/tizen/mobile/20160908.003516 accepted/tizen/tv/20160908.003551 accepted/tizen/wearable/20160908.003617 submit/tizen/20160907.003226 submit/tizen/20160907.012754
Yu Jiung [Tue, 6 Sep 2016 02:46:13 +0000 (11:46 +0900)]
Add upgrade script

Change-Id: Ic1bd0041ed07c3cd7fccc61523d0e421da5ae9a6
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd support for ASP service information 95/86695/2
Yu Jiung [Fri, 2 Sep 2016 10:23:25 +0000 (19:23 +0900)]
Add support for ASP service information

Change-Id: I02f91f88d1601f664485fc004f9952ef088f803c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[wifi-direct-manager] Added patch to handle on demand call for wfd-manager 66/84966/14 accepted/tizen/common/20160831.161655 accepted/tizen/ivi/20160831.080223 accepted/tizen/ivi/20160901.065435 accepted/tizen/mobile/20160831.080100 accepted/tizen/mobile/20160901.065426 accepted/tizen/tv/20160831.080126 accepted/tizen/tv/20160901.065428 accepted/tizen/wearable/20160831.080153 accepted/tizen/wearable/20160901.065432 submit/tizen/20160831.022854 submit/tizen/20160901.012832
Milind Ramesh Murhekar [Tue, 23 Aug 2016 04:57:18 +0000 (10:27 +0530)]
[wifi-direct-manager] Added patch to handle on demand call for wfd-manager

Description: This patch handles demand on call for Dbus services
from wfd-manager for the application, and will terminate
if no application is using the services and state is deactivated

wfd-manager records the sender id on wifi_direct_initialise() call

Change-Id: Ia74c1e457e452fbfe05ce858e7d875fa4527a142
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoAdd SessionPeerIPAssigned signal on ASP interface 52/85652/1 accepted/tizen/common/20160831.161405 accepted/tizen/ivi/20160831.124350 accepted/tizen/mobile/20160831.124259 accepted/tizen/tv/20160831.124313 accepted/tizen/wearable/20160831.124333 submit/tizen/20160831.004932
Yu Jiung [Fri, 26 Aug 2016 08:50:03 +0000 (17:50 +0900)]
Add SessionPeerIPAssigned signal on ASP interface

Change-Id: I681b655cb838bd50276894cdedaf94e292fc6114
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd handler for AdvertiseASPService property 56/85556/2
Yu Jiung [Fri, 26 Aug 2016 00:58:13 +0000 (09:58 +0900)]
Add handler for AdvertiseASPService property

Change-Id: I5063bff7276604f8b922325f8bee141f39698de8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "[ASP2.0]: Add "service_instance" attribute in "ServiceDiscoveryRequest" Method...
Jiung Yu [Thu, 25 Aug 2016 01:34:33 +0000 (18:34 -0700)]
Merge "[ASP2.0]: Add "service_instance" attribute in "ServiceDiscoveryRequest" Method" into tizen

7 years ago[ASP2.0]: Add "service_instance" attribute in "ServiceDiscoveryRequest" Method 65/85265/4
Maneesh Jain [Wed, 24 Aug 2016 09:33:58 +0000 (15:03 +0530)]
[ASP2.0]: Add "service_instance" attribute in "ServiceDiscoveryRequest" Method

"Description: To sync-up with supplicant & ASP2.0, add Service
Instance Attribute in "ServiceDiscoveryRequest" method

Change-Id: I93bbf812a5410a1dbe3166586a67d4da84014ab3
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoAdd support for ASP session request/response 21/85221/1
Yu Jiung [Wed, 24 Aug 2016 07:55:19 +0000 (16:55 +0900)]
Add support for ASP session request/response

Change-Id: I6ab1b3f29497ed8d90fb896bef63e9e184e76748
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[ASP2.0]: Add "service_instance" attribute in "AddService" Method 73/85173/3
Maneesh Jain [Wed, 24 Aug 2016 04:49:57 +0000 (10:19 +0530)]
[ASP2.0]: Add "service_instance" attribute in "AddService" Method

Description: To sync-up with supplicant & ASP2.0, add Service
Instance Attribute in "AddService" method

Change-Id: Ibdfd1bd056303a7029dbd80156215be2400234bf
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFixed Build issue for Mobile profile. 85/85185/1
Nishant Chaprana [Wed, 24 Aug 2016 06:29:23 +0000 (11:59 +0530)]
Fixed Build issue for Mobile profile.

Change-Id: Ia08c6c05bfb65ba21c38a00594d9c4f47eae17d7
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[P2PCommonFramework] Added concept of prd plugin for OEM to add product specific... 79/83879/10
Nishant Chaprana [Wed, 10 Aug 2016 07:40:19 +0000 (13:10 +0530)]
[P2PCommonFramework] Added concept of prd plugin for OEM to add product specific code.

Description: This patch adds concept of prd plugin, so that any OEM can add
product specific code and merge profile specific code easily.
1. oem/wifi-direct-prd.c :-
This file will have product specific code for manager layer.
This will override and define new event handlers.
2. prd-plugin :-
This will have product specific plugin code(event handlers and methods).
This will override profile methods and define new prd specific methods.

Change-Id: Iea5d5c6a888521d516a26d718a7a9845e269c6e6
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[dbus-plugin] Upgrading signal subscription logic. 97/83997/1 accepted/tizen/common/20160818.144042 accepted/tizen/ivi/20160818.231616 accepted/tizen/mobile/20160818.231559 accepted/tizen/tv/20160818.231608 accepted/tizen/wearable/20160818.231549 submit/tizen/20160818.002458
Nishant Chaprana [Tue, 16 Aug 2016 07:25:24 +0000 (12:55 +0530)]
[dbus-plugin] Upgrading signal subscription logic.

This patch upgrades signal subscription logic of dbus plugin.
Currently there is a common signal handler which checks received
signal name and based on that it callss signals handler funciton.
This process is dnoe for every received signal.
If we register signals seperately then we will same extra processing
of for loop to find handler function of signal, dbus will directly call
handler function of the subscribed signal.

Change-Id: I3fa6b02bc2b215515d2caee0109f0ee43e2c3182
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAdded getters for primary and secondary device type. 96/83996/1
Nishant Chaprana [Tue, 16 Aug 2016 07:13:09 +0000 (12:43 +0530)]
Added getters for primary and secondary device type.

This patch adds below method calls:-
1. GetPrimaryDevType - To get own device's Primary Device Type.
2. GetSecondaryDevType - To get own device's Secondary Device Type.

Change-Id: I4cbc0e5d11fe2593212deb9ba6f5c98814df68dd
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[dbus-plugin] Using proper seperator in strtok_r ", " => "," 95/83995/1
Nishant Chaprana [Tue, 16 Aug 2016 07:12:28 +0000 (12:42 +0530)]
[dbus-plugin] Using proper seperator in strtok_r ", " => ","

Change-Id: Ia172a8aeb9cc238f825387a640a5ade42ac44e64
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix coding rule issues. 94/83994/1
Nishant Chaprana [Tue, 16 Aug 2016 07:11:42 +0000 (12:41 +0530)]
Fix coding rule issues.

This patch fixes coding rule issues generated by checkpatchinit_tizen.sh.
./plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c:161: ERROR: [SPC_M_KWD] space required before the open parenthesis '('
./plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c:1644: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)

Change-Id: Id88f1edd29bca4256d858d4ea7e7b8db04e90eb1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoUpdated MACROS as per build option naming rule 93/83993/1
Nishant Chaprana [Tue, 16 Aug 2016 06:46:03 +0000 (12:16 +0530)]
Updated MACROS as per build option naming rule

This patch updates MACROS as per build option naming rule
(http://suprem.sec.samsung.net/confluence/display/SE/Build+Option+Naming+Rule)
TIZEN_MOBILE => TIZEN_PROFILE_MOBILE
TIZEN_TV => TIZEN_PROFILE_TV
TIZEN_WEARABLE => TIZEN_PROFILE_WEARABLE
TIZEN_COMMON => TIZEN_PROFILE_COMMON

Change-Id: I627b6d9ebb03522133ca2b2ebbea091d4d4d6831
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoChanged File permissions 755 => 644. 92/83992/1
Nishant Chaprana [Tue, 16 Aug 2016 06:41:41 +0000 (12:11 +0530)]
Changed File permissions 755 => 644.

Change-Id: Ib32f8c67591617458f6e7a7146aaf5d0990cf397
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix logic for comparing peer in session with peer from user 07/82707/1 accepted/tizen/common/20160805.130343 accepted/tizen/ivi/20160809.011259 accepted/tizen/mobile/20160809.011205 accepted/tizen/tv/20160809.011223 accepted/tizen/wearable/20160809.011241 submit/tizen/20160805.073337
Yu Jiung [Fri, 5 Aug 2016 07:26:58 +0000 (16:26 +0900)]
Fix logic for comparing peer in session with peer from user

Change-Id: Ic5f3a480c1cd65d3725f5634affbb26320582c85
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix warnings from static analyzer 44/80944/1 accepted/tizen/common/20160721.180623 accepted/tizen/common/20160805.130030 accepted/tizen/ivi/20160721.093522 accepted/tizen/ivi/20160809.011028 accepted/tizen/mobile/20160721.093203 accepted/tizen/mobile/20160809.010938 accepted/tizen/tv/20160721.092558 accepted/tizen/tv/20160809.010952 accepted/tizen/wearable/20160721.093313 accepted/tizen/wearable/20160809.011007 submit/tizen/20160721.064212 submit/tizen/20160805.044059
Yu Jiung [Thu, 21 Jul 2016 04:33:08 +0000 (13:33 +0900)]
Fix warnings from static analyzer

Change-Id: I36ee42d3cc470fa755e93a7b145117eebd34b52c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoSet SmackProcessLabel to System 26/80926/2 accepted/tizen/common/20160721.175612 accepted/tizen/ivi/20160721.090720 accepted/tizen/mobile/20160721.090356 accepted/tizen/tv/20160721.091249 accepted/tizen/wearable/20160721.090904 submit/tizen/20160721.003054
Yu Jiung [Thu, 21 Jul 2016 02:31:47 +0000 (11:31 +0900)]
Set SmackProcessLabel to System

Change-Id: I687ac706e7183e7088007cc0c23de9454f141956
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFixed autonomous group create issue in supplicant socket plugin 15/80615/1 asp2
Nishant Chaprana [Tue, 19 Jul 2016 06:57:59 +0000 (12:27 +0530)]
Fixed autonomous group create issue in supplicant socket plugin

This patch fixes below issues in supplicant socket plugin:
1. Autonomous group creation issue.
2. when GROUP_IFACE_NAME is same as COMMON_IFACE_NAME then we should not
connect to supplicant socket again as there is no new interface created
when group is created.

Change-Id: I5d5c8ca21c4e475e081bcbe5c361b6deac9fd2d0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFixed Build warning "File Listed twice" 02/79102/2
Nishant Chaprana [Fri, 8 Jul 2016 07:27:25 +0000 (12:57 +0530)]
Fixed Build warning "File Listed twice"

This patch fixes below warning:
[   19s] warning: File listed twice: /etc/dbus-1/system.d/wfd-manager.conf
[   19s] warning: File listed twice: /etc/wifi-direct/ccode.conf
[   19s] warning: File listed twice: /etc/wifi-direct/dhcpd.conf
[   19s] warning: File listed twice: /etc/wifi-direct/p2p_supp.conf
[   19s] warning: File listed twice: /etc/wifi-direct/udhcp_script.non-autoip
[   19s] warning: File listed twice: /etc/wifi-direct/udhcp_script.non-autoip
[   19s] warning: File listed twice: /usr/bin/dhcpd-notify.sh
[   19s] warning: File listed twice: /usr/bin/wifi-direct-dhcp.sh
[   19s] warning: File listed twice: /usr/bin/wifi-direct-server.sh
[   19s] warning: File listed twice: /usr/sbin/p2p_supp.sh

Change-Id: I8a742c9d55cc4877966a8250cf01f90a3c14c385
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoReplaced many macro check for TIZEN_DEBUG_DBUS_VALUE with single check. 01/79101/2
Nishant Chaprana [Fri, 8 Jul 2016 06:10:54 +0000 (11:40 +0530)]
Replaced many macro check for TIZEN_DEBUG_DBUS_VALUE with single check.

This patch replaces many macro check for TIZEN_DEBUG_DBUS_VALUE with single check.
Also this patch modifies name of DEBUG_PARAMS => DEBUG_G_VARIANT
for better name clarity.

Change-Id: If509b559f6239772f320010c586a22c774c81577
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[Supplicant-Plugin] Perform NULL check before calling g_pd->callback() 00/79100/2
Nishant Chaprana [Fri, 8 Jul 2016 05:29:56 +0000 (10:59 +0530)]
[Supplicant-Plugin] Perform NULL check before calling g_pd->callback()

Change-Id: I8d85b0f478e07cf57ea2d69e5980bf4b96f1bbec
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoRemoved dead code from dbus plugin, break after return 55/78955/2
Nishant Chaprana [Thu, 7 Jul 2016 12:02:13 +0000 (17:32 +0530)]
Removed dead code from dbus plugin, break after return

Change-Id: If239f1fcbf3751278f1b91ee6657de20159db682
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-direct-manager] Remove group only when wfd_util_is_remove_group_allowed() retur... 52/78952/2
Nishant Chaprana [Thu, 7 Jul 2016 11:43:44 +0000 (17:13 +0530)]
[wifi-direct-manager] Remove group only when wfd_util_is_remove_group_allowed() returns TRUE.

At time of removing group, the check should be for members and
wfd_util_is_remove_group_allowed() only.
Checking [wfd_group_is_autonomous(group) == FALSE ] would be wrong
because all profile need to remove group when all peers disconnect.

Change-Id: I8cc272b51e3d77ca2d980fcda2558a2540894802
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-direct-manager] Fixed various memory leaks. 29/78929/2
Nishant Chaprana [Thu, 7 Jul 2016 10:42:01 +0000 (16:12 +0530)]
[wifi-direct-manager] Fixed various memory leaks.

Change-Id: I24103f3a294143b5000ecaa9039ba46773e90f57
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoValidate peer with session peer before accepting connection. 28/78928/2
Nishant Chaprana [Wed, 29 Jun 2016 09:52:19 +0000 (15:22 +0530)]
Validate peer with session peer before accepting connection.

Change-Id: I48a31722562660552ead5d505cf66abc71588b91
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAdded state validity check and update vconf only when state is changed. 27/78927/2
Nishant Chaprana [Wed, 29 Jun 2016 09:13:44 +0000 (14:43 +0530)]
Added state validity check and update vconf only when state is changed.

Change-Id: Iacd876937a047aab7af3668ef4c9cbb0a09319f0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAdd PATH environment variable to shell scripts2 23/77223/1 accepted/tizen/common/20160629.223147 accepted/tizen/ivi/20160629.071441 accepted/tizen/mobile/20160629.071724 accepted/tizen/tv/20160629.071235 accepted/tizen/wearable/20160629.071416 submit/tizen/20160629.062211
Yu Jiung [Wed, 29 Jun 2016 06:14:58 +0000 (15:14 +0900)]
Add PATH environment variable to shell scripts2

Change-Id: I2723d4c6a9995ea3e2718057e89a616d056394d2
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd PATH environment variable to shell scripts 59/77159/1
Yu Jiung [Wed, 29 Jun 2016 02:25:16 +0000 (11:25 +0900)]
Add PATH environment variable to shell scripts

Change-Id: I9413782ef949af9ae9058920c6d2b0a029999440
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoUsing DeviceFoundProperties instead of DeviceFound event. 01/76701/1
Nishant Chaprana [Mon, 27 Jun 2016 03:44:36 +0000 (09:14 +0530)]
Using DeviceFoundProperties instead of DeviceFound event.

This patch will increase wifi-direct scan timing because
DeviceFound sends only peer object path and wifi-direct-manager used
to call GetAll method for peer object path which was increasing scan time.

By using DeviceFoundProperties event wifi-direct-manager will be
able to extract peer properties from the event only.
This will handle the cases when there are many peers in the scan range.

Change-Id: I5f49e23a9ccf9932630c33b236f4ba8564effbde
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFixed memory leak issue 45/76145/1 accepted/tizen/common/20160623.154547 accepted/tizen/ivi/20160623.125258 accepted/tizen/mobile/20160623.125209 accepted/tizen/tv/20160623.125222 accepted/tizen/wearable/20160623.125242 submit/tizen/20160623.100245
chleun.moon [Thu, 23 Jun 2016 02:46:12 +0000 (11:46 +0900)]
Fixed memory leak issue

Change-Id: I072d338ba7e421ae1404fa406171dc56b9bdf8fd
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix SVACE 68159, 68200 04/75704/1 accepted/tizen/common/20160621.184453 accepted/tizen/ivi/20160622.093516 accepted/tizen/mobile/20160622.093419 accepted/tizen/tv/20160622.093442 accepted/tizen/wearable/20160622.093458 submit/tizen/20160621.060739 submit/tizen/20160621.235132
Yu Jiung [Tue, 21 Jun 2016 05:26:11 +0000 (14:26 +0900)]
Fix SVACE 68159, 68200

Change-Id: I25d2e47eb0dd3424cdc0231a9792b7f39c2ce96c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix SVACE issue 98800 73/75173/1 accepted/tizen/common/20160617.121927 accepted/tizen/ivi/20160620.024310 accepted/tizen/mobile/20160620.024146 accepted/tizen/tv/20160620.024217 accepted/tizen/wearable/20160620.024242 submit/tizen/20160617.081742
Yu Jiung [Fri, 17 Jun 2016 02:37:17 +0000 (11:37 +0900)]
Fix SVACE issue 98800

Change-Id: I4f01f47475bdb95c8be5f84d0cfaf9c0e784b20b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[wifi-direct-manager] This patch fixes below items. 82/74782/3
Nishant Chaprana [Wed, 15 Jun 2016 12:31:08 +0000 (18:01 +0530)]
[wifi-direct-manager] This patch fixes below items.

1. Remove unused function parameters from wfd_destroy_group()
2. Remove GROUP_IFNAME hardcoding as group structure contains ifname in it.
3. Populate group->pending to identify whether group is created or not.
4. Call supplicant method to Destroy group only when group->pending is FALSE.
5. Check only group variable for validating whether group exists or not.

Change-Id: I61edc2b6e00c9614e36d082fa051ac90c2054c77
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix SVACE issue 100113 51/74751/1 accepted/tizen/common/20160616.151753 accepted/tizen/ivi/20160617.081454 accepted/tizen/mobile/20160617.081127 accepted/tizen/tv/20160617.081230 accepted/tizen/wearable/20160617.081305 submit/tizen/20160615.100519 submit/tizen/20160616.005920
Yu Jiung [Wed, 15 Jun 2016 11:01:48 +0000 (20:01 +0900)]
Fix SVACE issue 100113

Change-Id: If8a458ac84f92783f9c99781dba1d5139588364f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "[wifi-direct-manager] Replaced is_legacy->is_p2p in peer data structure."...
taesub kim [Wed, 15 Jun 2016 10:54:10 +0000 (03:54 -0700)]
Merge "[wifi-direct-manager] Replaced is_legacy->is_p2p in peer data structure." into tizen

7 years agoMerge "[wifi-direct-manager] Store signal subscription id in proper variable." into...
taesub kim [Wed, 15 Jun 2016 10:53:54 +0000 (03:53 -0700)]
Merge "[wifi-direct-manager] Store signal subscription id in proper variable." into tizen

7 years ago[wifi-direct-manager] Replaced is_legacy->is_p2p in peer data structure. 23/74523/1
Nishant Chaprana [Tue, 14 Jun 2016 11:38:27 +0000 (17:08 +0530)]
[wifi-direct-manager] Replaced is_legacy->is_p2p in peer data structure.

This patch will enable applicaiton to check whether a connected
peer is a p2p supported device or not.
A peer will not be having p2p support when it is a legacy wifi device.

Change-Id: Ib70043e0c8cce2168aec12b3abf467a5bf8e54b6
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[Svace] 66555 68159 68200 23/74223/1 accepted/tizen/common/20160614.144110 accepted/tizen/ivi/20160615.070051 accepted/tizen/mobile/20160615.070006 accepted/tizen/tv/20160615.070031 accepted/tizen/wearable/20160615.070019 submit/tizen/20160614.043312 submit/tizen/20160614.070528
chleun.moon [Mon, 13 Jun 2016 08:43:03 +0000 (17:43 +0900)]
[Svace] 66555 68159 68200

Change-Id: I73842f55895def1444d30eb5edf9b2623dd77409
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years ago[wifi-direct-manager] Store signal subscription id in proper variable. 74/74174/1
Nishant Chaprana [Mon, 13 Jun 2016 05:19:53 +0000 (10:49 +0530)]
[wifi-direct-manager] Store signal subscription id in proper variable.

This patch stores signal subcription id returned for Interface iface
in proper variable so that it can be properly unsubscribed from dbus.
Earlier Interface iface was not getting unsubscribed from gdbus.

Change-Id: I190c21a78408714d711f3e90fe343fcc986c218f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix SVACE issues [84118, 84119, 84130, 84132, 84140] 36/73936/2 accepted/tizen/common/20160613.144925 accepted/tizen/ivi/20160613.123655 accepted/tizen/mobile/20160613.123812 accepted/tizen/tv/20160613.123641 accepted/tizen/wearable/20160613.123749 submit/tizen/20160613.080206
Yu Jiung [Fri, 10 Jun 2016 06:13:34 +0000 (15:13 +0900)]
Fix SVACE issues [84118, 84119, 84130, 84132, 84140]

Change-Id: Ibf376c81f01855c5a51345c10b3805d9ad9589fd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove smack capability 72/73872/2
Yu Jiung [Fri, 10 Jun 2016 01:05:49 +0000 (10:05 +0900)]
Remove smack capability

Change-Id: I41d09253c5c78d67a99f197ce6d311694f2e775a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoReplace vconf key with the value defined by vconf-internal-keys package 71/73871/2
Yu Jiung [Fri, 10 Jun 2016 01:02:08 +0000 (10:02 +0900)]
Replace vconf key with the value defined by vconf-internal-keys package

Change-Id: Ibc7c8ca24af0a876567250c46356641d4755b92d
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoModify the logic to add peer to group 70/73870/1
Yu Jiung [Fri, 10 Jun 2016 00:55:09 +0000 (09:55 +0900)]
Modify the logic to add peer to group

Description : When a P2P peer device join the group as GC
after group negotiation, sometimes Connected event is occured
several times. To prevent this, cease to add peer to group when
there's any problem

Change-Id: Ibb814a5090855b8ff3c729a5ff7cc4b9556b0da8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[Support Legacy Connection] Update peer disconnection logic. 57/73657/1
Nishant Chaprana [Thu, 9 Jun 2016 05:23:42 +0000 (10:53 +0530)]
[Support Legacy Connection] Update peer disconnection logic.

This patch adds disconnection logic for legacy peer.
This patch also updates peer disconnection logic as per
latest release supplicant.

1. Dbus interface : RemoveClient method call is used to disconnect.
2. CTRL interface : P2P_REMOVE_CLIENT call is used to disconnect.

Change-Id: I58146bb04e32707a7bf27b78d734ed6375f58f96
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoApply TIZEN coding rules 59/72859/7 accepted/tizen/common/20160608.160923 accepted/tizen/ivi/20160609.090757 accepted/tizen/mobile/20160609.090612 accepted/tizen/tv/20160609.090736 accepted/tizen/wearable/20160609.090712 submit/tizen/20160608.101452
Yu Jiung [Fri, 3 Jun 2016 05:57:15 +0000 (14:57 +0900)]
Apply TIZEN coding rules

Change-Id: I71656908776ef0f55282426f20b412af1878272f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[Fix] DHCP server launching issue, when device becomes GO. 23/72923/1 accepted/tizen/common/20160603.151042 accepted/tizen/ivi/20160606.040625 accepted/tizen/mobile/20160606.035232 accepted/tizen/tv/20160606.035921 accepted/tizen/wearable/20160606.040121 submit/tizen/20160603.083223
Nishant Chaprana [Fri, 3 Jun 2016 05:34:45 +0000 (11:04 +0530)]
[Fix] DHCP server launching issue, when device becomes GO.

Change-Id: I275abf66660259b9faef000a7a41118730a58380
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-direct-manager] Using Firmware start stop logic from wifi-direct-manager. 92/72092/3
Nishant Chaprana [Mon, 30 May 2016 12:13:09 +0000 (17:43 +0530)]
[wifi-direct-manager] Using Firmware start stop logic from wifi-direct-manager.

Description: This patch removes dependency over net-config to start/stop
firmware for p2p interface.

Change-Id: I1935c9b0c72edaa95a62949e18cdd2e5697ef3d8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[Support Legacy Connection] Process legacy connection. 64/72064/2 accepted/tizen/common/20160602.140304 accepted/tizen/ivi/20160602.231004 accepted/tizen/mobile/20160602.231028 accepted/tizen/tv/20160602.230949 accepted/tizen/wearable/20160602.230942 submit/tizen/20160602.082230
Nishant Chaprana [Mon, 30 May 2016 11:01:12 +0000 (16:31 +0530)]
[Support Legacy Connection] Process legacy connection.

This patch processes legacy connection and shares legacy peer info
with application.
Only peer interface address and Assigned IP address are available
So only these information are provided to applicaiton.
"LEGACY-PEER" is sent in Device Name if peer is a legacy peer.

Change-Id: I0501ef91f7b4a9b718a62bc1a850ab6eff3d122d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-direct-manager] Use @SBIN_DIR@/ifconfig when @SBIN_DIR@/ip is unavailable. 24/71924/2
Nishant Chaprana [Fri, 27 May 2016 13:37:59 +0000 (19:07 +0530)]
[wifi-direct-manager] Use @SBIN_DIR@/ifconfig when @SBIN_DIR@/ip is unavailable.

This patch uses  @SBIN_DIR@/ifconfig when @SBIN_DIR@/ip is not available.
because when @SBIN_DIR@/ip is missing then TV GO will fail to start dhcpd.

Change-Id: I7565e7a770aa3c58070d605f094dd68518589b19
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[Support Persistent Group] Identify whether created group is persistent or not. 07/71807/2
Nishant Chaprana [Fri, 27 May 2016 07:09:58 +0000 (12:39 +0530)]
[Support Persistent Group] Identify whether created group is persistent or not.

Change-Id: I454a4ab86d1815c56ec213413707877490afb4cb
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[Support Legacy Connection] Identify legacy peer connection. 61/71761/2
Nishant Chaprana [Fri, 27 May 2016 04:49:23 +0000 (10:19 +0530)]
[Support Legacy Connection] Identify legacy peer connection.

1. This patch identifies whether a legacy peer connection/disconnection
2. This patch also allows legacy peer to connect to Tizen device.

Change-Id: I9b7148dd60bc96796b3a27373020fbffd0d06d0e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-direct-manager] when peer already connected/connecting, ignore provision discov... 99/71199/3
Nishant Chaprana [Tue, 24 May 2016 11:12:39 +0000 (16:42 +0530)]
[wifi-direct-manager] when peer already connected/connecting, ignore provision discovery request

Change-Id: I7fb6c12ae8abab3282fc34ab8d9dcea54f353609
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-direct-manager] Start session at GONegotiationRequest. 99/70999/3
Nishant Chaprana [Mon, 23 May 2016 14:03:46 +0000 (19:33 +0530)]
[wifi-direct-manager] Start session at GONegotiationRequest.

Description: This patch starts session for PBC and KEYPAD connection
             request at GONegotiationRequest reception.

Currently connection session is started at ProvisionDiscoveryRequest event.
But it should be started when Peer send GoNegotiationRequest event because
until peer donot sends GONegotiationRequest we are not sure whether it wants
to initiate connection with us or not.

Change-Id: Ic27ad1f612f70932ae2f131f3342fd6cef1e37b8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAdd ASP provision discovery request for wpasupplicant plugin 85/71685/3
Yu Jiung [Thu, 26 May 2016 12:11:29 +0000 (21:11 +0900)]
Add ASP provision discovery request for wpasupplicant plugin

Change-Id: Idc92589a977f834647f51861060cba9b5b0cfcca
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoEmit SearchResult when advertised service found 84/71684/2
Yu Jiung [Tue, 24 May 2016 06:43:47 +0000 (15:43 +0900)]
Emit SearchResult when advertised service found

Change-Id: I3652ecfbcc6a84f309c29d58f432fad9c2fd298a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoMerge "[wifi-direct-manager] dev_role should only be updated when session is availabl... accepted/tizen/common/20160523.144104 accepted/tizen/ivi/20160523.103008 accepted/tizen/mobile/20160523.103001 accepted/tizen/tv/20160523.102923 accepted/tizen/wearable/20160523.102936 submit/tizen/20160523.071704
taesub kim [Mon, 23 May 2016 04:51:26 +0000 (21:51 -0700)]
Merge "[wifi-direct-manager] dev_role should only be updated when session is available at go-neg-success reception." into tizen

8 years agoMerge "[wfd-manager]: Add support of wifi_direct_set_auto_group_removal() API" into...
taesub kim [Mon, 23 May 2016 04:51:08 +0000 (21:51 -0700)]
Merge "[wfd-manager]: Add support of wifi_direct_set_auto_group_removal() API" into tizen

8 years agoMerge "[wfd-manager]: Add support of Session Timers CAPI's" into tizen
taesub kim [Mon, 23 May 2016 04:50:55 +0000 (21:50 -0700)]
Merge "[wfd-manager]: Add support of Session Timers CAPI's" into tizen

8 years ago[wfd-manager]: Add support of wifi_direct_set_auto_group_removal() API 68/70568/3
Maneesh Jain [Thu, 19 May 2016 12:42:39 +0000 (18:12 +0530)]
[wfd-manager]: Add support of wifi_direct_set_auto_group_removal() API

Change-Id: Idff482f807e12faf45bf56b1da5614025c504a38
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wifi-direct-manager] dev_role should only be updated when session is available at... 70/70570/1
Nishant Chaprana [Thu, 19 May 2016 13:15:42 +0000 (18:45 +0530)]
[wifi-direct-manager] dev_role should only be updated when session is available at go-neg-success reception.

Change-Id: Id061109f701f04e6f50aa83e47a40ab05d49c219
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years ago[wfd-manager]: Add support of Session Timers CAPI's 57/70357/1
Maneesh Jain [Thu, 19 May 2016 04:39:24 +0000 (10:09 +0530)]
[wfd-manager]: Add support of Session Timers CAPI's

Description: This patch added the support of following
CAPI in WFD manager Daemon.
\1. wifi_direct_get_session_timer()
\2.wifi_direct_set_session_timer()

Change-Id: I2f906d19d01561119d7acd2119aa8cf95a530cc0
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years agoAdd feature for Application Service Platfrom (ASP) 69/69969/2
Yu Jiung [Tue, 17 May 2016 11:50:36 +0000 (20:50 +0900)]
Add feature for Application Service Platfrom (ASP)

Description : Add service discovery part for ASP method
of p2p technology. AdvertiseService, CancelAdvertiseService,
SeekService and CancelSeekService. Add wpa_supplicant plugin
usage to use additional method.

Change-Id: Iff490a5db0825d0136444a1742e76fee08a21c37
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoEnable concurrent mode for common profile 93/69793/2 accepted/tizen/common/20160517.174224 accepted/tizen/ivi/20160517.083653 accepted/tizen/mobile/20160517.083816 accepted/tizen/tv/20160517.083638 accepted/tizen/wearable/20160517.083706 submit/tizen/20160517.051644
Yu Jiung [Tue, 17 May 2016 01:07:30 +0000 (10:07 +0900)]
Enable concurrent mode for common profile

Description : Concurrent mode was enabled only for mobile profile.
Remove MOBILE define and make codes work when concurrent is defined.

Change-Id: If96c232a20b3e06204c2bac038aaf9adf9f250b9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years ago[wfd-manager]: Added method to get the WPA status 74/69474/2
Maneesh Jain [Fri, 13 May 2016 09:43:34 +0000 (15:13 +0530)]
[wfd-manager]: Added method to get the WPA status

Change-Id: Ibccbee12646e0de38e3aff8281c069caa0486e3e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Remove the extra "StopFind" method while start the connection 62/69462/2
Maneesh Jain [Fri, 13 May 2016 08:52:29 +0000 (14:22 +0530)]
[wfd-manager]: Remove the extra "StopFind" method while start the connection

Description: Supplicant does stop the P2P discovery while process
     the P2P Connection request. There is no point to issue
     a separate "StopFind" command from the M/W.

Change-Id: I062c78f27dcc70ed6991466bedfe3cd3c869da75
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Added support of "RemoveAllNetworks" Method 19/69419/2
Maneesh Jain [Fri, 13 May 2016 06:15:12 +0000 (11:45 +0530)]
[wfd-manager]: Added support of "RemoveAllNetworks" Method

Description: This method is used to Remove all configured networks
     in supplicant

Change-Id: I9de372b001e52f5a746f08c680296f7e48efe053
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Feature: Added support of "OperChannel" Method 09/69409/2
Maneesh Jain [Fri, 13 May 2016 05:57:00 +0000 (11:27 +0530)]
[wfd-manager]: Feature: Added support of "OperChannel" Method

Description: "OperChannel": This method is used to configure
     the operating channel in Supplicant.

Change-Id: If0fe4dc2ac14331d9eb366d078ac08ec3a4b7d73
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]:@Fix: Process the "DisconnectEvent" in Discovering State also. 26/69326/2
Maneesh Jain [Thu, 12 May 2016 13:39:29 +0000 (19:09 +0530)]
[wfd-manager]:@Fix: Process the "DisconnectEvent" in Discovering State also.

Change-Id: Ic01ce16cdc890ff97d553bcd0983d735a03abca9
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Fix the P2P Connection Issue with Windows OS based devices 17/69317/2
Maneesh Jain [Thu, 12 May 2016 13:12:14 +0000 (18:42 +0530)]
[wfd-manager]: Fix the P2P Connection Issue with Windows OS based devices

Change-Id: I1806f45be386f69702cf84c9b657e8cfbd78e5d2
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Fix: Syn-up issue with supplicant 03/69303/2
Maneesh Jain [Thu, 12 May 2016 12:43:52 +0000 (18:13 +0530)]
[wfd-manager]: Fix: Syn-up issue with supplicant

Description: Call "Flush" method after "RejectPeer" method call
             to remove syncup issue in supplicant

Change-Id: Ibbfe0c626116146b6e603bd4d598e4dfcb9366b8
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Add support of new method called "SaveConfig" 92/69292/2
Maneesh Jain [Thu, 12 May 2016 11:40:48 +0000 (17:10 +0530)]
[wfd-manager]: Add support of new method called "SaveConfig"

Description: "SaveConfig" method is used to save configuration to
supplicant configuration file.

Change-Id: Icf6652126b935c8ce1b662a7f40bef96f7a92f50
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years ago[wfd-manager]: Add support of "InvitationReceived" Signal 73/69273/3
Maneesh Jain [Thu, 12 May 2016 10:39:18 +0000 (16:09 +0530)]
[wfd-manager]: Add support of "InvitationReceived" Signal

Change-Id: I3e4a8614343d8af7b6529fbd446599ab99984032
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years agoAdd build configuration for common profile 64/67564/1 accepted/tizen/common/20160429.170457 accepted/tizen/ivi/20160429.074241 accepted/tizen/mobile/20160429.074154 accepted/tizen/tv/20160429.074207 accepted/tizen/wearable/20160429.074221 submit/tizen/20160429.020129
Yu Jiung [Wed, 27 Apr 2016 08:26:50 +0000 (17:26 +0900)]
Add build configuration for common profile

Change-Id: Ia48db6617d10804ed39b4deec56ed33bb61d3a72
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoEnable wifi-direct connection popup for mobile profile 40/65740/1 accepted/tizen/common/20160414.142145 accepted/tizen/ivi/20160414.012025 accepted/tizen/mobile/20160414.012127 accepted/tizen/tv/20160414.012012 accepted/tizen/wearable/20160414.012014 submit/tizen/20160413.233817
Yu Jiung [Tue, 12 Apr 2016 08:55:56 +0000 (17:55 +0900)]
Enable wifi-direct connection popup for mobile profile

Change-Id: Ie9dc7fd4b68309f2c54953fb50262b8dc50c704b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoWhile fetching persistent group info corrected p2p_client_list extraction 25/64325/1
Nishant Chaprana [Thu, 31 Mar 2016 11:35:49 +0000 (17:05 +0530)]
While fetching persistent group info corrected p2p_client_list extraction

This patch also updates some log levels from error log to debug log.

Change-Id: Idf30ed631740e53946a5e7af39ab847defdf75c4
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoRemoved unused cynara-* package dependency 74/63974/1
Nishant Chaprana [Tue, 29 Mar 2016 06:25:20 +0000 (11:55 +0530)]
Removed unused cynara-* package dependency

Change-Id: I784865a3a5fa0fb5b46a5c168dcf3f3f765b2f16
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoEnabled wifi display API when device is connected. 66/63366/2
Nishant Chaprana [Wed, 23 Mar 2016 10:31:36 +0000 (16:01 +0530)]
Enabled wifi display API when device is connected.

This patch enables use of below APIs when device is connected.
1. wifi_direct_init_display
2. wifi_direct_deinit_display
3. wifi_direct_set_display
4. wifi_direct_set_display_availability

By doing so applicaitons can switch wifi_display roles in runtime.

Change-Id: Id5bf34daea47a3a68745a4eab9152374ff79f813
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoIn __ws_segment_to_service, max len can be 255 59/63359/2
Nishant Chaprana [Wed, 23 Mar 2016 09:38:26 +0000 (15:08 +0530)]
In __ws_segment_to_service, max len can be 255

This patch fixes the false comparision statement
because __ws_hex_to_num(ptr, 2) can return max 0xff which is 255.
and comparision was made between
return of __ws_hex_to_num(ptr, 2) with 0xffff which is wrong.
This comparision should be with 0xff.

Change-Id: Iaadbfa7ce002de382fd7e0356d53e89454eac9a6
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoFix dbus conf file syntax error 66/63766/2 accepted/tizen/common/20160329.142905 accepted/tizen/ivi/20160326.061105 accepted/tizen/mobile/20160326.061017 accepted/tizen/tv/20160326.061029 accepted/tizen/wearable/20160326.061047 submit/tizen/20160326.044923
Taesoo Jun [Sat, 26 Mar 2016 03:03:01 +0000 (12:03 +0900)]
Fix dbus conf file syntax error

Change-Id: Iaa1ecd62f4eee447d3ce56f57cf4d119c2717bf0
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
8 years agoUse GError to indicate Wi-Fi Direct error 22/63522/2 accepted/tizen/common/20160325.135656 accepted/tizen/ivi/20160325.072344 accepted/tizen/mobile/20160325.072211 accepted/tizen/tv/20160325.072245 accepted/tizen/wearable/20160325.072308 submit/tizen/20160325.042525
Yu Jiung [Thu, 24 Mar 2016 06:03:01 +0000 (15:03 +0900)]
Use GError to indicate Wi-Fi Direct error

Change-Id: I4edc9b48495607a15d93d6de5321d1cf0dac0976
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years ago[wifi-direct-manager] Fix memory leak when using g_variant_print() 60/62860/1
Maneesh Jain [Sat, 19 Mar 2016 12:24:57 +0000 (08:24 -0400)]
[wifi-direct-manager] Fix memory leak when using g_variant_print()

As per g_variant_print() documentation, it returns newly allocated memory.
so this memory should be freed using g_free() after use.

Change-Id: I81ea003fb39319b85a144dfffc965f9509c6c53e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years agoUse AUL launcher instead of app_control 07/62307/1 accepted/tizen/common/20160316.160333 accepted/tizen/ivi/20160316.040515 accepted/tizen/mobile/20160316.040423 accepted/tizen/tv/20160316.040438 accepted/tizen/wearable/20160316.040501 submit/tizen/20160316.022156
Yu Jiung [Tue, 15 Mar 2016 09:28:07 +0000 (18:28 +0900)]
Use AUL launcher instead of app_control

Description :
app_control functions can't be used by root user daemon.
So, We should use AUL launcher function.

Change-Id: Ia59a95cb4e25ec606d7b9af2546a671f567d2d5b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoDbus interfaces should be registered on bus name acquired callback. 75/62275/2
Nishant Chaprana [Tue, 15 Mar 2016 07:13:51 +0000 (12:43 +0530)]
Dbus interfaces should be registered on bus name acquired callback.

When registering dbus events on name acquired callback,
first dbus call always fail.
So now changed interface info registeration logic to register interface
at bus name acquired callback, by doing this we ensure that when first
dbus call comes interfaces are registered properly and we donot get
Unkonwn method error at library.

Change-Id: Iee93b8ea222bf0109115333b6bf1b6a6e9bdbeca
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>