platform/upstream/connman.git
8 years ago[connman]: Fixed Scan Issue 87/90287/5
Maneesh Jain [Thu, 29 Sep 2016 09:13:12 +0000 (14:43 +0530)]
[connman]: Fixed Scan Issue

Description: In following use case, ConnMan always perform the ssid based scan
and unable to find the new AP's.
a. Connect with any AP (Normal or Hidden)
b. Disconnect with AP
c. After this, ConnMan always perform the SSID based scan.

Impact: Tizen Device is unable to scan new AP's.

Reason:
In Tizen, ConnMan configure the "BackgroundScanning" flag as false because background
scan feature is implemented in net-config module.
Due to this reason, I have added patch to sync-up the ConnMan scan implementation
with net-config background scan feature.

Change-Id: I0cff11df18780816b5f61a647c2298c781e78557
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years agoRemove Tizen specific hidden connection logic 16/89716/1 accepted/tizen/common/20160928.164122 accepted/tizen/ivi/20160929.081222 accepted/tizen/mobile/20160929.081112 accepted/tizen/tv/20160929.081156 accepted/tizen/wearable/20160929.081029 submit/tizen/20160928.053415
Saurav Babu [Mon, 26 Sep 2016 12:06:23 +0000 (17:36 +0530)]
Remove Tizen specific hidden connection logic

Change-Id: I466d0a4d73ade1278211245fbc94ca2fffeb392f
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoMerge "Append bssid property to the add_network call to wpa_supplicant" into tizen accepted/tizen/common/20160912.181624 accepted/tizen/ivi/20160920.051001 accepted/tizen/mobile/20160920.050905 accepted/tizen/tv/20160920.050923 accepted/tizen/wearable/20160920.050942 submit/tizen/20160912.084305
cheoleun moon [Mon, 12 Sep 2016 08:38:32 +0000 (01:38 -0700)]
Merge "Append bssid property to the add_network call to wpa_supplicant" into tizen

8 years agoDisable the rfkill init/clean 51/87451/1 accepted/tizen/common/20160912.180848 accepted/tizen/ivi/20160912.053951 accepted/tizen/mobile/20160912.053901 accepted/tizen/tv/20160912.053916 accepted/tizen/wearable/20160912.053934 submit/tizen/20160912.021246
taesub.kim [Thu, 8 Sep 2016 05:18:55 +0000 (14:18 +0900)]
Disable the rfkill init/clean

Change-Id: Ifdb6258e566469c179e0a4f1610247e5109e1b21
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agoAppend bssid property to the add_network call to wpa_supplicant 00/87300/1
Milind Ramesh Murhekar [Wed, 7 Sep 2016 09:07:07 +0000 (14:37 +0530)]
Append bssid property to the add_network call to wpa_supplicant

Description: This change supports the Strongest AP connection.
If there are multiple APs that have same SSID and security type
the Bssid property will help to ensure the correct connectivity
of the AP among them.

Change-Id: I600772fa2bea72f3917e24d677057b34b87c7f1e
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
8 years agoUpstream: service: Enable ipconfig only for the changed IP type 87/86387/1 accepted/tizen/common/20160907.154208 accepted/tizen/ivi/20160908.003638 accepted/tizen/mobile/20160908.003510 accepted/tizen/tv/20160908.003548 accepted/tizen/wearable/20160908.003612 submit/tizen/20160907.003226 submit/tizen/20160907.012754
Saurav Babu [Mon, 18 Jul 2016 11:13:53 +0000 (16:43 +0530)]
Upstream: service: Enable ipconfig only for the changed IP type

When IPv6.Configuration is changed to "off" then connman starts fresh
DHCP Requests for service after changing its state to Configuration.
In an ideal scenario IPv4 Configurations should not be affected on
changing IPv6.Configuration property.
This patch only enables ipconfig for the changed IP type and leaves
other IP type unchanged

Change-Id: I65eacb6711314d2674e709711f432ef706167fc4
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoAdd script file for OS upgrade 54/85754/1 accepted/tizen/common/20160829.140119 accepted/tizen/ivi/20160829.085453 accepted/tizen/mobile/20160829.085403 accepted/tizen/tv/20160829.085418 accepted/tizen/wearable/20160829.085438 submit/tizen/20160829.053559
hyunuktak [Mon, 29 Aug 2016 04:13:35 +0000 (13:13 +0900)]
Add script file for OS upgrade

Change-Id: I67fbc8121de8e928ff16c3bd05b7a8f56133a616
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoMove log file to /var/log 89/84589/1 accepted/tizen/common/20160822.132702 accepted/tizen/ivi/20160823.041250 accepted/tizen/mobile/20160823.041100 accepted/tizen/tv/20160823.041158 accepted/tizen/wearable/20160823.041224 submit/tizen/20160822.012953 submit/tizen/20160822.045932
Jaehyun Kim [Fri, 19 Aug 2016 10:31:54 +0000 (19:31 +0900)]
Move log file to /var/log

Change-Id: I2b304a8557e68dbcd372050c44e68d22341ad0f2

8 years agoAdd socket file to enable DNS proxy 75/83275/3 accepted/tizen/common/20160810.161903 accepted/tizen/ivi/20160811.002744 accepted/tizen/mobile/20160811.002737 accepted/tizen/tv/20160811.002724 accepted/tizen/wearable/20160811.003045 submit/tizen/20160810.093538
Seonah Moon [Wed, 10 Aug 2016 02:20:22 +0000 (11:20 +0900)]
Add socket file to enable DNS proxy

