platform/core/connectivity/net-config.git
6 years agoMerge "Added support to set and get IP configuration details." into tizen
Jaehyun Kim [Tue, 4 Sep 2018 11:06:03 +0000 (11:06 +0000)]
Merge "Added support to set and get IP configuration details." into tizen

6 years agoFixed memory leak 53/188253/1
Saurav Babu [Mon, 3 Sep 2018 10:02:21 +0000 (15:32 +0530)]
Fixed memory leak

g_ascii_strdown() returns a newly allocated string and should be freed
with g_free().
Below is the valgrind report complaining about the leak
==7455== 216 bytes in 12 blocks are definitely lost in loss record 3,009 of 3,068
==7455==    at 0x48458A4: malloc (vg_replace_malloc.c:299)
==7455==    by 0x4AB11B3: g_malloc (gmem.c:94)
==7455==    by 0x4ACBF73: g_strndup (gstrfuncs.c:425)
==7455==    by 0x4ACC9A7: g_ascii_strdown (gstrfuncs.c:1517)
==7455==    by 0x12F0E7: __get_mac_address (wifi-config.c:180)
==7455==    by 0x12F0E7: __get_group_name.constprop.4 (wifi-config.c:199)
==7455==    by 0x12F75B: _load_configuration (wifi-config.c:312)
==7455==    by 0x13133D: handle_load_configuration (wifi-config.c:1052)
==7455==    by 0x4E40AF7: ffi_call_SYSV (in /usr/lib/libffi.so.6.0.2)

Change-Id: I979c0daef4572a3a77a2f75e81ccfea0c8781fe0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoAdded support to set and get IP configuration details. 98/186498/4
Niraj Kumar Goit [Fri, 10 Aug 2018 03:34:23 +0000 (09:04 +0530)]
Added support to set and get IP configuration details.

Change-Id: I08320822454355853883991cad0d8b0ae58f5e36
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoMerge "Fix dbus methods for mptcp" into tizen submit/tizen/20180903.045143
Jaehyun Kim [Mon, 3 Sep 2018 04:13:22 +0000 (04:13 +0000)]
Merge "Fix dbus methods for mptcp" into tizen

6 years agoChange the directory and header file name for HAL TC 43/188043/1 submit/tizen/20180831.123807
Jaehyun Kim [Thu, 30 Aug 2018 13:16:26 +0000 (22:16 +0900)]
Change the directory and header file name for HAL TC

Change-Id: Ib1b701d14d35c9c34a819c12e2c1014660f92101
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoFix dbus methods for mptcp 35/187835/3
Seonah Moon [Wed, 29 Aug 2018 01:31:14 +0000 (10:31 +0900)]
Fix dbus methods for mptcp

Change-Id: Ice73114dcbb230b02f493dba648f15b591195d24

6 years agoChange owner and group of /usr/lib/udev/rules.d/99-wifiusb-dev.rules 25/187725/1 accepted/tizen/unified/20180831.061745 submit/tizen/20180828.112014 submit/tizen/20180830.132815
INSUN PYO [Tue, 28 Aug 2018 05:23:14 +0000 (14:23 +0900)]
Change owner and group of /usr/lib/udev/rules.d/99-wifiusb-dev.rules

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ib1a7e47164d8e8d1b40399bf4159058f3c26c1e9

6 years agoMerge "Added support to set private-key password." into tizen accepted/tizen/unified/20180830.060928 submit/tizen/20180829.082616
Jaehyun Kim [Fri, 24 Aug 2018 05:15:03 +0000 (05:15 +0000)]
Merge "Added support to set private-key password." into tizen

6 years agoChange the HAL TC name to same as package name 67/186967/2 accepted/tizen/unified/20180817.140757 submit/tizen/20180817.033930
Jaehyun Kim [Fri, 17 Aug 2018 02:13:11 +0000 (11:13 +0900)]
Change the HAL TC name to same as package name

Change-Id: I40fae0eeaa60dfea4147d5f2c29463a0d2ecd0f1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoCombine the HAL TCs into one file 64/186764/1 accepted/tizen/unified/20180814.175012 submit/tizen/20180814.072804
Jaehyun Kim [Tue, 14 Aug 2018 06:59:49 +0000 (15:59 +0900)]
Combine the HAL TCs into one file

