Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I969a45edc0d4e16d61de0050466cd80c92c7c5e1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Change-Id: If6a491f11ab73e2039d3194b8a02a24313fa78d7
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Change-Id: Iec2ec99fb7d4fc6d9c0539e5a9e7c903e1969580
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
|
|
Change-Id: I0fee6ddc39aa6eacb268ade832a442c90a5961bd
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Valgrind reported memory leak with below backtrace
==3471== 1,934 (80 direct, 1,854 indirect) bytes in 2 blocks are
definitely lost in loss record 190 of 194
==3471== at 0x484801C: calloc (vg_replace_malloc.c:711)
==3471== by 0x49D687B: dbus_malloc0 (dbus-memory.c:572)
==3471== by 0x49BB9A3: _dbus_pending_call_new_unlocked (dbus-pending-call.c:124)
==3471== by 0x4995963: dbus_connection_send_with_reply (dbus-connection.c:3449)
==3471== by 0x135D8D: __dbus_request.constprop.8 (telephony.c:396)
==3471== by 0x135E6D: __request_get_services (telephony.c:477)
==3471== by 0x136F19: __add_modem (telephony.c:802)
==3471== by 0x13732F: __response_get_modems (telephony.c:464)
==3471== by 0x498FABB: complete_pending_call_and_unlock (dbus-connection.c:2340)
==3471== by 0x49981BF: dbus_connection_dispatch (dbus-connection.c:4757)
==3471== by 0x18E815: message_dispatch (mainloop.c:72)
==3471== by 0x48BB8E7: g_main_dispatch (gmain.c:3234)
==3471== by 0x48BB8E7: g_main_context_dispatch (gmain.c:3887
When dbus response is received then we should unref memory allocated by
libdbus
Change-Id: I81c514506f0df42e537d63382b2eb2ebc51c58c8
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
==1071== Invalid read of size 4
==1071== at 0x48DBB00: g_slist_length (gslist.c:856)
==1071== by 0x12A3C7: add_or_replace_bss_to_network (supplicant.c:1930)
==1071== by 0x12BB4D: signal_bss_changed (supplicant.c:3194)
==1071== by 0x12AFD1: g_supplicant_filter (supplicant.c:4038)
==1071== by 0x4998A17: dbus_connection_dispatch (dbus-connection.c:4808)
==1071== by 0x18E931: message_dispatch (mainloop.c:76)
==1071== by 0x48BB8E7: g_main_dispatch (gmain.c:3234)
==1071== by 0x48BB8E7: g_main_context_dispatch (gmain.c:3887)
==1071== by 0x48BBC77: g_main_context_iterate.isra.30 (gmain.c:3960)
==1071== by 0x48BBFD7: g_main_loop_run (gmain.c:4156)
==1071== by 0x119389: main (main.c:851)
==1071== Address 0x4e800a4 is 4 bytes inside a block of size 8 free'd
==1071== at 0x4846EC8: free (vg_replace_malloc.c:530)
==1071== by 0x48DB10F: g_slice_free_chain_with_offset (gslice.c:1232)
==1071== by 0x12A03F: remove_bss (supplicant.c:841)
==1071== by 0x48A858F: g_hash_table_remove_all_nodes.part.0 (ghash.c:548)
==1071== by 0x48A95B7: g_hash_table_remove_all_nodes (ghash.c:1428)
==1071== by 0x48A95B7: g_hash_table_remove_all (ghash.c:1431)
==1071== by 0x48A964B: g_hash_table_destroy (ghash.c:1124)
==1071== by 0x12A8E5: remove_network (supplicant.c:814)
==1071== by 0x48A8A3F: g_hash_table_remove_internal (ghash.c:1360)
==1071== by 0x12BB47: signal_bss_changed (supplicant.c:3192)
==1071== by 0x12AFD1: g_supplicant_filter (supplicant.c:4038)
==1071== by 0x4998A17: dbus_connection_dispatch (dbus-connection.c:4808)
==1071== by 0x18E931: message_dispatch (mainloop.c:76)
==1071== Block was alloc'd at
==1071== at 0x48458A4: malloc (vg_replace_malloc.c:299)
==1071== by 0x48C11B3: g_malloc (gmem.c:94)
==1071== by 0x48DA4A3: g_slice_alloc (gslice.c:1025)
==1071== by 0x48DB4AF: g_slist_prepend (gslist.c:254)
==1071== by 0x12C7D7: bss_process_ies (supplicant.c:2176)
==1071== by 0x12C7D7: bss_property (supplicant.c:2388)
==1071== by 0x1301FF: supplicant_dbus_property_foreach (dbus.c:145)
==1071== by 0x1302A1: property_get_all_reply (dbus.c:184)
==1071== by 0x498FABB: complete_pending_call_and_unlock (dbus-connection.c:2340)
==1071== by 0x49981BF: dbus_connection_dispatch (dbus-connection.c:4757)
==1071== by 0x18E931: message_dispatch (mainloop.c:76)
==1071== by 0x48BB8E7: g_main_dispatch (gmain.c:3234)
==1071== by 0x48BB8E7: g_main_context_dispatch (gmain.c:3887)
==1071== by 0x48BBC77: g_main_context_iterate.isra.30 (gmain.c:3960)
==1679== Invalid read of size 4
==1679== at 0x484D358: memmove (vg_replace_strmem.c:1258)
==1679== by 0x49D8307: memmove (string3.h:59)
==1679== by 0x49D8307: copy.isra.3 (dbus-string.c:1219)
==1679== by 0x49D209F: marshal_1_octets_array (dbus-marshal-basic.c:868)
==1679== by 0x49D209F: _dbus_marshal_write_fixed_multi (dbus-marshal-basic.c:1041)
==1679== by 0x49A4A3B: _dbus_type_writer_write_fixed_multi (dbus-marshal-recursive.c:2681)
==1679== by 0x13088D: supplicant_dbus_property_append_fixed_array (dbus.c:611)
==1679== by 0x12E775: supplicant_dbus_dict_append_fixed_array (dbus.h:121)
==1679== by 0x12E775: interface_add_network_params (supplicant.c:5518)
==1679== by 0x1306FB: supplicant_dbus_method_call (dbus.c:515)
==1679== by 0x12AF05: decryption_request_reply (supplicant.c:5713)
==1679== by 0x498FABB: complete_pending_call_and_unlock (dbus-connection.c:2340)
==1679== by 0x49981BF: dbus_connection_dispatch (dbus-connection.c:4757)
==1679== by 0x18E931: message_dispatch (mainloop.c:76)
==1679== by 0x48BB8E7: g_main_dispatch (gmain.c:3234)
==1679== by 0x48BB8E7: g_main_context_dispatch (gmain.c:3887)
Change-Id: I53652b06891fa8465e9dd425f425210ebc67ee9f
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
In case of WPS PBC connection without SSID, sometimes few attempts fail
and on subsequent retries connection is established successfully. If we
remove network when disconnection is received for the first time from
wpa_supplicant then future retries doesn't take place and WPS connection
without SSID always fails
Change-Id: I2a5754c5e4a442e3305befdea3a94a6c728ef817
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: I649ed8bbf277611324934db7895d7a8c0cb25ec8
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>
|
|
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>
|
|
call to net-config
Change-Id: Ic7795b430e92b7ee81d4c65b39ef1aa914fccc1a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Change-Id: I21d3a4ba5632d5a00a3254137b12dfdbd1dbe3dc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
Change-Id: Ife8902c48b338cec4a91429441e8435a6b21bc7e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Description : This can be used by application in case AP is denying association with status code
Change-Id: I195492be4320032b460b708034f044eec03b71dd
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
Change-Id: I183d2e9958bc0278f2d0eff12efbcab07a2148d1
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
Change-Id: I0f054b8f4cba4396b6d4018a4bb41504131a1c51
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
|
|
Earlier full scan was done using throw_wifi_scan() which increases
device reference count. As we need to perform full scan then we should
directly call g_supplicant_interface_scan() without increasing the
device ref count.
Change-Id: Icb595ca714d5bf03ed0a071fcd987f9bc1b736dc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
This reverts commit 1141e83b5a00d11bada4e07e8203770b3d36939b.
Change-Id: I0abf48d5c45cdf16f33345fb7432ceaab4051a11
|
|
Device reference count is referenced when scanning is set to true, so it
should be dereferenced only when scanning is set to false, In one
particular case scanning was not being set to false while device was
unreferenced when wifi->allow_full_scan is true.
Change-Id: Ib8fc675d224eddc8e1dfa4a4a271f7c5b64209fe
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
Change-Id: I2156778ed0bcc703e8823c7eccaf344ab21503c1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: Ib8f446164242caeb7fbc29c2917eff4b8a5b8bf7
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: I560be68a876a5fef516647365db3c56761f2aba1
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|
|
Change-Id: I0d0afacc8a11fadc8128f6eef3f64f7a4ca8675b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
|
|
Description: Earlier, connMan was modified the RSSI value received
from supplicant using following formula.
if (strength > 100)
strength = 100;
Change-Id: Ifa4fb2be6f65224046274835c9ae26a81fae2e69
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
|
|
Description: Merged the following upstream patch and modified the
connMan accordingly.
http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=6245582d0dc9a3f47a6880dabf437ee7c351caef
Change-Id: Id90b6d83849c62c2842c038aec516354a2b74060
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
|
|
Change-Id: I165fd22bab5ced4a383b0034da79a87712110636
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
|
|
Description : In following use case, ConnMan was stuck in
auto-connection with a specific AP. In that time, user
could not be able to select any other AP for connection.
1. Connect with an AP
2. Add the Device Mac address in AP's Mac filter list
3. Device disconnect from AP
4. Device keep trying to connection with AP
Partially added following upstream patch.
"http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=3bda07204b11158dd18322db6e64dc92bdd07124"
Change-Id: I1731bfd21324c83a87f4ff2a5fccf264fd7883f5
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
Change-Id: Ib9186009728b786bc1c5c848a529e67af4752a1e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
|
|
http://slp-info.sec.samsung.net/gerrit/#/c/2752007/
http://slp-info.sec.samsung.net/gerrit/#/c/2763075/
Change-Id: Ia290ba7d4d50935c1473d8a864a508dbad3f5e90
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
|
|
Description: In specific case, CommMan issue the SSID based scan followed
by full channel scan. In that case, applicaiton receive the two scan
done event. To handle this , block the scan done event for SSID based
scan.
Change-Id: I24803bd7377e3c682a33b0be653c36c65d30186e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
Change-Id: I0f485580bd16234fe371e0cfb153d9f1cc23dbcc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
|
|
Description: In following use case, ConnMan always perform the ssid based scan
and unable to find the new AP's.
a. Connect with any AP (Normal or Hidden)
b. Disconnect with AP
c. After this, ConnMan always perform the SSID based scan.
Impact: Tizen Device is unable to scan new AP's.
Reason:
In Tizen, ConnMan configure the "BackgroundScanning" flag as false because background
scan feature is implemented in net-config module.
Due to this reason, I have added patch to sync-up the ConnMan scan implementation
with net-config background scan feature.
Change-Id: I0cff11df18780816b5f61a647c2298c781e78557
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
|
|
This reverts commit 7ace8c778781a6d3e47010843d9bc5c0d337594d.
Change-Id: Ia05ae51984781af64d3225ac302bdfb24df37263
|
|
Change-Id: I466d0a4d73ade1278211245fbc94ca2fffeb392f
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
|
|
when latest connection is specific ssid as hidden
Change-Id: Id5a58977ac3dcb05f3006dbed85d3e07aab15326
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
|
|
Removed to set autoconnect when 4way handshake failed
Release passphrase of service when indicate error occurred for invalid
key
Change-Id: Id748ddcd21ad896f0d8e91ce4711a4c9c0df6d96
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
|
|
Change-Id: Icb3942835130528c4d61d427ee1891d88cc1ac3b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
|
|
Change-Id: Id3697d995e4db5d6f03cdf182825d5f61136e235
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
|
|
desc: In case of wifi connection if Association fail,
indicate "auth-failed" error.
Change-Id: Ie08088f3e5b5ff940d0e4290814c266d28e59b15
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
|