platform/upstream/connman.git
6 years ago[Upstream] Wait 4 seconds for RA before re-sending RS messages. 29/163729/2
Niraj Kumar Goit [Wed, 13 Dec 2017 06:08:15 +0000 (11:38 +0530)]
[Upstream] Wait 4 seconds for RA before re-sending RS messages.

As per RFC 4861, a host should transmit up to 3 Router Solicitation messages,
each separated by at least RTR_SOLICITATION_INTERVAL(4) seconds to obtain
RA for IPv6 auto-configuration.

Change-Id: I970a69737dd0dd030291d725888cac64bddd6b16
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoRemove non-essential logs 36/163736/1 accepted/tizen/unified/20171219.072622 submit/tizen/20171218.085650
taesub kim [Wed, 13 Dec 2017 07:08:17 +0000 (16:08 +0900)]
Remove non-essential logs

Change-Id: I486b7e8c47d4d46dab0bc1868daf9fd56f929619
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdd WiFi passphrase encryption routine 26/162026/5 accepted/tizen/unified/20171213.153208 submit/tizen/20171212.235218
Jaehyun Kim [Tue, 28 Nov 2017 13:09:43 +0000 (22:09 +0900)]
Add WiFi passphrase encryption routine

Change-Id: Ife8902c48b338cec4a91429441e8435a6b21bc7e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoFixed the keyload issue when wifi is initial connection 49/163549/3 accepted/tizen/unified/20171212.171956 submit/tizen/20171212.082257
taesub kim [Tue, 12 Dec 2017 03:37:34 +0000 (12:37 +0900)]
Fixed the keyload issue when wifi is initial connection

link: https://review.tizen.org/gerrit/#/c/117897/
Change-Id: I8dc20e796bb7c84bb56bebb25faa609e0056fa74
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "In dhcpv6 request always set G_DHCPV6_IA_NA option." into tizen accepted/tizen/unified/20171212.064754 submit/tizen/20171211.062320
taesub kim [Mon, 11 Dec 2017 03:38:47 +0000 (03:38 +0000)]
Merge "In dhcpv6 request always set G_DHCPV6_IA_NA option." into tizen

6 years agoMerge "Process RDNSS option for IPv6 if connecting or connected." into tizen
taesub kim [Mon, 11 Dec 2017 03:38:37 +0000 (03:38 +0000)]
Merge "Process RDNSS option for IPv6 if connecting or connected." into tizen

6 years agoIn dhcpv6 request always set G_DHCPV6_IA_NA option. 57/163157/3
Niraj Kumar Goit [Thu, 7 Dec 2017 12:04:39 +0000 (17:34 +0530)]
In dhcpv6 request always set G_DHCPV6_IA_NA option.

When privacy extension is enabled then connman requests
OPTION_IA_TA (4) from DHCPv6 server. This option is used to request
temporary IPv6 address from DHCPv6 server but we found that DHCPv6
server never provided temporary IPv6 address and connman resend dhcpv6
requests. So always set OPTION_IA_NA in dhcpv6 request to get IPv6
address from DHCPv6 server.

Change-Id: Iec5623a14ba6cee64ad5b97fcf5246ae09947968
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoProcess RDNSS option for IPv6 if connecting or connected. 51/163151/2
Niraj Kumar Goit [Thu, 7 Dec 2017 11:48:09 +0000 (17:18 +0530)]
Process RDNSS option for IPv6 if connecting or connected.

Process RDNSS option for IPv6 if network is connecting or connected
and set IPv6 DNS address in the system.

Change-Id: I28bb7be76a60003364030d09aabfca27886531f3
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoRevert "[connman] Configure IPv6 after IPv4 dhcp succeed." 48/163148/2
Saurav Babu [Thu, 7 Dec 2017 11:42:46 +0000 (11:42 +0000)]
Revert "[connman] Configure IPv6 after IPv4 dhcp succeed."

This reverts commit 0d3b96f6fe23316f15444576b5a590a917beb8a5.

Change-Id: I83a7f0b3a5485bb6bd14f863b0e180bea1570899

6 years agoAdded cap_dac_override capability 88/161688/1 accepted/tizen/unified/20171127.083314 submit/tizen/20171126.232917
taesub kim [Sun, 26 Nov 2017 23:02:18 +0000 (08:02 +0900)]
Added cap_dac_override capability

Change-Id: I0c668091b85bf1f4f31ea2d1a9c6d53d73cd5736
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoRemove openssl function to solve license conflict 26/161026/2
Jiung [Tue, 21 Nov 2017 06:18:55 +0000 (15:18 +0900)]
Remove openssl function to solve license conflict