Change-Id: I3e7f8be918d088ee6b4dfe1d53223cc96a9df772
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoRename HAL TC files 47/186747/1 submit/tizen/20180814.054518
Jaehyun Kim [Tue, 14 Aug 2018 05:31:32 +0000 (14:31 +0900)]
Rename HAL TC files

Change-Id: Ie4c22435b635b2dc3e82828c3ec7957afbe51013
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoMerge "Avoid Null Check before g_free()." into tizen
taesub kim [Mon, 13 Aug 2018 08:18:47 +0000 (08:18 +0000)]
Merge "Avoid Null Check before g_free()." into tizen

6 years agoDisable TIZEN_DEBUG_ENABLE feature for wearable profile 72/186172/3 accepted/tizen/unified/20180808.063415 submit/tizen/20180808.022337
taesub.kim [Wed, 8 Aug 2018 02:04:26 +0000 (11:04 +0900)]
Disable TIZEN_DEBUG_ENABLE feature for wearable profile

Change-Id: I03950f53fcfeb3e1ef5c1c71f5423c29199edc95
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded support to set private-key password. 61/186061/1
Niraj Kumar Goit [Tue, 7 Aug 2018 05:03:59 +0000 (10:33 +0530)]
Added support to set private-key password.

Added support to set private-key password and it is valid
for EAP-TLS.
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Change-Id: I7499655f5237fea0f3fb38f39c36f67a5ee4eb96

6 years agoMerge "Don't free dbus method invocation twice" into tizen accepted/tizen/unified/20180726.140742 submit/tizen/20180726.054446
taesub kim [Thu, 26 Jul 2018 05:42:43 +0000 (05:42 +0000)]
Merge "Don't free dbus method invocation twice" into tizen

6 years agoDon't free dbus method invocation twice 32/185032/2
Saurav Babu [Wed, 25 Jul 2018 09:24:48 +0000 (14:54 +0530)]
Don't free dbus method invocation twice

Change-Id: I6b006b5c547d809acd6c4126da35cc3d80869585
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years ago[Fix][stack-buffer-overflow] Use gboolean when using g_variant_get for boolean. 36/185036/1
Nishant Chaprana [Wed, 25 Jul 2018 09:52:06 +0000 (15:22 +0530)]
[Fix][stack-buffer-overflow] Use gboolean when using g_variant_get for boolean.

Description: g_variant_get API expects reference of gboolean variable
in third parameter, and we arepassing reference of bool variable.

