summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-11[WGID-302103] Fix dereference without null checksubmit/tizen_4.0/20171012.045330accepted/tizen/4.0/unified/20171012.230205Jaehyun Kim1-2/+2
Change-Id: I1ac92182376beb900c85c1c5f54a63d59d024367 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-10-11[CID-32053] Remove dead codetizen_4.0.IoT.p1_releasesubmit/tizen_4.0/20171011.035617accepted/tizen/4.0/unified/20171012.230325hyunuktak1-1/+0
Change-Id: I27db8650a701d9c7986636077bf041fdfa72a319 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2017-10-11@fix: Disconnect Reason code was not getting resetManeesh Jain1-0/+3
Description: In following use case, disconnect reason code was not getting reset. 1. Connect With AP 2. Change the Password of AP 3. Check the Disconnect Reason using CAPI 4. Connect again with AP with New Password 5. Check the Disconnect Reason again : It was showing 3 in place of 0. Change-Id: I1b1542b69ac270811ad789a4f662836241b6bf34 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2017-10-10Merge "[CID-28720] Remove unused value" into tizen_4.0submit/tizen_4.0/20171010.085454accepted/tizen/4.0/unified/20171011.071446taesub kim1-1/+0
2017-10-10Merge "[CID-32919, 33501] Fix bug" into tizen_4.0taesub kim2-0/+12
2017-10-10[CID-28720] Remove unused valuechleun.moon1-1/+0
Change-Id: Ie59288fededb1bb7a09d234d8300e6893fab99c1 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-10-10[CID-32919, 33501] Fix bugchleun.moon2-0/+12
Change-Id: I8fc3c40c8a2cf3d9e5fb840796d0f0bf0b66a072 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-10-10Added RW upgrade scripttaesub kim2-0/+17
Change-Id: I2208cf0923a66c78551ac2eb13933735afe33604 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-09-28wifi: Don't increase device ref count on full scan after specific scansubmit/tizen_4.0/20170928.230025accepted/tizen/4.0/unified/20170929.080437Saurav Babu1-16/+24
Earlier full scan was done using throw_wifi_scan() which increases device reference count. As we need to perform full scan then we should directly call g_supplicant_interface_scan() without increasing the device ref count. Change-Id: Icb595ca714d5bf03ed0a071fcd987f9bc1b736dc Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-09-28Merge "Fixed a resource leak" into tizen_4.0taesub kim1-2/+6
2017-09-28Merge "[CID-26975, 36747] Fix memory leak and dereference after null check" ↵taesub kim1-2/+4
into tizen_4.0
2017-09-28Fixed a resource leakhyunuktak1-2/+6
Change-Id: I70b15db8ba90fc18410072f0017f04413662cde6 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2017-09-28Merge "Revert "wifi: Fixed issue with device reference count"" into tizen_4.0submit/tizen_4.0/20170928.042238accepted/tizen/4.0/unified/20170928.053831taesub kim1-4/+0
2017-09-28Revert "wifi: Fixed issue with device reference count"taesub kim1-4/+0
This reverts commit f4d62a3d026e5a2ad84decf7ab99b80f76ff5892. Change-Id: Ib2c0e0c7f1bf518887f1c3e95e1a749c097bc0cc
2017-09-27[CID-26975, 36747] Fix memory leak and dereference after null checkchleun.moon1-2/+4
Change-Id: Ief1a868d989cb2cc78bb55980e3d8bee03a4a42b Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-09-26Append eap type property in "GetServices" Dbus method.submit/tizen_4.0/20170927.040651accepted/tizen/4.0/unified/20170927.181844Niraj Kumar Goit1-0/+36
Change-Id: Ie9cdabbddba37fab987ec48402e7d7508949f040 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-09-22wifi: Fixed issue with device reference countsubmit/tizen_4.0/20170926.020817submit/tizen_4.0/20170922.070056accepted/tizen/4.0/unified/20170927.055152Saurav Babu1-0/+4
Device reference count is referenced when scanning is set to true, so it should be dereferenced only when scanning is set to false, In one particular case scanning was not being set to false while device was unreferenced when wifi->allow_full_scan is true. Change-Id: Ib8fc675d224eddc8e1dfa4a4a271f7c5b64209fe Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-09-21[Upstream] dnsproxy: Fix crash on malformed DNS responseJaehyun Kim1-6/+10
If the response query string is malformed, we might access memory pass the end of "name" variable in parse_response(). Change-Id: Iea436d5ba15222b5861f4abdfa270f451c4d4e61 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-09-19[Upstream] ipconfig: Ensure ifname is not NULL when setting IPv6 statesubmit/tizen_4.0/20170920.021207accepted/tizen/4.0/unified/20170921.073336Jaehyun Kim1-2/+4
This is a quick fix for the issue where removal of an interface may cause IPv6 to be disabled/enabled on other interfaces. When removing an ipdevice in free_ipdevice(), it is ensured that the ifname (which we get from connman_inet_ifname()) is not NULL, before invoking set_ipv6_state(). If a NULL ifname is passed into set_ipv6_state(), it will apply the change to all interfaces instead of the intended one. Change-Id: Iefab1e1c87d2f08d1b73c80ec51dbdfcb3238fad Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-09-19Add APIs to set/get auto connection modetaesub kim3-1/+54
Change-Id: I34e42d98ab540ffb75e0ae860fb1b615ef2bddcb Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-09-13Send Error code only to requesting application.submit/tizen_4.0/20170913.025326accepted/tizen/4.0/unified/20170914.175556Niraj Kumar Goit1-3/+12
Description: If an application request for wifi scan and it gets failed, then send error code only to the requesting application. Change-Id: I90bc3b0af68e9d3ff5c2e4709f5788c1f107a854 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-09-13[connman] Notify 'ScanDone' signal with scan-type info.Niraj Kumar Goit2-2/+42
Description: In this patch added below changes- 1. Notify ScanDone signal with scan-type info. 2. If scanning is in-progress at connman return error 'InProgress' to application. Change-Id: If8427e185dd0ad811c1d1de72254f073babebbbf Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-09-11[WGID-253397, 253398] Fix unreachable codesubmit/tizen_4.0/20170911.130433accepted/tizen/4.0/unified/20170913.003055chleun.moon1-2/+2
Change-Id: Ie3faef9d95d95cbcfbd222d92f25e6eae8e41581 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-09-06Remove gnutls dependency from connmansubmit/tizen_4.0/20170906.092254accepted/tizen/4.0/unified/20170907.194547Saurav Babu5-33/+7
gnutls dependency is only required when wispr is enabled. Currently connman is build with flag --disable-wispr so gnutls is not required. This patch removes gnutls dependency from spec file. We'll find alternative for gnutls later and add that together with patches related to captive portal Change-Id: I23491ec67c365b4bc89c6231cc0a581431208f5a Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-09-06Remove not supported update scriptSunmin Lee2-20/+0
RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0. (Tizen 4.0 does not support upgrade from Tizen 2.4) Remove this file in terms of clearing the redundancy. Change-Id: I0ce9b8ccb0d9a0720bbe7588f97da7fe8b0ce522
2017-09-05Change file owner and groupsubmit/tizen_4.0/20170906.010245accepted/tizen/4.0/unified/20170907.193541chleun.moon1-13/+13
Change-Id: I4366e1bf8e72b481becb0c16256e7a708924c7c3 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-08-31dbus: modify dbus policy configuration #4submit/tizen_4.0/20170831.131058accepted/tizen/4.0/unified/20170901.202610Seonah Moon1-0/+1
Change-Id: Id58b1038e689f24c42d8cfdccfd59162988626f1 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-08-31dbus: modify dbus policy configuration #3taesub kim1-2/+2
Change-Id: I4e7f65898fe824cd589b0a4dfa6b7b506b88a511 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-08-22dbus: modify dbus policy configuration #2submit/tizen_4.0/20170828.100005submit/tizen/20170822.062753accepted/tizen/unified/20170823.165941accepted/tizen/4.0/unified/20170828.222351taesub kim1-1/+0
Change-Id: I5cfd797e298386e80f407a6bfeba8b2cb7adfadb Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-08-18[connman] Enabled specific scan for Multiple APs.submit/tizen/20170822.002714submit/tizen/20170821.070104Niraj Kumar Goit3-13/+32
Change-Id: I2156778ed0bcc703e8823c7eccaf344ab21503c1 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-18Merge "dbus: modify dbus policy configuration" into tizentaesub kim1-2/+4
2017-08-16[connman]Added DBus method for wifi Specific AP Scan.submit/tizen/20170817.042132accepted/tizen/unified/20170818.000126Niraj Kumar Goit5-0/+271
Change-Id: Ib8f446164242caeb7fbc29c2917eff4b8a5b8bf7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-16Fix Svace Issue [WGID: 1348].Niraj Kumar Goit1-0/+4
Change-Id: I8e1b366bc0973ec60ab24aa486c877b330b5de82 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-09[connman] Added support to get WiFi vendor element.submit/tizen/20170811.041528accepted/tizen/unified/20170811.133331Niraj Kumar Goit7-2/+173
Change-Id: I560be68a876a5fef516647365db3c56761f2aba1 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-08dbus: modify dbus policy configurationsanghyeok.oh1-2/+4
<allow send_type="signal"/> can affect every other process(uid root or network_fw), This can cause abnormal behavior against other dbus services. So, remove this rule from dbus conf. Sending signal to net.connman is allowed by this rule, '<allow send_destination="net.connman"/>' After all, there are no behavior changes. Change-Id: I7668deeaa33ae14181c64d0a85a049fa2387657b Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2017-08-03Changes required for DHCP leased seconds APIsubmit/tizen/20170809.085632submit/tizen/20170808.043745accepted/tizen/unified/20170811.021044Abhishek Sansanwal5-0/+45
Change-Id: I0727c24f30be5162d27e49996dfa376348f98527 Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
2017-08-02[WGID-260167] Add null checksubmit/tizen/20170803.074947chleun.moon1-0/+4
Change-Id: Ifc1e9e5d28fa2f58a0e7f98677daf08e4e3de161 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-07-26Fix build error (aarch64)submit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170726.002354accepted/tizen/unified/20170728.195043accepted/tizen/4.0/unified/20170816.014829accepted/tizen/4.0/unified/20170816.011618chleun.moon1-2/+1
Change-Id: Ia4bb6ae4d712e33933b79e1df284a06c3922befa Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-07-25Remove unnecessary service fileSeonah Moon1-24/+3
Change-Id: I5253fda2f7eddc377bbd6f38dc81934ce7f035df
2017-07-25Fix build errorsubmit/tizen/20170725.071752chleun.moon1-2/+2
Change-Id: I2040f2cec9d3768da6c7329819a4a710882bc18e Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-07-20Migrate root daemon to non rootsubmit/tizen/20170724.063335taesub kim17-51/+152
Change-Id: I0d0afacc8a11fadc8128f6eef3f64f7a4ca8675b Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-07-10Merge "[Improvement]:Pass the same received RSSI from supplicant to ↵submit/tizen/20170710.074100submit/tizen/20170710.074033accepted/tizen/unified/20170710.154658taesub kim1-1/+3
Application." into tizen
2017-07-10Merge "Added support of EAP-AKA, EAP-SIM." into tizentaesub kim2-0/+15
2017-07-07[Improvement]:Pass the same received RSSI from supplicant to Application.Maneesh Jain1-1/+3
Description: Earlier, connMan was modified the RSSI value received from supplicant using following formula. if (strength > 100) strength = 100; Change-Id: Ifa4fb2be6f65224046274835c9ae26a81fae2e69 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2017-07-06[Upstream] iptables: Add missing function item of xtables to match iptables 1.6Saurav Babu1-0/+3
The struct of xtables_globals has been modified in iptables 1.6. If connman runs with iptables 1.6, it can crash. Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () 0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11 0xb7deac1c in ?? () from /usr/lib/libxtables.so.11 0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11 The the missing function item of xtables is added to xtables_globals. Commit ID: acea08a0e4234a4c1a87bedc087c73ff36de0c7b Change-Id: I670e100d816636d705d967ba69b3cb72c26d889e Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-07-04Added support of EAP-AKA, EAP-SIM.Niraj Kumar Goit2-0/+15
Change-Id: I5e1b30061271baace51e31da973dbc5298a5341f Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-07-03Merge "[connman]Remove org.freedesktop.hostname1 service from Tizen ↵taesub kim1-2/+2
platform." into tizen
2017-06-29[connman]Remove org.freedesktop.hostname1 service from Tizen platform.Niraj Kumar Goit1-2/+2
Change-Id: Ib74170f4c5be93f4ba6df56436dac227352b76ef Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-06-29Append raw ssid to WLAN ServicesMilind Ramesh Murhekar1-0/+5
Description: This patch appends the raw ssid in bytes to GetServices method call. Change-Id: I0fdbfba4bcf0860fff02c4edd34559154fd0b8eb Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
2017-06-19Merge "Handle the failure case due to the invalid cert file" into tizensubmit/tizen/20170703.005838submit/tizen/20170620.103311accepted/tizen/unified/20170703.064314taesub kim1-24/+65