Change-Id: Ib902eed40c45365da17f64bf8b6ea504725ff478
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agoAdded security-config requires 84/160184/1 accepted/tizen/unified/20171115.174025 submit/tizen/20171115.020156
taesub kim [Wed, 15 Nov 2017 00:37:43 +0000 (09:37 +0900)]
Added security-config requires

Change-Id: I8ba6647c8e53d5ade90addd35c47628a89c3f5f0
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Enable IPv6 privacy address support." into tizen accepted/tizen/unified/20171115.061145 submit/tizen/20171113.231943
taesub kim [Wed, 8 Nov 2017 08:47:16 +0000 (08:47 +0000)]
Merge "Enable IPv6 privacy address support." into tizen

6 years agoEnable IPv6 privacy address support. 17/159317/1
Niraj Kumar Goit [Wed, 8 Nov 2017 07:09:41 +0000 (12:39 +0530)]
Enable IPv6 privacy address support.

Change-Id: Icbffd857f35aff492e343af3da855bdc69d3b22d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoMerge "Append AssocStatusCode Property for Wi-Fi Manager Layer" into tizen submit/tizen/20171108.071810
taesub kim [Wed, 8 Nov 2017 07:06:17 +0000 (07:06 +0000)]
Merge "Append AssocStatusCode Property for Wi-Fi Manager Layer" into tizen

6 years agoMerge "Added handling of "AssocStatusCode" signal" into tizen
taesub kim [Wed, 8 Nov 2017 07:05:48 +0000 (07:05 +0000)]
Merge "Added handling of "AssocStatusCode" signal" into tizen

7 years agoRemove unused "GetVsies" Dbus method. 54/158954/1
Niraj Kumar Goit [Mon, 6 Nov 2017 06:32:53 +0000 (12:02 +0530)]
Remove unused "GetVsies" Dbus method.

Change-Id: I4b666eb1e00852ef6a33451343f8ad78aa857557
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoAdded vsie information of AP in append_properties function. 60/158860/1
Niraj Kumar Goit [Fri, 3 Nov 2017 12:18:33 +0000 (17:48 +0530)]
Added vsie information of AP in append_properties function.

Change-Id: I97535663a8b591e4adbbac3c4bb0cd649a388672
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoAppend AssocStatusCode Property for Wi-Fi Manager Layer 61/158261/3
Maneesh Jain [Mon, 30 Oct 2017 12:48:05 +0000 (18:18 +0530)]
Append AssocStatusCode Property for Wi-Fi Manager Layer

Change-Id: Ie7fc6842d3c000ff94e8d9659370242a210cfaa1
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoAdded handling of "AssocStatusCode" signal 52/157852/5
Maneesh Jain [Thu, 26 Oct 2017 11:57:35 +0000 (17:27 +0530)]
Added handling of "AssocStatusCode" signal

Description : This can be used by application in case AP is denying association with status code

Change-Id: I195492be4320032b460b708034f044eec03b71dd
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoMerge "Fix SVACE issue @SVACE ID WGID: 30779 & 30802" into tizen accepted/tizen/unified/20171106.073053 submit/tizen/20171103.014532
taesub kim [Fri, 3 Nov 2017 01:30:14 +0000 (01:30 +0000)]
Merge "Fix SVACE issue @SVACE ID  WGID: 30779 & 30802" into tizen

7 years agoFix SVACE issue @SVACE ID WGID: 30779 & 30802 30/158130/4
Maneesh Jain [Mon, 30 Oct 2017 04:26:07 +0000 (09:56 +0530)]
Fix SVACE issue @SVACE ID  WGID: 30779 & 30802

Change-Id: I183d2e9958bc0278f2d0eff12efbcab07a2148d1
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFix memory leak 54/158554/1
Seonah Moon [Thu, 2 Nov 2017 01:01:45 +0000 (10:01 +0900)]
Fix memory leak

Change-Id: I6085b4b3cfe0587d559f4badda855a832380d6dd

7 years agoFixed gateway issue for ipv6 13/158313/1
Seonah Moon [Tue, 31 Oct 2017 04:35:57 +0000 (13:35 +0900)]
Fixed gateway issue for ipv6

Change-Id: I27a77e6a39fb11095446c95fb9765da5e7e156f6
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoRegard host name as remote address and add it to vici arguments 87/157287/1 accepted/tizen/unified/20171101.064659 submit/tizen/20171030.235228
Jiung [Tue, 24 Oct 2017 05:33:40 +0000 (14:33 +0900)]
Regard host name as remote address and add it to vici arguments