As per Glib's documentation, gboolean is typecast of int.
=================================================================
(Reference: https://people.gnome.org/~desrt/glib-docs/glib-Basic-Types.html#gboolean)

gboolean

typedef gint   gboolean;

A standard boolean type. Variables of this type should only contain the value TRUE or FALSE.
=================================================================

Change-Id: I84f0120229a2a9eeec976b1785d5cc4d112db534
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoAvoid Null Check before g_free(). 82/184882/1
Rahul Jain [Tue, 24 Jul 2018 05:45:10 +0000 (11:15 +0530)]
Avoid Null Check before g_free().

Change-Id: Ibebc50255f075ad0a931fc7bfc180caef1fc14a1
Signed-off-by: Bhaskar Dutta <bhaskar.d@samsung.com>
Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
6 years agoMerge "Fix for CID:860302" into tizen accepted/tizen/unified/20180711.132737 submit/tizen/20180709.041434
taesub kim [Mon, 9 Jul 2018 04:13:19 +0000 (04:13 +0000)]
Merge "Fix for CID:860302" into tizen

6 years agoMerge "Fix for CID:860243" into tizen
taesub kim [Mon, 9 Jul 2018 04:13:06 +0000 (04:13 +0000)]
Merge "Fix for CID:860243" into tizen

6 years agoFix for CID:860302 17/183517/1
Abhishek Sansanwal [Fri, 6 Jul 2018 06:27:08 +0000 (11:57 +0530)]
Fix for CID:860302

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I1083261df5bf83d5dec91544c2eab9257c405232

6 years agoFix for CID:860282 05/183505/2
Abhishek Sansanwal [Fri, 6 Jul 2018 05:46:35 +0000 (11:16 +0530)]
Fix for CID:860282

Description: Call g_free on resource before return.

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I66412afbec1ad04e5e16a2edfe96f913ee1ceb1d

6 years agoMerge "Set passphrase for connman service when connecting using WPS without SSID... accepted/tizen/unified/20180709.064832 submit/tizen/20180706.050915
taesub kim [Fri, 6 Jul 2018 04:01:58 +0000 (04:01 +0000)]
Merge "Set passphrase for connman service when connecting using WPS without SSID" into tizen

6 years agoMerge "net-config:Generalize the setting of rps_cpus" into tizen
taesub kim [Fri, 6 Jul 2018 04:01:37 +0000 (04:01 +0000)]
Merge "net-config:Generalize the setting of rps_cpus" into tizen

6 years agoSet passphrase for connman service when connecting using WPS without SSID 35/183435/2
Saurav Babu [Thu, 5 Jul 2018 09:39:42 +0000 (15:09 +0530)]
Set passphrase for connman service when connecting using WPS without SSID

Change-Id: Ifb6ce45997e0f1275ae09d99418d6fac510293d4
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoAdd exception handle for google test framework 65/183365/2
Taesoo Jun [Thu, 5 Jul 2018 02:01:16 +0000 (11:01 +0900)]
Add exception handle for google test framework

Change-Id: Ie8a465b9cbcbb0f4a055c790ee9687de63f378b5
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
6 years agoFix memory corruption in unittest 63/183363/2
Taesoo Jun [Thu, 5 Jul 2018 01:47:01 +0000 (10:47 +0900)]
Fix memory corruption in unittest

Change-Id: I075961d576735dd852939a70b276c1adbcd9a65a
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
6 years agonet-config:Generalize the setting of rps_cpus 31/183231/2
Mayank Haarit [Tue, 3 Jul 2018 11:44:36 +0000 (17:14 +0530)]
net-config:Generalize the setting of rps_cpus

This patch generalize the logic to set rps_cpus in
all receive queues of the wlan interface.

Change-Id: I2b4c2883338bcbaa989d52f9a1beac1409e2a5c7
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoAdded dump log for connect fail #2 56/182956/1 accepted/tizen/unified/20180702.151346 submit/tizen/20180702.034741
taesub kim [Fri, 29 Jun 2018 06:50:58 +0000 (15:50 +0900)]
Added dump log for connect fail #2

Change-Id: Ied11589a7fcb26e9d285fd2304c3ae46be257567
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdd a dbus rule for MPTCP 29/182629/1 accepted/tizen/unified/20180628.061157 submit/tizen/20180626.233453
chleun.moon [Tue, 26 Jun 2018 23:30:08 +0000 (08:30 +0900)]
Add a dbus rule for MPTCP

Change-Id: I211eac23a47bfdf2d827fa3359e96c9541b0b8ad
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoFix dbus method return value #2 20/182220/1 accepted/tizen/unified/20180622.122710 submit/tizen/20180622.032935
taesub kim [Thu, 21 Jun 2018 08:46:01 +0000 (17:46 +0900)]
Fix dbus method return value #2

Change-Id: Id2fde617f3160ef03c75ce5ebbf54043f0f94697
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded requires(tcpdump) in spec file 97/181497/1 accepted/tizen/unified/20180615.160540 submit/tizen/20180614.233117
taesub kim [Thu, 14 Jun 2018 08:45:41 +0000 (17:45 +0900)]
Added requires(tcpdump) in spec file

Change-Id: Ica164e3c5c8c19cd12a717382004ae2f035c74f7
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Added dump log for connect fail" into tizen accepted/tizen/unified/20180612.044202 submit/tizen/20180612.012523
taesub kim [Tue, 12 Jun 2018 00:26:53 +0000 (00:26 +0000)]
Merge "Added dump log for connect fail" into tizen

6 years agoMerge "Fix bug in Ip conflict set/get enabled API's" into tizen
taesub kim [Tue, 12 Jun 2018 00:25:28 +0000 (00:25 +0000)]
Merge "Fix bug in Ip conflict set/get enabled API's" into tizen

6 years agoMerge "Added initial code for Gtest" into tizen
taesub kim [Tue, 12 Jun 2018 00:25:13 +0000 (00:25 +0000)]
Merge "Added initial code for Gtest" into tizen

6 years agoMerge "Added support to delete ipv6 route using netlink." into tizen
taesub kim [Mon, 11 Jun 2018 23:57:05 +0000 (23:57 +0000)]
Merge "Added support to delete ipv6 route using netlink." into tizen

6 years agoMerge "Added support to add ipv6 route using netlink." into tizen
taesub kim [Mon, 11 Jun 2018 23:56:43 +0000 (23:56 +0000)]
Merge "Added support to add ipv6 route using netlink." into tizen

6 years agoAdded dump log for connect fail 89/180689/2
taesub kim [Fri, 1 Jun 2018 06:41:04 +0000 (15:41 +0900)]
Added dump log for connect fail

Change-Id: If027e6a5ddfed1ecbcc9d663ecec2fb1711fc7c8
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded initial code for Gtest 26/180226/3
Abhishek Sansanwal [Fri, 25 May 2018 11:45:09 +0000 (17:15 +0530)]
Added initial code for Gtest

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Ie1b8c8f8c9514074186c9941c2f4437269acadf0

6 years agoAdded support to delete ipv6 route using netlink. 41/180241/1
Niraj Kumar Goit [Fri, 25 May 2018 14:59:57 +0000 (20:29 +0530)]
Added support to delete ipv6 route using netlink.

Change-Id: I48ce91cf0adffdd93806529e3e77930727f963ed
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded support to add ipv6 route using netlink. 38/180238/2
Niraj Kumar Goit [Fri, 25 May 2018 14:10:17 +0000 (19:40 +0530)]
Added support to add ipv6 route using netlink.

Change-Id: I65d2b3565d4a5cdab1d091e3c1d4dd8c3259a3b0
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoFix bug in Ip conflict set/get enabled API's 36/180236/1
Abhishek Sansanwal [Fri, 25 May 2018 13:55:11 +0000 (19:25 +0530)]
Fix bug in Ip conflict set/get enabled API's

After each reboot the enabled state was being misreported
if WiFi was not connected to an AP previously.

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Iadcd7c4af5a82c748e97325e04f9520a963d17ed

6 years agoSend Dbus error message to upper layer 25/179825/2
Mayank Haarit [Tue, 22 May 2018 15:06:42 +0000 (20:36 +0530)]
Send Dbus error message to upper layer

This patch is to send error message on failing nl socket calls.

Change-Id: I259f58470efbdbfead0047655f651e150be33422
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoSet netlink scan handle in non-blocking state 16/179816/4
Mayank Haarit [Tue, 22 May 2018 11:59:45 +0000 (17:29 +0530)]
Set netlink scan handle in non-blocking state

This patch is to set nl socket handle in non-blocking
state.

Change-Id: I7bb6b295445d9967a3d9cb725d76e01b7c2a08ca
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoSet the RPS configuration on Wi-Fi activate. 36/179736/2
Mayank Haarit [Mon, 21 May 2018 12:53:36 +0000 (18:23 +0530)]
Set the RPS configuration on Wi-Fi activate.

This patch enable RPS (Received packet steering) and specific CPUs
to process the packet for the receive queues of the wlan0 interface.

Change-Id: Ide73358ac99f49eb2c7254fe1a7026f491e58cfd
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoMerge "ip-conflict: Don't remove already removed timer" into tizen submit/tizen/20180521.002723
taesub kim [Fri, 18 May 2018 04:56:01 +0000 (04:56 +0000)]
Merge "ip-conflict: Don't remove already removed timer" into tizen

6 years agoMerge "Fixed getting values from variant" into tizen
taesub kim [Fri, 18 May 2018 04:55:40 +0000 (04:55 +0000)]
Merge "Fixed getting values from variant" into tizen

6 years agoAdded vsie list of APs in netlink scan results 59/179259/3
Mayank Haarit [Wed, 16 May 2018 15:46:58 +0000 (21:16 +0530)]
Added vsie list of APs in netlink scan results

This patch includes below implementation :
1) Implemented funtionality to send the vsie list of APs in netlink
scan results , Previously It was sending only one vsie in netlink scan results.
2) Modified the logic to extract vsie info from the BSS infromation
elements, Previously It was checking only one of the BSS information elements.

