platform/core/connectivity/wifi-direct-manager.git
3 years agoChange systemd-devel package name 09/252909/1
INSUN PYO [Wed, 3 Feb 2021 05:18:59 +0000 (14:18 +0900)]
Change systemd-devel package name

Change-Id: Ib7b2b56cbd00809e3c4c9df09228c9729d901642

3 years agoRearrange memory ownership of found device 09/251009/4 accepted/tizen/unified/20210113.121024 submit/tizen/20210112.224833
Yu [Wed, 6 Jan 2021 22:44:35 +0000 (07:44 +0900)]
Rearrange memory ownership of found device

Description: The plugin'll handle the peer device memory in event
and manager'll handle the peer device memory in requesting method.

Change-Id: I29cdce4bd9ece87a44e90448b92c82cb1ab644df
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoFree vsie for peer which was not freed 39/250939/1 accepted/tizen/unified/20210107.123454 submit/tizen/20210106.044334
Yu [Wed, 6 Jan 2021 03:07:32 +0000 (12:07 +0900)]
Free vsie for peer which was not freed

Change-Id: I52755360e2dcb3a0c33d7af685512fddf7234004
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
3 years agoFix bugs in start/stop service discovery 12/249112/2 submit/tizen/20201208.051833
Yu [Mon, 7 Dec 2020 07:38:44 +0000 (16:38 +0900)]
Fix bugs in start/stop service discovery

Description: Wrong parameter name was used to start
service discovery request.
Wrong data type was used to cancel service discovery
request
Change-Id: I37914cbb948c190f2f05fc7fb3e35b413bee0307
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoFix wifi activate/deactivate issue when wifi_direct is deactivated using API 03/244603/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120639 accepted/tizen/6.0/unified/hotfix/20201103.051330 accepted/tizen/unified/20200925.140221 submit/tizen/20200925.060241 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Nishant Chaprana [Tue, 22 Sep 2020 08:26:18 +0000 (13:56 +0530)]
Fix wifi activate/deactivate issue when wifi_direct is deactivated using API

Disable wpa_supplicant Start/Stop in wifi-direct-manager
because net-config has ownership to Start/Stop wpa_supplicant.

Change-Id: I0e1319286fc669b5a382f2a41bcc3b6822bf2d32
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoAdd interface_name while calling wlan.sh for multi-interface support 46/242646/1 accepted/tizen/unified/20200903.151720 submit/tizen/20200828.142119 submit/tizen/20200901.053326 submit/tizen/20200902.111409 submit/tizen/20200903.044940
Nishant Chaprana [Fri, 28 Aug 2020 11:27:15 +0000 (16:57 +0530)]
Add interface_name while calling wlan.sh for multi-interface support

Change-Id: Id2de6c4d11a05558b89b7ef1bbbcffe76ee52066
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoMerge "Return proper result for createInterface call" into tizen submit/tizen/20200825.015315
Jiung Yu [Tue, 25 Aug 2020 01:45:14 +0000 (01:45 +0000)]
Merge "Return proper result for createInterface call" into tizen

4 years agoReturn proper result for createInterface call 50/242150/1
Shagun Garg [Mon, 24 Aug 2020 13:04:39 +0000 (18:34 +0530)]
Return proper result for createInterface call

If CreateInterface fails, proper result is not being sent to caller function.
This can lead to improper state being set at activate function

Change-Id: I7c75eb459bfc2fffa9920c822bb5825cb243c640

4 years agoDestroy previously created group in case of failure 38/238938/3
Shagun Garg [Tue, 18 Aug 2020 11:30:45 +0000 (17:00 +0530)]
Destroy previously created group in case of failure

[Issue] Unable to create group further if failed previously due to incorrect ssid length.
[Solution] Destroy previously created group before returning failure due to incorrect ssid length check.

Change-Id: I60a018ca60fa850cbd7a65b432f55f00d8c73e9e

4 years agoAdd dbus method call to get supported channels 35/238935/4 submit/tizen/20200804.230001
Nishant Chaprana [Mon, 20 Jul 2020 11:08:15 +0000 (16:38 +0530)]
Add dbus method call to get supported channels

Change-Id: I6b9938b8380e92a70d4fcc24a38e8085450eccf2
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix GVariant memory allocation issues for tests 77/237477/2 submit/tizen/20200713.070440
Yu [Tue, 30 Jun 2020 23:30:27 +0000 (08:30 +0900)]
Fix GVariant memory allocation issues for tests

