platform/upstream/connman.git
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>
7 years agoFix reference before null check (WGID 227715) 41/131241/2
chleun.moon [Fri, 26 May 2017 04:11:06 +0000 (13:11 +0900)]
Fix reference before null check (WGID 227715)

Change-Id: Iefe9af8c8a05877a16ed71cadf23aaed7053fa9a
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoWrap tizen specific codes with TIZEN_EXT 40/131240/2
chleun.moon [Fri, 26 May 2017 04:09:25 +0000 (13:09 +0900)]
Wrap tizen specific codes with TIZEN_EXT

Change-Id: I4f30b15332aef3ceb2f0b601f1a18a170487c1f3
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix crash and invalid IKEV ESP proposals 37/131237/2
chleun.moon [Fri, 26 May 2017 04:04:27 +0000 (13:04 +0900)]
Fix crash and invalid IKEV ESP proposals

Change-Id: I129210bcc41398ad1686758d80d836db254b1368
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years ago[WGID-207858] Fixed memory leak 66/128966/1 accepted/tizen/unified/20170512.165707 submit/tizen/20170512.071139 tizen_4.0.m1_release
Seonah Moon [Fri, 12 May 2017 07:07:24 +0000 (16:07 +0900)]
[WGID-207858] Fixed memory leak

Change-Id: I2b291f130292951dcc962c1970f4d484463de9f5
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoFix svace issue (WGID 208127, 208128) 59/128459/1 accepted/tizen/unified/20170510.183721 submit/tizen/20170510.102153
chleun.moon [Wed, 10 May 2017 06:00:54 +0000 (15:00 +0900)]
Fix svace issue (WGID 208127, 208128)

Change-Id: Ie8f4fe3e11c71111249f07d3a4bcdf4b3737d671
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix svace issues (WGID-207858, 208122, 208137, 208138) 28/128028/3 accepted/tizen/unified/20170504.114207 submit/tizen/20170504.080025
chleun.moon [Thu, 4 May 2017 06:23:33 +0000 (15:23 +0900)]
Fix svace issues (WGID-207858, 208122, 208137, 208138)

Change-Id: I31373fbb6ad79517e63f4023c1f4bac2f63424e5
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix issues reported by a static analyzer 41/127441/1 accepted/tizen/unified/20170428.032833 submit/tizen/20170427.090631
Jiung Yu [Thu, 27 Apr 2017 08:44:14 +0000 (17:44 +0900)]
Fix issues reported by a static analyzer

Change-Id: Ia57fc4f8b8b2740728d6df2972463f66a48b7b67
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdded some logs for debugging 83/126883/1
Seonah Moon [Tue, 25 Apr 2017 08:03:22 +0000 (17:03 +0900)]
Added some logs for debugging

Change-Id: I3a133fa6aebd28dea42f7dfd9ecb42d04c45f291
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoservice: Use correct DBUS data type to pack disconnect reason 99/126599/1
Saurav Babu [Mon, 24 Apr 2017 08:37:02 +0000 (14:07 +0530)]
service: Use correct DBUS data type to pack disconnect reason

disconnect_reason can have negative values, so we should use
DBUS_TYPE_INT32 instead of DBUS_TYPE_UINT32 to pack.

Change-Id: Ia4cc303741461da5b8d42493779b8623a0482a33
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoAdd license description 02/126302/1 accepted/tizen/unified/20170421.115140 accepted/tizen/unified/20170427.015557 submit/tizen/20170421.072430 submit/tizen/20170425.040532
chleun.moon [Fri, 21 Apr 2017 01:54:17 +0000 (10:54 +0900)]
Add license description

Change-Id: I9953407e41b962de1e19ffbafad280a811c1e3a7
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge branch 'ipsec' into tizen 26/126026/1
chleun.moon [Thu, 20 Apr 2017 02:00:24 +0000 (11:00 +0900)]
Merge branch 'ipsec' into tizen

Change-Id: I2ecaece689f43bb0c03c9c5929274bfe43e346b0
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge "Updated connman.socket file" into tizen accepted/tizen/unified/20170419.165202 submit/tizen/20170419.041337
taesub kim [Tue, 18 Apr 2017 11:41:43 +0000 (04:41 -0700)]
Merge "Updated connman.socket file" into tizen

7 years agoInitialize a local variable (WGID-202395) 35/125635/1
chleun.moon [Tue, 18 Apr 2017 07:30:00 +0000 (16:30 +0900)]
Initialize a local variable (WGID-202395)