Change-Id: I9e04465f130cfee07678046660ca9292a2385dec
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoMerge "Call g_supplicant_interface_scan with scan_params" into tizen accepted/tizen/common/20160805.125941 accepted/tizen/ivi/20160809.010649 accepted/tizen/mobile/20160809.010600 accepted/tizen/tv/20160809.010620 accepted/tizen/wearable/20160809.010632 submit/tizen/20160805.043406
taesub kim [Thu, 21 Jul 2016 23:10:59 +0000 (16:10 -0700)]
Merge "Call g_supplicant_interface_scan with scan_params" into tizen

8 years agoMerge "Upstream: network: Replace network_change() with __connman_network_disconnect...
taesub kim [Thu, 21 Jul 2016 23:10:27 +0000 (16:10 -0700)]
Merge "Upstream: network: Replace network_change() with __connman_network_disconnect()" into tizen

8 years agoSet SmackProcessLabel to System 80/80880/1 accepted/tizen/common/20160721.175857 accepted/tizen/ivi/20160721.090802 accepted/tizen/mobile/20160721.090519 accepted/tizen/tv/20160721.091334 accepted/tizen/wearable/20160721.091048 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 12:02:30 +0000 (21:02 +0900)]
Set SmackProcessLabel to System

Change-Id: I233c41596ec8fb4424e18c80e043658f3d510d47
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoUpstream: network: Replace network_change() with __connman_network_disconnect() 85/78985/1
Saurav Babu [Thu, 7 Jul 2016 14:22:45 +0000 (19:52 +0530)]
Upstream: network: Replace network_change() with __connman_network_disconnect()

The network_change() function called when a network error is set will
disconnect a network driver identical to __connman_network_disconnect()
but without any error handling. Therefore the specific network_change()
function is better replaced with __connman_network_disconnect(). With
connman_network_set_error() now calling __connman_network_disconnect(),
the additional function call can now be removed from
connman_network_set_connected().

Also let the associating and connecting variables be handled by the
normal code paths and don't forcefully unset them when an error happens.

Commit ID: 7a3740c4c65be7915c36daaac9b1a611fa498a2

Change-Id: I3223a9d13207898aa64e2002912516d5ad64c150
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoCall g_supplicant_interface_scan with scan_params 34/78534/1
hyunuktak [Wed, 6 Jul 2016 04:07:05 +0000 (13:07 +0900)]
Call g_supplicant_interface_scan with scan_params

when latest connection is specific ssid as hidden

Change-Id: Id5a58977ac3dcb05f3006dbed85d3e07aab15326
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoMerge "Removed cap for mac override and change the label for connman dir" into tizen accepted/tizen/common/20160706.142111 accepted/tizen/ivi/20160706.082205 accepted/tizen/mobile/20160706.082128 accepted/tizen/tv/20160706.082111 accepted/tizen/wearable/20160706.082135 submit/tizen/20160706.014843
cheoleun moon [Wed, 6 Jul 2016 01:43:14 +0000 (18:43 -0700)]
Merge "Removed cap for mac override and change the label for connman dir" into tizen

8 years agoFixed some issues 18/78318/1 accepted/tizen/common/20160705.170548 accepted/tizen/ivi/20160705.101849 accepted/tizen/mobile/20160705.101933 accepted/tizen/tv/20160705.101845 accepted/tizen/wearable/20160705.101859 submit/tizen/20160705.082658
hyunuktak [Tue, 5 Jul 2016 06:08:44 +0000 (15:08 +0900)]
Fixed some issues

Removed to set autoconnect when 4way handshake failed
Release passphrase of service when indicate error occurred for invalid
key

Change-Id: Id748ddcd21ad896f0d8e91ce4711a4c9c0df6d96
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoRemoved cap for mac override and change the label for connman dir 11/78011/1
hyunuktak [Mon, 4 Jul 2016 02:28:07 +0000 (11:28 +0900)]
Removed cap for mac override and change the label for connman dir

Change-Id: I070677e1e3197ec0076483078b7bbdb8fd253023
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoRevert "Removed cap for mac override and change the label for connman dir" 88/77888/1 accepted/tizen/common/20160701.193121 accepted/tizen/ivi/20160701.113029 accepted/tizen/mobile/20160701.112931 accepted/tizen/tv/20160701.112952 accepted/tizen/wearable/20160701.113007 submit/tizen/20160701.111546 submit/tizen_common/20160701.180000
Jaehyun Kim [Fri, 1 Jul 2016 11:09:04 +0000 (20:09 +0900)]
Revert "Removed cap for mac override and change the label for connman dir"

Change-Id: Ibfa947b0d6d9ae3154bca8774378908cf93c841e

8 years agoRemoved cap for mac override and change the label for connman dir 88/77588/1 accepted/tizen/common/20160630.152147 accepted/tizen/ivi/20160701.033404 accepted/tizen/mobile/20160701.033521 accepted/tizen/tv/20160701.033315 accepted/tizen/wearable/20160701.033342 submit/tizen/20160630.085420
hyunuktak [Thu, 30 Jun 2016 08:31:39 +0000 (17:31 +0900)]
Removed cap for mac override and change the label for connman dir