Change-Id: I78beac887cc3c91165326c26511ad10e5aa194e0
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd capabilities to run a charon IPsec daemon 86/157286/1
Jiung [Tue, 24 Oct 2017 05:32:06 +0000 (14:32 +0900)]
Add capabilities to run a charon IPsec daemon

Change-Id: If32cff2a0e60d7e50d2b4cd5669536267d4bef4c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[CID-32919, 33501] Unchecked return value 75/156675/1 accepted/tizen/unified/20171026.074637 submit/tizen/20171025.003923
chleun.moon [Thu, 19 Oct 2017 10:38:09 +0000 (19:38 +0900)]
[CID-32919, 33501] Unchecked return value

Change-Id: I561f537c292f24af2e9956a7694e3868ee0ccd32
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years agoMerge "Revert "Avoid build warnings for __connman_logs_s"" into tizen accepted/tizen/unified/20171018.062731 submit/tizen/20171018.002951
taesub kim [Tue, 17 Oct 2017 23:04:58 +0000 (23:04 +0000)]
Merge "Revert "Avoid build warnings for __connman_logs_s"" into tizen

7 years agoMerge "Revert "Fix SVACE issue for CID:24236, 31182"" into tizen
taesub kim [Tue, 17 Oct 2017 23:04:43 +0000 (23:04 +0000)]
Merge "Revert "Fix SVACE issue for CID:24236, 31182"" into tizen

7 years agoRevert "Avoid build warnings for __connman_logs_s" 52/156152/1
Saurav Babu [Tue, 17 Oct 2017 09:08:40 +0000 (09:08 +0000)]
Revert "Avoid build warnings for __connman_logs_s"

This reverts commit 866d1b7ad517a47827fd59484a4f3a333dad1a9f.

Change-Id: Ib057b572b848d725411544fc78db94eb76a50abc

7 years agoRevert "Fix SVACE issue for CID:24236, 31182" 50/156150/1
Saurav Babu [Tue, 17 Oct 2017 09:05:49 +0000 (09:05 +0000)]
Revert "Fix SVACE issue for CID:24236, 31182"

This reverts commit a711ff292b5f32788175bf64656f6a6d14c5f372.

Change-Id: Id10d81c311605e6a8d74735f3fd7e7df2a2aae6c

7 years agoMerge "Avoid build warnings for __connman_logs_s" into tizen submit/tizen/20171017.050741
taesub kim [Mon, 16 Oct 2017 23:59:00 +0000 (23:59 +0000)]
Merge "Avoid build warnings for __connman_logs_s" into tizen

7 years agoAvoid build warnings for __connman_logs_s 24/155824/1
Milind Ramesh Murhekar [Mon, 16 Oct 2017 08:19:02 +0000 (13:49 +0530)]
Avoid build warnings for __connman_logs_s

Description: This patch avoids build warnings
for __connman_log_s()

Change-Id: Ifd74090bd7d42744786dd1775046df777eaedb7f
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoMerge "Fix SVACE issue for CID:24236, 31182" into tizen submit/tizen/20171016.080431
taesub kim [Mon, 16 Oct 2017 08:02:08 +0000 (08:02 +0000)]
Merge "Fix SVACE issue for CID:24236, 31182" into tizen

7 years agoFix SVACE issue for CID:24236, 31182 06/155806/1
Milind Ramesh Murhekar [Mon, 16 Oct 2017 07:52:03 +0000 (13:22 +0530)]
Fix SVACE issue for CID:24236, 31182

Description: This patch fixes the SVACE issue
for remove() function.

Change-Id: Ie9fedadb8e36d91f9a197635eb4cee6a89ad7f7b
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoFixed handle leak while returning error from specific_scan() 12/155712/1
Nishant Chaprana [Mon, 16 Oct 2017 04:18:06 +0000 (09:48 +0530)]
Fixed handle leak while returning error from specific_scan()

Change-Id: I2fec8c8788de21619d48b8955c7e8312bf92c491
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[WGID-302103] Fix dereference without null check 68/154868/1 accepted/tizen/unified/20171013.190316 submit/tizen/20171012.045027
Jaehyun Kim [Wed, 11 Oct 2017 08:47:42 +0000 (17:47 +0900)]
[WGID-302103] Fix dereference without null check

Change-Id: I0f054b8f4cba4396b6d4018a4bb41504131a1c51
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoMerge "[CID-32053] Remove dead code" into tizen accepted/tizen/unified/20171011.150231 submit/tizen/20171011.035354
taesub kim [Wed, 11 Oct 2017 02:34:44 +0000 (02:34 +0000)]
Merge "[CID-32053] Remove dead code" into tizen