Change-Id: I5b0d222ab1ac9c1e63373da49ea58e35ec40eba1
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
6 years agoip-conflict: Don't remove already removed timer 57/179357/1
Saurav Babu [Thu, 17 May 2018 10:05:06 +0000 (15:35 +0530)]
ip-conflict: Don't remove already removed timer

sd->timer_id is already removed in the callback function, it is not
required to remove this source again

Change-Id: I977d923ce03657d93f28fcf13472321b1b420896
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoFixed getting values from variant 51/179351/1
Saurav Babu [Thu, 17 May 2018 08:23:19 +0000 (13:53 +0530)]
Fixed getting values from variant

Supplicant sends PropertiesChanged for multiple keys and variant of
these keys doesn't always contain string(e.g. For key Bsss variant is ao).
This patch prints variant instead of extracting string from variant

Change-Id: Ifdc6ba7619c66880db60b86bab8a90309252dca3
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoRemove unused net-config DBus interface. 77/179077/1 accepted/tizen/unified/20180518.060603 submit/tizen/20180516.084045 submit/tizen/20180517.074625
Niraj Kumar Goit [Tue, 15 May 2018 13:57:00 +0000 (19:27 +0530)]
Remove unused net-config DBus interface.

Change-Id: I9bd89ecd1990a7e833cdcff6f7a3e71aed068598
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoRemove the log included secure information 04/179004/2 accepted/tizen/unified/20180515.163445 submit/tizen/20180515.082039
Seonah Moon [Tue, 15 May 2018 08:02:07 +0000 (17:02 +0900)]
Remove the log included secure information

