summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Babu3-50/+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 Haarit6-1/+110
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 Haarit7-0/+71
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-04-16Merge "Add SSID and Frequency mixed scan." into tizensubmit/tizen/20180416.224602accepted/tizen/unified/20180417.173158taesub kim3-9/+102
2018-04-10Add SSID and Frequency mixed scan.Niraj Kumar Goit3-9/+102
Change-Id: I6ca91a5f073c11712a936844589aa72c27c0145e Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2018-04-10Merge "Added dbus/cynara policy" into tizentaesub kim1-14/+16
2018-04-03Fixed a coverity for resource leaksubmit/tizen/20180406.023145accepted/tizen/unified/20180406.144313hyunuktak1-0/+1
Change-Id: I990f3c1d314580546c4dfa4716d1a2e535bcd491 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2018-04-02Added dbus/cynara policytaesub kim1-14/+16
Change-Id: I82192eb00243dd45e64e37e806d7c7e90fa3fac2 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2018-03-23Fix a coverity for logically dead codesubmit/tizen/20180329.102914accepted/tizen/unified/20180403.060112hyunuktak1-5/+0
Change-Id: I649ed8bbf277611324934db7895d7a8c0cb25ec8 Signed-off-by: hyunuktak <hyunuk.tak@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 Goit5-5/+103
Change-Id: Ibb75ff2c2e54c8d3d53f3b184502647918bf7e24 igned-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2018-02-21Added new dbus method to support bssid based connectionJaehyun Kim5-11/+106
Change-Id: I95d2a56c1d26db06cbdb5c85dc0e2b33b3c10da3 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2018-01-23Merge "Fixed uninitialized scalar variable" into tizensubmit/tizen/20180124.223542submit/tizen/20180124.044456accepted/tizen/unified/20180125.060648taesub kim1-0/+1
2018-01-23Fixed uninitialized scalar variablehyunuktak1-0/+1
Change-Id: Ia285faae7af652612fadbe95f0863bc315d429a6
2018-01-23Modified logic to process each VSIE of all vendors.Niraj Kumar Goit6-71/+104
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 Moon123-25081/+9297
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 kim6-70/+104
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 Moon141-49794/+10084
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 Goit6-70/+104
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>
2018-01-03Add new rpm with disalbled-ethernetsubmit/tizen/20180103.084951accepted/tizen/unified/20180104.064645taesub kim2-1/+127
Change-Id: Ib5b1b2a166d26180f75793f03d8770ef37cc1329
2017-12-28Make WiFi passphrase enc/dec routine async to prevent mutual synchronous ↵submit/tizen/20171229.034008accepted/tizen/unified/20171229.070248Jaehyun Kim4-68/+257
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 Babu6-29/+21
Change-Id: I21d3a4ba5632d5a00a3254137b12dfdbd1dbe3dc Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-12-19[Upstream] Wait 4 seconds for RA before re-sending RS messages.Niraj Kumar Goit1-2/+10
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>
2017-12-13Remove non-essential logssubmit/tizen/20171218.085650accepted/tizen/unified/20171219.072622taesub kim2-6/+5
Change-Id: I486b7e8c47d4d46dab0bc1868daf9fd56f929619 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-12-12Add WiFi passphrase encryption routinesubmit/tizen/20171212.235218accepted/tizen/unified/20171213.153208Jaehyun Kim4-2/+146
Change-Id: Ife8902c48b338cec4a91429441e8435a6b21bc7e Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-12-12Fixed the keyload issue when wifi is initial connectionsubmit/tizen/20171212.082257accepted/tizen/unified/20171212.171956taesub kim2-0/+17
Related link: https://review.tizen.org/gerrit/#/c/117897/ Change-Id: I8dc20e796bb7c84bb56bebb25faa609e0056fa74 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-12-11Merge "In dhcpv6 request always set G_DHCPV6_IA_NA option." into tizensubmit/tizen/20171211.062320accepted/tizen/unified/20171212.064754taesub kim1-0/+14
2017-12-11Merge "Process RDNSS option for IPv6 if connecting or connected." into tizentaesub kim1-9/+12
2017-12-11In dhcpv6 request always set G_DHCPV6_IA_NA option.Niraj Kumar Goit1-0/+14
When privacy extension is enabled then connman requests OPTION_IA_TA (4) from DHCPv6 server. This option is used to request temporary IPv6 address from DHCPv6 server but we found that DHCPv6 server never provided temporary IPv6 address and connman resend dhcpv6 requests. So always set OPTION_IA_NA in dhcpv6 request to get IPv6 address from DHCPv6 server. Change-Id: Iec5623a14ba6cee64ad5b97fcf5246ae09947968 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-12-07Process RDNSS option for IPv6 if connecting or connected.Niraj Kumar Goit1-9/+12
Process RDNSS option for IPv6 if network is connecting or connected and set IPv6 DNS address in the system. Change-Id: I28bb7be76a60003364030d09aabfca27886531f3 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-12-07Revert "[connman] Configure IPv6 after IPv4 dhcp succeed."Saurav Babu1-24/+1
This reverts commit 0d3b96f6fe23316f15444576b5a590a917beb8a5. Change-Id: I83a7f0b3a5485bb6bd14f863b0e180bea1570899
2017-11-27Added cap_dac_override capabilitysubmit/tizen/20171126.232917accepted/tizen/unified/20171127.083314taesub kim3-3/+3
Change-Id: I0c668091b85bf1f4f31ea2d1a9c6d53d73cd5736 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-11-22Remove openssl function to solve license conflictJiung4-493/+65
Change-Id: Ib902eed40c45365da17f64bf8b6ea504725ff478 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-11-15Added security-config requiressubmit/tizen/20171115.020156accepted/tizen/unified/20171115.174025taesub kim1-0/+1
Change-Id: I8ba6647c8e53d5ade90addd35c47628a89c3f5f0 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-11-08Merge "Enable IPv6 privacy address support." into tizensubmit/tizen/20171113.231943accepted/tizen/unified/20171115.061145taesub kim1-1/+4
2017-11-08Enable IPv6 privacy address support.Niraj Kumar Goit1-1/+4
Change-Id: Icbffd857f35aff492e343af3da855bdc69d3b22d Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-11-08Merge "Append AssocStatusCode Property for Wi-Fi Manager Layer" into tizensubmit/tizen/20171108.071810taesub kim1-0/+7
2017-11-08Merge "Added handling of "AssocStatusCode" signal" into tizentaesub kim5-1/+68
2017-11-06Remove unused "GetVsies" Dbus method.Niraj Kumar Goit2-76/+0
Change-Id: I4b666eb1e00852ef6a33451343f8ad78aa857557 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-11-03Added vsie information of AP in append_properties function.Niraj Kumar Goit1-0/+8
Change-Id: I97535663a8b591e4adbbac3c4bb0cd649a388672 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-11-03Append AssocStatusCode Property for Wi-Fi Manager LayerManeesh Jain1-0/+7
Change-Id: Ie7fc6842d3c000ff94e8d9659370242a210cfaa1 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2017-11-03Added handling of "AssocStatusCode" signalManeesh Jain5-1/+68
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>
2017-11-03Merge "Fix SVACE issue @SVACE ID WGID: 30779 & 30802" into tizensubmit/tizen/20171103.014532accepted/tizen/unified/20171106.073053taesub kim1-1/+19
2017-11-02Fix SVACE issue @SVACE ID WGID: 30779 & 30802Maneesh Jain1-1/+19
Change-Id: I183d2e9958bc0278f2d0eff12efbcab07a2148d1 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2017-11-02Fix memory leakSeonah Moon1-0/+1
Change-Id: I6085b4b3cfe0587d559f4badda855a832380d6dd
2017-10-31Fixed gateway issue for ipv6Seonah Moon1-0/+8
Change-Id: I27a77e6a39fb11095446c95fb9765da5e7e156f6 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-10-24Regard host name as remote address and add it to vici argumentssubmit/tizen/20171030.235228accepted/tizen/unified/20171101.064659Jiung1-0/+3
Change-Id: I78beac887cc3c91165326c26511ad10e5aa194e0 Signed-off-by: Yu jiung <jiung.yu@samsung.com>