platform/core/connectivity/wifi-direct-manager.git
7 years agoDestroy session first, and destroy group later 47/139547/3
Jiung Yu [Wed, 19 Jul 2017 09:05:59 +0000 (18:05 +0900)]
Destroy session first, and destroy group later

Description: In wfd_destroy_group, memory of peers which are member of
group is freed. In wfd_destroy_session, the peer is need to check
whether a session is completed or not. So, if we use wfd_destroy_group
first, wfd_destroy_session couldn't be used.

Change-Id: Ied2e68a18c829b5ea36e86191888116ac86f5da0
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove the TIZEN_FEATURE_IP_OVER_EAPOL build flag 20/139220/4
Jiung Yu [Tue, 18 Jul 2017 04:01:49 +0000 (13:01 +0900)]
Remove the TIZEN_FEATURE_IP_OVER_EAPOL build flag

Change-Id: I193769b63d8fb75ed18c315f1c7cf13612087872
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove the TIZEN_FEATURE_WIFI_DIRECT_ON_DEMAND build flag 19/139219/4
Jiung Yu [Tue, 18 Jul 2017 03:56:46 +0000 (12:56 +0900)]
Remove the TIZEN_FEATURE_WIFI_DIRECT_ON_DEMAND build flag

Change-Id: I8a2d1ae264914f43303d718b1e3231c7b1f9b60c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove CONNECTION_AGENT build flag and add it to config file 18/139218/4
Jiung Yu [Tue, 18 Jul 2017 03:50:07 +0000 (12:50 +0900)]
Remove CONNECTION_AGENT build flag and add it to config file

Change-Id: I2e739b86ab431ddc77fff3e642767ece4dd6d3e1
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd configuration file for Tizen Wi-Fi Direct features 17/139217/4
Jiung Yu [Tue, 18 Jul 2017 02:28:28 +0000 (11:28 +0900)]
Add configuration file for Tizen Wi-Fi Direct features

Description: We replace build config flags with the configuration file.
These features are not included in model config. So we can't get
availability of the feature at run time. I expect that managing
configuraions with a file can make porting process easy.

Change-Id: Ie2073decd0f4ec4b924c458704ea90479723d119
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove the TIZEN_FEATURE_ASP build flag 43/138643/4
Jiung Yu [Thu, 13 Jul 2017 05:53:12 +0000 (14:53 +0900)]
Remove the TIZEN_FEATURE_ASP build flag

Change-Id: I7b39f983f3e29db3196c58926e87a8e214fcc13a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove TIZEN_FEATURE_SERVICE_DISCOVERY build flag 95/138395/2
Jiung Yu [Wed, 12 Jul 2017 05:28:37 +0000 (14:28 +0900)]
Remove TIZEN_FEATURE_SERVICE_DISCOVERY build flag

Description: Remove this flag and manage it at run time.
But we leave service discovery event handling code on
wpasupplicant plugin working. When wfd-manager gets that
event from supplicant, wfd-manager'll parse it but it doesn't
raise a event to applications using Wi-Fi Direct CAPI.