Change-Id: I6878ce2844c6ca821b0bff827edd248b559c6c6f
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoUpdated connman.socket file 64/125364/1
Seonah Moon [Mon, 17 Apr 2017 06:04:44 +0000 (15:04 +0900)]
Updated connman.socket file

Dns proxy should listen all of 53 ports for UDP.

Change-Id: I6b63dc53035126bc95b9841fd93e99581c103d39
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdd processing request & response vici message with socket 76/117376/23 ipsec
Yu Jiung [Mon, 6 Mar 2017 01:48:48 +0000 (10:48 +0900)]
Add processing request & response vici message with socket

Change-Id: I06ff60de06fde1ac8f484b1eecf49afed6d02542
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "[connman] Send ScanChanged signal." into tizen accepted/tizen/unified/20170417.082500 submit/tizen/20170414.032608
taesub kim [Thu, 13 Apr 2017 05:55:05 +0000 (22:55 -0700)]
Merge "[connman] Send ScanChanged signal." into tizen

7 years agoMerge "Provide DHCP Server address to upper layer while appending IPv4 Data" into...
taesub kim [Thu, 13 Apr 2017 05:54:41 +0000 (22:54 -0700)]
Merge "Provide DHCP Server address to upper layer while appending IPv4 Data" into tizen

7 years ago[connman] Send ScanChanged signal. 66/124766/1
Niraj Kumar Goit [Wed, 12 Apr 2017 09:54:33 +0000 (15:24 +0530)]
[connman] Send ScanChanged signal.

Send ScanChanged signal when device scanning status change.

Change-Id: I9878cbb29d6c40363e6e629d6e6e7c855952ed0c
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoRemove old IP and gateway address 75/124075/1 accepted/tizen/unified/20170412.152315 submit/tizen/20170411.091632 submit/tizen/20170412.005740
Abhishek Sansanwal [Mon, 10 Apr 2017 06:38:14 +0000 (12:08 +0530)]
Remove old IP and gateway address

Change-Id: I61defbc6fba37e7c3a04516d1946f2b5cd22af1a
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
7 years agoProvide DHCP Server address to upper layer while appending IPv4 Data 71/123571/2
taesub kim [Thu, 6 Apr 2017 06:33:12 +0000 (15:33 +0900)]
Provide DHCP Server address to upper layer while appending IPv4 Data

Change-Id: I8d6a33ddeff94c7bbfb56ed7e4d64966be5bcd31
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "[connman] Added DBus method to get scanning status." into tizen accepted/tizen/unified/20170406.173418 submit/tizen/20170406.062437
taesub kim [Thu, 6 Apr 2017 01:58:07 +0000 (18:58 -0700)]
Merge "[connman] Added DBus method to get scanning status." into tizen

7 years agoapply upstream fixes 56/122156/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190030 accepted/tizen/ivi/20170403.124556 accepted/tizen/mobile/20170403.124303 accepted/tizen/tv/20170403.124414 accepted/tizen/unified/20170403.124614 accepted/tizen/wearable/20170403.124441 submit/tizen/20170403.015738
Eun Chul Kim [Mon, 27 Feb 2017 06:57:08 +0000 (15:57 +0900)]
apply upstream fixes

 - Replace g_timeout_add_seconds() with 0 as timeout to g_idle_add()
 - gdhcp: Set T1 and T2 to infinite if expiry time is infinite
 - dhcpv6: Return -EISCONN when the expiry time is inifinite

Change-Id: I59ddd9b4c2d1af0f1ee8898381bc0372fba8e8ad

7 years agoRemoved unnecessary logs 50/122050/2
Seonah Moon [Thu, 30 Mar 2017 06:09:55 +0000 (15:09 +0900)]
Removed unnecessary logs

Change-Id: Ia9688dbfa5bd0b2e5f917003c6d5825e2e4c7b5f

7 years agoAdded license file to all of rpms 09/121609/1 accepted/tizen/common/20170329.171926 accepted/tizen/ivi/20170329.034910 accepted/tizen/mobile/20170329.034836 accepted/tizen/tv/20170329.034848 accepted/tizen/unified/20170329.034935 accepted/tizen/wearable/20170329.034856 submit/tizen/20170328.111440
Seonah Moon [Tue, 28 Mar 2017 10:10:06 +0000 (19:10 +0900)]
Added license file to all of rpms

Change-Id: If430d988dba90c1080ceec280e2a31dd15d96312