Change-Id: Ic5bf4137c047ae9653065b98f7cec0e40dcdd649
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoFix several invalid read/write memory and definitely lost memory 76/237476/2
Yu [Tue, 30 Jun 2020 22:36:59 +0000 (07:36 +0900)]
Fix several invalid read/write memory and definitely lost memory

Change-Id: Ife9d0f2808e068e5b52bb0e8eabbec147a826beb
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoChange the service file path using macro 67/237067/1 submit/tizen/20200629.055732
Yu [Wed, 24 Jun 2020 22:51:12 +0000 (07:51 +0900)]
Change the service file path using macro

Change-Id: I18f7f1215bd0da67730a063078ce344beaf8b719
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoAdd Broadcast (-B) option while triggering dhcp client 46/235846/1 submit/tizen/20200614.225356
Nishant Chaprana [Wed, 10 Jun 2020 07:52:38 +0000 (13:22 +0530)]
Add Broadcast (-B) option while triggering dhcp client

Description:
    toybox dhcp client has implemented -B option
    to forcefully set broadcast flag in DHCP packet.

    So to maintain previous behaviour of tizen_5.5)
    (which sends broadcast flag enabled dhcp packet),
    we need to add -B option while triggering dhcp client.

Reference:
    https://review.tizen.org/gerrit/#/c/platform/upstream/toybox/+/225942/

Change-Id: I65de16264356efa23ba1be955ce76f7a0463bb3f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoFix ASAN build failure 33/235033/1 accepted/tizen/unified/20200608.043742 submit/tizen/20200602.065713 submit/tizen/20200607.221928
Yu [Tue, 2 Jun 2020 01:33:21 +0000 (10:33 +0900)]
Fix ASAN build failure

Change-Id: I991821c934ee8f2f401bc194f892a77a71c38a20
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoFix build error 77/229877/1 accepted/tizen/unified/20200603.150230 submit/tizen/20200406.074317 submit/tizen/20200529.030749
Cheoleun Moon [Mon, 6 Apr 2020 07:28:55 +0000 (16:28 +0900)]
Fix build error

Change-Id: I0f7c6183d79972f84c405f8fb63859036ae75ea1
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoRevert "Fix build error"
Cheoleun Moon [Mon, 6 Apr 2020 07:27:50 +0000 (16:27 +0900)]
Revert "Fix build error"

This reverts commit d9c0dbcf386d79d2485f45f9abd7edbe7ab2fdb8.

4 years agoFix build error
Cheoleun Moon [Mon, 6 Apr 2020 07:26:59 +0000 (16:26 +0900)]
Fix build error

4 years agoFix memory leak 44/228544/1 submit/tizen/20200406.044722
INSUN PYO [Mon, 23 Mar 2020 23:39:56 +0000 (08:39 +0900)]
Fix memory leak

Change-Id: I6f008a1efa4ccf9607ce5699f4a1cf5045e64c22

4 years agoFix for p2p_client_num being a garbage value in some cases. 51/226251/3 accepted/tizen/unified/20200303.032545 submit/tizen/20200302.055800
Suraj Geddam [Fri, 28 Feb 2020 07:23:52 +0000 (12:53 +0530)]
Fix for p2p_client_num being a garbage value in some cases.

Change-Id: Id79b27ca469398acd67841ad3cfd27e66d1d8c30

4 years agoFix bugs which are reported by static analyzer 06/224606/1 accepted/tizen/unified/20200224.081414 submit/tizen/20200212.232659 submit/tizen/20200217.011016
Yu [Wed, 12 Feb 2020 02:52:24 +0000 (11:52 +0900)]
Fix bugs which are reported by static analyzer

Change-Id: Ia3f6c1c52b4f53d5f66b81af46e4df63f0cc734a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoReplace deprecated APIs of Glib v2.62.3 with suggested GLib APIs 06/224506/1 submit/tizen/20200203.160801
Jaehyun Kim [Tue, 11 Feb 2020 06:36:40 +0000 (15:36 +0900)]
Replace deprecated APIs of Glib v2.62.3 with suggested GLib APIs

Below Glib API call is replaced:
g_main_quit => g_main_loop_quit

Change-Id: I4db3ab73083e1c5dd84b3f01beb65e6fa78f8d28
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoFix warning for gcc 9 53/221053/1 accepted/tizen/unified/20200102.220903 submit/tizen/20191229.233311
Yu [Fri, 27 Dec 2019 00:41:47 +0000 (09:41 +0900)]
Fix warning for gcc 9