Change-Id: I5e140d9ec4d3de94a429e97206045407461b59ae
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoModify to get rsn mode using pairwise 89/76989/1 accepted/tizen/common/20160628.141818 accepted/tizen/ivi/20160629.021304 accepted/tizen/mobile/20160629.021329 accepted/tizen/tv/20160629.021220 accepted/tizen/wearable/20160629.021326 submit/tizen/20160628.112647
hyunuktak [Tue, 28 Jun 2016 07:55:17 +0000 (16:55 +0900)]
Modify to get rsn mode using pairwise

Change-Id: Icb3942835130528c4d61d427ee1891d88cc1ac3b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoRemove some features and modify service file 16/76016/1 accepted/tizen/common/20160624.132425 accepted/tizen/ivi/20160624.064339 accepted/tizen/mobile/20160624.064052 accepted/tizen/tv/20160624.064037 accepted/tizen/wearable/20160624.064357 submit/tizen/20160624.012559
hyunuktak [Wed, 22 Jun 2016 10:38:56 +0000 (19:38 +0900)]
Remove some features and modify service file

Change-Id: Id3697d995e4db5d6f03cdf182825d5f61136e235
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoFix Svace issue 102125 66/75866/1 accepted/tizen/common/20160627.191217 accepted/tizen/ivi/20160623.121441 accepted/tizen/mobile/20160623.121353 accepted/tizen/tv/20160623.121406 accepted/tizen/wearable/20160623.121429 submit/tizen/20160622.070923
chleun.moon [Wed, 22 Jun 2016 04:23:50 +0000 (13:23 +0900)]
Fix Svace issue 102125

Change-Id: If753aeecc7206c4421dcd01d3359b9ae587e0f92
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[SPIN] Apply system socket - onlycap support 83/75083/2 accepted/tizen/common/20160620.163541 accepted/tizen/ivi/20160620.081605 accepted/tizen/mobile/20160620.081517 accepted/tizen/tv/20160620.081531 accepted/tizen/wearable/20160620.081549 submit/tizen/20160620.015850
Niraj Kumar Goit [Thu, 16 Jun 2016 14:26:45 +0000 (19:56 +0530)]
[SPIN] Apply system socket - onlycap support

Change-Id: Icc887f469e77eea24915c89efcf216aff466fa98
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Indicate auth-failed error. 58/74758/2
Niraj Kumar Goit [Wed, 15 Jun 2016 16:47:40 +0000 (22:17 +0530)]
[SPIN] Indicate auth-failed error.

desc: In case of wifi connection if Association fail,
indicate "auth-failed" error.

Change-Id: Ie08088f3e5b5ff940d0e4290814c266d28e59b15
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Fix wireless issues in connman. 39/74739/2
Niraj Kumar Goit [Wed, 15 Jun 2016 15:43:53 +0000 (21:13 +0530)]
[SPIN] Fix wireless issues in connman.

desc: Set connection error when AP is removed.
Change ASSOC_RETRY_COUNT(3 -> 4).
send the scan request after connecting - check the ap availability
fix the too much scan in associating

Change-Id: Ia1d0367a2f792f6c2f92a6ef498b37511840135d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Check if network is already removed in connect callback. 11/74711/2
Niraj Kumar Goit [Wed, 15 Jun 2016 14:56:19 +0000 (20:26 +0530)]
[SPIN] Check if network is already removed in connect callback.

Change-Id: I6b7916473347bba2b93d1565d59c95eaca0d2190
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Added the connman disconnect reason property. 06/74706/2
Niraj Kumar Goit [Wed, 15 Jun 2016 14:43:09 +0000 (20:13 +0530)]
[SPIN] Added the connman disconnect reason property.

Change-Id: I11fd7baa7d00fa3f3a12bdafda7ff7aa6943d020
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] fix the invalid state from supplicant. 75/74675/3
Niraj Kumar Goit [Wed, 15 Jun 2016 12:33:55 +0000 (18:03 +0530)]
[SPIN] fix the invalid state from supplicant.

Change-Id: I68de9746804f5a9045dca026dc1230cd40cf1a37
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Update operating frequency properly. 53/74653/4
Niraj Kumar Goit [Wed, 15 Jun 2016 11:48:52 +0000 (17:18 +0530)]
[SPIN] Update operating frequency properly.

Change-Id: If4ce1cbf1518e1fc93ced32affe98aa05209b307
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] add keymgmt property for bss. 43/74643/4
Niraj Kumar Goit [Wed, 15 Jun 2016 11:04:28 +0000 (16:34 +0530)]
[SPIN] add keymgmt property for bss.

Change-Id: Id436db5828febaabd8273c2e0aab91f9ee9572ff
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] request RemoveNetwork when disconnected to stop scanning in supplicant. 40/74640/3
Niraj Kumar Goit [Wed, 15 Jun 2016 10:43:46 +0000 (16:13 +0530)]
[SPIN] request RemoveNetwork when disconnected to stop scanning in supplicant.

Change-Id: I4248b2de4d00d4218dcfac078bcda3e95db83896
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Fix the connman bugs. 34/74634/2
Niraj Kumar Goit [Wed, 15 Jun 2016 10:09:36 +0000 (15:39 +0530)]
[SPIN] Fix the connman bugs.

- Fixed NTP service's DNS resolving failure in Hive project.
- Do not turn "wlan0" interface down in cleanup_devices().
- Set resource limits "RLIMIT_NOFILE" for a process.
- After appending a file, fflush and fsync all modified in-core data of the file.

Change-Id: I2767b3302d6204d066fe2075027828ff209d0ee0
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] change the ntp update logic 48/74548/3
Niraj Kumar Goit [Tue, 14 Jun 2016 17:35:55 +0000 (23:05 +0530)]
[SPIN] change the ntp update logic

