summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-09-25Fix incorrect dbus usage that caused crashsubmit/tizen/20201005.112026submit/tizen/20200925.132900accepted/tizen/unified/20201006.044352Jaehyun Kim1-1/+2
Change-Id: Ifd11a65d3182533d210401fbce4c5fb9b6504b0d Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-09-16The order between the device signal and the service signal has been changedsubmit/tizen/20200918.062939submit/tizen/20200917.115639accepted/tizen/unified/20200921.095121Jaehyun Kim1-8/+8
Net-config is implemented assuming that the DeviceChanged signal comes before the service PropertyChanged signal. Therefore, the event order has been adjusted accordingly. Change-Id: I134ec7152a0e40bbfe317c704a91ca81fc01dc1c Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-09-11Fix build warningsJaehyun Kim2-2/+2
Change-Id: I43c65427f5b6e0eb003ac3c17c012cd9b7db0f76 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-09-10Remove DefaultDependencies=false at connman.serviceJaehyun Kim1-1/+0
connman.service has "After=net-config.service" dependency. But net-config.service don't have DefaultDependencies=no. So "DefaultDependencies=false" does not have any effect on connman.service, but instead it is confusing. Change-Id: I52dff5dc4a33deceed87b47ff1aaa05b2f049f8e Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-09-01Move GetInterfaces method to Manager interfaceJaehyun Kim3-42/+61
Change-Id: I4e9cd93717a04457f97bf13fc389075a3e5c0e54 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-08-27Add support for handling multiple wifi interfacessubmit/tizen/20200828.142119Jaehyun Kim9-110/+1005
Change-Id: I4762c8d3444167dce34498634de4948e822f865f Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-08-13Svace Fix: memory leakRahul Jain1-3/+19
Change-Id: Id10ede540b99d028f6ff40225b4dfcccb46d7fe0
2020-07-23Svace issues: Null check and memory leakssubmit/tizen/20200804.104340submit/tizen/20200730.084504accepted/tizen/unified/20200805.122502Rahul Jain4-0/+23
Change-Id: I937af7e6dbe3a919c1d0b0d7dee4b481c2ef0982
2020-05-22supported OWE Transition modeJinwon Kim1-1/+59
Change-Id: I6dd1cb437ac16c0428df4d5bc812fefb36543c6d Signed-off-by: Jinwon Kim <jinwon0325.kim@samsung.com>
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-04Update EAPoL property in connman settings.submit/tizen/20200504.135236Niraj Kumar Goit1-36/+277
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 Chaprana3-0/+96
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 Moon1-0/+8
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.tak3-11/+41
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-20Verify INS functions using connmanctlsubmit/tizen/20200422.012623hyunuk.tak3-37/+197
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.tak8-3/+1530
Change-Id: I049207e7d662f657ca21a4046be953f8f33bbd10 Signed-off-by: hyunuk.tak <hyunuk.tak@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-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 Kim1-20/+23
Change-Id: I2c247dd447a569642f19ff984fb9b318cceb676c 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-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-08Merge "Remove unwanted NULL check for service in append_properties()" into tizenJaehyun Kim1-7/+5
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-07Remove unwanted NULL check for service in append_properties()Nishant Chaprana1-7/+5
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-09-27Add DPP service based on configuration filesubmit/tizen/20190927.130602Yu3-0/+229
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-18Imported Upstream version 1.37submit/tizen/20190920.082459Nishant Chaprana52-1986/+5542
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 Kim2-2/+61
DisconnectionRequested changes" into tizen
2019-09-10Merge "Update RSSI/Strength of connected service using SignalPoll event" ↵Jaehyun Kim3-0/+30
into tizen
2019-09-06Emit Service PropertyChanged when ConnectReason and DisconnectionRequested ↵Nishant Chaprana2-2/+61
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 Chaprana3-0/+30
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-19Merge "Remove DefaultDependencies=no at connman.service" into tizenJaehyun Kim2-2/+0
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 Kim1-0/+10
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-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 supportYu1-0/+10
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-04Imported Upstream version 1.37upstream/1.37Nishant Chaprana43-1160/+5274
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 Goit2-0/+18
Change-Id: I8612c52dc0cc078459fa19aa8a639597f070b293 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com> Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-06-11Improve support of Multiple same SSIDs including band steering.submit/tizen/20190611.082034accepted/tizen/unified/20190611.110358Jaehyun Kim1-23/+0
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>