7 years agoMerge "@fix: Disconnect Reason code was not getting reset" into tizen
taesub kim [Wed, 11 Oct 2017 01:54:18 +0000 (01:54 +0000)]
Merge "@fix: Disconnect Reason code  was not getting reset" into tizen

7 years ago[CID-32053] Remove dead code 90/154490/1
hyunuktak [Tue, 10 Oct 2017 09:51:26 +0000 (18:51 +0900)]
[CID-32053] Remove dead code

Change-Id: I27db8650a701d9c7986636077bf041fdfa72a319
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoMerge "[CID-28720] Remove unused value" into tizen accepted/tizen/unified/20171011.065854 submit/tizen/20171010.084928
taesub kim [Tue, 10 Oct 2017 08:35:39 +0000 (08:35 +0000)]
Merge "[CID-28720] Remove unused value" into tizen

7 years agoMerge "[CID-32919, 33501] Fix bug" into tizen
taesub kim [Tue, 10 Oct 2017 08:35:22 +0000 (08:35 +0000)]
Merge "[CID-32919, 33501] Fix bug" into tizen

7 years ago[CID-28720] Remove unused value 20/154420/2
chleun.moon [Tue, 10 Oct 2017 07:36:54 +0000 (16:36 +0900)]
[CID-28720] Remove unused value

Change-Id: Ie59288fededb1bb7a09d234d8300e6893fab99c1
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years ago[CID-32919, 33501] Fix bug 15/154415/1
chleun.moon [Tue, 10 Oct 2017 07:31:22 +0000 (16:31 +0900)]
[CID-32919, 33501] Fix bug

Change-Id: I8fc3c40c8a2cf3d9e5fb840796d0f0bf0b66a072
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years agoAdded RW upgrade script 77/154377/4
taesub kim [Tue, 10 Oct 2017 06:19:17 +0000 (15:19 +0900)]
Added RW upgrade script

Change-Id: I2208cf0923a66c78551ac2eb13933735afe33604
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago@fix: Disconnect Reason code was not getting reset 23/154323/2
Maneesh Jain [Tue, 10 Oct 2017 05:08:24 +0000 (10:38 +0530)]
@fix: Disconnect Reason code  was not getting reset

Description: In following use case, disconnect reason code was not getting reset.
1. Connect With AP
2. Change the Password of AP
3. Check the Disconnect Reason using CAPI
4. Connect again with AP with New Password
5. Check the Disconnect Reason again : It was showing 3 in place of 0.

Change-Id: I1b1542b69ac270811ad789a4f662836241b6bf34
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoMerge "wifi: Don't increase device ref count on full scan after specific scan" into... accepted/tizen/unified/20170929.081809 submit/tizen/20170928.225630
taesub kim [Thu, 28 Sep 2017 22:37:38 +0000 (22:37 +0000)]
Merge "wifi: Don't increase device ref count on full scan after specific scan" into tizen

7 years agowifi: Don't increase device ref count on full scan after specific scan 09/153309/1
Saurav Babu [Thu, 28 Sep 2017 08:34:31 +0000 (14:04 +0530)]
wifi: Don't increase device ref count on full scan after specific scan

Earlier full scan was done using throw_wifi_scan() which increases
device reference count. As we need to perform full scan then we should
directly call g_supplicant_interface_scan() without increasing the
device ref count.

Change-Id: Icb595ca714d5bf03ed0a071fcd987f9bc1b736dc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoMerge "Fixed a resource leak" into tizen
taesub kim [Thu, 28 Sep 2017 08:33:25 +0000 (08:33 +0000)]
Merge "Fixed a resource leak" into tizen

7 years agoMerge "[CID-26975, 36747] Fix memory leak and dereference after null check" into...
taesub kim [Thu, 28 Sep 2017 05:20:18 +0000 (05:20 +0000)]
Merge "[CID-26975, 36747] Fix memory leak and dereference after null check" into tizen

7 years agoMerge "Revert "wifi: Fixed issue with device reference count"" into tizen submit/tizen/20170928.042022
taesub kim [Thu, 28 Sep 2017 04:19:33 +0000 (04:19 +0000)]
Merge "Revert "wifi: Fixed issue with device reference count"" into tizen

7 years agoRevert "wifi: Fixed issue with device reference count" 47/153147/1
taesub kim [Thu, 28 Sep 2017 04:14:26 +0000 (04:14 +0000)]
Revert "wifi: Fixed issue with device reference count"

This reverts commit 1141e83b5a00d11bada4e07e8203770b3d36939b.

Change-Id: I0abf48d5c45cdf16f33345fb7432ceaab4051a11