desc : add the resolved server list into time_server list. It is only
using the first item of timeserver. Not use gateway for ntp server
if enabled WLAN_ALWAYS_POWERED.

Change-Id: I2f55ade5b7208a7f893516b817d4ff6bffa62a04
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Add the dns address validation checking logic 47/74547/3
Niraj Kumar Goit [Tue, 14 Jun 2016 17:25:50 +0000 (22:55 +0530)]
[SPIN] Add the dns address validation checking logic

desc : some of AP sends the DNS response even though AP is not connected
with internet service. In this case, DNS response address is not proper
- it is the private address. So, we check the address validation before
sending the internet url.

Change-Id: I5dae725e931e5d66072bb809c8cce489ffa79379
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] implement to check blacklist for auto connection. 27/74527/3
Niraj Kumar Goit [Tue, 14 Jun 2016 17:17:31 +0000 (22:47 +0530)]
[SPIN] implement to check blacklist for auto connection.

Change-Id: I174b228529374f80b1c4197a310124c028564bb8
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] config: Ignore provision_service for open(none) security. 26/74526/3
Niraj Kumar Goit [Tue, 14 Jun 2016 17:07:28 +0000 (22:37 +0530)]
[SPIN] config: Ignore provision_service for open(none) security.

Change-Id: I9f787846f3b1f4b4f147f64821a8b5c25b0367d7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] gsupplicant: fix stucking in scanning state when scan failed. 14/74514/3
Niraj Kumar Goit [Tue, 14 Jun 2016 16:54:37 +0000 (22:24 +0530)]
[SPIN] gsupplicant: fix stucking in scanning state when scan failed.

- gsupplicant: fix stucking in scanning state when scan failed.
- Apply ASLR option.
- Add ""TIZEN_WEARABLE"" check in service file.
- change the dhcp client device name.
- default internet service: fix not cleared if pdp activation failed.
- Change Russia cert build feature.
- Update the Connman.service.in file.
- Remove connection retry when association fail.

Change-Id: I3ac8e49d0a3c229b298296f8e7cbf34845c2c90d
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] support ft-psk and ft-eap security type. 13/74513/1
Niraj Kumar Goit [Tue, 14 Jun 2016 15:26:18 +0000 (20:56 +0530)]
[SPIN] support ft-psk and ft-eap security type.

Change-Id: Idc4ff4294ada3b234dd4af29558c0923b9aff017
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] gdbus: revert pending DBus call. 61/74461/1
Niraj Kumar Goit [Tue, 14 Jun 2016 14:30:05 +0000 (20:00 +0530)]
[SPIN] gdbus: revert pending DBus call.

Change-Id: Ic8781d015af6e83ca9e90183f9b256ec9f5a0812
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago [SPIN] config: reset phase2(eap-method) parameter. 60/74460/1
Niraj Kumar Goit [Tue, 14 Jun 2016 14:08:01 +0000 (19:38 +0530)]
 [SPIN] config: reset phase2(eap-method) parameter.

Change-Id: I7a48419ddcf18c735a609324c0c98510193c63ed
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] set priority for connected service. 27/74427/1
Niraj Kumar Goit [Tue, 14 Jun 2016 13:11:01 +0000 (18:41 +0530)]
[SPIN] set priority for connected service.

Change-Id: If32af57fef608cb7fb8a69d2c8ceacc88a86ce98
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] network: enable DHCP failure. 12/74412/1
Niraj Kumar Goit [Tue, 14 Jun 2016 12:42:33 +0000 (18:12 +0530)]
[SPIN] network: enable DHCP failure.

When DHCP is failed, most of normal users cannot understand
auto-generated IP (IPV4 link local). So set error CONNMAN_NETWORK_ERROR_DHCP_FAIL.

Change-Id: Ic80eb0436e41cff3a4bfb11dfef722b3029b0399
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] change the cellular activation logic. 98/74398/1
Niraj Kumar Goit [Tue, 14 Jun 2016 12:12:56 +0000 (17:42 +0530)]
[SPIN] change the cellular activation logic.

desc: with IPv6, current telephony plugin has not proper logic.
       set state and activation for cellular service logic is changed.
       it also affects normal cellular service connection.

Change-Id: I48f214ceab2f0f7c6e3f8bead185cc8f1fd2a87a
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Change the API for set system time. 82/74382/2
Niraj Kumar Goit [Tue, 14 Jun 2016 11:30:56 +0000 (17:00 +0530)]
[SPIN] Change the API for set system time.

Change-Id: Ifea0e8f38383986a091df9930a0308c870750553
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] wifi: enable to reload service profile from storage. 73/74373/1
Niraj Kumar Goit [Tue, 14 Jun 2016 10:40:37 +0000 (16:10 +0530)]
[SPIN] wifi: enable to reload service profile from storage.

Change-Id: Idf19d82d0052f83a69b424536ecfceca65e840cb
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agoservice: clean up network for EAP in __connman_service_remove. 65/74365/1
Niraj Kumar Goit [Tue, 14 Jun 2016 08:51:20 +0000 (14:21 +0530)]
service: clean up network for EAP in __connman_service_remove.