Change-Id: Ib324397e244ab537cbc68f7346a5e9dc41cdcccb

6 years agoRemove unused vconf key 92/178792/1 accepted/tizen/unified/20180514.094241 submit/tizen/20180514.053629
Seonah Moon [Mon, 14 May 2018 05:26:54 +0000 (14:26 +0900)]
Remove unused vconf key

Change-Id: I6f39b248db34ecc3d62417f590d2476156b49cd9

6 years agoExclude /usr/bin/net-config.wearable from net-config rpm 22/178522/2 accepted/tizen/unified/20180511.073927 submit/tizen/20180510.091306
chleun.moon [Thu, 10 May 2018 08:34:04 +0000 (17:34 +0900)]
Exclude /usr/bin/net-config.wearable from net-config rpm

Change-Id: I63aee1d6376e06460c1cd9ef16fb647898356d3d
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoChange HAL TC rpm name 47/177447/1 accepted/tizen/unified/20180503.080656 submit/tizen/20180430.044726 submit/tizen/20180502.015243
Jaehyun Kim [Mon, 30 Apr 2018 04:31:17 +0000 (13:31 +0900)]
Change HAL TC rpm name

Change-Id: Ife7a176c08ee9176f9d165bfa126d700f81819e5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoSeparate HAL TC code into a separate package 59/177359/1 accepted/tizen/unified/20180430.072140 submit/tizen/20180427.093512
Jaehyun Kim [Fri, 27 Apr 2018 09:16:15 +0000 (18:16 +0900)]
Separate HAL TC code into a separate package

Change-Id: Ic7d26b839fa950c4c4cfd79d49287a24f34b61e7
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoRevert "Revise driver load routine" 34/176934/2 accepted/tizen/unified/20180426.145751 submit/tizen/20180425.083528 submit/tizen/20180426.014409
Seonah Moon [Tue, 24 Apr 2018 08:21:51 +0000 (17:21 +0900)]
Revert "Revise driver load routine"

Change-Id: I81661b82876b139b2f82be0588091fc212ce0285

6 years agoFix memory leak in __netconfig_netlink_scan_cb 69/175269/1 accepted/tizen/unified/20180413.073636 submit/tizen/20180413.011058
Taesoo Jun [Tue, 10 Apr 2018 04:00:29 +0000 (13:00 +0900)]
Fix memory leak in __netconfig_netlink_scan_cb

Change-Id: Ie136f4b3e39f6fdbe24b74f8d000b7d149f28e74

6 years agoFix memory leak in __netconfig_request_netlink_scan() 67/175267/1
Taesoo Jun [Tue, 10 Apr 2018 02:49:57 +0000 (11:49 +0900)]
Fix memory leak in __netconfig_request_netlink_scan()

Change-Id: I175131016b300e3ad9ffd9fce67c98b1c63d0ae3

6 years agoFixed some coverity 74/174574/1 accepted/tizen/unified/20180406.144316 submit/tizen/20180406.023145
hyunuktak [Tue, 3 Apr 2018 05:25:40 +0000 (14:25 +0900)]
Fixed some coverity

CID : 113930, 108826, 107165, 107210, 105204