7 years agoMerge "Fix to prevent RA message processing" into tizen
taesub kim [Tue, 28 Mar 2017 09:30:43 +0000 (02:30 -0700)]
Merge "Fix to prevent RA message processing" into tizen

7 years agoMerge "[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb timer"...
taesub kim [Tue, 28 Mar 2017 09:30:24 +0000 (02:30 -0700)]
Merge "[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb timer" into tizen

7 years agoMerge "Modified the DHCP descover/request timeout and disable DHCP reququest for...
taesub kim [Tue, 28 Mar 2017 08:41:45 +0000 (01:41 -0700)]
Merge "Modified the DHCP descover/request timeout and disable DHCP reququest for last address" into tizen

7 years ago[connman] Configure IPv6 after IPv4 dhcp succeed. 56/120756/2
Niraj Kumar Goit [Fri, 24 Mar 2017 04:25:24 +0000 (09:55 +0530)]
[connman] Configure IPv6 after IPv4 dhcp succeed.

To speed up Wi-Fi connection modified IP configuration logic in connman.
Start IPv6 configuration once IPv4 dhcp configuration succeed.

Change-Id: I8a33d533f36b42fa0b7450f3b34a5d2238d06e49
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoModified the DHCP descover/request timeout and disable DHCP reququest for last address 31/121531/4
taesub kim [Tue, 28 Mar 2017 07:16:21 +0000 (16:16 +0900)]
Modified the DHCP descover/request timeout and disable DHCP reququest for last address

(DHCP discovery) wlan0 retry timeout=1sec retries=15
(DHCP request) retry timeout=1sec

Change-Id: I28b8f8361dcf2c8cff7f3084c47707f05bc0da64
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFix to prevent RA message processing 00/121400/1
Seonah Moon [Tue, 28 Mar 2017 02:29:08 +0000 (11:29 +0900)]
Fix to prevent RA message processing

Added fix to prevent RA message processing pass by kernel via
RTM_NEDNDUSEROPT if ipv6 DNS method is set as manual.

