summaryrefslogtreecommitdiff
path: root/gsupplicant/supplicant.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-27Error checking in passphrase decryption method.Niraj Kumar Goit1-0/+8
If Dbus fails to append argument in dbus-message, do not call a dbus method to decrypt passphrase. Change-Id: Ic3b63ea9e6827ca1bf3753d750026119ec1bfd1a Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2021-01-04Imported Upstream connman version 1.38Niraj Kumar Goit1-0/+18
Change-Id: I9e650762f3b2b2a31945b66e044e67a77e3b4b12 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2020-10-07Add support for dlogJaehyun Kim1-13/+50
1. Add support for dlog 2. Add some log options to main.conf 3. Allow to simplify the amount of logs by option Change-Id: I8c1202ae267aca9bb2c18d44c2ccd3e6d5a74a73 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-06-09Add omitted TIZEN_EXTJaehyun Kim1-2/+2
Change-Id: I44227340c3a408711756a2bf4ccfb860ef44170b Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2020-05-22supported OWE Transition modeJinwon Kim1-5/+82
Change-Id: I6dd1cb437ac16c0428df4d5bc812fefb36543c6d Signed-off-by: Jinwon Kim <jinwon0325.kim@samsung.com>
2020-05-15gsupplicant: update an interface state in GetInterface callbackSeonah Moon1-33/+0
Change-Id: I9530c2c897c4ed2aae0b90580012ce6c930e3a90
2020-05-13Handle the case that best_bss is NULLsubmit/tizen/20200513.103127Cheoleun Moon1-3/+15
Change-Id: I4a813bb3327f400df0050a850ec72fa8b99c870b Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2020-05-12Create interface first when enable Wi-Fisubmit/tizen/20200512.123850accepted/tizen/unified/20200512.144346Seonah Moon1-0/+90
Change-Id: Id801b6dd6bfcfaa2cb2daefed9e6c37d7cb861bc
2020-05-04Add support of EAP on Ethernet.Nishant Chaprana1-1/+101
Change-Id: I373ab90bbb699be56d9e416346a51b0795ed1e8b Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com> Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2020-04-20Verify INS functions using connmanctlsubmit/tizen/20200422.012623hyunuk.tak1-76/+102
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.tak1-18/+507
Change-Id: I049207e7d662f657ca21a4046be953f8f33bbd10 Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
2020-02-07gsupplicant: Fix memory leaksubmit/tizen/20200212.122721accepted/tizen/unified/20200213.121529Jaehyun Kim1-0/+8
Change-Id: I6c8b8e67dc8fc32f744e2cf715ea383745ec0a93 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-12-04Fix to handle scan events initiated by wpa_supplicantsubmit/tizen/20200203.052118submit/tizen/20191204.124930accepted/tizen/unified/20191205.091332Jaehyun Kim1-3/+16
Change-Id: I2c247dd447a569642f19ff984fb9b318cceb676c Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2019-10-11Extract strength as int32 in SignalPoll method_call's replysubmit/tizen/20191011.090452Nishant Chaprana1-4/+2
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-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-09-27Add DPP service based on configuration filesubmit/tizen/20190927.130602Yu1-2/+277
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-18Imported Upstream version 1.37submit/tizen/20190920.082459Nishant Chaprana1-96/+143
Change-Id: Idb47c1ddbedc9f97181b8e9a5eeac04ddd832a2c Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-08-27Update RSSI/Strength of connected service using SignalPoll eventNishant Chaprana1-1/+8
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-07-25Add OWE security mode supportYu1-2/+18
Change-Id: I03ab90b8ab78e489d1ef70fbec57f10576860a57 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2019-07-04Imported Upstream version 1.37upstream/1.37Nishant Chaprana1-26/+135
Change-Id: Ib5957e7ee3a9315ee86a331189bc3e9e71751ee8 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-06-19Added support of WPA3-SAE security mode.submit/tizen/20190621.094817accepted/tizen/unified/20190624.075215Niraj Kumar Goit1-10/+14
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-0/+15
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-04-05Added support of Multiple same SSIDs including band steering.submit/tizen/20190409.131053accepted/tizen/unified/20190410.061801Niraj Kumar Goit1-7/+7
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>
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 Sansanwal1-0/+17
Change-Id: Ib3b189615648a35aa876eab3e3f61c47ac0c1e68 Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
2018-10-05Add IEEE 802.11 protocol(b/g/n/a/ac) Modes of APsMilind Murhekar1-0/+116
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 Haarit1-0/+92
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-13Fixed some build warningsJaehyun Kim1-3/+3
Change-Id: I09c0c02541a0f7cb469e009b53d87fccbed742e1 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-08-24[connman] Added Tizen Wi-Fi Meshsubmit/tizen/20180824.072908Nishant Chaprana1-1/+525
Change-Id: Iec2ec99fb7d4fc6d9c0539e5a9e7c903e1969580 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
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-06-11gsupplicant: Fixed invalid read issueSaurav Babu1-0/+12
==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>
2018-05-24Fixed various memory leaksSaurav Babu1-5/+5
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>
2018-05-23gsupplicant: Fixed resource leaksubmit/tizen/20180524.035245accepted/tizen/unified/20180524.050028Jaehyun Kim1-1/+5
Change-Id: I423a3e680e528a36f98db5bdc2f68db15e707015 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-05-23gsupplicant: Fixed crash issuesubmit/tizen/20180523.121952accepted/tizen/unified/20180523.144438Saurav Babu1-2/+7
Change-Id: I568ffb360881ed78ac3c119c458220829d582d56 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2018-05-21Don't remove network when G_SUPPLICANT_STATE_DISCONNECTED is receivedsubmit/tizen/20180523.065951accepted/tizen/unified/20180523.144422Saurav Babu1-23/+0
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>
2018-05-18gsupplicant: Fixed crash issue when network exists in supplicantsubmit/tizen/20180518.061044accepted/tizen/unified/20180521.003506Saurav Babu1-0/+14
In some cases interface->network_path exists but interface->network_info.ssid is NULL which leads to crash with below backtrace: Program received signal SIGSEGV, Segmentation fault. 0xb6b0d184 in memcmp () from /lib/libc.so.6 (gdb) bt #0 0xb6b0d184 in memcmp () from /lib/libc.so.6 #1 0xb6eb5530 in compare_network_parameters (ssid=0xb85aec20, interface=0xb85a1710) at gsupplicant/supplicant.c:445 #2 g_supplicant_interface_connect (interface=0xb85a1710, ssid=0xb85aec20, callback=0xb6eab039 <connect_callback>, user_data=0xb859cbb0) at gsupplicant/supplicant.c:5839 #3 0xb6ecc000 in __connman_network_connect (network=0xb859cbb0) at src/network.c:1711 #4 0xb6edaabe in service_connect (service=0xb85a6558) at src/service.c:8143 #5 __connman_service_connect (service=service@entry=0xb85a6558, reason=reason@entry=CONNMAN_SERVICE_CONNECT_REASON_USER) at src/service.c:8203 #6 0xb6edc148 in connect_service (conn=<optimized out>, msg=0xb85d3b80, user_data=0xb85a6558) at src/service.c:5570 #7 0xb6f1653e in process_message (connection=connection@entry=0xb859b600, message=message@entry=0xb85d3b80, iface_user_data=iface_user_data@entry=0xb85a6558, method=<optimized out>, method=<optimized out>) at gdbus/object.c:259 #8 0xb6f167be in generic_message (connection=0xb859b600, message=0xb85d3b80, user_data=<optimized out>) at gdbus/object.c:1071 #9 0xb6d126b0 in ?? () from /lib/libdbus-1.so.3 #10 0xb6d014a8 in dbus_connection_dispatch () from /lib/libdbus-1.so.3 #11 0xb6f144f2 in message_dispatch (data=0xb859b600) at gdbus/mainloop.c:76 #12 0xb6d898e8 in g_main_dispatch (context=0xb8599808) at gmain.c:3234 #13 g_main_context_dispatch (context=context@entry=0xb8599808) at gmain.c:3887 #14 0xb6d89c78 in g_main_context_iterate (context=0xb8599808, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3960 #15 0xb6d89fd8 in g_main_loop_run (loop=0xb85999a8) at gmain.c:4156 #16 0xb6e9f352 in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:851 Change-Id: I9ed4c69d31389bd7aa0c8ab250d92c45cdab7507 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2018-04-20Add BSSID , signal strength and frequency list of the APssubmit/tizen/20180424.084858accepted/tizen/unified/20180425.062309Mayank Haarit1-0/+48
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>
2018-04-20Added logic to get country code of APsMayank Haarit1-0/+23
It also includes parsing country code from IEs received from the supplicant Change-Id: Iea5f8b2ea7cc8fefe07591cc4d636d27b015d427 Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
2018-02-26[connman]Added support of EAP-FAST,EAP-PWD and EAP-AKA'.submit/tizen/20180226.110934accepted/tizen/unified/20180227.062953Niraj Kumar Goit1-2/+41
Change-Id: Ibb75ff2c2e54c8d3d53f3b184502647918bf7e24 igned-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2018-02-21Added new dbus method to support bssid based connectionJaehyun Kim1-9/+23
Change-Id: I95d2a56c1d26db06cbdb5c85dc0e2b33b3c10da3 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-01-23Modified logic to process each VSIE of all vendors.Niraj Kumar Goit1-33/+49
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
2018-01-23Handles the passphrase decryption failure caseJaehyun Kim1-1/+3
Change-Id: I8511bbc2b025f296770420dc9c8e7b85aa2be60d Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-01-23Updated connman to version 1.35Seonah Moon1-164/+554
Change-Id: I13526fbf80296a79be15548fc226a308941ac9ec Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2018-01-22Merge "Modified logic to process each VSIE of all vendors." into tizensubmit/tizen/20180122.055447submit/tizen/20180122.055424accepted/tizen/unified/20180123.061054taesub kim1-33/+49
2018-01-12Handles the passphrase decryption failure casesubmit/tizen/20180121.225846submit/tizen/20180119.040348accepted/tizen/unified/20180123.061114Jaehyun Kim1-1/+3
Change-Id: Id8a29b6156449bf3dd23f79a7224ab39e9599b82 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-01-08Imported Upstream version 1.35upstream/1.35Seonah Moon1-108/+563
Change-Id: I174854914d9fd06a813270b57d1f7bc2bac63c6a Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2018-01-04Modified logic to process each VSIE of all vendors.Niraj Kumar Goit1-33/+49
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>
2017-12-28Make WiFi passphrase enc/dec routine async to prevent mutual synchronous ↵submit/tizen/20171229.034008accepted/tizen/unified/20171229.070248Jaehyun Kim1-0/+157
call to net-config Change-Id: Ic7795b430e92b7ee81d4c65b39ef1aa914fccc1a Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-12-27connman: Get HS20 property of service correctlysubmit/tizen/20171228.074717submit/tizen/20171228.053515accepted/tizen/unified/20171229.070200Saurav Babu1-2/+11
Change-Id: I21d3a4ba5632d5a00a3254137b12dfdbd1dbe3dc Signed-off-by: Saurav Babu <saurav.babu@samsung.com>