platform/upstream/connman.git
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 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 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

7 years agoFix build error for common 64bit Emulator 91/102991/1
taesub kim [Wed, 7 Dec 2016 02:55:54 +0000 (11:55 +0900)]
Fix build error for common 64bit Emulator

Change-Id: I6d6c8e40fa78509599c5fcdf557705e41c138ff4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[connman] Added wifi connection when invalid-key error occurred. 29/102529/1
Niraj Kumar Goit [Tue, 6 Dec 2016 05:03:53 +0000 (10:33 +0530)]
[connman] Added wifi connection when invalid-key error occurred.

When invalid-key error occurs users need to enter the valid
password to connect with Wi-Fi AP.

Change-Id: I7dd56186b09060bfad920721316b7b8ccb64e844
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
7 years ago[connman] Add new ScanDone signal for notification to upper layer 05/98505/1
Saurav Babu [Thu, 17 Nov 2016 11:30:40 +0000 (17:00 +0530)]
[connman] Add new ScanDone signal for notification to upper layer

Change-Id: I1c6f5d7a162ef7da9942ae41cdbbf64017b37aab
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoBlock AutoConnect when hidden connection is in progress 44/93044/4
Saurav Babu [Tue, 25 Oct 2016 09:33:05 +0000 (15:03 +0530)]
Block AutoConnect when hidden connection is in progress

Change-Id: Ic57315b49190a8c8f55ff3bc8f5aa006d2a2d915
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoRemove Tizen specific hidden connection logic 88/93688/2
Saurav Babu [Mon, 24 Oct 2016 10:02:09 +0000 (15:32 +0530)]
Remove Tizen specific hidden connection logic

Change-Id: I0f485580bd16234fe371e0cfb153d9f1cc23dbcc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[connman] AutoConnect to old service when connection to new service fails 47/98447/1
Saurav Babu [Thu, 17 Nov 2016 09:53:28 +0000 (15:23 +0530)]
[connman] AutoConnect to old service when connection to new service fails

In the following scenario:
1. Device is connected to AP1.
2. Connection requested initiated with AP2.

AP1 gets disconnected and device initiates connection with AP2. If
connection with AP2 fails(like invalid key, dhcp-failed error) then
device should auto connect to AP1.
This patch initiates auto connect to last connected AP's

Change-Id: Iad5c4cf50da7a91869994abc133b24d66c99b0bc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoFixed connman crash due to memory corruption 57/98357/1 accepted/tizen/common/20161125.095626 accepted/tizen/ivi/20161128.000831 accepted/tizen/mobile/20161128.000650 accepted/tizen/tv/20161128.000756 accepted/tizen/wearable/20161128.000815 submit/tizen/20161125.052705
Saurav Babu [Thu, 17 Nov 2016 06:21:03 +0000 (11:51 +0530)]
Fixed connman crash due to memory corruption

Change-Id: Ic9416b95f7c070564c8c9956a12932d1122d7734
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoRevert "Change attribute for connmand and set uid/gid into service" 39/98339/1 accepted/tizen/common/20161117.085403 accepted/tizen/ivi/20161117.084214 accepted/tizen/mobile/20161117.084114 accepted/tizen/tv/20161117.084129 accepted/tizen/wearable/20161117.084156 submit/tizen/20161117.061227
seonah moon [Wed, 16 Nov 2016 01:42:25 +0000 (17:42 -0800)]
Revert "Change attribute for connmand and set uid/gid into service"

This reverts commit 04bfa23db4a121adcd17c35bb1d9378cebc66b51.

Change-Id: I1af9c34aed1496757f20cf1dc0411afc744bc990

7 years agoChange attribute for connmand and set uid/gid into service 91/85991/4 accepted/tizen/common/20161114.171550 accepted/tizen/ivi/20161114.074501 accepted/tizen/mobile/20161114.074404 accepted/tizen/tv/20161114.074425 accepted/tizen/wearable/20161114.074444 submit/tizen/20161114.043131
hyunuktak [Tue, 30 Aug 2016 05:08:16 +0000 (14:08 +0900)]
Change attribute for connmand and set uid/gid into service

Change-Id: I7c89d697792aff2521a31d1772e696c19313fc44
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoAdded timeserver init/cleanup function to main 65/94165/1 accepted/tizen/common/20161102.121923 accepted/tizen/ivi/20161102.073224 accepted/tizen/mobile/20161102.073134 accepted/tizen/tv/20161102.073143 accepted/tizen/wearable/20161102.073157 submit/tizen/20161102.022647
hyunuktak [Thu, 27 Oct 2016 08:14:47 +0000 (17:14 +0900)]
Added timeserver init/cleanup function to main

Change-Id: Ib06eabea5bd6813efc1f9f59e8db03380e5604ac
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoMerge "Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile." into tizen accepted/tizen/3.0/ivi/20161028.151403 accepted/tizen/3.0/mobile/20161028.143243 accepted/tizen/3.0/tv/20161028.143553 accepted/tizen/3.0/wearable/20161028.150857 accepted/tizen/common/20161011.154420 accepted/tizen/ivi/20161011.234346 accepted/tizen/mobile/20161011.234412 accepted/tizen/tv/20161011.234258 accepted/tizen/wearable/20161011.234313 submit/tizen/20161011.075122 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
cheoleun moon [Tue, 11 Oct 2016 08:26:38 +0000 (01:26 -0700)]
Merge "Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile." into tizen

8 years agoSpec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile. 34/91634/1
Sangjung Woo [Mon, 10 Oct 2016 11:48:45 +0000 (20:48 +0900)]
Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile.

In order to communicate with Cluster device, this patch set eth0 as
NetworkInterfaceBlacklist member in connman configuration. This patch is
only applied for ivi profile.

Change-Id: If340dda5702973b470a78375370bc43180b2b53a
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
8 years agoModify dbus conf file as policy 97/91597/1
hyunuktak [Mon, 10 Oct 2016 09:50:50 +0000 (18:50 +0900)]
Modify dbus conf file as policy

Change-Id: I7238ffe3c28d499e7561d2b0986c1e51c72d9cbe
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoMerge "[connman]: Fixed Scan Issue" into tizen accepted/tizen/3.0/ivi/20161011.043852 accepted/tizen/3.0/mobile/20161015.032812 accepted/tizen/3.0/tv/20161016.004154 accepted/tizen/3.0/wearable/20161015.082011 accepted/tizen/common/20161006.153612 accepted/tizen/ivi/20161006.080215 accepted/tizen/mobile/20161006.080107 accepted/tizen/tv/20161006.080141 accepted/tizen/wearable/20161006.080157 submit/tizen/20161006.010203 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
cheoleun moon [Thu, 6 Oct 2016 01:01:29 +0000 (18:01 -0700)]
Merge "[connman]: Fixed Scan Issue" into tizen

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 agoRevert "Remove Tizen specific hidden connection logic" 89/90189/1 accepted/tizen/common/20160929.163218 accepted/tizen/ivi/20160929.081755 accepted/tizen/mobile/20160929.081738 accepted/tizen/tv/20160929.081805 accepted/tizen/wearable/20160929.081746 submit/tizen/20160929.042234
taesub kim [Thu, 29 Sep 2016 00:45:43 +0000 (17:45 -0700)]
Revert "Remove Tizen specific hidden connection logic"

This reverts commit 7ace8c778781a6d3e47010843d9bc5c0d337594d.

Change-Id: Ia05ae51984781af64d3225ac302bdfb24df37263

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>