Change-Id: I7fb2f7f0c2bf8cea04a8aecf7b1da69b47698132
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agoMerge "Add support for WPS2-PSK security type in Security property of service interfa... accepted/tizen/common/20160614.144019 accepted/tizen/ivi/20160614.103653 accepted/tizen/mobile/20160614.103642 accepted/tizen/tv/20160614.103619 accepted/tizen/wearable/20160614.103626 submit/tizen/20160614.053635
taesub kim [Tue, 14 Jun 2016 04:30:50 +0000 (21:30 -0700)]
Merge "Add support for WPS2-PSK security type in Security property of service interface" into tizen

8 years agoRemove CapabilityBoundingSet(CAP_MAC_OVERRIDE) in service file 15/74315/1
hyunuktak [Tue, 14 Jun 2016 00:43:40 +0000 (09:43 +0900)]
Remove CapabilityBoundingSet(CAP_MAC_OVERRIDE) in service file

Change-Id: Ie61eab113ef0655fdb84e683872297c9482b45fc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoMerge "[SPIN] Enable the ntp by connman if device does not use the cellular." into...
taesub kim [Mon, 13 Jun 2016 02:21:15 +0000 (19:21 -0700)]
Merge "[SPIN] Enable the ntp by connman if device does not use the cellular." into tizen

8 years agoMerge "[SPIN] Restart dhcp as soon as INIT-REBOOT has been failed" into tizen
taesub kim [Mon, 13 Jun 2016 02:20:52 +0000 (19:20 -0700)]
Merge "[SPIN] Restart dhcp as soon as INIT-REBOOT has been failed" into tizen

8 years agoMerge "[SPIN] Add NULL check to prevent crash." into tizen
taesub kim [Mon, 13 Jun 2016 02:19:50 +0000 (19:19 -0700)]
Merge "[SPIN] Add NULL check to prevent crash." into tizen

8 years agoMerge "[upstream] Fix memory leak when realloc fails." into tizen
taesub kim [Mon, 13 Jun 2016 02:19:17 +0000 (19:19 -0700)]
Merge "[upstream] Fix memory leak when realloc fails." into tizen

8 years agoMerge "[SPIN] wispr: cellular service does not make portal detection." into tizen
taesub kim [Mon, 13 Jun 2016 02:18:39 +0000 (19:18 -0700)]
Merge "[SPIN] wispr: cellular service does not make portal detection." into tizen

8 years agoMerge "[SPIN] network: connman_network_clear_associating rather than IDLE state"...
taesub kim [Mon, 13 Jun 2016 02:18:05 +0000 (19:18 -0700)]
Merge "[SPIN] network: connman_network_clear_associating rather than IDLE state" into tizen

8 years agoMerge "[SPIN] service: extend wifi ext info for passpoint." into tizen
taesub kim [Mon, 13 Jun 2016 02:14:55 +0000 (19:14 -0700)]
Merge "[SPIN] service: extend wifi ext info for passpoint." into tizen

8 years agoMerge "[SPIN] rtnl: remove old wext interface" into tizen
taesub kim [Mon, 13 Jun 2016 02:14:37 +0000 (19:14 -0700)]
Merge "[SPIN] rtnl: remove old wext interface" into tizen

8 years agoMerge "[SPIN] Admit to connect EAP-TLS without passphrase of privatekey." into tizen
taesub kim [Mon, 13 Jun 2016 02:14:12 +0000 (19:14 -0700)]
Merge "[SPIN] Admit to connect EAP-TLS without passphrase of privatekey." into tizen

8 years agoMerge "[SPIN] Enable state changed even if service changed scheduled." into tizen
taesub kim [Mon, 13 Jun 2016 02:13:49 +0000 (19:13 -0700)]
Merge "[SPIN] Enable state changed even if service changed scheduled." into tizen

8 years agoMerge "[SPIN]Set interface callback during scan request" into tizen
taesub kim [Mon, 13 Jun 2016 02:12:58 +0000 (19:12 -0700)]
Merge "[SPIN]Set interface callback during scan request" into tizen

8 years ago[SPIN] Restart dhcp as soon as INIT-REBOOT has been failed 07/74007/2
Niraj Kumar Goit [Fri, 10 Jun 2016 12:17:15 +0000 (17:47 +0530)]
[SPIN] Restart dhcp as soon as INIT-REBOOT has been failed

desc: Start DHCPDISCOVERY when DHCPREQUEST of INIT-REBOOT has failed.

Change-Id: I7c6de8a3b397765cd0173a5b18c0c926a5ce29a4
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Add NULL check to prevent crash. 78/73978/1
Niraj Kumar Goit [Fri, 10 Jun 2016 13:50:24 +0000 (19:20 +0530)]
[SPIN] Add NULL check to prevent crash.

Change-Id: I220440e73661004a61b8803d335c8c7a7ae11f6b
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Enable the ntp by connman if device does not use the cellular. 05/73305/2
Niraj Kumar Goit [Tue, 7 Jun 2016 17:03:40 +0000 (22:33 +0530)]
[SPIN] Enable the ntp by connman if device does not use the cellular.

desc : enable the ntp if the device is not using the cellualr(telephony).
This ntp is controlled by net-config. After getting the timeinfo,
connman call the alarm-manager's dbus method.

Change-Id: I83272206654b6b64c968d5dbb69354e19e971f34
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agoAdd support for WPS2-PSK security type in Security property of service interface 02/74002/1
Jaehyun Kim [Fri, 10 Jun 2016 09:45:13 +0000 (18:45 +0900)]
Add support for WPS2-PSK security type in Security property of service interface

Change-Id: I5531a2e3e45da6b3d4caa6d5df15f54ebc2700d8