Change-Id: I1f7e65432bfe6b52051bcfec5eba68378693cf33
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
4 years agoSet EAPOL IP using 'IpAddrGo' as updated in wpa_supplicant v2.8 64/216864/1
Nishant Chaprana [Mon, 4 Nov 2019 04:03:40 +0000 (09:33 +0530)]
Set EAPOL IP using 'IpAddrGo' as updated in wpa_supplicant v2.8

Change-Id: Ib9cbf7d97b3fcd05a0f8289436e060c86b2a8a62
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoRemove duplicate dependency with implicit dependencies at "Type=dbus" 94/211594/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.024701 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084535 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115111 accepted/tizen/unified/20190819.081524 submit/tizen/20190814.064533 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 submit/tizen_5.5_wearable_hotfix/20201026.184303 tizen_5.5.m2_release
INSUN PYO [Wed, 7 Aug 2019 03:27:40 +0000 (12:27 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"

Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
 - Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.

Change-Id: I759e0a9e7d892b8039b4cc992ae971a69e50b589

5 years agoMerge "Delete meaningless configuration" into tizen accepted/tizen/unified/20190725.042818 submit/tizen/20190723.090434
cheoleun moon [Tue, 23 Jul 2019 09:08:49 +0000 (09:08 +0000)]
Merge "Delete meaningless configuration" into tizen

5 years agoFix bug reported by static analyzer 60/209560/1 accepted/tizen/unified/20190712.115338 submit/tizen/20190710.225804
Yu [Tue, 9 Jul 2019 01:21:29 +0000 (10:21 +0900)]
Fix bug reported by static analyzer

Change-Id: Id36e5a6354abca96999efa493724bcd4318965f7
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoDelete meaningless configuration 01/209501/1
INSUN PYO [Mon, 8 Jul 2019 10:28:48 +0000 (19:28 +0900)]
Delete meaningless configuration

Change-Id: Ie325e5e29e459ae5b940103a15ee4afa7467ca9b

5 years agoUse libnl-3.0 in place of libnl-2.0 48/205248/1 accepted/tizen/unified/20190605.215645 submit/tizen/20190520.082305 submit/tizen/20190604.083831
Nishant Chaprana [Wed, 1 May 2019 05:19:08 +0000 (10:49 +0530)]
Use libnl-3.0 in place of libnl-2.0

Change-Id: I821cadc7919af327fc4998059e4fec4967d11e7b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoStart/stop Wi-Fi Direct popup using async function 40/200040/3 accepted/tizen/unified/20190221.015355 submit/tizen/20190220.080728
Yu [Mon, 18 Feb 2019 08:15:08 +0000 (17:15 +0900)]
Start/stop Wi-Fi Direct popup using async function

Description : There's Wi-Fi Direct popup app crash
when Wi-Fi Direct On/Off happens with short term.
That's because Wi-Fi Direct popup waits Addclient method call
reply at Wi-Fi Direct capi initialize time but wfd-manager daemon
busy deactivating and not responding to it.

Also, wfd-manager daemon stops Wi-Fi Direct popup when deactivating
but Wi-Fi Direct popup doesn't get terminate request
because it doesn't get the reply for Addclient method call yet.

AMD sends some signal if application doesn't respond within 5 sec
and Wi-Fi Direct popup'll be killed and leave crash log.

In this change, daemon will start/stop Wi-fi Direct popup
using async function of aul

Related change seems :
https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/194005/
Change-Id: Ie05d4c4bacd7e7d01a8e41a1c870428329c11fce
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoFix warning from static analyzer 71/197871/1 accepted/tizen/unified/20190128.061711 submit/tizen/20190122.114357 submit/tizen/20190123.120324
Yu [Thu, 17 Jan 2019 01:21:50 +0000 (10:21 +0900)]
Fix warning from static analyzer

Change-Id: Idf7048e9a0777c7624249164123593ab336437e0
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoRemove duplicated setting for vconfkey when device is GO 75/197675/2
Yu [Tue, 15 Jan 2019 07:54:21 +0000 (16:54 +0900)]
Remove duplicated setting for vconfkey when device is GO

Description : Those vconfkeys are also set by wfd_util_dhcps_start()
function. It seems duplicated. Some vconfkeys are used by several methods.
(ex: get_subnet_mask_handler, get_gateway_handler).

Change-Id: I8e36ca79a07698ea251a45860329e4c4b75e7271
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoRemove legacy p2p_supp.conf file 73/197673/1
Yu [Tue, 15 Jan 2019 07:23:33 +0000 (16:23 +0900)]
Remove legacy p2p_supp.conf file

Description: Most of P2PDevice related parameters are initialized by
__ws_init_p2pdevice and __ws_set_config_methods. And default configuration
file is provided by wpa_supplicant. We no longer need this file.
If more changes are needed, We need to think about adding parameters or
changed wpa_supplicant default configuration file.

Change-Id: I848230f6cb76eec51957ee34bab7c80d7233c108
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoFix typo for the vconfkey 74/197574/1 accepted/tizen/unified/20190115.060001 submit/tizen/20190114.074207
Yu [Mon, 14 Jan 2019 07:39:20 +0000 (16:39 +0900)]
Fix typo for the vconfkey

Change-Id: I32af02a7e26d898bddfdef04feb5dba95b1531de
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoMerge "Fix to handle a situation where dhcp callback has been registered for a peer... submit/tizen/20190114.060735
cheoleun moon [Mon, 14 Jan 2019 06:06:43 +0000 (06:06 +0000)]
Merge "Fix to handle a situation where dhcp callback has been registered for a peer but peer has not requested for IP. So, for next connection, callback comes for old peer rather than new peer. Thus, ignoring old callback before registering new callback" into tizen

5 years agoFix incorrect handling of STA CONNECTED event 75/196075/1
Shagun Garg [Fri, 21 Dec 2018 08:02:07 +0000 (13:32 +0530)]
Fix incorrect handling of STA CONNECTED event

Mobile is not able to create wifi-direct connection with TV after multiple trials
This is observed when previously simultaneous connection has been requested for two devices (speaker and mobile).
Issue :
1. There is a  previously created session for mobile when sta_connected is received for speaker.
2. Incorrect device is added as member in group and "connection" signal is sent for wrong device.
Solution :
1. Previously created session for mobile should be destroyed in case Session->peer->dev_addr and event->dev_addr are not matched in wfd_event_sta_connected()

Change-Id: Icf4af67d653e0bc23faffe2d32ec455de3e70c04
Signed-off-by: Shagun Garg <shagun1.garg@samsung.com>
5 years agoFix to handle a situation where dhcp callback has been registered 60/195960/1
Rahul Jain [Thu, 20 Dec 2018 05:11:05 +0000 (10:41 +0530)]
Fix to handle a situation where dhcp callback has been registered
for a peer but peer has not requested for IP.
So, for next connection, callback comes for old peer rather than new peer.
Thus, ignoring old callback before registering new callback

Change-Id: Id1f25cd899ba66c1e7436a9a8823ecee9a84d12c
Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
5 years agoFix dlog format error 13/195513/1 accepted/tizen/unified/20181217.142359 submit/tizen/20181217.043011
Yu [Fri, 14 Dec 2018 05:36:19 +0000 (14:36 +0900)]
Fix dlog format error

Change-Id: If8139689b9f9ef0c6dcb55545dd26d2663b3cd3c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
5 years agoAccept incoming negotiation request when autoconnection is ON. 10/192810/4
Nishant Chaprana [Fri, 9 Nov 2018 11:51:12 +0000 (17:21 +0530)]
Accept incoming negotiation request when autoconnection is ON.

Change-Id: Icf0dda99a9584622b6cc955174be134671af0319
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoRemove device specific comments 09/192809/4
Nishant Chaprana [Fri, 9 Nov 2018 11:30:04 +0000 (17:00 +0530)]
Remove device specific comments

Change-Id: Ic4dcd16e2d4a9eff43115bc44160a233bd842e28
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoEmit Failed Signal in case of connect failure 07/190507/1 accepted/tizen/unified/20181115.151609 submit/tizen/20181115.005500
Shagun Garg [Wed, 3 Oct 2018 06:35:42 +0000 (12:05 +0530)]
Emit Failed Signal in case of connect failure

This patch Emits Connect response signal with status "WIFI_DIRECT_ERROR_OPERATION_FAILED" in case wfd_manager_connect() call fails.
Therefore, application is aware of status of connection request.

Signed-off-by: Shagun Garg <shagun1.garg@samsung.com>
Change-Id: Ibe102a1ebefa97d7137f26c5399558d5df56de08

6 years agoRevert "Handle <InvitationResult> [P2P-INVITATION-RESULT status parameter]" 05/187005/1 accepted/tizen/5.0/unified/20181102.015545 accepted/tizen/unified/20180822.093838 submit/tizen/20180821.220138 submit/tizen_5.0/20181101.000003
Nishant Chaprana [Fri, 17 Aug 2018 07:19:07 +0000 (07:19 +0000)]
Revert "Handle <InvitationResult> [P2P-INVITATION-RESULT status parameter]"

This reverts commit 43b3297f88ac99d21e01514bee20dcba3ca7f749.

Change-Id: Iacd2332a17820b571f07c455757d1e6250ebf96c

6 years agoHandle <InvitationResult> [P2P-INVITATION-RESULT status parameter] 96/185996/4 accepted/tizen/unified/20180817.061745 submit/tizen/20180814.075657 submit/tizen/20180815.221347 submit/tizen/20180816.050429
Shagun Garg [Mon, 6 Aug 2018 09:11:02 +0000 (14:41 +0530)]
Handle <InvitationResult> [P2P-INVITATION-RESULT status parameter]

This Patch processes the "InvitationResult" event parameters and sets the status of result.
If ResultStatus implies any error then the session previously created for sending Invitation Request must be destroyed.

Signed-off-by: Shagun Garg <shagun1.garg@samsung.com>
Change-Id: Ib57e913a95a2235b0348e8c01712c5462d5f103a

6 years agoAdded 'GetConfig' and 'GetAvailiability' on display interface. 88/185388/1 accepted/tizen/unified/20180801.144810 submit/tizen/20180731.072936
Nishant Chaprana [Mon, 30 Jul 2018 06:26:35 +0000 (11:56 +0530)]
Added 'GetConfig' and 'GetAvailiability' on display interface.

This patch adds implementation for GetConfig and GetAvailability methods
on display interface to get own device's wifi display details.

Change-Id: Ia6ee4054fafc92ab83eeb2cf419b5c8bb059d2d6
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoAdd support for new APIs 59/174259/9 accepted/tizen/unified/20180427.062359 submit/tizen/20180426.072841
Milind Murhekar [Thu, 29 Mar 2018 10:12:37 +0000 (15:42 +0530)]
Add support for new APIs

This patch adds below functionalities
for wfd-manager.

a) set/get go intent based on device type
b) set/unset notification for peer device info connection state
c) set/get WPS config method e) remove persistent device based on BSSID
d) remove all persistent device

