summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-04-18Merge "Updated connman.socket file" into tizensubmit/tizen/20170419.041337accepted/tizen/unified/20170419.165202taesub kim1-1/+1
2017-04-18Initialize a local variable (WGID-202395)chleun.moon1-1/+1
Change-Id: I6878ce2844c6ca821b0bff827edd248b559c6c6f Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-04-17Updated connman.socket fileSeonah Moon1-1/+1
Dns proxy should listen all of 53 ports for UDP. Change-Id: I6b63dc53035126bc95b9841fd93e99581c103d39 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-04-12Merge "[connman] Send ScanChanged signal." into tizensubmit/tizen/20170414.032608accepted/tizen/unified/20170417.082500taesub kim1-6/+26
2017-04-12Merge "Provide DHCP Server address to upper layer while appending IPv4 Data" ↵taesub kim1-0/+12
into tizen
2017-04-12[connman] Send ScanChanged signal.Niraj Kumar Goit1-6/+26
Send ScanChanged signal when device scanning status change. Change-Id: I9878cbb29d6c40363e6e629d6e6e7c855952ed0c Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-04-10Remove old IP and gateway addresssubmit/tizen/20170412.005740submit/tizen/20170411.091632accepted/tizen/unified/20170412.152315Abhishek Sansanwal1-6/+13
Change-Id: I61defbc6fba37e7c3a04516d1946f2b5cd22af1a Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
2017-04-06Provide DHCP Server address to upper layer while appending IPv4 Datataesub kim1-0/+12
Change-Id: I8d6a33ddeff94c7bbfb56ed7e4d64966be5bcd31 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-04-05Merge "[connman] Added DBus method to get scanning status." into tizensubmit/tizen/20170406.062437accepted/tizen/unified/20170406.173418taesub kim1-0/+40
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-21[connman] Added DBus method to get scanning status.Niraj Kumar Goit1-0/+40
Change-Id: Ib84cb1c218b6c468ffe413b63af2fe7a33c2a63e Signed-off-by: Niraj Kumar Goit <niraj.g@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>