7 years agoFixed a resource leak 57/153057/1
hyunuktak [Thu, 28 Sep 2017 01:07:35 +0000 (10:07 +0900)]
Fixed a resource leak

Change-Id: I70b15db8ba90fc18410072f0017f04413662cde6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years ago[CID-26975, 36747] Fix memory leak and dereference after null check 99/152899/2
chleun.moon [Wed, 27 Sep 2017 10:22:29 +0000 (19:22 +0900)]
[CID-26975, 36747] Fix memory leak and dereference after null check

Change-Id: Ief1a868d989cb2cc78bb55980e3d8bee03a4a42b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years agoAppend eap type property in "GetServices" Dbus method. 87/150387/2 accepted/tizen/unified/20170927.181313 submit/tizen/20170927.040141
Niraj Kumar Goit [Fri, 15 Sep 2017 09:54:41 +0000 (15:24 +0530)]
Append eap type property in "GetServices" Dbus method.

Change-Id: Ie9cdabbddba37fab987ec48402e7d7508949f040
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agowifi: Fixed issue with device reference count 95/151795/1 accepted/tizen/unified/20170927.063111 submit/tizen/20170922.065607 submit/tizen/20170926.020531
Saurav Babu [Fri, 22 Sep 2017 04:28:46 +0000 (09:58 +0530)]
wifi: Fixed issue with device reference count

Device reference count is referenced when scanning is set to true, so it
should be dereferenced only when scanning is set to false, In one
particular case scanning was not being set to false while device was
unreferenced when wifi->allow_full_scan is true.

Change-Id: Ib8fc675d224eddc8e1dfa4a4a271f7c5b64209fe
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[Upstream] dnsproxy: Fix crash on malformed DNS response 79/151579/2
Jaehyun Kim [Thu, 21 Sep 2017 07:35:25 +0000 (16:35 +0900)]
[Upstream] dnsproxy: Fix crash on malformed DNS response

If the response query string is malformed, we might access memory
pass the end of "name" variable in parse_response().

Change-Id: I179583bd9f7682a49a2980d866ae3524d1b75879
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years ago[Upstream] ipconfig: Ensure ifname is not NULL when setting IPv6 state 24/151024/1 accepted/tizen/unified/20170921.072215 submit/tizen/20170920.020838
Jaehyun Kim [Tue, 19 Sep 2017 10:59:52 +0000 (19:59 +0900)]
[Upstream] ipconfig: Ensure ifname is not NULL when setting IPv6 state

This is a quick fix for the issue where removal of an interface may
cause IPv6 to be disabled/enabled on other interfaces.

When removing an ipdevice in free_ipdevice(), it is ensured that the
ifname (which we get from connman_inet_ifname()) is not NULL,
before invoking set_ipv6_state(). If a NULL ifname is passed into
set_ipv6_state(), it will apply the change to all interfaces instead
of the intended one.

Change-Id: I2b0b6494e3c2d4a80e7a8e2012f274987f6e8142
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
7 years agoAdd APIs to set/get auto connection mode 68/149968/1
taesub kim [Thu, 14 Sep 2017 00:36:09 +0000 (09:36 +0900)]
Add APIs to set/get auto connection mode

Change-Id: I34e42d98ab540ffb75e0ae860fb1b615ef2bddcb
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "Send Error code only to requesting application." into tizen accepted/tizen/unified/20170914.065431 submit/tizen/20170913.024954
taesub kim [Tue, 12 Sep 2017 23:51:00 +0000 (23:51 +0000)]
Merge "Send Error code only to requesting application." into tizen

7 years agoMerge "[connman] Notify 'ScanDone' signal with scan-type info." into tizen
taesub kim [Tue, 12 Sep 2017 23:50:49 +0000 (23:50 +0000)]
Merge "[connman] Notify 'ScanDone' signal with scan-type info." into tizen

7 years agoSend Error code only to requesting application. 37/148737/3
Niraj Kumar Goit [Fri, 8 Sep 2017 13:27:21 +0000 (18:57 +0530)]
Send Error code only to requesting application.

Description: If an application request for wifi scan
and it gets failed, then send error code only to the
requesting application.

Change-Id: I90bc3b0af68e9d3ff5c2e4709f5788c1f107a854
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years ago[WGID-253397, 253398] Fix unreachable code 86/148786/1 submit/tizen/20170911.125730
chleun.moon [Mon, 11 Sep 2017 01:15:47 +0000 (10:15 +0900)]
[WGID-253397, 253398] Fix unreachable code

Change-Id: Ie3faef9d95d95cbcfbd222d92f25e6eae8e41581
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years ago[connman] Notify 'ScanDone' signal with scan-type info. 89/147489/2
Niraj Kumar Goit [Mon, 4 Sep 2017 12:01:38 +0000 (17:31 +0530)]
[connman] Notify 'ScanDone' signal with scan-type info.