Change-Id: Icbe8a9c3428988dc1b386425191209428deb75d4
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years agoMerge "Added dbus/cynara policy" into tizen accepted/tizen/unified/20180417.173142 submit/tizen/20180416.225047
taesub kim [Tue, 10 Apr 2018 04:37:22 +0000 (04:37 +0000)]
Merge "Added dbus/cynara policy" into tizen

6 years agoAdded dbus/cynara policy 67/174467/1
taesub kim [Mon, 2 Apr 2018 08:47:54 +0000 (17:47 +0900)]
Added dbus/cynara policy

Change-Id: Ic2dc249084f076ac1190a9657c831637910b2f1e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agocopy the device name with correct buffer size 13/174413/3 accepted/tizen/unified/20180406.062051 submit/tizen/20180403.231154
Milind Murhekar [Mon, 2 Apr 2018 05:16:39 +0000 (10:46 +0530)]
copy the device name with correct buffer size

Description: This patch corrects the copying
of device/peer name using destination size, as
g_strlcpy handles the null terminations internally.

Change-Id: I89b4149bf518a02478818071d9beeccb63b324e7
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years agoCall wfd_util_get_local_dev_mac after assigning g_manager 98/172098/3 accepted/tizen/unified/20180320.141335 submit/tizen/20180318.231541 submit/tizen/20180320.043504
Jiung [Mon, 12 Mar 2018 00:35:08 +0000 (09:35 +0900)]
Call wfd_util_get_local_dev_mac after assigning g_manager

