summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-19Fix wrong length for format stringsubmit/tizen/20200519.021428accepted/tizen/unified/20200519.035055Yu1-1/+1
Change-Id: I11c0eee0076be37b17ec5ffaff92c72975d29d8f Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2020-05-18Merge "Add logic to detect buffer overflow for snprintf" into tizensubmit/tizen/20200518.041610Jiung Yu1-0/+46
2020-05-18Add logic to detect buffer overflow for snprintfYu1-0/+46
Change-Id: I60f835aeed101ef61a2bbb73bf2fc8c2c7327d50 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2020-05-15gsupplicant: update an interface state in GetInterface callbackSeonah Moon2-34/+1
Change-Id: I9530c2c897c4ed2aae0b90580012ce6c930e3a90
2020-05-13Handle the case that best_bss is NULLsubmit/tizen/20200513.103127Cheoleun Moon1-3/+15
Change-Id: I4a813bb3327f400df0050a850ec72fa8b99c870b Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2020-05-12Create interface first when enable Wi-Fisubmit/tizen/20200512.123850accepted/tizen/unified/20200512.144346Seonah Moon2-1/+91
Change-Id: Id801b6dd6bfcfaa2cb2daefed9e6c37d7cb861bc
2020-05-08Merge "Remove RW upgrade script" into tizenJaehyun Kim2-17/+0
2020-05-06Merge "dnsproxy: send a response including queries" into tizensubmit/tizen/20200506.120225accepted/tizen/unified/20200507.052334seonah moon1-0/+8
2020-05-06Merge "default_changed: get default service after checking service list" ↵seonah moon1-0/+4
into tizen
2020-05-04ethernet: Fix memory leaksubmit/tizen/20200504.152605Jaehyun Kim1-1/+3
Change-Id: Ie45da69063b59bdec02e74e37dc7d38130145803 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-05-04Update EAPoL property in connman settings.submit/tizen/20200504.135236Niraj Kumar Goit2-39/+291
Change-Id: I477a8ec03f791184ce3634f7c2e9903b367a5c89 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com> Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2020-05-04Add support of EAP on Ethernet.Nishant Chaprana11-2/+517
Change-Id: I373ab90bbb699be56d9e416346a51b0795ed1e8b Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com> Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2020-04-29dnsproxy: send a response including queriesSeonah Moon2-1/+9
This is revert patch of https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=d74bb4a97224b6382ae2f542fe3751b1904e9b2e Some DNS API checks a query field of DNS response to verify the response. So, DNS resolving delay is often caused in case of DNS error. This patch makes dnsproxy send the 'whole' packet. Change-Id: I21cd0d86ef132d8c1eadbf93e192187112191326
2020-04-27default_changed: get default service after checking service listSeonah Moon1-0/+4
Sometimes, default service is changed to IMS PDN although internet PDN is exist. It can make DNS or data packet not send to the internet. This patch forces the services to be checked before changing default service. Change-Id: Id4dc9045e55df5186f823bfe70d6aaa3066aaaf4
2020-04-27Change string comparison function for null stringsubmit/tizen/20200428.140958submit/tizen/20200427.073208submit/tizen/20200427.022040accepted/tizen/unified/20200429.032949hyunuk.tak4-12/+42
1. Modify to g_strcmp0 from g_str_equal 2. Add nobacktrace option to service of tv 3. Add INS options to main configuration of tv Change-Id: I6fa271b3b522ae5c1495714f089c69c1602a3faf Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2020-04-22Check enable arg for INSsubmit/tizen/20200423.044725submit/tizen/20200422.050142hyunuk.tak1-1/+3
Change-Id: I4c8df2dd519da9bef7c763f65b1bd3c60540825a Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2020-04-20Verify INS functions using connmanctlsubmit/tizen/20200422.012623hyunuk.tak11-114/+711
Change-Id: I498fac295defe24eab8e3d23c6e0864bfda8fd86 Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2020-04-16Add intelligent Network Selectionsubmit/tizen/20200417.010643accepted/tizen/unified/20200417.152700hyunuk.tak17-23/+2199
Change-Id: I049207e7d662f657ca21a4046be953f8f33bbd10 Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2020-02-26Fix a problem where the full scan is executed twice in successionsubmit/tizen/20200306.121455Jaehyun Kim1-7/+19
Change-Id: I1f8a7ee437a6803e6857a3f1d95a964f999218f9 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-02-17iptables: Fix memory leaksubmit/tizen/20200227.012332submit/tizen/20200220.041614accepted/tizen/unified/20200227.121046Jaehyun Kim1-32/+38
Change-Id: I2f5dd43703af7583d18a7be8fc10ae0e99d402d5 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-02-07gsupplicant: Fix memory leaksubmit/tizen/20200212.122721accepted/tizen/unified/20200213.121529Jaehyun Kim1-0/+8
Change-Id: I6c8b8e67dc8fc32f744e2cf715ea383745ec0a93 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-02-07Remove useless codeJaehyun Kim1-12/+0
Change-Id: I84e0cf1eee2ab86360adf2920dac1181e91b88b5 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-01-23Update time when Auto Time Update event is received.Niraj Kumar Goit1-0/+2
When Auto Time Update event is received, update the system time although default service is not changed. Change-Id: I205dab72879cf54e0aa31cecd0826d9c8b63736c Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-12-04Fix to handle scan events initiated by wpa_supplicantsubmit/tizen/20200203.052118submit/tizen/20191204.124930accepted/tizen/unified/20191205.091332Jaehyun Kim5-24/+70
Change-Id: I2c247dd447a569642f19ff984fb9b318cceb676c Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-11-28Merge "wifi: Fix derefrencing of NULL pointer" into tizensubmit/tizen/20191128.114002accepted/tizen/unified/20191129.033505Jaehyun Kim1-0/+5
2019-11-28Merge "Remove TIZEN_EXT for patch accepted by upstream community." into tizenJaehyun Kim1-8/+0
2019-11-22wifi: Fix derefrencing of NULL pointerJaehyun Kim1-0/+5
In some cases wifi->autoscan is NULL which leads to crash Change-Id: I44d6005bcc1972aaa8f347529d7f8ac6ad22b8e3 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-11-06Merge "[connman] Manage the MAX saved wireless profiles." into tizensubmit/tizen/20191106.105409accepted/tizen/unified/20191108.065921Jaehyun Kim1-0/+103
2019-11-04Remove TIZEN_EXT for patch accepted by upstream community.Nishant Chaprana1-8/+0
Reference link: https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=2974287df58bb8b018c7fe6e83d4c5bac5411a47 Change-Id: I5f51ef0348af7a5a72f799c7e2e3646c5a680536 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-10-24Fix Tizen alarm dbus interface parametertizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184306submit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen/20191024.043646accepted/tizen/unified/20191024.044128accepted/tizen/5.5/unified/wearable/hotfix/20201027.102538accepted/tizen/5.5/unified/mobile/hotfix/20201027.062320accepted/tizen/5.5/unified/20191031.010036tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedSemun Lee1-4/+4
alarm uses time values as 64bit integer Change-Id: Ifc000094da6f3e5d78ea60c144b681284e06cf69 Signed-off-by: Semun Lee <semun.lee@samsung.com>
2019-10-15[connman] Manage the MAX saved wireless profiles.Niraj Kumar Goit1-0/+103
If the number of saved profiles exceed 200, remove the oldest profile in the list. Change-Id: I492cb3b5480104a59dcb58499da3bc05be3ebd05 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-10-14Merge "Use system hostname first" into tizensubmit/tizen/20191022.003657submit/tizen/20191021.013541submit/tizen/20191017.072410submit/tizen/20191016.060650submit/tizen/20191014.125724accepted/tizen/unified/20191022.150300Jaehyun Kim1-30/+40
2019-10-14Merge "Try to auto-connect with favorite service before full channel scan" ↵Jaehyun Kim1-10/+33
into tizen
2019-10-14Use system hostname firstJaehyun Kim1-30/+40
Change-Id: If1a518bda6824919e46eca5d051bb27058fb385c Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-10-11Try to auto-connect with favorite service before full channel scanhyunuk.tak1-10/+33
Change-Id: Ia8027c0acf87c3bf2268fa0fc81fa15f8994241c Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2019-10-11Extract strength as int32 in SignalPoll method_call's replysubmit/tizen/20191011.090452Nishant Chaprana3-7/+5
WPA Supplicant sends "rssi" as int32 in SignalPoll's method_call reply. So strength should be int32 instead of unsigned char variable. ======================== method call time=1570774928.393859 sender=:1.24 -> destination=fi.w1.wpa_supplicant1 serial=364 path=/fi/w1/wpa_supplicant1/Interfaces/0; interface=fi.w1.wpa_supplicant1.Interface; member=SignalPoll method return time=1570774928.395629 sender=:1.47 -> destination=:1.24 serial=327 reply_serial=364 variant array [ dict entry( string "rssi" variant int32 -60 ) dict entry( string "linkspeed" variant int32 24 ) dict entry( string "noise" variant int32 9999 ) dict entry( string "frequency" variant uint32 2452 ) ] ======================== Change-Id: I23d873bf0c5560cbfaee9ef9bd78fe134f4dba93 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-10-08Merge "Change g_waring to g_message" into tizensubmit/tizen/20191010.075458submit/tizen/20191008.104158submit/tizen/20191008.031603accepted/tizen/unified/20191011.015521Jaehyun Kim1-1/+1
2019-10-08Merge "Remove unwanted NULL check for service in append_properties()" into tizenJaehyun Kim2-8/+6
2019-10-08Merge "[Fix] Dereference after free in sta_remove_callback()" into tizenJaehyun Kim2-1/+9
2019-10-08Added an option in main.conf to set global DNS.Niraj Kumar Goit3-0/+33
Change-Id: I52f95964f82a88389e98592c64bf4820c1da5887 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-10-07Change g_waring to g_messageINSUN PYO1-1/+1
0 0xb6ac8dc4 in raise () from /lib/libc.so.6 1 0xb6d7d774 in g_logv () from /lib/libglib-2.0.so.0 2 0xb6d7d824 in g_log () from /lib/libglib-2.0.so.0 3 0xb6e9cb86 in interface_create_result (error=0xb6ef739c "net.connman.Error.OperationAborted", iter=0x0, user_data=0xb7378bd0) at gsupplicant/supplicant.c:4875 4 0xb6ea3796 in supplicant_dbus_method_call_cancel_all (caller=caller@entry=0x0) at gsupplicant/dbus.c:451 5 0xb6ea20c2 in g_supplicant_interface_cancel (interface=0x0) at gsupplicant/supplicant.c:4581 6 0xb6e9a61c in wifi_remove (device=0xb7377e80) at plugins/wifi.c:1611 7 0xb6eb0f06 in remove_device (device=device@entry=0xb7377e80) at src/device.c:326 8 0xb6eb15a8 in connman_device_unregister (device=device@entry=0xb7377e80) at src/device.c:1013 9 0xb6ec93d4 in detect_dellink (type=<optimized out>, index=8, flags=<optimized out>, change=<optimized out>) at src/detect.c:105 10 0xb6ed386c in process_dellink (bytes=452, msg=<optimized out>, change=4294967295, flags=36866, index=8, type=1) at src/rtnl.c:626 11 rtnl_dellink (hdr=0xbef16b1c) at src/rtnl.c:1080 12 rtnl_message (len=476, buf=0xbef16b1c) at src/rtnl.c:1557 13 netlink_event (chan=<optimized out>, cond=<optimized out>, data=<optimized out>) at src/rtnl.c:1614 14 0xb6d76654 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 15 0xb6d769e4 in ?? () from /lib/libglib-2.0.so.0 16 0xb6d76d44 in g_main_loop_run () from /lib/libglib-2.0.so.0 17 0xb6eaef6e in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:953 Change-Id: Ic2280d26e288daf031572f868e5e9efa588570f4
2019-10-07Remove unwanted NULL check for service in append_properties()Nishant Chaprana2-8/+6
Description: The service will be always allocated when append_properties() is called, so this NULL check is not required. This NULL check generates SVACE warning which is actually a FALSE alarm. Change-Id: I9b3a15529f6614cb375b8fb7ec656a3c44eeb180 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-10-07[Fix] Dereference after free in sta_remove_callback()Nishant Chaprana2-1/+9
Change-Id: I0e3e98f588ea186c514090a86a1a5a9d78e10420 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-10-01Remove Wi-Fi device reference on wifi_disable when wifi is scanningsubmit/tizen/20191001.114836accepted/tizen/unified/20191007.234805Yu1-0/+6
Description: Sometimes Wi-Fi device reference didn't set to zero when Wi-Fi is powered off like below. src/device.c:connman_device_ref_debug() 0xb7fd8ae0 ref 2 by plugins/wifi.c:1434:wifi_probe() src/device.c:connman_device_ref_debug() 0xb7fd8ae0 ref 3 by plugins/wifi.c:3183:wifi_scan() src/device.c:connman_device_ref_debug() 0xb7fd8ae0 ref 4 by plugins/wifi.c:2313:start_autoscan() src/device.c:connman_device_unref_debug() 0xb7fd8ae0 ref 3 by plugins/wifi.c:1500:reset_autoscan() src/device.c:connman_device_unref_debug() 0xb7fd8ae0 ref 2 by plugins/wifi.c:1606:wifi_remove() src/device.c:connman_device_unref_debug() 0xb7fd8ae0 ref 1 by src/detect.c:106:detect_dellink() src/device.c:connman_device_ref_debug() 0xb7fd8ae0 ref 2 by plugins/wifi.c:1434:wifi_probe() src/device.c:connman_device_ref_debug() 0xb7fcce88 ref 2 by plugins/wifi.c:1434:wifi_probe() src/device.c:connman_device_unref_debug() 0xb7fcce88 ref 1 by plugins/wifi.c:1606:wifi_remove() src/device.c:connman_device_unref_debug() 0xb7fcce88 ref 0 by src/detect.c:106:detect_dellink() Change-Id: I52783152a5dd581d1af072aa5f3a0db92e8d622a Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2019-09-27Add DPP service based on configuration filesubmit/tizen/20190927.130602Yu7-2/+522
Description: This is incomplete solution becase there's no defined way to connect to DPP AP for upstream connman for current patch Change-Id: Ia6a3188e2826708c2123d209249d8b59fb5a42dc Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2019-09-23Added support to enable/disable Auto-IP option.submit/tizen/20190925.080914submit/tizen/20190924.065941accepted/tizen/unified/20190926.065658Niraj Kumar Goit3-0/+32
Added support to enable/disable Auto-IP option using main.conf Change-Id: Iea1cae5a28681a90a5f79735c7374791a227feb7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-09-20Fixed dbus rules for connman-vpn-dbus.confsubmit/tizen/20190923.043320accepted/tizen/unified/20190923.110259Nishant Chaprana1-6/+0
Change-Id: Iaa437db1f9408f34f4f95ac47bbc2a2da49b2779 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-09-18Imported Upstream version 1.37submit/tizen/20190920.082459Nishant Chaprana147-3117/+9121
Change-Id: Idb47c1ddbedc9f97181b8e9a5eeac04ddd832a2c Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-09-10Merge "Emit Service PropertyChanged when ConnectReason and ↵submit/tizen/20190910.081214accepted/tizen/unified/20190911.111656Jaehyun Kim4-3/+65
DisconnectionRequested changes" into tizen
2019-09-10Merge "Update RSSI/Strength of connected service using SignalPoll event" ↵Jaehyun Kim6-6/+50
into tizen