Description: In this patch added below changes-
1. Notify ScanDone signal with scan-type info.
2. If scanning is in-progress at connman return
error 'InProgress' to application.

Change-Id: If8427e185dd0ad811c1d1de72254f073babebbbf
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoMerge "Remove gnutls dependency from connman" into tizen accepted/tizen/unified/20170907.060402 submit/tizen/20170906.091754
taesub kim [Wed, 6 Sep 2017 09:15:24 +0000 (09:15 +0000)]
Merge "Remove gnutls dependency from connman" into tizen

7 years agoRemove not supported update script 08/148008/1
Sunmin Lee [Wed, 6 Sep 2017 07:04:10 +0000 (16:04 +0900)]
Remove not supported update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
(Tizen 4.0 does not support upgrade from Tizen 2.4)
Remove this file in terms of clearing the redundancy.

Change-Id: I0ce9b8ccb0d9a0720bbe7588f97da7fe8b0ce522

7 years agoMerge "Change file owner and group" into tizen accepted/tizen/unified/20170906.144510 submit/tizen/20170906.001111
taesub kim [Tue, 5 Sep 2017 08:37:20 +0000 (08:37 +0000)]
Merge "Change file owner and group" into tizen

7 years agoRemove gnutls dependency from connman 31/147631/1
Saurav Babu [Tue, 5 Sep 2017 06:59:22 +0000 (12:29 +0530)]
Remove gnutls dependency from connman

gnutls dependency is only required when wispr is enabled. Currently
connman is build with flag --disable-wispr so gnutls is not required.
This patch removes gnutls dependency from spec file.

We'll find alternative for gnutls later and add that together with
patches related to captive portal

Change-Id: I23491ec67c365b4bc89c6231cc0a581431208f5a
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoChange file owner and group 82/147582/1
chleun.moon [Tue, 5 Sep 2017 04:25:19 +0000 (13:25 +0900)]
Change file owner and group

Change-Id: I4366e1bf8e72b481becb0c16256e7a708924c7c3
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agodbus: modify dbus policy configuration #4 17/146517/1 accepted/tizen/unified/20170901.025933 submit/tizen/20170830.065642
Seonah Moon [Tue, 29 Aug 2017 07:43:32 +0000 (16:43 +0900)]
dbus: modify dbus policy configuration #4

Change-Id: Id58b1038e689f24c42d8cfdccfd59162988626fd
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agodbus: modify dbus policy configuration #3 74/146074/4
taesub kim [Fri, 25 Aug 2017 01:09:51 +0000 (10:09 +0900)]
dbus: modify dbus policy configuration #3

Change-Id: I4e7f65898fe824cd589b0a4dfa6b7b506b88a51a
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agodbus: modify dbus policy configuration #2 51/145351/1 accepted/tizen/4.0/unified/20170828.222351 accepted/tizen/unified/20170823.165941 submit/tizen/20170822.062753 submit/tizen_4.0/20170828.100005
taesub kim [Tue, 22 Aug 2017 06:14:01 +0000 (15:14 +0900)]
dbus: modify dbus policy configuration #2

Change-Id: I5cfd797e298386e80f407a6bfeba8b2cb7adfadb
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[connman] Enabled specific scan for Multiple APs. 56/144656/3 submit/tizen/20170821.070104 submit/tizen/20170822.002714
Niraj Kumar Goit [Thu, 17 Aug 2017 09:56:46 +0000 (15:26 +0530)]
[connman] Enabled specific scan for Multiple APs.

Change-Id: I2156778ed0bcc703e8823c7eccaf344ab21503c1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoMerge "dbus: modify dbus policy configuration" into tizen
taesub kim [Fri, 18 Aug 2017 02:28:13 +0000 (02:28 +0000)]
Merge "dbus: modify dbus policy configuration" into tizen

7 years ago[connman]Added DBus method for wifi Specific AP Scan. 48/144048/4 accepted/tizen/unified/20170818.000126 submit/tizen/20170817.042132
Niraj Kumar Goit [Mon, 14 Aug 2017 14:15:43 +0000 (19:45 +0530)]
[connman]Added DBus method for wifi Specific AP Scan.

Change-Id: Ib8f446164242caeb7fbc29c2917eff4b8a5b8bf7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoFix Svace Issue [WGID: 1348]. 51/144351/2
Niraj Kumar Goit [Wed, 16 Aug 2017 09:22:30 +0000 (14:52 +0530)]
Fix Svace Issue [WGID: 1348].

