summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-03-29[Upstream]gsupplicant: Switch to different BSSID of same SSID in case of ↵Niraj Kumar Goit1-1/+7
signal bss removed Teach ConnMan to select the next BSSID when two APs (e.g. 2.4 GHz and 5 GHz) with the same SSID and security configuration are available. Currently when one AP disappears ConnMan will retry to connect to the old AP point even though there is another matching BSSID available. So when wpa_supplicant sends a remove signal we find a matching BSSID and use it even when it's not from the same AP. https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=c1debcac758ef1f76a788225679003e2e67d9fdf Change-Id: Ic5ce438addc823ebd0c6bedd2a974f559b33ae25 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2019-02-21Remove the timer for MaxSpeed polling when the interface is removedsubmit/tizen/20190226.010652submit/tizen/20190222.021924accepted/tizen/unified/20190307.230901Jaehyun Kim1-20/+32
Change-Id: I1ed15eb5815c4e7e94c2d26a7f6358f15b2b68ef Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-02-18Fix the dangling pointer(network) inside autosignalpoll_timeout().submit/tizen/20190218.125443accepted/tizen/unified/20190219.154224Lokesh2-9/+14
Change-Id: I47d74342b861db29c2b36094539a84b73dce7e55 Signed-off-by: Lokesh <l.kasana@samsung.com>
2019-01-31Disable backtrace optionsubmit/tizen/20190215.123149submit/tizen/20190211.022839submit/tizen/20190208.055857submit/tizen/20190201.002733accepted/tizen/unified/20190218.064008Jaehyun Kim1-1/+1
Change-Id: Ie53230568c290b1449e145e9c77f36cfc1af8a03 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-01-24Fixed SVACE issuessubmit/tizen/20190125.015829accepted/tizen/unified/20190128.061809Jaehyun Kim2-6/+21
Change-Id: I84e9c9a7719e017892d4f353cf141901ca94beb8 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-01-22Increase MAX_LOG_COUNT to 15submit/tizen/20190122.080702Jaehyun Kim1-1/+1
Change-Id: I9558c05c45ec0327e15377efb61f3f19592e75af Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-12-26Add code for handling NULL exceptionsubmit/tizen/20181227.001142accepted/tizen/unified/20181227.102126Seonah Moon1-0/+6
Change-Id: I5b3ae0a5305db81aeba848e5d7353ca44522f35c
2018-12-18Merge "Copy vsie_list before remove old list" into tizensubmit/tizen/20181218.125545accepted/tizen/unified/20181219.063352Jaehyun Kim1-1/+8
2018-12-18Merge "[Upstream] Fix return value in error path." into tizenJaehyun Kim1-1/+1
2018-12-17Copy vsie_list before remove old listSeonah Moon1-1/+8
Change-Id: Iec590090bbc87d3a2d573148929681abae5d8c02
2018-12-17Added dbus method to get whether 5Ghz band is supportedsubmit/tizen/20181217.121131accepted/tizen/unified/20181218.063104Abhishek Sansanwal6-0/+74
Change-Id: Ib3b189615648a35aa876eab3e3f61c47ac0c1e68 Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
2018-12-17[Upstream] Fix return value in error path.Niraj Kumar Goit1-1/+1
Returning -1 in a function with bool as return value is the same as returning true. Change to false to indicate error if inet_aton() fails. Change-Id: I3dea40bc2506b1a2a0a65e7e838691fc3af957bd Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2018-11-06Merge "Add IEEE 802.11 protocol(b/g/n/a/ac) Modes of APs" into tizensubmit/tizen/20181127.113629submit/tizen/20181120.123835submit/tizen/20181106.114249accepted/tizen/unified/20181129.054222Jaehyun Kim7-1/+271
2018-11-06Merge "[CONNMAN][Change AP's max speed logic]" into tizenJaehyun Kim7-1/+200
2018-10-05Add IEEE 802.11 protocol(b/g/n/a/ac) Modes of APsMilind Murhekar7-1/+271
This patch appends the IEEE 802.11b/g/n/a/ac PHY protocol modes of scanned Access Points using internal logic. Following logic is used to determine WLAN HW protocol:- 1) If “Supported rates” is only till 11 Mbps, and frequency is in 2.4GHz band, then protocol is 802.11B. 2) If “Supported rates” is till 54Mbps or “Extended supported rates” are present, and frequency is in 2.4GHz band, then protocol is 802.11G. 3) If “Supported rates” is only till 54 Mbps, frequency is in 5GHz band , then protocol is 802.11A. 4) If “HT capabilities” is supported , then protocol is 802.11N. 5) If “HT capabilities” & “VHT” is supported and frequency is in 5 GHz band, then protocol is 802.11AC. Change-Id: I1156ef249cf4a8052a883d31da66788c7d2de22f
2018-10-04[CONNMAN][Change AP's max speed logic]Mayank Haarit7-1/+200
This patch changes the internal logic of getting max speed from connected AP. Change-Id: I7191a09f1d974f1158ce9440cfa6924feca61340 Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
2018-09-27Added support to update EAP manual IP.submit/tizen/20181005.071134submit/tizen/20181004.140159Niraj Kumar Goit2-0/+27
Added support to update EAP manual IP setting using wifi_manager_update_ap() Change-Id: Ifa331ec3b1e4bd95262f63698d32f65e6128518c Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2018-09-19Fixed null dereferencingsubmit/tizen_5.0/20181101.000006submit/tizen/20180919.090201accepted/tizen/unified/20180919.142036accepted/tizen/5.0/unified/20181102.025128Jaehyun Kim1-1/+5
Change-Id: I969a45edc0d4e16d61de0050466cd80c92c7c5e1 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-09-14Disable the changed default connection policysubmit/tizen/20180914.105222accepted/tizen/unified/20180917.041307Jaehyun Kim1-1/+0
Change-Id: I56071afe5fe303a977b791807089ec8c3786ceef Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-09-14Merge "Online Check: Change default connection policy" into tizenJaehyun Kim4-0/+127
2018-09-13Fixed 'incompatible pointer type' warningsubmit/tizen/20180913.042841accepted/tizen/unified/20180914.073119Jaehyun Kim1-1/+1
Change-Id: If6a491f11ab73e2039d3194b8a02a24313fa78d7 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-09-13Fixed some build warningsJaehyun Kim1-3/+3
Change-Id: I09c0c02541a0f7cb469e009b53d87fccbed742e1 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-09-10Modified dbus config file permissionsubmit/tizen/20180911.020851accepted/tizen/unified/20180911.055444Jaehyun Kim1-2/+2
Change-Id: I4d1a8560399fcfd726271682f6f26d68b1408bf5 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-09-04Merge "Modified file permission" into tizensubmit/tizen/20180910.020630submit/tizen/20180904.035932taesub.kim1-1/+1
2018-08-31[Wi-Fi Mesh] Added dbus privilege for method callssubmit/tizen/20180904.001520submit/tizen/20180903.045143Nishant Chaprana2-1/+7
Change-Id: I2f6b6233ac682959abd1221a61aaeffa5bdfdd63 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2018-08-31Online Check: Change default connection policySaurav Babu4-0/+127
1. Modified the priority of default connection 2. Disconnect the cellular when wifi state is online 3. Added a dbus-api for downgrading the wifi state to ready 4. Modified the connman_service_get_default_connection() Change-Id: Ie062d86479a9bc80919ba7d0c168028f61a9c7be Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2018-08-28Modified file permissiontaesub.kim1-1/+1
Change-Id: I519f531250371b30b3bc882046ac9dbc739a7836 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2018-08-24[connman] Added Tizen Wi-Fi Meshsubmit/tizen/20180824.072908Nishant Chaprana34-32/+5437
Change-Id: Iec2ec99fb7d4fc6d9c0539e5a9e7c903e1969580 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2018-08-16[Fix][icmpv6_recv] No need to free data using xs_cleanup(), data is already ↵Nishant Chaprana2-4/+3
freed in icmpv6_event() Change-Id: I19b028f5a93f7a4efbcf6e7c92113c363d7bb534 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2018-08-07Remove unnecessary rule in dbus.conf filetaesub.kim1-6/+0
Change-Id: I89ab130e5451756d9e8df6e576836f036be0b5b4 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2018-08-01Merge "Fixed the EAP security issue" into tizensubmit/tizen/20180807.222918submit/tizen/20180807.023922accepted/tizen/unified/20180808.063353taesub kim1-0/+1
2018-07-27Fixed invalid memory access during connectionsubmit/tizen/20180731.042150accepted/tizen/unified/20180731.075043Jaehyun Kim1-9/+4
Change-Id: I10e219cdc4ea66f0e5e3208d1c9e505a63758607 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-07-27Fixed the EAP security issueBhaskar Dutta1-0/+1
Description : 1. App send anonymous identity and connect with EAP network. And connman store it inside corresponding network pointer. 2. Then if user disconnect that connection,forgetAP will be called. And connman does not clear last anonymous identity data for that service. 3. Next time when user again connect with same EAP network, but without anonymous identity. Then previous anonymous identity will be passwed to WPA suplicant. But blank anonymous identity should be treated. Change-Id: I267bea4d394390e82351ae997229c69785ea6d6d Signed-off-by: Bhaskar Dutta <bhaskar.d@samsung.com>
2018-07-05service: Add new property to set passphrase of servicesubmit/tizen/20180706.050915accepted/tizen/unified/20180709.064830Saurav Babu1-1/+13
When AP is connected using WPS without SSID then its password needs to be saved for future autoconnection Change-Id: I7d771c14867e19c379ff4bba262f10a2fb578c17 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2018-06-28Fixed an issue where communication with the telephony failed.submit/tizen/20180703.012932accepted/tizen/unified/20180703.062157Jaehyun Kim1-9/+10
Change-Id: I0fee6ddc39aa6eacb268ade832a442c90a5961bd Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-06-11Upstream: gdbus: Fixed incorrect DBusConnection reference countingsubmit/tizen/20180612.012523accepted/tizen/unified/20180612.044159Saurav Babu1-4/+0
Commit ID: c42a5f926fe2109e7a1dcc58fe6713bc3f5fd21d Change-Id: I26ebd6150b183da7f1bf7102db8935c3bde6574e Signed-off-by: Saurav Babu <saurav.babu@samsung.com>