Change-Id: Ic36d775ea1e782571a3b35062479593b9a754a2c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoMerge "Fix a coverity for identical code" into tizen accepted/tizen/unified/20180403.060105 submit/tizen/20180329.102914
Jaehyun Kim [Thu, 29 Mar 2018 10:25:03 +0000 (10:25 +0000)]
Merge "Fix a coverity for identical code" into tizen

6 years agoFix coverity issuses. 42/174042/3
Niraj Kumar Goit [Tue, 27 Mar 2018 13:41:40 +0000 (19:11 +0530)]
Fix coverity issuses.

CID: 105915, 107014, 107561, 110117

Change-Id: Iad5807e3a5587a80614df1aeb4f9ced0ce8bd267
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoFix a coverity for identical code 02/174102/1
hyunuktak [Wed, 28 Mar 2018 05:46:30 +0000 (14:46 +0900)]
Fix a coverity for identical code

Change-Id: I8f7f2b3d470b51563cdc09d1c3d062f106279926
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoMerge "Fixed some svaces for strerror" into tizen submit/tizen/20180327.123653
Jaehyun Kim [Tue, 27 Mar 2018 07:54:22 +0000 (07:54 +0000)]
Merge "Fixed some svaces for strerror" into tizen

6 years agoFixed some svaces for strerror 69/173769/1
hyunuktak [Mon, 26 Mar 2018 01:24:11 +0000 (10:24 +0900)]
Fixed some svaces for strerror

Change-Id: I3c7e629f375867d1a25654f2e2a2d4f7cf58ce81
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoAdd HAL TC code for wifi, wifi-direct and softap 75/172875/3
Jaehyun Kim [Fri, 16 Mar 2018 11:26:12 +0000 (20:26 +0900)]
Add HAL TC code for wifi, wifi-direct and softap

Change-Id: I26973926e41a28ab4a803f21379546437d1dd2c9
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoMerge "Modify the netlink scan results." into tizen accepted/tizen/unified/20180322.145028 submit/tizen/20180322.015431
taesub kim [Thu, 22 Mar 2018 01:36:26 +0000 (01:36 +0000)]
Merge "Modify the netlink scan results." into tizen

6 years agoMerge "Fix parsing of the AP name if the character is korean language." into tizen
taesub kim [Thu, 22 Mar 2018 01:36:11 +0000 (01:36 +0000)]
Merge "Fix parsing of the AP name if the character is korean language." into tizen

6 years agoMerge "Parse the security and encryption mode in the netlink scan results." into...
taesub kim [Thu, 22 Mar 2018 01:35:54 +0000 (01:35 +0000)]
Merge "Parse the security and encryption mode in the netlink scan results." into tizen

6 years agoAdd login support for captive/wispr portal 02/171302/7 accepted/tizen/unified/20180320.141401 submit/tizen/20180320.043504
Milind Murhekar [Wed, 28 Feb 2018 11:41:26 +0000 (17:11 +0530)]
Add login support for captive/wispr portal

Description: This patch sets the captive/wispr portal
login credentials via connman-agent.

Change-Id: I518099ba6b86c6d0d3c2e539a10d44fd1b071d09
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years agoModify the netlink scan results. 18/172918/1
Niraj Kumar Goit [Sat, 17 Mar 2018 10:25:03 +0000 (15:55 +0530)]
Modify the netlink scan results.

Remove the duplicate SSIDs (same security type) and the EAP security type in
netlink scan results.

Change-Id: Ib6d359b652c144480f7abc4d812f8a3658425e85
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoFix parsing of the AP name if the character is korean language. 69/172869/1
Niraj Kumar Goit [Fri, 16 Mar 2018 10:26:51 +0000 (15:56 +0530)]
Fix parsing of the AP name if the character is korean language.

Change-Id: I67e365cb7a500ba7919611d8e48ba27d9add2549
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoParse the security and encryption mode in the netlink scan results. 68/172868/1
Niraj Kumar Goit [Fri, 16 Mar 2018 09:55:41 +0000 (15:25 +0530)]
Parse the security and encryption mode in the netlink scan results.

Change-Id: I3f16f5a09f6e1e05fbdf8ac024e66cd27fde5f45
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoFixed some coverity 68/172768/1 submit/tizen/20180318.231541 submit/tizen/20180318.231610
hyunuktak [Fri, 16 Mar 2018 01:07:04 +0000 (10:07 +0900)]
Fixed some coverity

Resource leak
Uninitialized scalar variable
Memset fill value of '0'
Buffer not null terminated
Various