Description : Setting interface address logic is also removed
because there's case which can't be covered by this.
And it seems no longer needed because it's used for avoiding
confusion of event which is raised by wpasupplicant socket interface

Change-Id: Iacab4513bf718711a7263d1f71fd47846c04ebd4
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdd GetPeerVsie method 22/170122/1 accepted/tizen/unified/20180302.061522 submit/tizen/20180228.035728
Nishant Chaprana [Tue, 13 Feb 2018 11:19:05 +0000 (16:49 +0530)]
Add GetPeerVsie method

Change-Id: Ia0173c4affa1d1efdfa7ea93fce193f9a6432296
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years ago[AddVsie] Do not add vsie if already present 46/168746/1 accepted/tizen/unified/20180201.080000 submit/tizen/20180131.092238
Nishant Chaprana [Tue, 30 Jan 2018 11:30:24 +0000 (17:00 +0530)]
[AddVsie] Do not add vsie if already present

Change-Id: I9b63698c4b78774fc485407ad3f024a39a61474d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoAdd initial sources for gtest in unittest 92/167792/7 accepted/tizen/unified/20180126.042847 submit/tizen/20180125.231503
Jiung [Mon, 22 Jan 2018 06:15:32 +0000 (15:15 +0900)]
Add initial sources for gtest in unittest