8 years ago[upstream] Fix memory leak when realloc fails. 07/73807/2
Niraj Kumar Goit [Thu, 9 Jun 2016 17:25:39 +0000 (22:55 +0530)]
[upstream] Fix memory leak when realloc fails.

Change-Id: I9d34aa90a0ad2265339b3a05302bbe5b5f1ba211
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agoFix build error for common 64bit arch 65/73865/1 accepted/tizen/common/20160610.182300 accepted/tizen/ivi/20160613.021639 accepted/tizen/mobile/20160613.021609 accepted/tizen/tv/20160613.021633 accepted/tizen/wearable/20160613.021457 submit/tizen/20160610.014806
hyunuktak [Fri, 10 Jun 2016 01:09:26 +0000 (10:09 +0900)]
Fix build error for common 64bit arch

Change-Id: Ib3454c39afd0cb2267a2c3e6aff72fba2171c45a
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[SPIN] wispr: cellular service does not make portal detection. 06/73806/1
Niraj Kumar Goit [Thu, 9 Jun 2016 17:22:00 +0000 (22:52 +0530)]
[SPIN] wispr: cellular service does not make portal detection.

Change-Id: If897ee6e8d102f1b960bdc088543a942b47f6fc6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] network: connman_network_clear_associating rather than IDLE state 01/73801/1
Niraj Kumar Goit [Thu, 9 Jun 2016 17:09:30 +0000 (22:39 +0530)]
[SPIN] network: connman_network_clear_associating rather than IDLE state

Change-Id: Ia8693e891946e29315176afe60fe8df5b78e3ea5
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] service: extend wifi ext info for passpoint. 90/73790/1
Niraj Kumar Goit [Thu, 9 Jun 2016 16:46:47 +0000 (22:16 +0530)]
[SPIN] service: extend wifi ext info for passpoint.

Change-Id: Id4c411292b000280748aa98e2667efa7ca48bfd6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] rtnl: remove old wext interface 88/73788/1
Niraj Kumar Goit [Thu, 9 Jun 2016 16:30:57 +0000 (22:00 +0530)]
[SPIN] rtnl: remove old wext interface

Change-Id: I05c4d16965d974af8fd3d83546c9690f3d8def51
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Admit to connect EAP-TLS without passphrase of privatekey. 81/73781/1
Niraj Kumar Goit [Thu, 9 Jun 2016 16:15:28 +0000 (21:45 +0530)]
[SPIN] Admit to connect EAP-TLS without passphrase of privatekey.

Change-Id: If00ccb9b15e5d2c224c016996468db418c59147c
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN] Enable state changed even if service changed scheduled. 49/73749/1
Niraj Kumar Goit [Thu, 9 Jun 2016 15:39:52 +0000 (21:09 +0530)]
[SPIN] Enable state changed even if service changed scheduled.

Change-Id: I7841b7d658c6176d91fea6f3f018dfb2da8da3f2
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[SPIN]Set interface callback during scan request 43/73743/1
Niraj Kumar Goit [Thu, 9 Jun 2016 15:16:58 +0000 (20:46 +0530)]
[SPIN]Set interface callback during scan request

[Cause] Inteface callback was not being called in error case when 'scan done'
        signal was received from wpasupplicant and hence the 'scanning' state
        was not being set properly
[Solution] Set the interface callback during scan request which gets called back
           and sets the 'scanning' state properly during error cases

Change-Id: I1ac96a7657bee12ee642f8b680a5b7ef51118048
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agoMerge "Remove capability and Change from dbus to systemd for vpn service" into tizen accepted/tizen/common/20160609.150630 submit/tizen/20160609.105401
taesub kim [Thu, 9 Jun 2016 10:46:02 +0000 (03:46 -0700)]
Merge "Remove capability and Change from dbus to systemd for vpn service" into tizen

8 years agoMerge:Partial Fix a crash and valgrind invalid read error 52/73652/3
Maneesh Jain [Fri, 20 Nov 2015 06:23:36 +0000 (11:53 +0530)]
Merge:Partial Fix a crash and valgrind invalid read error

Change-Id: Ib36cab79ea86048860ffda7d6108b769a3cc9b33
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
8 years agoDisable wispr feature 51/73651/2
Seonah Moon [Thu, 9 Jun 2016 05:19:25 +0000 (14:19 +0900)]
Disable wispr feature

Change-Id: I5d300a81d008af74487114767d82e11101e44c43
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoRemove capability and Change from dbus to systemd for vpn service 79/73679/1
hyunuktak [Thu, 9 Jun 2016 06:43:58 +0000 (15:43 +0900)]
Remove capability and Change from dbus to systemd for vpn service

Change-Id: I7ef5583cfc148b4835abec4bf57ad76369ed9b8e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[connman] Notify the IPv4 Ready State signal to UI followed by IPv6 Signal. 90/72290/3 accepted/tizen/common/20160608.160928 accepted/tizen/ivi/20160609.090754 accepted/tizen/mobile/20160609.090615 accepted/tizen/tv/20160609.090732 accepted/tizen/wearable/20160609.090715 submit/tizen/20160608.101452
Niraj Kumar Goit [Tue, 31 May 2016 15:17:24 +0000 (20:47 +0530)]
[connman] Notify the IPv4 Ready State signal to UI followed by IPv6 Signal.

Description: First ready state was notified when IP Address was obtained
    using IPv6 and at that time IPv4 Addresses were not available.
    and Application called to check gateway address before IPv4 Addresses
    were available so CAPI returned with error NO_CONNECTION.
    So sent a ready signal again after IPv4 address available.