Change-Id: I265d50163bb56ada269cf7206b9d0bad333b57f6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoMerge "Fix dbus method return value" into tizen
taesub kim [Wed, 14 Mar 2018 23:56:23 +0000 (23:56 +0000)]
Merge "Fix dbus method return value" into tizen

6 years agoFix dbus method return value 22/172422/3
taesub kim [Wed, 14 Mar 2018 02:12:28 +0000 (11:12 +0900)]
Fix dbus method return value

Change-Id: I43ca38d158f648ebbd02398eee414d9fa13754e5
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agomodified logs to add agent fields settings 41/171541/2
Milind Murhekar [Mon, 5 Mar 2018 11:40:30 +0000 (17:10 +0530)]
modified logs to add agent fields settings

Change-Id: I086f47dc18d2c7d7eb42b9986b67435a137078b5
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years agoFixed a svace for unreachable code 88/171288/1 accepted/tizen/unified/20180305.062858 submit/tizen/20180302.043216
hyunuktak [Wed, 28 Feb 2018 08:07:42 +0000 (17:07 +0900)]
Fixed a svace for unreachable code

Change-Id: Ia883846cadc22b677bd2efa0cd3a959afb3e3986
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoRemove logic of scan timer in netlink-scan method. 05/171205/1 accepted/tizen/unified/20180302.061528 submit/tizen/20180228.035728
Niraj Kumar Goit [Tue, 27 Feb 2018 11:53:17 +0000 (17:23 +0530)]
Remove logic of scan timer in netlink-scan method.

Change-Id: I01c3d9a0538c20c0518bfd74532e21d994fd2c82
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdd Multipath TCP 78/169178/6
chleun.moon [Mon, 5 Feb 2018 02:07:54 +0000 (11:07 +0900)]
Add Multipath TCP

Change-Id: I6a8efc9ce14081d89328b19fda0cca8e7e9738c1
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agomodified dbus policy for DPM 53/167753/2 accepted/tizen/unified/20180123.061204 submit/tizen/20180122.003336
taesub kim [Sun, 21 Jan 2018 23:44:51 +0000 (08:44 +0900)]
modified dbus policy for DPM

Change-Id: I65fdf1afc2ccec3ee9949937034c938f36ad2cde
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFixed build issue 51/167751/1 accepted/tizen/unified/20180123.061117 submit/tizen/20180121.225846
taesub kim [Sun, 21 Jan 2018 22:57:06 +0000 (07:57 +0900)]
Fixed build issue

Change-Id: I541e33546bf1bfd01222a48c6b00bae0b4b793d4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agospec: change uid,gid and permission of /usr/lib/tmpfiles.d/security-network-config... 49/167349/3 submit/tizen/20180119.040348
INSUN PYO [Wed, 17 Jan 2018 07:11:25 +0000 (16:11 +0900)]
spec: change uid,gid and permission of /usr/lib/tmpfiles.d/security-network-config.conf

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ie2b636ae02e3a1fa962886446d591b5822ada913

6 years agodbus: add dbus policy regarding of security_fw 62/166862/1 accepted/tizen/unified/20180115.074435 submit/tizen/20180112.072236
Seonah Moon [Fri, 12 Jan 2018 07:03:05 +0000 (16:03 +0900)]
dbus: add dbus policy regarding of security_fw

Change-Id: I380d758b7aeadfcf891bd5df0ec641a852de8cdf

6 years agoMerge "Added requires in spec file" into tizen accepted/tizen/unified/20180112.073219 submit/tizen/20180112.015821
taesub kim [Fri, 12 Jan 2018 01:57:04 +0000 (01:57 +0000)]
Merge "Added requires in spec file" into tizen

6 years agoAdded requires in spec file 78/166778/1
taesub kim [Fri, 12 Jan 2018 01:25:33 +0000 (10:25 +0900)]
Added requires in spec file

Change-Id: I49848bba5d352bfad619cbd9ef3cbcfa3a85d281
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoRemove unused config in spec file 92/166092/1
taesub kim [Sun, 7 Jan 2018 23:25:17 +0000 (08:25 +0900)]
Remove unused config in spec file

Change-Id: I9520ef4d9eb0cf461423fb1acfe7beb3197c8927
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoCreate new rpm for wearable profile 43/165543/2 accepted/tizen/unified/20180103.151858 submit/tizen/20180102.074639
Seonah Moon [Tue, 2 Jan 2018 04:14:36 +0000 (13:14 +0900)]
Create new rpm for wearable profile