Change-Id: I4df99765f89ec116f72709629675a75f61578bad
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoReplace error code with macro for method. 96/167796/3
Jiung [Mon, 22 Jan 2018 05:41:10 +0000 (14:41 +0900)]
Replace error code with macro for method.

Change-Id: Ied6b642b3bd20a3ccd97c2896fddbcee36f61fd5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoModify group remove logic 95/167795/2
Jiung [Mon, 22 Jan 2018 05:23:49 +0000 (14:23 +0900)]
Modify group remove logic

Description: wfd_util_is_remove_group_allowed is needed in
group destroyed event and remove duplicated logic.

Change-Id: I0264d61605c13785c4fcdea74fad074fa9603e8d
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoRemove handling STA-DISCONNECTED event when WFD state is DISCONNECTING 94/167794/2
Jiung [Mon, 22 Jan 2018 05:15:03 +0000 (14:15 +0900)]
Remove handling STA-DISCONNECTED event when WFD state is DISCONNECTING

Description: STA-DISCONNECTED event won't be occured when
WFD state is DISCONNECTING.

Change-Id: I0b121b6e06400d8c065f0fd98d7b4ce1aabe0e86
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoFix resource leak for GVariantBuilder 66/167966/1 accepted/tizen/unified/20180124.154230 submit/tizen/20180124.042607
hyunuktak [Tue, 23 Jan 2018 05:56:35 +0000 (14:56 +0900)]
Fix resource leak for GVariantBuilder

Change-Id: I75bb094f735e5a2b2364097d49529015ccbac2d6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFix build error for 64bit arch 25/165325/1 accepted/tizen/unified/20171229.070204 submit/tizen/20171228.074717
Jiung [Thu, 28 Dec 2017 07:23:32 +0000 (16:23 +0900)]
Fix build error for 64bit arch

Change-Id: Idfe007030d73e36b501adefb11549fc28d770570
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoMove load wpa_supplicant plugin function to utils 49/164949/1 submit/tizen/20171228.053515
Jiung [Fri, 22 Dec 2017 03:01:41 +0000 (12:01 +0900)]
Move load wpa_supplicant plugin function to utils

Change-Id: Ib9465da56df3961d4c9f4684312c8fb73d5f50b3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoExpose method handler function 77/164877/1
Jiung [Thu, 21 Dec 2017 07:07:23 +0000 (16:07 +0900)]
Expose method handler function

Change-Id: Iaca48d7bc6aefde18d769f679661fa2f4d27c85f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoMake new source file for main function 76/164876/1
Jiung [Thu, 21 Dec 2017 07:01:41 +0000 (16:01 +0900)]
Make new source file for main function

Change-Id: I92675e24b2bd55f6fa21e3f213049006b0baffe1
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoModify the cmake files 75/164875/1
Jiung [Thu, 21 Dec 2017 06:46:05 +0000 (15:46 +0900)]
Modify the cmake files

Change-Id: I60792b9c5ed325a8bae72f00eabd52ab6b7f70d8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdd cplusplus definition to header 74/164874/1
Jiung [Thu, 21 Dec 2017 06:38:09 +0000 (15:38 +0900)]
Add cplusplus definition to header

Change-Id: I12ea115b16538ff160495ca0e42d7c05d893aeb5
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoFix interface name and group interface value in config files 68/162268/1 accepted/tizen/unified/20171204.072219 submit/tizen/20171130.074734
Jiung [Thu, 30 Nov 2017 05:11:14 +0000 (14:11 +0900)]
Fix interface name and group interface value in config files