Change-Id: Ibee486071e5a235a1426028f107e105920499c6e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb timer 13/121213/1
Seonah Moon [Mon, 27 Mar 2017 08:35:57 +0000 (17:35 +0900)]
[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb timer

Change-Id: I9759e546298a5ae5cdfccfd629512f475e9ec2e8
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge "Consider ipconfig method in clearing association state" into tizen accepted/tizen/common/20170324.122814 accepted/tizen/ivi/20170324.111317 accepted/tizen/mobile/20170324.111018 accepted/tizen/tv/20170324.111144 accepted/tizen/unified/20170324.111359 accepted/tizen/wearable/20170324.111226 submit/tizen/20170324.043751 submit/tizen/20170324.072948
taesub kim [Fri, 24 Mar 2017 04:30:20 +0000 (21:30 -0700)]
Merge "Consider ipconfig method in clearing association state" into tizen

7 years agoConsider ipconfig method in clearing association state 22/120422/1
Seonah Moon [Thu, 23 Mar 2017 01:54:13 +0000 (10:54 +0900)]
Consider ipconfig method in clearing association state

Change-Id: I94f5a1f26140ea2c1edfdb1d9dd191435757802b
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoChanged the path of license by using '%license' macro 30/120230/1
Seonah Moon [Wed, 22 Mar 2017 06:42:31 +0000 (15:42 +0900)]
Changed the path of license by using '%license' macro

Change-Id: I009433c56b7c9e12223d31d8dfe3587e9fdd03eb
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[connman] Added DBus method to get scanning status. 30/119930/2
Niraj Kumar Goit [Mon, 20 Mar 2017 14:39:02 +0000 (20:09 +0530)]
[connman] Added DBus method to get scanning status.

Change-Id: Ib84cb1c218b6c468ffe413b63af2fe7a33c2a63e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoMerge "When scan is started send signal ScanStarted to application." into tizen
taesub kim [Wed, 22 Mar 2017 06:34:02 +0000 (23:34 -0700)]
Merge "When scan is started send signal ScanStarted to application." into tizen

7 years agoApply DNS configuration method 87/118887/4 accepted/tizen/common/20170322.153711 accepted/tizen/ivi/20170322.235801 accepted/tizen/mobile/20170322.235633 accepted/tizen/tv/20170322.235708 accepted/tizen/unified/20170322.235830 accepted/tizen/wearable/20170322.235735 submit/tizen/20170322.011410
Seonah Moon [Tue, 14 Mar 2017 10:31:33 +0000 (19:31 +0900)]
Apply DNS configuration method

Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoWhen scan is started send signal ScanStarted to application. 46/118446/1
Niraj Kumar Goit [Fri, 10 Mar 2017 10:37:46 +0000 (16:07 +0530)]
When scan is started send signal ScanStarted to application.

Change-Id: I034c3317a346140006e1d23d1389894c867012cc
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years ago[connman] Add IPv6 gateway address after service IP bound. 97/117897/1 accepted/tizen/common/20170309.175139 accepted/tizen/ivi/20170308.121241 accepted/tizen/mobile/20170308.121214 accepted/tizen/tv/20170308.121225 accepted/tizen/unified/20170310.080648 accepted/tizen/wearable/20170308.121234 submit/tizen/20170308.045955 submit/tizen_unified/20170310.011402
Niraj Kumar Goit [Wed, 8 Mar 2017 04:03:48 +0000 (09:33 +0530)]
[connman] Add IPv6 gateway address after service IP bound.

Add IPv6 gateway address after service IP bound to fix
state flow issue.

Change-Id: Ia30a834f52c7d849ee54305d0d370f629fc506bb
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years agoMerge "[tizen 4.0]: Add support of Disconnect Reason Event Handler" into tizen accepted/tizen/common/20170303.090745 accepted/tizen/ivi/20170303.065637 accepted/tizen/mobile/20170303.065550 accepted/tizen/tv/20170303.065605 accepted/tizen/unified/20170309.035138 accepted/tizen/wearable/20170303.065623 submit/tizen/20170303.005553 submit/tizen_unified/20170308.100411
taesub kim [Fri, 3 Mar 2017 00:45:31 +0000 (16:45 -0800)]
Merge "[tizen 4.0]: Add support of Disconnect Reason Event Handler" into tizen

7 years agoAdd code to parse section struct into vici request 96/116896/3
Yu Jiung [Thu, 2 Mar 2017 02:07:12 +0000 (11:07 +0900)]
Add code to parse section struct into vici request

Change-Id: If19978b75ab53c43a641a5e51bb0ef6a2adaa545
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoAdd ipsec plugin 76/116376/4
chleun.moon [Fri, 24 Feb 2017 05:36:58 +0000 (14:36 +0900)]
Add ipsec plugin

Change-Id: Iafe144233e8dd8bc066e00340a5853e4e16d925a
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoDHCP: Use auto-generated IP when DHCP is failed 19/116019/2 accepted/tizen/common/20170227.140546 accepted/tizen/common/20170228.065258 accepted/tizen/ivi/20170228.071900 accepted/tizen/mobile/20170228.071608 accepted/tizen/tv/20170228.071716 accepted/tizen/wearable/20170228.071803 submit/tizen/20170227.093013 submit/tizen/20170228.042751
Seonah Moon [Wed, 22 Feb 2017 10:59:28 +0000 (19:59 +0900)]
DHCP: Use auto-generated IP when DHCP is failed

Change-Id: I1051fc5506c816150bea4d65c93a0e2877d375d3
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[connman] Merged IPv6 related code. 70/115570/6
Seonah Moon [Mon, 20 Feb 2017 10:36:21 +0000 (19:36 +0900)]
[connman] Merged IPv6 related code.

1. Added code to set IPv6 gateway addess.
2. Fix IPv6 issue in case of auto-configuration.

Change-Id: Ie0e1d53dd269a09600d2f08e66d73cefd6dd3c29
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoSupported IPv6 DNS query 65/115565/2 accepted/tizen/common/20170222.124713 accepted/tizen/ivi/20170222.222333 accepted/tizen/mobile/20170222.222259 accepted/tizen/tv/20170222.222320 accepted/tizen/wearable/20170222.222326 submit/tizen/20170222.093648
Seonah Moon [Mon, 20 Feb 2017 10:23:57 +0000 (19:23 +0900)]
Supported IPv6 DNS query

connman dnsproxy has ignored AAAA record for IPv6.
It makes fail to resolve DNS in IPv6 environment.

Change-Id: I11e83560c522377b2f88c0dfea28df0fb66140a8
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[tizen 4.0]: Add support of Disconnect Reason Event Handler 44/115144/1
Maneesh Jain [Thu, 16 Feb 2017 11:34:14 +0000 (17:04 +0530)]
[tizen 4.0]: Add support of Disconnect Reason Event Handler

Description: Merged the following upstream patch and modified the
connMan accordingly.
http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=6245582d0dc9a3f47a6880dabf437ee7c351caef

Change-Id: Id90b6d83849c62c2842c038aec516354a2b74060
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoWGID-149077: Fixed integer overflow issue 90/114190/1 accepted/tizen/common/20170214.173413 accepted/tizen/ivi/20170214.011139 accepted/tizen/mobile/20170214.011102 accepted/tizen/tv/20170214.011116 accepted/tizen/wearable/20170214.011127 submit/tizen/20170213.093416
Seonah Moon [Fri, 10 Feb 2017 08:48:30 +0000 (17:48 +0900)]
WGID-149077: Fixed integer overflow issue

Change-Id: Ie2d0939e43080aa2c7937f912d13ece6c39fdb9c
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge "Do not listen all of 53 ports for DNS proxy" into tizen accepted/tizen/common/20170210.170532 accepted/tizen/ivi/20170214.011041 accepted/tizen/mobile/20170214.010834 accepted/tizen/tv/20170214.010924 accepted/tizen/wearable/20170214.011008 submit/tizen/20170210.072732 submit/tizen/20170210.083740
taesub kim [Tue, 7 Feb 2017 12:02:11 +0000 (04:02 -0800)]
Merge "Do not listen all of 53 ports for DNS proxy" into tizen

7 years agoDo not listen all of 53 ports for DNS proxy 13/113413/1
Seonah Moon [Tue, 7 Feb 2017 10:40:56 +0000 (19:40 +0900)]
Do not listen all of 53 ports for DNS proxy

0:0:0:0 means all of IPv6 addresses.
It should be replaced with localhost.

Change-Id: I21ace9e0eb5c50903f7b03ec270cbef0c8776aa3
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge "[connman]: Fixed: ConnMan keep trying connection infintely" into tizen
taesub kim [Tue, 7 Feb 2017 10:24:21 +0000 (02:24 -0800)]
Merge "[connman]: Fixed: ConnMan keep trying connection infintely" into tizen

7 years agoMerge "Fix for single channel scan in SelectNetwork" into tizen
taesub kim [Tue, 7 Feb 2017 10:22:04 +0000 (02:22 -0800)]
Merge "Fix for single channel scan in SelectNetwork" into tizen

7 years agoRemove Profile Build Dependency (2/2): tv/ivi extension 23/101223/10 accepted/tizen/common/20170207.062009 accepted/tizen/ivi/20170207.092054 accepted/tizen/mobile/20170207.092014 accepted/tizen/tv/20170207.092028 accepted/tizen/wearable/20170207.092042 submit/tizen/20170207.045631
MyungJoo Ham [Wed, 30 Nov 2016 12:00:08 +0000 (21:00 +0900)]
Remove Profile Build Dependency (2/2): tv/ivi extension

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- Maintainers need to create JIRA-TRE issue when SR-ing this:

  - Add connman-profile_tv for tv profile
  - Add connman-profile_ivi for ivi profile

Change-Id: Ic2c6022b389444fd26c7f9ee20290f50b38b5434
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependency (1/2): do it at runtime 22/101222/9
MyungJoo Ham [Wed, 30 Nov 2016 11:37:10 +0000 (20:37 +0900)]
Remove Profile Build Dependency (1/2): do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

- Now it reads if it is TV based on the /etc/ conf file.

Change-Id: Id9d2f6e9db7814ab06f5d166ef2299a1a8aacb51
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix service file for TV profile referring to mobile one 75/110675/2 accepted/tizen/common/20170117.175057 accepted/tizen/ivi/20170117.231642 accepted/tizen/mobile/20170117.231552 accepted/tizen/tv/20170117.231609 accepted/tizen/wearable/20170117.231624 submit/tizen/20170117.105810
Yu Jiung [Tue, 17 Jan 2017 10:39:58 +0000 (19:39 +0900)]
Fix service file for TV profile referring to mobile one

Change-Id: I683d96bef1b08acdd42bddf6eeedc659baad5d01
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix for single channel scan in SelectNetwork 60/109860/1
taesub kim [Thu, 12 Jan 2017 05:02:44 +0000 (14:02 +0900)]
Fix for single channel scan in SelectNetwork

Change-Id: I165fd22bab5ced4a383b0034da79a87712110636
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[connman]: Fixed: ConnMan keep trying connection infintely 21/106721/8
Maneesh Jain [Thu, 22 Dec 2016 13:00:28 +0000 (18:30 +0530)]
[connman]: Fixed: ConnMan keep trying connection infintely

Description : In following use case, ConnMan was stuck in
auto-connection with a specific AP. In that time, user
could not be able to select any other AP for connection.
1. Connect with an AP
2. Add the Device Mac address in AP's Mac filter list
3. Device disconnect from AP
4. Device keep trying to connection with AP

Partially added following upstream patch.
"http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=3bda07204b11158dd18322db6e64dc92bdd07124"

Change-Id: I1731bfd21324c83a87f4ff2a5fccf264fd7883f5
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFix to check favorit value into service 93/106993/1 accepted/tizen/common/20161227.192253 accepted/tizen/ivi/20161226.131948 accepted/tizen/mobile/20161226.131853 accepted/tizen/tv/20161226.131907 accepted/tizen/wearable/20161226.131929 submit/tizen/20161226.070156
hyunuktak [Mon, 26 Dec 2016 05:37:16 +0000 (14:37 +0900)]
Fix to check favorit value into service

When AP's status is changed(ex, password),
favorite value is setted to false.
so it is returning false as not supported
with checking favorite and state of service
when remove profile mothod is called.
it should remove service profile
whether it is favorite or not,
when it's called explicit.

Change-Id: I6b59729c7c2614b9f25f56696463f4ac927f6809
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years ago[connman]: @fix WGID 166257 SVACE Issue 43/106443/1 accepted/tizen/common/20161222.131130 accepted/tizen/ivi/20161223.095029 accepted/tizen/mobile/20161223.094936 accepted/tizen/tv/20161223.094951 accepted/tizen/wearable/20161223.095006 submit/tizen/20161222.015926
Maneesh Jain [Wed, 21 Dec 2016 13:39:31 +0000 (19:09 +0530)]
[connman]: @fix WGID 166257 SVACE Issue

Change-Id: Ib9186009728b786bc1c5c848a529e67af4752a1e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoMerge "[connman]:Fixed Double Scan Indication Event" into tizen
cheoleun moon [Wed, 21 Dec 2016 01:15:16 +0000 (17:15 -0800)]
Merge "[connman]:Fixed Double Scan Indication Event" into tizen

7 years agoClear scanning flag & device when state is connected 04/105604/1
taesub kim [Mon, 19 Dec 2016 05:45:12 +0000 (14:45 +0900)]
Clear scanning flag & device when state is connected

http://slp-info.sec.samsung.net/gerrit/#/c/2752007/
http://slp-info.sec.samsung.net/gerrit/#/c/2763075/

Change-Id: Ia290ba7d4d50935c1473d8a864a508dbad3f5e90
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[connman]:Fixed Double Scan Indication Event 19/104519/4
Maneesh Jain [Tue, 13 Dec 2016 11:31:56 +0000 (17:01 +0530)]
[connman]:Fixed Double Scan Indication Event

Description: In specific case, CommMan issue the SSID based scan followed
by full channel scan. In that case, applicaiton receive the two scan
done event. To handle this , block the scan done event for SSID based
scan.

Change-Id: I24803bd7377e3c682a33b0be653c36c65d30186e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFix a svace for checking NULL 01/104101/1 accepted/tizen/common/20161212.185700 accepted/tizen/ivi/20161213.003304 accepted/tizen/mobile/20161213.003235 accepted/tizen/tv/20161213.003252 accepted/tizen/wearable/20161213.003256 submit/tizen/20161212.124346
hyunuktak [Mon, 12 Dec 2016 09:25:33 +0000 (18:25 +0900)]
Fix a svace for checking NULL

Change-Id: I91b9b29c1c1c2b0b835f5a9b81a23b48fbd3b5dc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoRenamed upgrade script file name 83/103583/1 accepted/tizen/common/20161210.162036 accepted/tizen/ivi/20161212.025530 accepted/tizen/mobile/20161212.025515 accepted/tizen/tv/20161212.025522 accepted/tizen/wearable/20161212.025526 submit/tizen/20161209.120602
hyunuktak [Fri, 9 Dec 2016 01:20:27 +0000 (10:20 +0900)]
Renamed upgrade script file name

Change-Id: Id143c354d3ca8240da608aae2bcb07957b856dde
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoMerge "Fix build error for common 64bit Emulator" into tizen accepted/tizen/common/20161208.135628 accepted/tizen/ivi/20161209.010106 accepted/tizen/mobile/20161209.010013 accepted/tizen/tv/20161209.010027 accepted/tizen/wearable/20161209.010046 submit/tizen/20161208.095948
Jaehyun Kim [Thu, 8 Dec 2016 09:53:58 +0000 (01:53 -0800)]
Merge "Fix build error for common 64bit Emulator" into tizen