Change-Id: Id5fa0b44e995a9ab799dfd3d132b07cd3d8dbee5

6 years agoRemove model_build_feature_wlan_concurrent_mode 22/165522/2
Jiung [Tue, 2 Jan 2018 01:38:15 +0000 (10:38 +0900)]
Remove model_build_feature_wlan_concurrent_mode

Change-Id: Ied172b6808b209ef1b46716bc523a5100742ce73

6 years agoFix logic to check features 81/165481/3
Seonah Moon [Fri, 29 Dec 2017 07:38:01 +0000 (16:38 +0900)]
Fix logic to check features

Change-Id: Ib2c679b020983f2f990046984006e8fa35aee5da
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoAdded logs for change properties 12/165312/5 accepted/tizen/unified/20180103.070154 submit/tizen/20180102.005852
taesub kim [Thu, 28 Dec 2017 06:25:45 +0000 (15:25 +0900)]
Added logs for change properties

Change-Id: If93d206ef0acc48650bdeb984a9f6432c4354aba
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Refactored "NetlinkScan" DBus method." into tizen accepted/tizen/unified/20171227.062310 submit/tizen/20171226.232826
taesub kim [Tue, 26 Dec 2017 23:03:58 +0000 (23:03 +0000)]
Merge "Refactored "NetlinkScan" DBus method." into tizen

6 years agoMerge "Add feature check code to remove the build macro" into tizen
taesub kim [Fri, 22 Dec 2017 05:58:03 +0000 (05:58 +0000)]
Merge "Add feature check code to remove the build macro" into tizen

6 years agoRefactored "NetlinkScan" DBus method. 51/164951/3
Niraj Kumar Goit [Fri, 22 Dec 2017 03:58:40 +0000 (09:28 +0530)]
Refactored "NetlinkScan" DBus method.

- Refactored "NetlinkScan" DBus method to perform both normal
and specific AP scan.
- Added vendor specific information in probe request.

Change-Id: I65293873467e05d12f91aaf3a9cb96df85c29ff6
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agonet-config: Unpack passpoint data from supplicant correctly 88/164788/1
Saurav Babu [Thu, 21 Dec 2017 05:09:35 +0000 (10:39 +0530)]
net-config: Unpack passpoint data from supplicant correctly

Change-Id: I4560088355fe25c10b2db7c23b0314f3f1377287
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoAdd feature check code to remove the build macro 75/164375/3
Seonah Moon [Tue, 19 Dec 2017 02:00:50 +0000 (11:00 +0900)]
Add feature check code to remove the build macro

Change-Id: Ief06e3449b330e31191291044078b588b55fe098

6 years agoAdded Dbus method for netlink specific AP scan. 99/163999/3 accepted/tizen/unified/20171219.072637 submit/tizen/20171218.085650
Niraj Kumar Goit [Thu, 14 Dec 2017 12:08:44 +0000 (17:38 +0530)]
Added Dbus method for netlink specific AP scan.

Change-Id: I632ee77d9d1f6ac0d0b47c1e75c2fc24d9141062
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agonet-config: Notify network configuration changes using dbus signal 74/163774/4
Saurav Babu [Wed, 13 Dec 2017 09:45:09 +0000 (15:15 +0530)]
net-config: Notify network configuration changes using dbus signal

This patch notifies network configuration changes like Connection Type,
IPv4 Address, IPv6 Address and Proxy Address using dbus signal

Change-Id: Icb10274d6306637770e847e575f4ea9644e2f9ab
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoAdd WiFi passphrase encryption routine 25/162025/3 accepted/tizen/unified/20171213.153205 submit/tizen/20171212.235218
Jaehyun Kim [Wed, 6 Dec 2017 11:52:04 +0000 (20:52 +0900)]
Add WiFi passphrase encryption routine

Change-Id: I40c60b60fe9bfdca68bb78685cc5f57dd4c9f64c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdded APIs get the tcp dump and network state 81/157281/12 accepted/tizen/unified/20171206.063059 submit/tizen/20171205.053202
taesub kim [Tue, 24 Oct 2017 05:02:08 +0000 (14:02 +0900)]
Added APIs get the tcp dump and network state

Change-Id: Ife799113a9a77e3b18e777475347943ffa902c9e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>