Change-Id: I39100918e473982fdb321128102b3cc66dbc4b8c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove build flag TIZEN_FEATURE_WIFI_DISPLAY 03/138103/5
Jiung Yu [Tue, 11 Jul 2017 05:37:01 +0000 (14:37 +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: I305a6a3f083ca16e79f25eb8f41db97580ff826a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove TIZEN_WIFI_MODULE_BUNDLE & TIZEN_WLAN_CONCURRENT_ENABLE 45/137845/2
Jiung Yu [Mon, 10 Jul 2017 05:38:43 +0000 (14:38 +0900)]
Remove TIZEN_WIFI_MODULE_BUNDLE & TIZEN_WLAN_CONCURRENT_ENABLE

Description: There's been support for the Wi-Fi module which
doesn't have the Wi-Fi & Wi-Fi P2P concurrent mode. But nowadays,
most of devices support the concurrent mode. So we remove this
compile flags and support Wi-Fi Direct only the device supports
Wi-Fi & Wi-Fi P2P concurrent mode.

Change-Id: Iacd6149aed87361f5d89f5e1e8fbb2a39cb133a1
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd the Tizen feature information management 91/137691/2
Jiung Yu [Fri, 7 Jul 2017 05:54:17 +0000 (14:54 +0900)]
Add the Tizen feature information management

Description: We have made each features as build MACRO.
But that method raises maintaining issues because the Tizen
supports multiple profiles and targets that have different
feature configuration. Currently, we should rebuild wfd-manager
to support them. It seems not efficient.
So we'll make the wfd-manager manage some Tizen features at run time.

Change-Id: Ic1bf12a939d132065720c18d4b6d68c47a7cd304
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoStop supporting wpasupplicant socket plugin 81/137481/3
Jiung Yu [Thu, 6 Jul 2017 06:00:06 +0000 (15:00 +0900)]
Stop supporting wpasupplicant socket plugin

Description : We have supported the DBus interface for IPC between
the WPAsupplicant and the wfd-manager daemon since Tizen 2.3.
At that time, some features are not supported comparing with
a socket interface. But most of them are now provided by a DBus interface.
So, we will no longer support a socket interface to reduce the maintaining resource

Change-Id: Icb4b82f4a8d2f0151d36bd542a2709bf9d29454e
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMigrate root daemon to non root 00/135700/5
Jiung Yu [Mon, 26 Jun 2017 03:59:08 +0000 (12:59 +0900)]
Migrate root daemon to non root

Change-Id: Iada8f0e50a106138d8e5fee6926962a825d82425
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[Fix] Register "StaAuthorized" and "StaDeauthorized" on "fi.w1.wpa_supplicant1.Interface" 80/128080/2 accepted/tizen/unified/20170608.184737 submit/tizen/20170608.074045
Nishant Chaprana [Fri, 5 May 2017 05:06:06 +0000 (10:36 +0530)]
[Fix] Register "StaAuthorized" and "StaDeauthorized" on "fi.w1.wpa_supplicant1.Interface"

Change-Id: I50769c426eb0131db3214200e757c577f14f23c1
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[Wi-Fi Direct tethering] Adding ssid in CreateGroup method call. 25/130525/3
Nishant Chaprana [Mon, 22 May 2017 15:26:35 +0000 (20:56 +0530)]
[Wi-Fi Direct tethering] Adding ssid in CreateGroup method call.

Description: This patch will add ssid parameter in CreateGroup so that mobileap-agent
can configure Group's name on CreateGroup method call.

Change-Id: I693f0fcd5e1f9b299be41ad970ec7335f9a3011a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoAppend DNS option in dhcpd.conf for Wi-Fi Direct tethering 56/132456/1
Milind Ramesh Murhekar [Mon, 5 Jun 2017 08:55:31 +0000 (14:25 +0530)]
Append DNS option in dhcpd.conf for Wi-Fi Direct tethering

Description: This Patch appends the default DNS address
for the Wi-Fi Direct Tethering in dhcpd.conf file.

Change-Id: I67ea8049d609d8a2a0dd541ef2683395942834ab

7 years agoSupport Wi-Fi Direct Tethering feature for Tizen 4.0 27/129427/3
Milind Ramesh Murhekar [Tue, 16 May 2017 10:17:48 +0000 (15:47 +0530)]
Support Wi-Fi Direct Tethering feature for Tizen 4.0

Decription: This patch blocks or do not allow
Wi-Fi Direct Application to control wfd-manager
if Wi-Fi Direct Tethering is in progress.

Change-Id: I8854f4a3df5321f5da6f099592edf638a28a5ee4
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoMerge "[FIX] fix issue of overwrite sub package's files. - This is for Tizen 4.0... accepted/tizen/unified/20170510.183714 submit/tizen/20170510.102153 tizen_4.0.m1_release
taesub kim [Tue, 9 May 2017 06:50:08 +0000 (06:50 +0000)]
Merge "[FIX] fix issue of overwrite sub package's files.  - This is for Tizen 4.0.  - If packages are connected with compat style and main/super package that contains same items with sub package, will overwrite it.  - Change the installation sequence to main/super package first and sub package later." into tizen

7 years agoAdded AddVsie, GetVsie, RemoveVsie and GetConnectingPeer methods 86/127186/3 accepted/tizen/unified/20170428.032831 submit/tizen/20170427.090631
Nishant Chaprana [Wed, 26 Apr 2017 10:16:32 +0000 (15:46 +0530)]
Added AddVsie, GetVsie, RemoveVsie and GetConnectingPeer methods

Description: This patch adds implementation of below methods:-
1. AddVsie: This method adds specific vsie for specific p2p frame.
interface name -> net.wifidirect.config

2. GetVsie: This method gets vsie for specific p2p frame.
interface name -> net.wifidirect.config

3. RemoveVsie: This method removes specific vsie from specific p2p frame.
interface name -> net.wifidirect.config

4. GetConnectingPeer: This method fetches connecting peer's information.
interface name -> net.wifidirect

5. Added handling for "Frequency" parameter in StartDiscovery method call.

Change-Id: I5b2a643a854c20e7e6381ea7fc5d40c4c8f9733d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[FIX] fix issue of overwrite sub package's files. 88/125188/5
hk57.kim [Mon, 24 Apr 2017 04:12:58 +0000 (13:12 +0900)]
[FIX] fix issue of overwrite sub package's files.
 - This is for Tizen 4.0.
 - If packages are connected with compat style and main/super package that contains same items with sub package, will overwrite it.
 - Change the installation sequence to main/super package first and sub package later.

Change-Id: I5ef49185493137e0a874b2c265c0dc8630d02cc9
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years agoMerge "Added handling when persistent group is reinvoked" into tizen accepted/tizen/unified/20170425.044939 submit/tizen/20170424.094825
cheoleun moon [Mon, 24 Apr 2017 09:48:00 +0000 (09:48 +0000)]
Merge "Added handling when persistent group is reinvoked" into tizen

7 years agoBug Fix and Code Cleanup 06/125806/2
Milind Ramesh Murhekar [Wed, 19 Apr 2017 03:46:31 +0000 (09:16 +0530)]
Bug Fix and Code Cleanup

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

Change-Id: I04dffe55037477fee0c649269504aab64fffa555
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoAdded handling when persistent group is reinvoked 31/124531/1
Nishant Chaprana [Tue, 11 Apr 2017 12:43:01 +0000 (18:13 +0530)]
Added handling when persistent group is reinvoked

Change-Id: Ie616dc279dd5c563fe70b07c09f3dc4208195f53
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix post command for installing wifi-direct-plugin-wpasupplicant 87/123987/1 accepted/tizen/unified/20170410.155811 submit/tizen/20170410.045716
Yu Jiung [Mon, 10 Apr 2017 02:08:40 +0000 (11:08 +0900)]
Fix post command for installing wifi-direct-plugin-wpasupplicant

Description : There's some problem when creating the image by installing
serise for RPMs. Sometimes link added by post command is breaking and
wifi-direct can't work propery. The reason for this is not known.

Change-Id: Ibb794451438a8ef5b61c40cd91524d9e2341995f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix Svace issues WGID 183392 183809 183815 47/122947/1 accepted/tizen/unified/20170406.054150 submit/tizen/20170404.234357
Yu Jiung [Tue, 4 Apr 2017 04:55:31 +0000 (13:55 +0900)]
Fix Svace issues WGID 183392 183809 183815

Change-Id: Ib31207e343066a780a1b7fac8dc335b16a81bd4a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[4.0] Fix : make build extension-TM1 only for arm 75/113775/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170209.122338 accepted/tizen/ivi/20170210.004526 accepted/tizen/mobile/20170210.004352 accepted/tizen/tv/20170210.004430 accepted/tizen/unified/20170309.032825 accepted/tizen/wearable/20170210.004503 submit/tizen/20170209.064241 submit/tizen_unified/20170308.100406
hk57.kim [Thu, 9 Feb 2017 01:25:34 +0000 (10:25 +0900)]
[4.0] Fix : make build extension-TM1 only for arm

- This is for Tizen 4.0
- Provide extension-TM1 only for arm.

Change-Id: Iec71b5e0d9c9269314a47cdec82b773203b61c93
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years ago[4.0] Remove target_name Dependency 66/108166/7 accepted/tizen/common/20170208.155033 accepted/tizen/ivi/20170208.103905 accepted/tizen/mobile/20170208.103819 accepted/tizen/tv/20170208.103837 accepted/tizen/wearable/20170208.103849 submit/tizen/20170208.053959
hk57.kim [Fri, 3 Feb 2017 04:52:11 +0000 (13:52 +0900)]
[4.0] Remove target_name Dependency

 - This is for Tizen 4.0.
 - There are issue of having choice of .so files.
 - Remove target_name Dependency
 - We are going to unify repositories as well as build projects.
 - When you SR this, you need to create JIRA-TRE issue of:
   : add wifi-direct-manager-extension-TM1, wifi-direct-plugin-wpasupplicant-extension-TM1 for TM1 (mobile)

(It's add)
Change-Id: I0a767668b9a9a0bd200ee5eac3c573a4a955ca30
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years agoMerge "Change the wpa_supplicant configuration file path" into tizen accepted/tizen/common/20170201.171550 accepted/tizen/ivi/20170201.090026 accepted/tizen/mobile/20170201.085935 accepted/tizen/tv/20170201.085952 accepted/tizen/wearable/20170201.090012 submit/tizen/20170201.015422
cheoleun moon [Wed, 1 Feb 2017 02:14:43 +0000 (18:14 -0800)]
Merge "Change the wpa_supplicant configuration file path" into tizen

7 years agoChange the wpa_supplicant configuration file path 27/111327/2
Yu Jiung [Thu, 5 Jan 2017 09:44:12 +0000 (18:44 +0900)]
Change the wpa_supplicant configuration file path

Change-Id: I7d848e1e6a6bc2fff07409199f8ef7571bfe6976
(cherry picked from commit eb31656838b0d9aa2748fe0ef0f10b2e6cce1d5b)

7 years ago[4.0] Remove profile build dependencies 18/102118/3
hk57.kim [Tue, 27 Dec 2016 23:52:33 +0000 (08:52 +0900)]
[4.0] Remove profile build dependencies

- This is for Tizen 4.0.
- Added backward-compatibility that does not deteriorate 4.0 Configurability
- When you send SR of this comimt you need to create JIRA-TRE of:

 - common/ivi profile: Add wifi-direct-manager-profile_common, wifi-direct-plugin-wpasupplicant-profile_common
 - wearable profile: Add wifi-direct-manager-profile_wearable, wifi-direct-plugin-wpasupplicant-profile_wearable
 - mobile profile: Add wifi-direct-manager-profile_mobile, wifi-direct-plugin-wpasupplicant-profile_mobile
 - tv profile: Add wifi-direct-manager-profile_tv, wifi-direct-plugin-wpasupplicant-profile_tv

(It's add, not replace.)

Change-Id: Ie3ae4429ea4b94c6358edbd9d81d3844a30c85a0
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years agoMerge "Connection should be made with go_dev_addr received in InvitationReceived...
cheoleun moon [Tue, 20 Dec 2016 04:24:48 +0000 (20:24 -0800)]
Merge "Connection should be made with go_dev_addr received in InvitationReceived event." into tizen

7 years agoRemove Unexpected profile 09/105509/2
Yu Jiung [Mon, 19 Dec 2016 01:00:05 +0000 (10:00 +0900)]
Remove Unexpected profile

Description : This'll be applied only on tizen_3.0 branch.

Change-Id: I4efa95c95d09a1c272b13fd3c3b7aabcaececaf6
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix Provision Discovery Request event logic 89/105089/2 accepted/tizen/common/20161216.124346 submit/tizen/20161216.015417
Yu Jiung [Thu, 15 Dec 2016 10:25:42 +0000 (19:25 +0900)]
Fix Provision Discovery Request event logic

Description : If the device is GO which sent the Invitation Request
to the peer and that peer sends the provision discovery request,
that request can't be accepted because the condition on event handler.
Replace it with checking the peer is already on the members of the
Wi-Fi Direct group.

Change-Id: I1e7636a6ab4abf51ef30ccd12215a6f115884132
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoConnection should be made with go_dev_addr received in InvitationReceived event. 31/103531/2
Nishant Chaprana [Thu, 8 Dec 2016 14:10:17 +0000 (19:40 +0530)]
Connection should be made with go_dev_addr received in InvitationReceived event.

Description: This patch sends connection request of go_dev_addr to
applicaiton, because peer(GC) device, requested our device to
connect to go_dev_addr.

Change-Id: If8853e4cf772ffc9b0878e10535ac12235bf8e94
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFix Svace issues WGID 143860, 143861, 143862, 143863 02/103102/1 accepted/tizen/common/20161207.184730 accepted/tizen/ivi/20161208.012622 accepted/tizen/mobile/20161208.012529 accepted/tizen/tv/20161208.012543 accepted/tizen/wearable/20161208.012604 submit/tizen/20161207.114725
Yu Jiung [Wed, 7 Dec 2016 08:12:25 +0000 (17:12 +0900)]
Fix Svace issues WGID 143860, 143861, 143862, 143863

Change-Id: I31377bffb5fa3d58477471cf7fcae6a120539e03
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoTizen 3.0 Upgrade Script renumbering 96/102296/1 accepted/tizen/common/20161205.140137 accepted/tizen/ivi/20161205.234419 accepted/tizen/mobile/20161205.234316 accepted/tizen/tv/20161205.234326 accepted/tizen/wearable/20161205.234350 submit/tizen/20161205.112011
Yu Jiung [Mon, 5 Dec 2016 09:54:16 +0000 (18:54 +0900)]
Tizen 3.0 Upgrade Script renumbering

Change-Id: Ib3ec9902d4dd646924515725956fd2b6cc8180dd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix Svace issue WGID 143851 68/101768/1
Yu Jiung [Fri, 2 Dec 2016 06:27:02 +0000 (15:27 +0900)]
Fix Svace issue WGID 143851

Change-Id: Ib0db22fa0d70702f9437b1e16c84cc09bd71352c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd service file for 64bit build 37/99537/1 accepted/tizen/common/20161125.095618 accepted/tizen/ivi/20161128.000829 accepted/tizen/mobile/20161128.000635 accepted/tizen/tv/20161128.000749 accepted/tizen/wearable/20161128.000813 submit/tizen/20161125.052705
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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>