Change-Id: If7ac89e8de920f144ea5d11fba65370622ce1572
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[connman] Fixed derefrencing of NULL pointer. 67/72167/2
Niraj Kumar Goit [Tue, 31 May 2016 10:53:57 +0000 (16:23 +0530)]
[connman] Fixed derefrencing of NULL pointer.

Change-Id: I2174f8e6afca4e2c7795ec8ca8118c296ee9fece
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agolog: Set log time with millisecond. 61/73261/1
Niraj Kumar Goit [Tue, 7 Jun 2016 15:06:40 +0000 (20:36 +0530)]
log: Set log time with millisecond.

Change-Id: I6fe843025c41fc1d686bcfb79a62f64aecd7e0c1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years ago[connman] Fixed memory leak issue. 20/72020/4 accepted/tizen/common/20160607.194721 accepted/tizen/ivi/20160607.235418 accepted/tizen/mobile/20160607.235355 accepted/tizen/tv/20160607.235409 accepted/tizen/wearable/20160607.235343 submit/tizen/20160607.090155
Niraj Kumar Goit [Mon, 30 May 2016 13:51:18 +0000 (19:21 +0530)]
[connman] Fixed memory leak issue.

Added NULL check before derefrencing of pointer variable.
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Change-Id: If065f024fe62e72887591f54eaabf4ed70a8d2e2

8 years agoIgnore the cellular service type for single connected tech 94/70094/1 accepted/tizen/common/20160520.170958 accepted/tizen/ivi/20160520.003254 accepted/tizen/mobile/20160520.003740 accepted/tizen/tv/20160520.003211 accepted/tizen/wearable/20160520.003326 submit/tizen/20160519.085425
hyunuktak [Wed, 18 May 2016 05:28:41 +0000 (14:28 +0900)]
Ignore the cellular service type for single connected tech

Change-Id: Ic564795f0d5703e48d2b682de0b3c9877f7ee110
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[TINF-1281] Fixed image creation error 75/68675/1 accepted/tizen/common/20160510.050941 accepted/tizen/ivi/20160510.002716 accepted/tizen/mobile/20160510.002704 accepted/tizen/tv/20160510.002708 accepted/tizen/wearable/20160510.002658 submit/tizen/20160509.092624
taesubkim [Mon, 9 May 2016 09:03:20 +0000 (18:03 +0900)]
[TINF-1281] Fixed image creation error

Change-Id: Ic4054b73646e5d9c348afcb55daf64125030185c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agoChange CA bundle path macro 38/68438/1
Seonah Moon [Wed, 4 May 2016 08:22:59 +0000 (17:22 +0900)]
Change CA bundle path macro

Change-Id: I2271312cb115a2426bec36af43868e9c5b16131b
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoRemoved overlap privilege rule 77/67477/1 accepted/tizen/common/20160427.144114 accepted/tizen/ivi/20160428.002450 accepted/tizen/mobile/20160428.004554 accepted/tizen/tv/20160428.002327 accepted/tizen/wearable/20160428.002546 submit/tizen/20160427.070140
taesubkim [Wed, 27 Apr 2016 00:55:36 +0000 (09:55 +0900)]
Removed overlap privilege rule

Change-Id: I2870e4d52e6f1a4ed619e797358f8e0eee0be7be
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agoMerge branch 'upstream' into tizen 13/67313/2
Seonah Moon [Tue, 26 Apr 2016 08:20:14 +0000 (17:20 +0900)]
Merge branch 'upstream' into tizen

Change-Id: Ia439bcb6c0311b7e157318cfc2ab4a12a974f9b4
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoImported Upstream version 1.29 90/67290/1 upstream/1.29
taesubkim [Tue, 26 Apr 2016 06:47:01 +0000 (15:47 +0900)]
Imported Upstream version 1.29

Change-Id: I2958446c35966d9ed72df0120b80561be7d89f54
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agogdhcp: Don't try to remove timer again 78/60678/3 accepted/tizen/common/20160406.145254 accepted/tizen/ivi/20160407.000831 accepted/tizen/mobile/20160407.000743 accepted/tizen/tv/20160407.000800 accepted/tizen/wearable/20160407.000819 submit/tizen/20160406.101500
Saurav Babu [Tue, 1 Mar 2016 11:48:00 +0000 (17:18 +0530)]
gdhcp: Don't try to remove timer again

GLib-CRITICAL warning message is obtained in below scenario:
1. service is connected and link local address is obtained.
2. Try to disconnect service.

(connmand:8377): GLib-CRITICAL **: Source ID 289 was not found when
attempting to remove it

(connmand:8377): GLib-CRITICAL **: Source ID 303 was not found when
attempting to remove it

When Link Local IP address is obtained then both dhcp_client->timeout
assigned for DISCOVER_TIMEOUT and ANNOUNCE_INTERVAL are already removed
when discover_timeout() and ipv4ll_announce_timeout() function returns
FALSE but the dhcp_client->timeout is not assigned to 0. Now when
dhcp_release() calls remove_timeouts() function then dhcp_client->timeout
is tried to remove again resulting in GLib-CRITICAL warning. This patch
removes all possible remaing timeouts in g_dhcp_client_start() and
explicitly sets dhcp_client->timeout to 0 in ipv4ll_announce_timeout()
function.