Change-Id: I59aca9d8f6c963edf3b460b24c933f5a73bf7ec9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoUse p2p interface name from configuration file 46/161246/2 accepted/tizen/unified/20171123.065835 submit/tizen/20171122.230844
Jiung [Wed, 22 Nov 2017 08:51:03 +0000 (17:51 +0900)]
Use p2p interface name from configuration file

Change-Id: I3b611f46621eb3c2a6df7b76a9bc61cabf612f37
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoRemove recommands for profile_common 41/161041/1 submit/tizen/20171121.072710 submit/tizen/20171122.064209
Jiung [Tue, 21 Nov 2017 07:07:46 +0000 (16:07 +0900)]
Remove recommands for profile_common

Change-Id: I4602ce9d7170339cff5c01d4958f2d97c03dd82b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoRemove compat from each RPMs for profile 65/160965/1 submit/tizen/20171121.021700
Jiung [Tue, 21 Nov 2017 02:12:48 +0000 (11:12 +0900)]
Remove compat from each RPMs for profile

Change-Id: I2f0607f263ab9a7ee4861c8d42663c93243b6e62
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years ago[FIX] fix issue of overwrite sub package's files. 05/160905/1 submit/tizen/20171121.012610
Jiung [Mon, 20 Nov 2017 11:38:21 +0000 (20:38 +0900)]
[FIX] fix issue of overwrite sub package's files.

Description: 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: I6ff4c7aeab3dc21e11aad5242b247c19bfb099c9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdd p2p interface name to configuration file 04/160904/1
Jiung [Mon, 20 Nov 2017 11:36:14 +0000 (20:36 +0900)]
Add p2p interface name to configuration file

Change-Id: I1af29e6875f0a25acc5e9cf7ce2a4f764f3fedb9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoModify a spec file to build correct RPMs for each profile 60/159260/1 accepted/tizen/unified/20171115.061151 submit/tizen/20171113.231943
Jiung [Wed, 8 Nov 2017 01:10:35 +0000 (10:10 +0900)]
Modify a spec file to build correct RPMs for each profile

Change-Id: Ic522299483a1409e5b9c223ad543a18beff557a7
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix spelling in service file 51/155051/2 accepted/tizen/unified/20171018.062537 submit/tizen/20171016.080431 submit/tizen/20171017.050741 submit/tizen/20171017.075711
Jiung [Thu, 12 Oct 2017 04:13:23 +0000 (13:13 +0900)]
Fix spelling in service file

Change-Id: I59912ff043d85883a8e3229bd19807742936e155
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix bugs detected by static analyzer 47/154447/1 accepted/tizen/unified/20171013.190311 submit/tizen/20171012.045027
Jiung [Tue, 10 Oct 2017 08:25:23 +0000 (17:25 +0900)]
Fix bugs detected by static analyzer

Change-Id: I18071710dbbeff61ca2f1ab38c25b5faeaebaf6b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix memory leak 94/153194/1 accepted/tizen/unified/20171011.065847 submit/tizen/20171010.084928
Jiung [Thu, 28 Sep 2017 05:28:12 +0000 (14:28 +0900)]
Fix memory leak

Change-Id: I0189a86f870ccad14a61569ae11608fe18380545
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix bugs which were detected by static analyzer 68/152968/1 accepted/tizen/unified/20170929.081850 submit/tizen/20170928.232941
Jiung [Wed, 27 Sep 2017 11:34:32 +0000 (20:34 +0900)]
Fix bugs which were detected by static analyzer

Change-Id: Ib5d2a42aa7415c16289e27c0d298bcc7884cfb7a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix a bug which is checking a wrong peer address 04/151604/2 accepted/tizen/unified/20170927.063108 submit/tizen/20170922.065607 submit/tizen/20170926.020531
Jiung [Thu, 21 Sep 2017 08:44:03 +0000 (17:44 +0900)]
Fix a bug which is checking a wrong peer address

Change-Id: Ie57d517e2d318b6c9fdb5a59cb88036050cb2c14
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoCheck iter variable before iterating 47/148847/2 accepted/tizen/unified/20170913.071032 submit/tizen/20170911.125730
Jiung [Mon, 11 Sep 2017 04:55:10 +0000 (13:55 +0900)]
Check iter variable before iterating

Change-Id: I067e0ff3810024aeacb9b59546544e7db83b8533

7 years agoMerge "Change owner of service file" into tizen
taesub kim [Wed, 6 Sep 2017 09:33:10 +0000 (09:33 +0000)]
Merge "Change owner of service file" into tizen

