Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I03ab90b8ab78e489d1ef70fbec57f10576860a57
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
|
|
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
|
|
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
|
|
Change-Id: Ib5957e7ee3a9315ee86a331189bc3e9e71751ee8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
|
|
|
|
Change-Id: Ie95d9be974d685f0601b2a6592c5f2d45e88fdd7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: I5cbc48dfe7ab4f4402d04fdb5ebba1d220e457a6
|
|
Change-Id: I8612c52dc0cc078459fa19aa8a639597f070b293
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ie53230568c290b1449e145e9c77f36cfc1af8a03
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Change-Id: I84e9c9a7719e017892d4f353cf141901ca94beb8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Change-Id: I9558c05c45ec0327e15377efb61f3f19592e75af
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Change-Id: I5b3ae0a5305db81aeba848e5d7353ca44522f35c
|
|
|
|
Change-Id: Ib3b189615648a35aa876eab3e3f61c47ac0c1e68
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
|
|
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>
|
|
|
|
|
|
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
|
|
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>
|
|
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>
|
|
|
|
Change-Id: I2f6b6233ac682959abd1221a61aaeffa5bdfdd63
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
|
|
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>
|
|
Change-Id: Iec2ec99fb7d4fc6d9c0539e5a9e7c903e1969580
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
|
|
freed in icmpv6_event()
Change-Id: I19b028f5a93f7a4efbcf6e7c92113c363d7bb534
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
|
|
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>
|
|
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>
|
|
Below are few of the valgrind outputs:
==2694== 7,484 (576 direct, 6,908 indirect) bytes in 72 blocks are definitely lost in loss record 196 of 197
==2694== at 0x48458A4: malloc (vg_replace_malloc.c:299)
==2694== by 0x48C11B3: g_malloc (gmem.c:94)
==2694== by 0x48DA4A3: g_slice_alloc (gslice.c:1025)
==2694== by 0x48DBA13: g_slist_append (gslist.c:213)
==2694== by 0x12EF29: g_supplicant_network_get_wifi_vsie(supplicant.c:1605)
==2694== by 0x127097: network_added (wifi.c:3447)
==2694== by 0x12A41D: callback_network_added (supplicant.c:624)
==2694== by 0x12A41D: add_or_replace_bss_to_network(supplicant.c:1967)
==2694== by 0x12B9C9: interface_bss_added_with_keys(supplicant.c:2457)
==2694== by 0x12B9C9: signal_bss_added (supplicant.c:3106)
==2694== by 0x12AF1D: g_supplicant_filter (supplicant.c:4045)
==2694== by 0x49904EB: dbus_connection_dispatch (in/usr/lib/libdbus-1.so.3.14.6)
==2694== by 0x18E921: message_dispatch (mainloop.c:76)
==2694== by 0x48BB8E7: g_main_dispatch (gmain.c:3234)
==2694== by 0x48BB8E7: g_main_context_dispatch (gmain.c:3887)
==2694== 1,980 (304 direct, 1,676 indirect) bytes in 38 blocks are definitely lost in loss record 187 of 197
==2694== at 0x48458A4: malloc (vg_replace_malloc.c:299)
==2694== by 0x48C11B3: g_malloc (gmem.c:94)
==2694== by 0x48DA4A3: g_slice_alloc (gslice.c:1025)
==2694== by 0x48DBA13: g_slist_append (gslist.c:213)
==2694== by 0x128D3F: update_bssid_list (supplicant.c:1637)
==2694== by 0x48A989F: g_hash_table_foreach (ghash.c:1610)
==2694== by 0x12EF91: g_supplicant_network_get_bssid_list(supplicant.c:1649)
==2694== by 0x127177: network_added (wifi.c:3489)
==2694== by 0x1294D5: callback_network_added (supplicant.c:624)
==2694== by 0x1294D5: scan_network_update (supplicant.c:2810)
==2694== by 0x130151: supplicant_dbus_array_foreach (dbus.c:106)
==2694== by 0x1298E3: scan_bss_data (supplicant.c:2824)
==2694== by 0x130071: property_get_reply (dbus.c:273)
==2694== 28 bytes in 2 blocks are definitely lost in loss record 87 of 197
==2694== at 0x48458A4: malloc (vg_replace_malloc.c:299)
==2694== by 0x48C11B3: g_malloc (gmem.c:94)
==2694== by 0x48DBF03: g_strdup (gstrfuncs.c:363)
==2694== by 0x12A65B: merge_network (supplicant.c:1737)
==2694== by 0x12A7D9: network_property (supplicant.c:1758)
==2694== by 0x12A7D9: interface_network_added (supplicant.c:1808)
==2694== by 0x12AF1D: g_supplicant_filter (supplicant.c:4045)
==2694== by 0x49904EB: dbus_connection_dispatch (in /usr/lib/libdbus-1.so.3.14.6)
==2694== by 0x18E921: message_dispatch (mainloop.c:76)
==2694== by 0x48BB8E7: g_main_dispatch (gmain.c:3234)
==2694== by 0x48BB8E7: g_main_context_dispatch (gmain.c:3887)
==2694== by 0x48BBC77: g_main_context_iterate.isra.30 (gmain.c:3960)
==2694== by 0x48BBFD7: g_main_loop_run (gmain.c:4156)
==2694== by 0x119391: main (main.c:851)
Change-Id: I3d86724c44b1593e5444a65eb7519bc150e50ee5
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
This patch sends the list of BSSID, signal strength and
frequency of an APs having same SSID and Security type.
Change-Id: I368d37de310687ca173418dfad91fae7082b2357
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
|
|
It also includes parsing country code from IEs received from the supplicant
Change-Id: Iea5f8b2ea7cc8fefe07591cc4d636d27b015d427
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
|
|
|
|
Change-Id: I6ca91a5f073c11712a936844589aa72c27c0145e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: I990f3c1d314580546c4dfa4716d1a2e535bcd491
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
|
|
Change-Id: Ibb75ff2c2e54c8d3d53f3b184502647918bf7e24
igned-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: I95d2a56c1d26db06cbdb5c85dc0e2b33b3c10da3
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
|
|
Change-Id: Ia285faae7af652612fadbe95f0863bc315d429a6
|
|
Modified logic to process each VSIE of all vendors instead of
only samsung vendor(OUI: 001632). Received VSIE will be appended
in the list and shared with application.
Change-Id: Ifbb0159f40a8949a6f117416e5d436d5c2299b49
|
|
Change-Id: I13526fbf80296a79be15548fc226a308941ac9ec
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
|
|
Change-Id: I174854914d9fd06a813270b57d1f7bc2bac63c6a
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
|
|
Modified logic to process each VSIE of all vendors instead of
only samsung vendor(OUI: 001632). Received VSIE will be appended
in the list and shared with application.
Change-Id: I11fee186c04677fdcd7746fcef7fd1dee4a0b02e
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: Ib5b1b2a166d26180f75793f03d8770ef37cc1329
|
|
Change-Id: I21d3a4ba5632d5a00a3254137b12dfdbd1dbe3dc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
As per RFC 4861, a host should transmit up to 3 Router Solicitation messages,
each separated by at least RTR_SOLICITATION_INTERVAL(4) seconds to obtain
RA for IPv6 auto-configuration.
Change-Id: I970a69737dd0dd030291d725888cac64bddd6b16
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: I486b7e8c47d4d46dab0bc1868daf9fd56f929619
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
|
|
Change-Id: Ife8902c48b338cec4a91429441e8435a6b21bc7e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Related link: https://review.tizen.org/gerrit/#/c/117897/
Change-Id: I8dc20e796bb7c84bb56bebb25faa609e0056fa74
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
|