Change-Id: I12b072beef92818a2c1db253c85d1cfea540682b
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoMerge "on-demand connman-vpnd start" into tizen accepted/tizen/common/20160315.220804 accepted/tizen/ivi/20160314.104418 accepted/tizen/mobile/20160314.104328 accepted/tizen/tv/20160314.104344 accepted/tizen/wearable/20160314.104358 submit/tizen/20160314.010212
taesub kim [Mon, 14 Mar 2016 00:33:05 +0000 (17:33 -0700)]
Merge "on-demand connman-vpnd start" into tizen

8 years agoon-demand connman-vpnd start 71/61671/5
Deepak Kumar Sahu [Wed, 9 Mar 2016 14:14:03 +0000 (19:44 +0530)]
on-demand connman-vpnd start

Change-Id: I88da48264b9506b58335c4dbefa7dccb08215245
Signed-off-by: Deepak Kumar Sahu <deepak.sahu@samsung.com>
8 years agoMerge "gdhcp: Don't send DHCPREQUEST if last assigned IP is Link Local Address" into...
taesub kim [Thu, 10 Mar 2016 01:50:10 +0000 (17:50 -0800)]
Merge "gdhcp: Don't send DHCPREQUEST if last assigned IP is Link Local Address" into tizen

8 years agoMerge "iptables: Fix memory leak" into tizen
taesub kim [Wed, 9 Mar 2016 06:28:37 +0000 (22:28 -0800)]
Merge "iptables: Fix memory leak" into tizen

8 years agoMerge "bluetooth: Fix Memory Leak" into tizen
taesub kim [Wed, 9 Mar 2016 06:28:22 +0000 (22:28 -0800)]
Merge "bluetooth: Fix Memory Leak" into tizen

8 years agoiptables: Fix memory leak 36/60036/2
Niraj Kumar Goit [Mon, 22 Feb 2016 14:34:56 +0000 (20:04 +0530)]
iptables: Fix memory leak

This patch free memory allocated to cbd by cb_data_new() when
get_table() return NULL.

Change-Id: Ifc40f97290c459d580f029f4cf8655d475fcd0ad
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agogdhcp: Don't send DHCPREQUEST if last assigned IP is Link Local Address 76/60676/1
Saurav Babu [Tue, 1 Mar 2016 11:40:31 +0000 (17:10 +0530)]
gdhcp: Don't send DHCPREQUEST if last assigned IP is Link Local Address

In the following scenario:
 1. ConnMan is connected to a service and Link Local Address is obtained.
 2. Disconnect the service.
 3. Connect the service again.
ConnMan tries to send DHCPREQUEST with last assigned IP which was Link
Local Address.

This patch makes ConnMan to send DHCPDISCOVER when last assigned IP
was Link Local Address.

Change-Id: I3c03f2b43a0f5c5f3be0a4878decb4345af55b33
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoRemoved buildrequire for connman_vpnd because of cyclic dependency 63/60563/1 accepted/tizen/common/20160229.195736 accepted/tizen/ivi/20160229.101246 accepted/tizen/mobile/20160229.101153 accepted/tizen/tv/20160229.101210 accepted/tizen/wearable/20160229.101227 submit/tizen/20160229.072553
hyunuktak [Mon, 29 Feb 2016 05:23:22 +0000 (14:23 +0900)]
Removed buildrequire for connman_vpnd because of cyclic dependency

Change-Id: I04d9b8eb5ea73fb8b594cc94d601dc8b1ee23df8
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agobluetooth: Fix Memory Leak 35/60035/2
Niraj Kumar Goit [Mon, 22 Feb 2016 14:20:53 +0000 (19:50 +0530)]
bluetooth: Fix Memory Leak

To avoid memory leak issue allocate memory to tethering structure
after all error checks.

Change-Id: If10578acce2eb8eedbdbc96f73a30c79c1a7a125
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
8 years agoFix 64bit build errors 38/59538/1 accepted/tizen/mobile/20160217.011531 accepted/tizen/mobile/20160217.080043 accepted/tizen/tv/20160217.080101 accepted/tizen/wearable/20160217.080120 submit/tizen/20160216.235435 submit/tizen/20160217.021341 submit/tizen_common/20160218.142243
Yu Jiung [Tue, 16 Feb 2016 10:04:05 +0000 (19:04 +0900)]
Fix 64bit build errors

Change-Id: Ia751c1ec13fb119616063e922c691c3d3147bc98

8 years agoRemove option (route-noexec, ifconfig-noexec) 35/57635/3 submit/tizen/20160212.065902
taesub.kim [Thu, 21 Jan 2016 07:36:33 +0000 (16:36 +0900)]
Remove option (route-noexec, ifconfig-noexec)

Change-Id: I346d6c7325741f9ac44ba452e56a8a9ad55af869

route-noexec
Don't add or remove routes automatically. Instead pass routes to --route-up script using environmental variables

ifconfig-noexec
Don't actually execute ifconfig/netsh commands, instead pass --ifconfig parameters to scripts using environmental

Change-Id: Ib245d8ba5928b31f0da29843dd43b4c8a1f61b54

8 years agoMerge "[vpn]:Initialized variable "err" to avoid error condition failure" into tizen
taesub kim [Wed, 20 Jan 2016 06:43:00 +0000 (22:43 -0800)]
Merge "[vpn]:Initialized variable "err" to avoid error condition failure" into tizen

8 years agoMerge "Added Connman VPN package" into tizen
taesub kim [Wed, 20 Jan 2016 06:42:42 +0000 (22:42 -0800)]
Merge "Added Connman VPN package" into tizen