7 years agoMerge "Remove unused RPMs" into tizen
taesub kim [Wed, 6 Sep 2017 09:32:57 +0000 (09:32 +0000)]
Merge "Remove unused RPMs" into tizen

7 years agoRemove old update script 05/148005/1 accepted/tizen/unified/20170907.060353 submit/tizen/20170906.091754
Sunmin Lee [Wed, 6 Sep 2017 07:37:44 +0000 (16:37 +0900)]
Remove old update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.

Change-Id: I2a387e05ed2ff9a8802b7a9b093a6245a5c5da73

7 years agoChange owner of service file 80/147580/4
Jiung [Tue, 5 Sep 2017 04:09:33 +0000 (13:09 +0900)]
Change owner of service file

Change-Id: I751ca23d2d5cadaf25c25cdc2fa019e7a96282bd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove unused RPMs 31/146931/1
Jiung [Thu, 31 Aug 2017 06:45:07 +0000 (15:45 +0900)]
Remove unused RPMs

Change-Id: I8e1ddbce1824d8d1fe6349369a7195834f794fa3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove forced frequency for Wi-Fi P2P group 34/145834/1 accepted/tizen/4.0/unified/20170901.202605 accepted/tizen/unified/20170824.172506 submit/tizen/20170824.061120 submit/tizen_4.0/20170831.131058
Jiung [Thu, 24 Aug 2017 05:00:12 +0000 (14:00 +0900)]
Remove forced frequency for Wi-Fi P2P group

Description: When device doesn't support multi channel concurrent
and connected to Ap, user shouldn't add frequency information for
GruopAdd method. Because wpasupplicant won't selected shared frequency
but it chooses the random chennel if frequecny is given as 2.

P2P: Request to start GO on 2.4 GHz band
P2P: Use random 2.4 GHz band channel: 2412 MHz
p2p0: Determining shared radio frequencies (max len 1)
p2p0: Shared frequencies (len=1): completed iteration
p2p0: freq[0]: 2472, flags=0x1
p2p0: Shared frequencies (len=1): valid for P2P
p2p0: freq[0]: 2472, flags=0x1
p2p0: P2P: Common group frequencies (len=0):
p2p0: Determining shared radio frequencies (max len 1)
p2p0: Shared frequencies (len=1): completed iteration
p2p0: freq[0]: 2472, flags=0x1
p2p0: P2P: num_unused_channels: 0
P2P: Cannot force GO on freq (2412 MHz) as all the channels are in use

Change-Id: I1fd3c2f21c2265ae5e86dfd42220511bfaf78ba6
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove unsued lines of spec file and move wfd-manage executable 66/145666/1 submit/tizen/20170823.080619
Jiung [Wed, 23 Aug 2017 07:57:53 +0000 (16:57 +0900)]
Remove unsued lines of spec file and move wfd-manage executable

Change-Id: Id00aaed6c842f8ad92de4288e0bdb7a0b7ef795b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoConfigure wfd-manager using config file 19/143919/6 submit/tizen/20170823.015938
Milind Ramesh Murhekar [Mon, 14 Aug 2017 03:13:23 +0000 (08:43 +0530)]
Configure wfd-manager using config file

Description: This patch adds the support to configure
wfd-manager using config files for common configurable parameters
for different platforms (TV, Mobile, TM1, Wearable).

config file path: /etc/wifi-direct/wifi-direct-manager.conf

Configurable parameters
1. Interface
2. Group interface
3. Device name
4. Primary/Secondary device type
5. Go intent
6. Persistent reconnect
7. listen reg class
8. Listen channel
9. Operating reg class
10. Operating channel
11. Config method
12. No group iface flag

Remove MACRO dependency to configure

Change-Id: Ic520f38a0c88ea251dbe0e0df23218d57e0a7a59
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoAdd cap_kill for wfd-manager to kill dhcp related process 56/141356/1 accepted/tizen/4.0/unified/20170816.011734 accepted/tizen/4.0/unified/20170816.014859 accepted/tizen/4.0/unified/20170828.223455 accepted/tizen/unified/20170801.054927 submit/tizen/20170731.064647 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100003 submit/tizen_4.0_unified/20170814.115522
Jiung [Mon, 31 Jul 2017 06:25:00 +0000 (15:25 +0900)]
Add cap_kill for wfd-manager to kill dhcp related process

Change-Id: I3811a2e10dcd6ce55deccc78e561240889149556
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
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>