summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30apply upstream fixessubmit/tizen/20170403.015738accepted/tizen/wearable/20170403.124441accepted/tizen/unified/20170403.124614accepted/tizen/tv/20170403.124414accepted/tizen/mobile/20170403.124303accepted/tizen/ivi/20170403.124556accepted/tizen/common/20170403.190030accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonEun Chul Kim1-4/+8
- 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
2017-03-30Removed unnecessary logsSeonah Moon5-8/+24
Change-Id: Ia9688dbfa5bd0b2e5f917003c6d5825e2e4c7b5f
2017-03-28Merge "Fix to prevent RA message processing" into tizentaesub kim3-31/+52
2017-03-28Merge "[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb ↵taesub kim1-2/+5
timer" into tizen
2017-03-28Merge "Modified the DHCP descover/request timeout and disable DHCP reququest ↵taesub kim2-0/+16
for last address" into tizen
2017-03-28[connman] Configure IPv6 after IPv4 dhcp succeed.Niraj Kumar Goit1-1/+24
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>
2017-03-28Modified the DHCP descover/request timeout and disable DHCP reququest for ↵taesub kim2-0/+16
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>
2017-03-28Fix to prevent RA message processingSeonah Moon3-31/+52
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>
2017-03-27[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb timerSeonah Moon1-2/+5
Change-Id: I9759e546298a5ae5cdfccfd629512f475e9ec2e8 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-23Consider ipconfig method in clearing association stateSeonah Moon1-2/+29
Change-Id: I94f5a1f26140ea2c1edfdb1d9dd191435757802b Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-21Merge "When scan is started send signal ScanStarted to application." into tizentaesub kim1-0/+11
2017-03-14Apply DNS configuration methodsubmit/tizen/20170322.011410accepted/tizen/wearable/20170322.235735accepted/tizen/unified/20170322.235830accepted/tizen/tv/20170322.235708accepted/tizen/mobile/20170322.235633accepted/tizen/ivi/20170322.235801accepted/tizen/common/20170322.153711Seonah Moon10-62/+696
Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-10When scan is started send signal ScanStarted to application.Niraj Kumar Goit1-0/+11
Change-Id: I034c3317a346140006e1d23d1389894c867012cc Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-03-08[connman] Add IPv6 gateway address after service IP bound.submit/tizen_unified/20170310.011402submit/tizen/20170308.045955accepted/tizen/wearable/20170308.121234accepted/tizen/unified/20170310.080648accepted/tizen/tv/20170308.121225accepted/tizen/mobile/20170308.121214accepted/tizen/ivi/20170308.121241accepted/tizen/common/20170309.175139Niraj Kumar Goit3-6/+17
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>
2017-03-02Merge "[tizen 4.0]: Add support of Disconnect Reason Event Handler" into tizensubmit/tizen_unified/20170308.100411submit/tizen/20170303.005553accepted/tizen/wearable/20170303.065623accepted/tizen/unified/20170309.035138accepted/tizen/tv/20170303.065605accepted/tizen/mobile/20170303.065550accepted/tizen/ivi/20170303.065637accepted/tizen/common/20170303.090745taesub kim1-1/+1
2017-02-23DHCP: Use auto-generated IP when DHCP is failedsubmit/tizen/20170228.042751submit/tizen/20170227.093013accepted/tizen/wearable/20170228.071803accepted/tizen/tv/20170228.071716accepted/tizen/mobile/20170228.071608accepted/tizen/ivi/20170228.071900accepted/tizen/common/20170228.065258accepted/tizen/common/20170227.140546Seonah Moon1-14/+0
Change-Id: I1051fc5506c816150bea4d65c93a0e2877d375d3 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-23[connman] Merged IPv6 related code.Seonah Moon4-3/+89
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>
2017-02-20Supported IPv6 DNS querysubmit/tizen/20170222.093648accepted/tizen/wearable/20170222.222326accepted/tizen/tv/20170222.222320accepted/tizen/mobile/20170222.222259accepted/tizen/ivi/20170222.222333accepted/tizen/common/20170222.124713Seonah Moon1-60/+0
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>
2017-02-16[tizen 4.0]: Add support of Disconnect Reason Event HandlerManeesh Jain1-1/+1
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>
2017-02-10WGID-149077: Fixed integer overflow issuesubmit/tizen/20170213.093416accepted/tizen/wearable/20170214.011127accepted/tizen/tv/20170214.011116accepted/tizen/mobile/20170214.011102accepted/tizen/ivi/20170214.011139accepted/tizen/common/20170214.173413Seonah Moon1-1/+3
Change-Id: Ie2d0939e43080aa2c7937f912d13ece6c39fdb9c Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-07Merge "Do not listen all of 53 ports for DNS proxy" into tizensubmit/tizen/20170210.083740submit/tizen/20170210.072732accepted/tizen/wearable/20170214.011008accepted/tizen/tv/20170214.010924accepted/tizen/mobile/20170214.010834accepted/tizen/ivi/20170214.011041accepted/tizen/common/20170210.170532taesub kim1-2/+2
2017-02-07Do not listen all of 53 ports for DNS proxySeonah Moon1-2/+2
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>
2017-02-07Merge "[connman]: Fixed: ConnMan keep trying connection infintely" into tizentaesub kim2-0/+18
2017-01-25Remove Profile Build Dependency (1/2): do it at runtimeMyungJoo Ham5-47/+197
- 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>
2017-01-17Fix service file for TV profile referring to mobile onesubmit/tizen/20170117.105810accepted/tizen/wearable/20170117.231624accepted/tizen/tv/20170117.231609accepted/tizen/mobile/20170117.231552accepted/tizen/ivi/20170117.231642accepted/tizen/common/20170117.175057Yu Jiung1-3/+6
Change-Id: I683d96bef1b08acdd42bddf6eeedc659baad5d01 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-01-08[connman]: Fixed: ConnMan keep trying connection infintelyManeesh Jain2-0/+18
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>
2016-12-26Fix to check favorit value into servicesubmit/tizen/20161226.070156accepted/tizen/wearable/20161226.131929accepted/tizen/tv/20161226.131907accepted/tizen/mobile/20161226.131853accepted/tizen/ivi/20161226.131948accepted/tizen/common/20161227.192253hyunuktak1-0/+2
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>
2016-12-12Fix a svace for checking NULLsubmit/tizen/20161212.124346accepted/tizen/wearable/20161213.003256accepted/tizen/tv/20161213.003252accepted/tizen/mobile/20161213.003235accepted/tizen/ivi/20161213.003304accepted/tizen/common/20161212.185700hyunuktak1-1/+2
Change-Id: I91b9b29c1c1c2b0b835f5a9b81a23b48fbd3b5dc Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-12-06[connman] Added wifi connection when invalid-key error occurred.Niraj Kumar Goit1-0/+3
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>
2016-11-17[connman] Add new ScanDone signal for notification to upper layerSaurav Babu1-0/+15
Change-Id: I1c6f5d7a162ef7da9942ae41cdbbf64017b37aab Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Block AutoConnect when hidden connection is in progressSaurav Babu1-0/+33
Change-Id: Ic57315b49190a8c8f55ff3bc8f5aa006d2a2d915 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Remove Tizen specific hidden connection logicSaurav Babu1-36/+2
Change-Id: I0f485580bd16234fe371e0cfb153d9f1cc23dbcc Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17[connman] AutoConnect to old service when connection to new service failsSaurav Babu1-0/+1
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>
2016-11-17Fixed connman crash due to memory corruptionsubmit/tizen/20161125.052705accepted/tizen/wearable/20161128.000815accepted/tizen/tv/20161128.000756accepted/tizen/mobile/20161128.000650accepted/tizen/ivi/20161128.000831accepted/tizen/common/20161125.095626Saurav Babu1-1/+1
Change-Id: Ic9416b95f7c070564c8c9956a12932d1122d7734 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-11-17Revert "Change attribute for connmand and set uid/gid into service"submit/tizen/20161117.061227accepted/tizen/wearable/20161117.084156accepted/tizen/tv/20161117.084129accepted/tizen/mobile/20161117.084114accepted/tizen/ivi/20161117.084214accepted/tizen/common/20161117.085403seonah moon1-2/+2
This reverts commit 04bfa23db4a121adcd17c35bb1d9378cebc66b51. Change-Id: I1af9c34aed1496757f20cf1dc0411afc744bc990
2016-11-11Change attribute for connmand and set uid/gid into servicesubmit/tizen/20161114.043131accepted/tizen/wearable/20161114.074444accepted/tizen/tv/20161114.074425accepted/tizen/mobile/20161114.074404accepted/tizen/ivi/20161114.074501accepted/tizen/common/20161114.171550hyunuktak1-2/+2
Change-Id: I7c89d697792aff2521a31d1772e696c19313fc44 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-10-27Added timeserver init/cleanup function to mainsubmit/tizen/20161102.022647accepted/tizen/wearable/20161102.073157accepted/tizen/tv/20161102.073143accepted/tizen/mobile/20161102.073134accepted/tizen/ivi/20161102.073224accepted/tizen/common/20161102.121923hyunuktak1-0/+2
Change-Id: Ib06eabea5bd6813efc1f9f59e8db03380e5604ac Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-10-11Merge "Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile." ↵submit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.092423submit/tizen_3.0/20161028.062323submit/tizen/20161011.075122accepted/tizen/wearable/20161011.234313accepted/tizen/tv/20161011.234258accepted/tizen/mobile/20161011.234412accepted/tizen/ivi/20161011.234346accepted/tizen/common/20161011.154420accepted/tizen/3.0/wearable/20161028.150857accepted/tizen/3.0/tv/20161028.143553accepted/tizen/3.0/mobile/20161028.143243accepted/tizen/3.0/ivi/20161028.151403cheoleun moon1-0/+110
into tizen
2016-10-10Spec: Add eth0 device as NetworkInterfaceBlacklist in ivi profile.Sangjung Woo1-0/+110
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>
2016-10-10Modify dbus conf file as policyhyunuktak1-1/+0
Change-Id: I7238ffe3c28d499e7561d2b0986c1e51c72d9cbe Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-09-28Revert "Remove Tizen specific hidden connection logic"submit/tizen/20160929.042234accepted/tizen/wearable/20160929.081746accepted/tizen/tv/20160929.081805accepted/tizen/mobile/20160929.081738accepted/tizen/ivi/20160929.081755accepted/tizen/common/20160929.163218taesub kim1-2/+36
This reverts commit 7ace8c778781a6d3e47010843d9bc5c0d337594d. Change-Id: Ia05ae51984781af64d3225ac302bdfb24df37263
2016-09-26Remove Tizen specific hidden connection logicsubmit/tizen/20160928.053415accepted/tizen/wearable/20160929.081029accepted/tizen/tv/20160929.081156accepted/tizen/mobile/20160929.081112accepted/tizen/ivi/20160929.081222accepted/tizen/common/20160928.164122Saurav Babu1-36/+2
Change-Id: I466d0a4d73ade1278211245fbc94ca2fffeb392f Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2016-09-08Disable the rfkill init/cleansubmit/tizen/20160912.021246accepted/tizen/wearable/20160912.053934accepted/tizen/tv/20160912.053916accepted/tizen/mobile/20160912.053901accepted/tizen/ivi/20160912.053951accepted/tizen/common/20160912.180848taesub.kim1-0/+4
Change-Id: Ifdb6258e566469c179e0a4f1610247e5109e1b21 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2016-09-01Upstream: service: Enable ipconfig only for the changed IP typesubmit/tizen/20160907.012754submit/tizen/20160907.003226accepted/tizen/wearable/20160908.003612accepted/tizen/tv/20160908.003548accepted/tizen/mobile/20160908.003510accepted/tizen/ivi/20160908.003638accepted/tizen/common/20160907.154208Saurav Babu1-6/+10
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>
2016-08-19Move log file to /var/logsubmit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041224accepted/tizen/tv/20160823.041158accepted/tizen/mobile/20160823.041100accepted/tizen/ivi/20160823.041250accepted/tizen/common/20160822.132702Jaehyun Kim1-2/+2
Change-Id: I2b304a8557e68dbcd372050c44e68d22341ad0f2
2016-08-10Add socket file to enable DNS proxysubmit/tizen/20160810.093538accepted/tizen/wearable/20160811.003045accepted/tizen/tv/20160811.002724accepted/tizen/mobile/20160811.002737accepted/tizen/ivi/20160811.002744accepted/tizen/common/20160810.161903Seonah Moon1-0/+13
Change-Id: I9e04465f130cfee07678046660ca9292a2385dec Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2016-07-21Merge "Upstream: network: Replace network_change() with ↵taesub kim1-23/+2
__connman_network_disconnect()" into tizen
2016-07-20Set SmackProcessLabel to Systemsubmit/tizen/20160721.003054accepted/tizen/wearable/20160721.091048accepted/tizen/tv/20160721.091334accepted/tizen/mobile/20160721.090519accepted/tizen/ivi/20160721.090802accepted/tizen/common/20160721.175857Yunjin Lee1-0/+1
Change-Id: I233c41596ec8fb4424e18c80e043658f3d510d47 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2016-07-07Upstream: network: Replace network_change() with __connman_network_disconnect()Saurav Babu1-23/+2
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>
2016-07-05Merge "Removed cap for mac override and change the label for connman dir" ↵submit/tizen/20160706.014843accepted/tizen/wearable/20160706.082135accepted/tizen/tv/20160706.082111accepted/tizen/mobile/20160706.082128accepted/tizen/ivi/20160706.082205accepted/tizen/common/20160706.142111cheoleun moon1-0/+1
into tizen