Change-Id: I8e1b366bc0973ec60ab24aa486c877b330b5de82
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years ago[connman] Added support to get WiFi vendor element. 14/142614/6 accepted/tizen/unified/20170811.133331 submit/tizen/20170811.041528
Niraj Kumar Goit [Fri, 4 Aug 2017 14:27:34 +0000 (19:57 +0530)]
[connman] Added support to get WiFi vendor element.

Change-Id: I560be68a876a5fef516647365db3c56761f2aba1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agodbus: modify dbus policy configuration 51/143051/2
sanghyeok.oh [Tue, 8 Aug 2017 08:47:37 +0000 (17:47 +0900)]
dbus: modify dbus policy configuration

<allow send_type="signal"/> can affect every other process(uid root or network_fw),
This can cause abnormal behavior against other dbus services.

So, remove this rule from dbus conf.

Sending signal to net.connman is allowed by this rule,
'<allow send_destination="net.connman"/>'

After all, there are no behavior changes.

Change-Id: I7668deeaa33ae14181c64d0a85a049fa2387657b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoChanges required for DHCP leased seconds API 88/142188/1 accepted/tizen/unified/20170811.021044 submit/tizen/20170808.043745 submit/tizen/20170809.085632
Abhishek Sansanwal [Thu, 3 Aug 2017 03:57:22 +0000 (09:27 +0530)]
Changes required for DHCP leased seconds API

Change-Id: I0727c24f30be5162d27e49996dfa376348f98527
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
7 years ago[WGID-260167] Add null check 78/141878/1 submit/tizen/20170803.074947
chleun.moon [Wed, 2 Aug 2017 01:33:07 +0000 (10:33 +0900)]
[WGID-260167] Add null check

Change-Id: Ifc1e9e5d28fa2f58a0e7f98677daf08e4e3de161
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix build error (aarch64) 46/140646/1 accepted/tizen/4.0/unified/20170816.011618 accepted/tizen/4.0/unified/20170816.014829 accepted/tizen/unified/20170728.195043 submit/tizen/20170726.002354 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
chleun.moon [Wed, 26 Jul 2017 00:58:38 +0000 (09:58 +0900)]
Fix build error (aarch64)

Change-Id: Ia4bb6ae4d712e33933b79e1df284a06c3922befa
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoRemove unnecessary service file 78/140578/2
Seonah Moon [Tue, 25 Jul 2017 11:22:05 +0000 (20:22 +0900)]
Remove unnecessary service file

Change-Id: I5253fda2f7eddc377bbd6f38dc81934ce7f035df

7 years agoFix build error 65/140365/2 submit/tizen/20170725.071752
chleun.moon [Tue, 25 Jul 2017 01:20:53 +0000 (10:20 +0900)]
Fix build error

Change-Id: I2040f2cec9d3768da6c7329819a4a710882bc18e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMigrate root daemon to non root 30/135430/5 submit/tizen/20170724.063335
taesub kim [Thu, 22 Jun 2017 08:49:20 +0000 (17:49 +0900)]
Migrate root daemon to non root

Change-Id: I0d0afacc8a11fadc8128f6eef3f64f7a4ca8675b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "[Improvement]:Pass the same received RSSI from supplicant to Application.... accepted/tizen/unified/20170710.154658 submit/tizen/20170710.074033 submit/tizen/20170710.074100
taesub kim [Mon, 10 Jul 2017 00:45:00 +0000 (00:45 +0000)]
Merge "[Improvement]:Pass the same received RSSI from supplicant to Application." into tizen

7 years agoMerge "Added support of EAP-AKA, EAP-SIM." into tizen
taesub kim [Mon, 10 Jul 2017 00:44:20 +0000 (00:44 +0000)]
Merge "Added support of EAP-AKA, EAP-SIM." into tizen

7 years ago[Improvement]:Pass the same received RSSI from supplicant to Application. 36/137736/2
Maneesh Jain [Fri, 7 Jul 2017 09:04:50 +0000 (14:34 +0530)]
[Improvement]:Pass the same received RSSI from supplicant to Application.

Description: Earlier, connMan was modified the RSSI value received
from supplicant using following formula.
if (strength > 100)
strength = 100;

Change-Id: Ifa4fb2be6f65224046274835c9ae26a81fae2e69
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years ago[Upstream] iptables: Add missing function item of xtables to match iptables 1.6 81/134781/2
Saurav Babu [Tue, 20 Jun 2017 04:14:17 +0000 (09:44 +0530)]
[Upstream] iptables: Add missing function item of xtables to match iptables 1.6

