summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2019-09-06Emit Service PropertyChanged when ConnectReason and DisconnectionRequested ↵Nishant Chaprana4-3/+65
changes Description: The properties perform below tasks:- 1. ConnectReason: To identify whether connection was an autoconnection or user initiated. 2. DisconnectionRequested: To identify whether disconnection was user initiated or not. Change-Id: I2ba4fc4637673571745517cdc33fc3a6d6367953 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-09-04Fixed invalid state transitionssubmit/tizen/20190906.055938accepted/tizen/unified/20190909.010911Jaehyun Kim1-0/+4
Fixed the case where the ConnMan is changed to Idle state without going through Disconnect state in Connected state. * Disconnect state indicates that it is going to terminate the current connection and will return to the Idle state. Change-Id: I81becdd043d599df4257d30c94ce2a2038f72b2d Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-08-27Update RSSI/Strength of connected service using SignalPoll eventNishant Chaprana6-6/+50
This patch reduced the SignalPoll monitor from 30 second to 10 second frequency. This patch also extracts already available parameter strength/RSSI in SignalPoll and update connected service's RSSI/Strength accordingly. Change-Id: Ie9bbb21bf50ad0b8c72e3ca2fc9f7f6500c77f23 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-08-26Sort hidden profiles based on modified time.Niraj Kumar Goit1-29/+83
When there are multiple hidden profiles stored in connman, sort hidden profiles based on modified time (latest on top) and then send scan request. Change-Id: Ib27a31db94b4fafe9521414ab19702f08f5df783 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-08-19Merge "Remove DefaultDependencies=no at connman.service" into tizenJaehyun Kim2-2/+0
2019-08-14Remove duplicate dependency with implicit dependencies at "Type=dbus"submit/tizen/20190816.113014accepted/tizen/unified/20190818.224606INSUN PYO1-2/+0
Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html - Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket. Change-Id: Ic6009027222e293f8525a6b4a97512d7580be3f0
2019-08-06Add support to find stored Hidden AP when it's channel is changedsubmit/tizen/20190807.124141Jaehyun Kim1-1/+4
Change-Id: Ideb03d497be9654f6b03fcd289a0b30aba42b189 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-07-31Add an option for gateway timeserver handlingsubmit/tizen/20190802.071744Jaehyun Kim6-2/+37
Change-Id: I19f09647b7471f146adb95bc7e81fd9ab11f18ac Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-07-29Merge "Add OWE security mode support" into tizensubmit/tizen/20190731.014248submit/tizen/20190729.091802Jaehyun Kim5-2/+33
2019-07-26Merge "Refactoring of scan for stored hidden profiles." into tizenJaehyun Kim1-0/+49
2019-07-25Do not validate the passphrase for the SAE security type when it is encrypted.submit/tizen/20190726.063122Jaehyun Kim1-0/+1
Change-Id: Ibd82d445a8c0bd80a9b0804dd3d8b639797f8cb2 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-07-25Merge "Added support to get AP hidden status." into tizenJaehyun Kim1-0/+3
2019-07-25Merge "Delete meaningless configuration" into tizenJaehyun Kim2-4/+0
2019-07-25Added support to get AP hidden status.Niraj Kumar Goit1-0/+3
Change-Id: Ib8014d9ff53d896a12d0bf985168b7df589d9f22 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-07-25Add OWE security mode supportYu5-2/+33
Change-Id: I03ab90b8ab78e489d1ef70fbec57f10576860a57 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2019-07-23Remove unnecessary settingINSUN PYO1-1/+0
Service and Socket unit has an implicit dependencies. Refre: https://www.freedesktop.org/software/systemd/man/systemd.socket.html "Socket units automatically gain a Before= dependency on the service units they activate." Change-Id: I97710fb27fd3294332283a8bffde0d3765b4428e