summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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
2019-07-17Remove DefaultDependencies=no at connman.serviceINSUN PYO2-2/+0
net-config.service has "After=net-config.service" dependency. But net-config.service don't have DefaultDependencies=no. So "DefaultDependencies=no" does not have any effect on connman.service, but instead it is confusing. Change-Id: I6a3c78f18c3029314c2a8c0e6b8c72e65c868fe8
2019-07-08Delete meaningless configurationINSUN PYO2-4/+0
Change-Id: Ida02a51bc1efe14b8d271e27898b3bd0d105797b
2019-07-04Imported Upstream version 1.37upstream/1.37Nishant Chaprana126-1893/+8239
Change-Id: Ib5957e7ee3a9315ee86a331189bc3e9e71751ee8 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-06-28Merge "Change the config value of the "FreeBind=" ("true" -> "yes")" into tizensubmit/tizen/20190628.060134accepted/tizen/unified/20190628.120630Jaehyun Kim1-1/+1
2019-06-26Append disconnect reason code in case of invalid key.Niraj Kumar Goit1-0/+1
Change-Id: Ie95d9be974d685f0601b2a6592c5f2d45e88fdd7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-06-26Change the config value of the "FreeBind=" ("true" -> "yes")INSUN PYO1-1/+1
Change-Id: I5cbc48dfe7ab4f4402d04fdb5ebba1d220e457a6
2019-06-19Added support of WPA3-SAE security mode.submit/tizen/20190621.094817accepted/tizen/unified/20190624.075215Niraj Kumar Goit6-15/+41
Change-Id: I8612c52dc0cc078459fa19aa8a639597f070b293 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com> Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-06-11Fixed to prevent bssid corruptionsubmit/tizen/20190614.050629accepted/tizen/unified/20190617.061745Jaehyun Kim1-5/+7
Change-Id: I26b9d81fad917939750b42c893ea5e44824ba270 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-06-11Improve support of Multiple same SSIDs including band steering.submit/tizen/20190611.082034accepted/tizen/unified/20190611.110358Jaehyun Kim4-42/+76
1. Supports up to 8 BSSIDs per each SSID 2. Attempt to connect only once per each BSSID 3. Sorted by signal strength and try to connect in sorted order 4. Sets the correct frequency for each bssid. Change-Id: I668fff29f2df99b2e5f637a39b5c70da84f8ee1c Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-06-11Added support to get maximum scan SSIDs.Niraj Kumar Goit4-0/+41
Added support to get Max number of SSIDs scan supported by wlan chipset. Change-Id: If4cbc07f6937718fab123600a962179b3adbc081 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-05-22Fixed build issue when built with --enable-tizen-ext-wifi-mesh optionsubmit/tizen/20190604.083831accepted/tizen/unified/20190605.215650Nishant Chaprana3-2/+21
Below error comes when compiled with --enable-tizen-ext-wifi-mesh option:- [ 168s] src/mesh-netlink.c:29:31: fatal error: netlink/genl/genl.h: No such file or directory [ 168s] #include <netlink/genl/genl.h> [ 168s] ^ [ 168s] compilation terminated. [ 168s] Makefile:4430: recipe for target 'src/src_connmand-mesh-netlink.o' failed [ 168s] make[1]: *** [src/src_connmand-mesh-netlink.o] Error 1 [ 168s] make[1]: *** Waiting for unfinished jobs.... [ 168s] CC gweb/vpn_connman_vpnd-gionotls.o [ 169s] Makefile:1815: recipe for target 'all' failed [ 169s] make: *** [all] Error 2 Change-Id: Ib62a65cc0dbecca86a6ae9d67bfae880fcb30bbd Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-05-16Refactoring of scan for stored hidden profiles.Niraj Kumar Goit1-0/+49
To improve scan performance, when there are hidden profiles stored in connman and user request for scan, send ScanDone signal after scanning maximum scan ssids supported by driver instead of sending signal after scanning all the stored hidden profiles. Similarly in next scan request, perform scanning (maximum scan ssids) from remaining hidden profiles and send ScanDone signal. Change-Id: I6195668c59b0a75bd0e0097ab6e6b7e3d33aae38 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-05-01Use libnl-3.0 in place of libnl-2.0submit/tizen/20190520.082357submit/tizen/20190520.082305Nishant Chaprana1-2/+2
Change-Id: Ic654296e6494b587d7aaf1f888715b59ddee1bf4 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-04-05Added support of Multiple same SSIDs including band steering.submit/tizen/20190409.131053accepted/tizen/unified/20190410.061801Niraj Kumar Goit5-31/+99
When there are multiple APs with the same SSID and security, this patch support below features: 1. If AP does not respond to probe request during connection procedure, connman tries to connect with the next available BSSID before sending disconnected event to application. 2. If connection with AP is failed during association due to ASSOC_REJECT, connman tries to connect with the next available BSSID before sending disconnected event to application. Change-Id: Ie80939bd013a12b9c88e91a1fd5a05fbb57c1833 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>