The struct of xtables_globals has been modified in iptables 1.6.
If connman runs with iptables 1.6, it can crash.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11
0xb7deac1c in ?? () from /usr/lib/libxtables.so.11
0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11

The the missing function item of xtables is added to xtables_globals.

Commit ID: acea08a0e4234a4c1a87bedc087c73ff36de0c7b

Change-Id: I670e100d816636d705d967ba69b3cb72c26d889e
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoAdded support of EAP-AKA, EAP-SIM. 57/136557/6
Niraj Kumar Goit [Fri, 30 Jun 2017 07:49:14 +0000 (13:19 +0530)]
Added support of EAP-AKA, EAP-SIM.

Change-Id: I5e1b30061271baace51e31da973dbc5298a5341f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoMerge "[connman]Remove org.freedesktop.hostname1 service from Tizen platform." into...
taesub kim [Mon, 3 Jul 2017 05:21:41 +0000 (05:21 +0000)]
Merge "[connman]Remove org.freedesktop.hostname1 service from Tizen platform." into tizen

7 years ago[connman]Remove org.freedesktop.hostname1 service from Tizen platform. 38/136438/1
Niraj Kumar Goit [Thu, 29 Jun 2017 11:43:36 +0000 (17:13 +0530)]
[connman]Remove org.freedesktop.hostname1 service from Tizen platform.

Change-Id: Ib74170f4c5be93f4ba6df56436dac227352b76ef
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoAppend raw ssid to WLAN Services 40/136340/1
Milind Ramesh Murhekar [Thu, 29 Jun 2017 07:03:29 +0000 (12:33 +0530)]
Append raw ssid to WLAN Services

Description: This patch appends the raw ssid
in bytes to GetServices method call.

Change-Id: I0fdbfba4bcf0860fff02c4edd34559154fd0b8eb
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
7 years agoMerge "Handle the failure case due to the invalid cert file" into tizen accepted/tizen/unified/20170703.064314 submit/tizen/20170620.103311 submit/tizen/20170703.005838
taesub kim [Mon, 19 Jun 2017 05:50:52 +0000 (05:50 +0000)]
Merge "Handle the failure case due to the invalid cert file" into tizen

7 years ago[IPSec] Unlink UDS file for charon when charon is killed 36/132736/2 accepted/tizen/unified/20170612.171441 submit/tizen/20170612.082510
chleun.moon [Wed, 7 Jun 2017 09:55:07 +0000 (18:55 +0900)]
[IPSec] Unlink UDS file for charon when charon is killed

Change-Id: I2b6475c373bbf7410ecd779bc134f632ced626d5
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge "Add child SA up/down event and terminate command" into tizen accepted/tizen/unified/20170608.072306 submit/tizen/20170607.064606
taesub kim [Wed, 7 Jun 2017 06:34:12 +0000 (06:34 +0000)]
Merge "Add child SA up/down event and terminate command" into tizen

7 years agoservice: Fix memory leak issues 92/132492/2
Saurav Babu [Tue, 6 Jun 2017 06:46:34 +0000 (12:16 +0530)]
service: Fix memory leak issues

This patch fixes memory leak on loading service passphrase.
g_strdup() function returns NULL only when nameserver will be NULL and
it has already been checked before so there is no need to check for
return of g_strdup().

Change-Id: I3ddd3af135a35ba03bd01ccd5a68f822ed1dac26
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoHandle the failure case due to the invalid cert file 93/132293/4
Jiung Yu [Fri, 2 Jun 2017 06:28:33 +0000 (15:28 +0900)]
Handle the failure case due to the invalid cert file

Change-Id: I86d6e2324936417c3a454a35f480dadb65feb9a8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd child SA up/down event and terminate command 54/132254/2
Jiung Yu [Fri, 2 Jun 2017 01:11:14 +0000 (10:11 +0900)]
Add child SA up/down event and terminate command

Change-Id: I4616b3148782cfc3b0ebf0a2f2826d84c67c2bf3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd NULL check before reference 54/132054/3
chleun.moon [Thu, 1 Jun 2017 02:10:40 +0000 (11:10 +0900)]
Add NULL check before reference

Change-Id: I0485f5c69a2a1699f922b4c2c130f6865f8b31d9
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix crash during g_hash_table_destroy() 40/131940/1 accepted/tizen/unified/20170602.154235 submit/tizen/20170601.042236
chleun.moon [Wed, 31 May 2017 09:14:32 +0000 (18:14 +0900)]
Fix crash during g_hash_table_destroy()

Change-Id: Ia3f6081ce49035f6b9126001161c6e804af71e3a
Signed-off-by: cheoleun <chleun.moon@samsung.com>