summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-27Fix issues reported by a static analyzersubmit/tizen/20170427.090631accepted/tizen/unified/20170428.032833Jiung Yu3-9/+15
Change-Id: Ia57fc4f8b8b2740728d6df2972463f66a48b7b67 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-04-25Added some logs for debuggingSeonah Moon8-6/+80
Change-Id: I3a133fa6aebd28dea42f7dfd9ecb42d04c45f291 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-04-24service: Use correct DBUS data type to pack disconnect reasonSaurav Babu1-1/+1
disconnect_reason can have negative values, so we should use DBUS_TYPE_INT32 instead of DBUS_TYPE_UINT32 to pack. Change-Id: Ia4cc303741461da5b8d42493779b8623a0482a33 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-04-21Add license descriptionsubmit/tizen/20170425.040532submit/tizen/20170421.072430accepted/tizen/unified/20170427.015557accepted/tizen/unified/20170421.115140chleun.moon3-0/+57
Change-Id: I9953407e41b962de1e19ffbafad280a811c1e3a7 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-04-20Merge branch 'ipsec' into tizenchleun.moon15-2/+2745
Change-Id: I2ecaece689f43bb0c03c9c5929274bfe43e346b0 Signed-off-by: cheoleun <chleun.moon@samsung.com>
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-13Add processing request & response vici message with socketipsecYu Jiung15-239/+1800
Change-Id: I06ff60de06fde1ac8f484b1eecf49afed6d02542 Signed-off-by: Yu jiung <jiung.yu@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 kim2-0/+16
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 kim2-0/+16
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 Kim2-7/+14
- 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-28Added license file to all of rpmssubmit/tizen/20170328.111440accepted/tizen/wearable/20170329.034856accepted/tizen/unified/20170329.034935accepted/tizen/tv/20170329.034848accepted/tizen/mobile/20170329.034836accepted/tizen/ivi/20170329.034910accepted/tizen/common/20170329.171926Seonah Moon1-0/+6
Change-Id: If430d988dba90c1080ceec280e2a31dd15d96312
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 kim3-1/+70
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 kim3-1/+70
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-23Merge "Consider ipconfig method in clearing association state" into tizensubmit/tizen/20170324.072948submit/tizen/20170324.043751accepted/tizen/wearable/20170324.111226accepted/tizen/unified/20170324.111359accepted/tizen/tv/20170324.111144accepted/tizen/mobile/20170324.111018accepted/tizen/ivi/20170324.111317accepted/tizen/common/20170324.122814taesub kim1-2/+29
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-22Changed the path of license by using '%license' macroSeonah Moon1-5/+1
Change-Id: I009433c56b7c9e12223d31d8dfe3587e9fdd03eb 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 Moon11-63/+716
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 Goit4-7/+18
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 kim4-34/+35
2017-03-02Add code to parse section struct into vici requestYu Jiung8-152/+656
Change-Id: If19978b75ab53c43a641a5e51bb0ef6a2adaa545 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-02-24Add ipsec pluginchleun.moon9-0/+680
Change-Id: Iafe144233e8dd8bc066e00340a5853e4e16d925a Signed-off-by: cheoleun <chleun.moon@samsung.com>
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 Jain4-34/+35
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 kim5-5/+45
2017-02-07Merge "Fix for single channel scan in SelectNetwork" into tizentaesub kim2-0/+25
2017-01-25Remove Profile Build Dependency (2/2): tv/ivi extensionsubmit/tizen/20170207.045631accepted/tizen/wearable/20170207.092042accepted/tizen/tv/20170207.092028accepted/tizen/mobile/20170207.092014accepted/tizen/ivi/20170207.092054accepted/tizen/common/20170207.062009MyungJoo Ham1-13/+40
- 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>
2017-01-25Remove Profile Build Dependency (1/2): do it at runtimeMyungJoo Ham6-50/+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 Jiung2-4/+7
Change-Id: I683d96bef1b08acdd42bddf6eeedc659baad5d01 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-01-12Fix for single channel scan in SelectNetworktaesub kim2-0/+25
Change-Id: I165fd22bab5ced4a383b0034da79a87712110636 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-01-08[connman]: Fixed: ConnMan keep trying connection infintelyManeesh Jain6-6/+46
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>