platform/core/connectivity/net-config.git
5 years agoFix resource leak for 108826 69/197569/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20190114.234300 submit/tizen_4.0/20190114.122723
hyunuktak [Mon, 14 Jan 2019 07:15:00 +0000 (16:15 +0900)]
Fix resource leak for 108826

Change-Id: I75e448b3625449a9df462a38b3f56c0deab1c10d
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoFixed coverity issues 36/196736/12 accepted/tizen/4.0/unified/20190104.230826 submit/tizen_4.0/20190104.100529
hyunuktak [Fri, 4 Jan 2019 04:13:44 +0000 (13:13 +0900)]
Fixed coverity issues

Change-Id: I8a02791d62c217c64e1e52a34c5ea3b5f61cd450
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoDon't free dbus method invocation twice 17/189717/1 accepted/tizen/4.0/unified/20181001.035856 submit/tizen_4.0/20180920.122016
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>
5 years agoFixed memory leaks 16/189716/1
Saurav Babu [Thu, 20 Sep 2018 04:37:07 +0000 (10:07 +0530)]
Fixed memory leaks

g_variant_builder_new() allocates memory and should be freed using
g_variant_builder_unref().

Change-Id: I2758acb39a323f1f0c8bf1c03bcd6c3eced5b3e6
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
5 years agoFixed incorrect comparision and memory leaks 15/189715/1
Saurav Babu [Tue, 18 Sep 2018 11:14:04 +0000 (16:44 +0530)]
Fixed incorrect comparision and memory leaks

This patch fixes incorrect comparion for GVariantType and also fixes
memory leak reported by valgrind
==9934== 20 bytes in 2 blocks are definitely lost in loss record 1,388 of 2,620
==9934==    at 0x48458A4: malloc (vg_replace_malloc.c:299)
==9934==    by 0x4AB21B3: g_malloc (in /usr/lib/libglib-2.0.so.0.5200.2)
==9934==    by 0x4ACCF03: g_strdup (in /usr/lib/libglib-2.0.so.0.5200.2)
==9934==    by 0x123CEB: __netconfig_get_default_connection_info (network-state.c:409)
==9934==    by 0x124933: netconfig_update_default_profile (network-state.c:1210)
==9934==    by 0x1290AD: _service_signal_cb (signal-handler.c:358)
==9934==    by 0x4957997: ??? (in /usr/lib/libgio-2.0.so.0.5200.2)
==9934==    by 0x4AAC8E7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5200.2)
==9934==    by 0x4AACC77: ??? (in /usr/lib/libglib-2.0.so.0.5200.2)
==9934==    by 0x4AACFD7: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5200.2)
==9934==    by 0x10F649: main (main.c:152)

Change-Id: I4e9791440ce4bc28968add19816d9e664cea9e62
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
5 years agoFixed memory leak 14/189714/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 agomodified dbus policy for DPM 54/167754/1 accepted/tizen/4.0/unified/20180122.053730 submit/tizen_4.0/20180122.003306
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 agodbus: add dbus policy regarding of security_fw 59/166859/1 accepted/tizen/4.0/unified/20180115.073343 submit/tizen_4.0/20180112.072319 tizen_4.0.IoT.p2_release
Seonah Moon [Fri, 12 Jan 2018 07:03:05 +0000 (16:03 +0900)]
dbus: add dbus policy regarding of security_fw

Change-Id: Ibd374ba16047c188777fe0081f7152d90c2580c5

6 years agoAdded requires in spec file 79/166779/1 accepted/tizen/4.0/unified/20180112.161636 submit/tizen_4.0/20180112.015938
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 agoMerge "Added cap_dac_override capability" into tizen_4.0 accepted/tizen/4.0/unified/20171130.063704 submit/tizen_4.0/20171130.012230
taesub kim [Thu, 30 Nov 2017 01:20:58 +0000 (01:20 +0000)]
Merge "Added cap_dac_override capability" into tizen_4.0

6 years agoadd new dbus method for preferred Ipv6 address 38/162238/1
Seonah Moon [Tue, 7 Nov 2017 09:40:27 +0000 (18:40 +0900)]
add new dbus method for preferred Ipv6 address

Change-Id: I95b3ee6fa3d6b462b6ca64fcd1ba872d8e9bb356

6 years agoAdded cap_dac_override capability 33/162233/1
taesub kim [Wed, 29 Nov 2017 23:35:43 +0000 (08:35 +0900)]
Added cap_dac_override capability

Change-Id: Ifaf684f34088cc78532bee43117594d06801f972
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdd the privilege for VSIE API 42/161242/1 accepted/tizen/4.0/unified/20171127.083323 submit/tizen_4.0/20171127.021205
Seonah Moon [Wed, 22 Nov 2017 07:53:49 +0000 (16:53 +0900)]
Add the privilege for VSIE API

Change-Id: Ie8c21e0bdea422d62ed55da4a94c68e9fd0fd88d

6 years agoAdded security-config requires 07/160207/1 accepted/tizen/4.0/unified/20171115.173926 submit/tizen_4.0/20171115.015239
taesub kim [Wed, 15 Nov 2017 01:06:50 +0000 (10:06 +0900)]
Added security-config requires

Change-Id: If9b3d9fc5d99716b9f61b3272a74387766d04dd7
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFixed wifi activation failure 58/158058/3 accepted/tizen/4.0/unified/20171106.074035 submit/tizen_4.0/20171103.014414
Jaehyun Kim [Fri, 27 Oct 2017 11:32:29 +0000 (20:32 +0900)]
Fixed wifi activation failure

Sometimes wifi is detected late after the wifi driver is loaded.
So check the technology state before power on request.

Change-Id: I108eb4099e7de454c260e7f47680534af4a7f0c3
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoChange the file path for wifi cert storage 27/155027/1 accepted/tizen/4.0/unified/20171012.230219 submit/tizen_4.0/20171012.045330 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
taesub kim [Wed, 11 Oct 2017 09:35:02 +0000 (18:35 +0900)]
Change the file path for wifi cert storage

Change-Id: If03abe03d2ccb921c6500fbfefcc9bcae7adf042
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoAdded a missing dbus rule to the config file. 88/152888/2 accepted/tizen/4.0/unified/20170929.080637 submit/tizen_4.0/20170927.111035 submit/tizen_4.0/20170928.232552
Jaehyun Kim [Wed, 27 Sep 2017 09:46:22 +0000 (18:46 +0900)]
Added a missing dbus rule to the config file.

Change-Id: I89fe38343764806b282fbfc81d93b5aafc6df367
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoModified NTP to work with NITZ 90/152090/1 accepted/tizen/4.0/unified/20170927.055200 submit/tizen_4.0/20170926.020817
Jaehyun Kim [Fri, 22 Sep 2017 11:42:54 +0000 (20:42 +0900)]
Modified NTP to work with NITZ

Change-Id: Ibebfe509646fa0c90ae38b39c2aa25aa0273ade8
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years ago[Fix] NULL_AFTER_DEREF 05/150105/1 accepted/tizen/4.0/unified/20170920.081556 submit/tizen_4.0/20170918.114848
Taesoo Jun [Thu, 14 Sep 2017 08:50:56 +0000 (17:50 +0900)]
[Fix] NULL_AFTER_DEREF

Change-Id: Ifb34cf54b4293f34799ccf0d10f3f3fa3c16e0bc

6 years agoAdd support for metered network 60/149560/1 accepted/tizen/4.0/unified/20170914.175613 submit/tizen_4.0/20170913.025326
Jaehyun Kim [Fri, 8 Sep 2017 07:43:53 +0000 (16:43 +0900)]
Add support for metered network

Change-Id: Idc0a95c94ac6efe9119d13a54243a1a15e9c94ed
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdd API to flush BSS 62/148962/1 accepted/tizen/4.0/unified/20170913.003044 submit/tizen_4.0/20170911.130433
taesub kim [Mon, 11 Sep 2017 04:33:23 +0000 (13:33 +0900)]
Add API to flush BSS

Change-Id: I9153f1f28ee0e7a28c7f96a0472bdb03ab2f3a5f
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Fixed a svace issue for 254917" into tizen_4.0
taesub kim [Mon, 11 Sep 2017 08:19:37 +0000 (08:19 +0000)]
Merge "Fixed a svace issue for 254917" into tizen_4.0

6 years agoFixed a svace issue for 254917 55/148855/1
hyunuktak [Mon, 11 Sep 2017 04:31:30 +0000 (13:31 +0900)]
Fixed a svace issue for 254917

Change-Id: Ic842befea16e579c773da7b8dfd249c28528b2a1
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFix coding rules 38/148838/1
chleun.moon [Mon, 11 Sep 2017 04:43:20 +0000 (13:43 +0900)]
Fix coding rules

Change-Id: I058b65eb8428fd3fa25560e53a14db24b38fb9b7
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoRemove unmatched quotes 32/148532/1 accepted/tizen/4.0/unified/20170911.154411 submit/tizen_4.0/20170908.054906
chleun.moon [Fri, 8 Sep 2017 05:41:47 +0000 (14:41 +0900)]
Remove unmatched quotes

Change-Id: If3581cb3050acbff071f2c6c6c8cb0f9f9b8f3f7
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoRemove not supported update script 91/147991/1 accepted/tizen/4.0/unified/20170907.194541 submit/tizen_4.0/20170906.092254
Sunmin Lee [Wed, 6 Sep 2017 07:25:22 +0000 (16:25 +0900)]
Remove not supported update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
(Tizen 4.0 does not support upgrade from Tizen 2.4)
Remove this file in terms of clearing the redundancy.

Change-Id: I35b4c07d313bdaa21d777f77b196e5715adf59d6

6 years agoAdded GetBssidList dbus call for wifi-manager to get BSSID list 01/147801/1 accepted/tizen/4.0/unified/20170907.193538 submit/tizen_4.0/20170906.010245
Abhishek Sansanwal [Tue, 5 Sep 2017 06:30:29 +0000 (12:00 +0530)]
Added GetBssidList dbus call for wifi-manager to get BSSID list

Change-Id: I718519266ef973deba4b3a2947eda10d36c009cb
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
6 years agoCode refactored to replace WPS with BSSID scan 00/147800/1
Abhishek Sansanwal [Mon, 4 Sep 2017 05:29:54 +0000 (10:59 +0530)]
Code refactored to replace WPS with BSSID scan

Change-Id: I64e5ddda12e5f3f17c19d61f458a7a8331f8d78f
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
6 years agoChange file owner and group 67/147667/1
chleun.moon [Tue, 5 Sep 2017 04:33:11 +0000 (13:33 +0900)]
Change file owner and group

Change-Id: I4b09c0f0777b48807449306f31810a3398dabecd
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years agoModified log for service and technology state 06/147006/1 accepted/tizen/4.0/unified/20170901.202629 submit/tizen_4.0/20170831.131058
taesub kim [Tue, 29 Aug 2017 00:07:39 +0000 (09:07 +0900)]
Modified log for service and technology state

Change-Id: I8b7d391c79463f53bff86cc75f53b5a6ee926a71
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agodbus: modify dbus policy configuration 05/147005/1
taesub kim [Fri, 25 Aug 2017 06:28:27 +0000 (15:28 +0900)]
dbus: modify dbus policy configuration

Change-Id: I2fbba0da42a41269b63e418a3c20b9cce761e8a1
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoChange the group of the pwr_ctrl file to 'network_fw' 12/145412/1 accepted/tizen/4.0/unified/20170828.223301 accepted/tizen/unified/20170823.170001 submit/tizen/20170822.081836 submit/tizen_4.0/20170828.100003
Seonah Moon [Tue, 22 Aug 2017 08:07:00 +0000 (17:07 +0900)]
Change the group of the pwr_ctrl file to 'network_fw'

Change-Id: Ice1a9594877c179c500f351d695e1b4c8fca5ad0
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoAdded dbus error register for dbus error invocation 20/143320/6 accepted/tizen/unified/20170811.133328 submit/tizen/20170811.041528
taesub kim [Wed, 9 Aug 2017 08:51:37 +0000 (17:51 +0900)]
Added dbus error register for dbus error invocation

E/WIFI_MANAGER( 1241): network_interface.c: net_config_get_id_list(2780) > Failed to get config id list. Error [NET_ERR_UNKNOWN]
E/WIFI_MANAGER( 1241): wifi_internal.c: _wifi_load_configurations(2144) > Fail to load configurations [-30277631]
E/WIFI_MANAGER( 1241): wifi_config.c: wifi_manager_config_foreach_configuration(236) > Fail to load configurations [-3027763

Change-Id: Idd0658b61fcbda631a287ee77bee4094dd8fd3db
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoRemoved a mac.info file path for check mac address 12/142812/1 accepted/tizen/unified/20170810.171846 submit/tizen/20170808.043745 submit/tizen/20170809.075802
taesub kim [Mon, 7 Aug 2017 08:35:59 +0000 (17:35 +0900)]
Removed a mac.info file path for check mac address

Change-Id: Ifc1116145cd0f0803954135c8f161e6f2a44547f
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years ago[WGID-159165] Fixed unreachable code 72/141872/3 submit/tizen/20170803.074947
chleun.moon [Wed, 2 Aug 2017 01:20:33 +0000 (10:20 +0900)]
[WGID-159165] Fixed unreachable code

Change-Id: I2f2f0d7cd5ed54860a49438eb24a3e22690c7f11
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years agoMerge "[net-config]Added Dbus methods to Add, Get and Remove VSIE." into tizen
taesub kim [Tue, 1 Aug 2017 00:56:05 +0000 (00:56 +0000)]
Merge "[net-config]Added Dbus methods to Add, Get and Remove VSIE." into tizen

6 years agoMerge "Fix SVACE issues,(WGID: 2654,2649,2655,2650)" into tizen
taesub kim [Tue, 1 Aug 2017 00:55:49 +0000 (00:55 +0000)]
Merge "Fix SVACE issues,(WGID: 2654,2649,2655,2650)" into tizen

6 years agoMerge changes Ib324dffb,Id4e05e6e into tizen
taesub kim [Tue, 1 Aug 2017 00:55:21 +0000 (00:55 +0000)]
Merge changes Ib324dffb,Id4e05e6e into tizen

* changes:
  Avoid possible memory leak
  Remove dead code and Fix memory leak

6 years ago[net-config]Added Dbus methods to Add, Get and Remove VSIE. 07/140607/4
Niraj Kumar Goit [Tue, 25 Jul 2017 13:32:31 +0000 (19:02 +0530)]
[net-config]Added Dbus methods to Add, Get and Remove VSIE.

Change-Id: I90958c730daa33238f9837f5d346a3cbeff73116
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAvoid possible memory leak 43/140043/2
Milind Ramesh Murhekar [Fri, 21 Jul 2017 12:00:26 +0000 (17:30 +0530)]
Avoid possible memory leak

Decription: This patch avoids memory allocation
when dealing with g_variant_get() and g_variant_iter_loop().

Change-Id: Ib324dffb7e03ac0d17f2e87951c69352ea5bbb90
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
6 years agoFix SVACE issues,(WGID: 2654,2649,2655,2650) 81/140781/2
Niraj Kumar Goit [Wed, 26 Jul 2017 09:00:25 +0000 (14:30 +0530)]
Fix SVACE issues,(WGID: 2654,2649,2655,2650)

Change-Id: I4fd91bfb764c1520dd3fed94ad7aaaf9cc4f82be
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoRemove useless code(wifi direct CAPIs) 07/140307/1 submit/tizen/20170731.020924
Jaehyun Kim [Mon, 24 Jul 2017 11:06:33 +0000 (20:06 +0900)]
Remove useless code(wifi direct CAPIs)

In Tizen 4.0, concurrent mode is always supported when wifi direct is enabled.

Change-Id: I8b1bf4658f17cbb7ec43fa53705be3de3a127b5f

6 years agoRemove Telephony Dependency for IoT_Core/Headless devices 22/140022/4
Jaehyun Kim [Mon, 24 Jul 2017 09:26:11 +0000 (18:26 +0900)]
Remove Telephony Dependency for IoT_Core/Headless devices

I created a sub-package and moved all the Telephony-related parts.

Change-Id: I8810b06f2fa5ca286114fed5a015dd7bef4f96a7

6 years agoMerge "Migrate root daemon to non root" into tizen accepted/tizen/4.0/unified/20170816.010931 accepted/tizen/4.0/unified/20170816.015142 accepted/tizen/unified/20170728.195055 submit/tizen/20170724.063335 submit/tizen/20170725.071752 submit/tizen/20170726.002354 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
taesub kim [Mon, 24 Jul 2017 06:47:45 +0000 (06:47 +0000)]
Merge "Migrate root daemon to non root" into tizen

6 years agoRemove dead code and Fix memory leak 01/139801/3
Milind Ramesh Murhekar [Thu, 20 Jul 2017 11:14:16 +0000 (16:44 +0530)]
Remove dead code and Fix memory leak

Decription: g_free(ifname) will not be executed
as ifname pointer will always be NULL before memory
assignment.

Change-Id: Id4e05e6ec2790b97c595cb14547f3d3ec44ec351
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
6 years agoMigrate root daemon to non root 29/135429/8
taesub kim [Thu, 22 Jun 2017 08:48:25 +0000 (17:48 +0900)]
Migrate root daemon to non root

rebase - https://review.tizen.org/gerrit/#/c/139065/

Change-Id: I1506bd31c8ed8d737612bb560094ddce559b4491
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "Set net-config scanning to FALSE when Scanning property of supplicant changes... accepted/tizen/unified/20170724.020301 submit/tizen/20170717.234028 submit/tizen/20170721.063342 submit/tizen/20170721.063811
taesub kim [Mon, 17 Jul 2017 23:35:41 +0000 (23:35 +0000)]
Merge "Set net-config scanning to FALSE when Scanning property of supplicant changes to FALSE" into tizen

6 years agoReplaced strncpy() with g_strlcpy() in wifi-power.c 65/139065/1
Jaehyun Kim [Mon, 17 Jul 2017 06:38:44 +0000 (15:38 +0900)]
Replaced strncpy() with g_strlcpy() in wifi-power.c

strncpy doesn’t set zero byte implicitly.
Therefore it is wrong to assume that strlen returns correct length if mac_addr larger than rand_addr.

Change-Id: I8fe4c3e44356e7dfbe311e55604447417d21289c

6 years agoSet net-config scanning to FALSE when Scanning property of supplicant changes to... 16/138516/2
taesub kim [Wed, 12 Jul 2017 10:37:24 +0000 (19:37 +0900)]
Set net-config scanning to FALSE when Scanning property of supplicant changes to FALSE

Change-Id: I878b764b46c1aaa43c2e6e6b5af58c4247dabb08
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoReplace WPS scan to BSSID scan keywords. 08/137008/3 accepted/tizen/unified/20170710.154655 submit/tizen/20170710.074033
Milind Ramesh Murhekar [Tue, 4 Jul 2017 05:42:12 +0000 (11:12 +0530)]
Replace WPS scan to BSSID scan keywords.

Descritpion: This patch replaces the WPS scan
to BSSID scan to avoid confusion between
WPS (Wi-Fi Protected Setup) features.

Change-Id: I08080556383807782cd4d7c263c3c681d2f5e486
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
6 years agoAppend raw ssid to specific AP scan 41/136341/1 accepted/tizen/unified/20170707.154555 submit/tizen/20170706.230808
Milind Ramesh Murhekar [Thu, 29 Jun 2017 07:07:16 +0000 (12:37 +0530)]
Append raw ssid to specific AP scan

Decription: This patch appends the raw ssid
in bytes to specific AP scan.

Change-Id: I32a1bf81de5ea23f347cceae4eb1fee4669ec372
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
6 years agoMerge "Modified way of update rssi value" into tizen accepted/tizen/unified/20170703.064321 submit/tizen/20170620.103311 submit/tizen/20170703.005838
taesub kim [Mon, 19 Jun 2017 05:45:01 +0000 (05:45 +0000)]
Merge "Modified way of update rssi value" into tizen

6 years agoModified way of update rssi value 16/131316/2
taesub kim [Fri, 26 May 2017 08:29:03 +0000 (17:29 +0900)]
Modified way of update rssi value

Change-Id: I8b06ff9d4fc35a43685f7f75d3c9245d3ccca0eb
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoApply chsmack for /opt/etc/resolv.conf in upgrade script 14/133914/5 accepted/tizen/unified/20170630.083007 submit/tizen/20170615.020210
chleun.moon [Wed, 14 Jun 2017 04:17:52 +0000 (13:17 +0900)]
Apply chsmack for /opt/etc/resolv.conf in upgrade script

Change-Id: Idcc2cda1089ea52b4fe6815d0a456df551d55313
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years ago[tdls]:Added handling to support more than one app 75/131475/2 accepted/tizen/unified/20170602.154233 submit/tizen/20170601.042236
Maneesh Jain [Mon, 29 May 2017 09:57:27 +0000 (15:27 +0530)]
[tdls]:Added handling to support more than one app

Description: This patch uses to add the handing while more
than one application will try to call the TDLS Discovery function.

Change-Id: Ie775d6bcef1b8f695be484de1145ddf449719a1f
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
6 years ago[tdls]: Block TDLS "PeerFound" event after timer expired 42/131442/2
Maneesh Jain [Mon, 29 May 2017 08:35:48 +0000 (14:05 +0530)]
[tdls]: Block TDLS "PeerFound" event after timer expired

Change-Id: Ia6d49f1b370f4c130149405d96d2faca29732a9a
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
6 years agonet-config: Fix WPS sync-up issue with wpa_supplicant 77/129477/1 accepted/tizen/unified/20170519.200206 submit/tizen/20170519.072940 tizen_4.0.m1_release
Saurav Babu [Tue, 16 May 2017 12:46:11 +0000 (18:16 +0530)]
net-config: Fix WPS sync-up issue with wpa_supplicant

Change-Id: Ia717da21de1ae1d276183e7c708ab3b8d0f87259
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoMerge "[TDLSChannelSwitch method call] Use "Frequency" as uint32" into tizen accepted/tizen/unified/20170510.013001 submit/tizen/20170508.081935
taesub kim [Mon, 8 May 2017 08:09:57 +0000 (08:09 +0000)]
Merge "[TDLSChannelSwitch method call] Use "Frequency" as uint32" into tizen

6 years agoFix svace issue (WGID-212341) 45/128045/1 accepted/tizen/unified/20170504.114205 submit/tizen/20170504.080025
chleun.moon [Thu, 4 May 2017 07:55:11 +0000 (16:55 +0900)]
Fix svace issue (WGID-212341)

Change-Id: Id693e2c4ec8be78684ec0b414be2dc4c66953979
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years ago[TDLSChannelSwitch method call] Use "Frequency" as uint32 53/127853/1
Nishant Chaprana [Tue, 2 May 2017 04:49:40 +0000 (10:19 +0530)]
[TDLSChannelSwitch method call] Use "Frequency" as uint32

Change-Id: I0c8d66a99541dbdfa418b393b1ab6f8e6c785986
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years ago[WGID-200330] Replaced popen() with execv() 64/126364/1 accepted/tizen/unified/20170421.115034 submit/tizen/20170421.072430
Seonah Moon [Fri, 21 Apr 2017 06:28:57 +0000 (15:28 +0900)]
[WGID-200330] Replaced popen() with execv()

Change-Id: I98844b0e445413d907f2f49703540c595fb9db2d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoMerge "[WGID-200328, 200330, 200606] Fixed some codes for secure coding" into tizen
taesub kim [Fri, 21 Apr 2017 05:31:38 +0000 (22:31 -0700)]
Merge "[WGID-200328, 200330, 200606] Fixed some codes for secure coding" into tizen

6 years ago[WGID-200328, 200330, 200606] Fixed some codes for secure coding 88/125688/5
Seonah Moon [Tue, 18 Apr 2017 11:11:52 +0000 (20:11 +0900)]
[WGID-200328, 200330, 200606] Fixed some codes for secure coding

- Replaced sscanf() with strtol()
- Replaced popen() with execv()

Change-Id: I522835540c7834e8528bead0ab50c042b2eba1ee
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoTDLS: Implement the Channel Switch support in net-config 52/125952/3
Maneesh Jain [Wed, 19 Apr 2017 11:01:06 +0000 (16:31 +0530)]
TDLS: Implement the Channel Switch support  in net-config

Change-Id: I390d3c4089deacb2b8296502545fc2812f6429a8
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFix build error 64/124564/2 accepted/tizen/unified/20170412.152340 submit/tizen/20170412.005740
taesub kim [Wed, 12 Apr 2017 00:14:39 +0000 (09:14 +0900)]
Fix build error

Change-Id: Ic7b9e0b4d8a7513867a461c83a7ffac0955060cc
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoMerge "Free vconf_get_str using free() instead of g_free()" into tizen submit/tizen/20170411.091632
taesub kim [Tue, 11 Apr 2017 08:35:58 +0000 (01:35 -0700)]
Merge "Free vconf_get_str using free() instead of g_free()" into tizen

7 years agoMerge "Correct usage of send() system call" into tizen
taesub kim [Tue, 11 Apr 2017 08:34:55 +0000 (01:34 -0700)]
Merge "Correct usage of send() system call" into tizen

7 years agoMerge "Remove unused code" into tizen
taesub kim [Tue, 11 Apr 2017 08:28:19 +0000 (01:28 -0700)]
Merge "Remove unused code" into tizen

7 years agoFree vconf_get_str using free() instead of g_free() 59/124059/2
Abhishek Sansanwal [Mon, 10 Apr 2017 05:24:54 +0000 (10:54 +0530)]
Free vconf_get_str using free() instead of g_free()

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

7 years ago[WGID-200168, 200169, 200171] Fixed SVACE issues 38/124138/1 accepted/tizen/unified/20170411.035228 submit/tizen/20170411.013600
Seonah Moon [Mon, 10 Apr 2017 09:28:16 +0000 (18:28 +0900)]
[WGID-200168, 200169, 200171] Fixed SVACE issues

Change-Id: Ie8f43e4e974df7445609551c62ca77b7aa97624f
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoFixed bug 67/124067/1
Seonah Moon [Mon, 10 Apr 2017 06:12:58 +0000 (15:12 +0900)]
Fixed bug

Change-Id: I31d7aac50cff6e960339ea7b7ed8a3d3f0f0439d

7 years agoCorrect usage of send() system call 66/124066/1
Abhishek Sansanwal [Mon, 10 Apr 2017 06:06:39 +0000 (11:36 +0530)]
Correct usage of send() system call

Description: Correct usage of send() system call,
using MSG_NOSIGNAL flag to handle SIGPIPE properly

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

7 years agoRemove unused code 61/124061/2
Abhishek Sansanwal [Mon, 10 Apr 2017 05:40:10 +0000 (11:10 +0530)]
Remove unused code

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

7 years agoMerge "[net-config]:Refactor the TDLS Discovery Feature" into tizen accepted/tizen/unified/20170410.155826 submit/tizen/20170410.045716
taesub kim [Mon, 10 Apr 2017 04:36:07 +0000 (21:36 -0700)]
Merge "[net-config]:Refactor the TDLS Discovery Feature" into tizen

7 years ago[net-config]:Refactor the TDLS Discovery Feature 15/123915/2
Maneesh Jain [Fri, 7 Apr 2017 11:25:53 +0000 (16:55 +0530)]
[net-config]:Refactor the TDLS Discovery Feature

Change-Id: Ifd7fe7b2fa1b59823bdda2d61b375d52aca378ca
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoFixed build error on gcc62 26/123226/1 accepted/tizen/unified/20170406.054816 submit/tizen/20170405.061651
Seonah Moon [Wed, 5 Apr 2017 04:19:18 +0000 (13:19 +0900)]
Fixed build error on gcc62

readdir_r() is deprecated. It should be replaced with reddir().

Change-Id: I0ec9fd2ad60c39bb0585ef617b756b0996262cd4
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoFixed some svace issues 97/122397/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190057 accepted/tizen/ivi/20170403.124608 accepted/tizen/mobile/20170403.124336 accepted/tizen/tv/20170403.124424 accepted/tizen/unified/20170403.124621 accepted/tizen/wearable/20170403.124532 submit/tizen/20170403.015738
hyunuktak [Fri, 31 Mar 2017 07:28:17 +0000 (16:28 +0900)]
Fixed some svace issues

WGID : 79378, 148142, 149574, 167281

Change-Id: I639ea68254b8f0cdaf7c49f21b2cee201b9a2ff7
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoFixed bugs related with IPv6 50/122150/2
Seonah Moon [Thu, 30 Mar 2017 09:11:12 +0000 (18:11 +0900)]
Fixed bugs related with IPv6

Change-Id: I97e5fd2fc5e6acb29ad549fd4381edf8d5749488
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoFix memory leak (WGID 173557, 173558) 56/121756/1 accepted/tizen/common/20170329.172501 accepted/tizen/ivi/20170329.222308 accepted/tizen/mobile/20170329.222210 accepted/tizen/tv/20170329.222231 accepted/tizen/unified/20170329.222323 accepted/tizen/wearable/20170329.222245 submit/tizen/20170329.085840
chleun.moon [Mon, 27 Mar 2017 01:52:08 +0000 (10:52 +0900)]
Fix memory leak (WGID 173557, 173558)

Change-Id: Id85b0aeb35a7e9669674c7961ff889ed5967214b
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge "Added handling to support TDLS feature #3" into tizen accepted/tizen/common/20170328.140709 accepted/tizen/ivi/20170328.060730 accepted/tizen/mobile/20170328.053737 accepted/tizen/tv/20170328.060700 accepted/tizen/unified/20170328.060745 accepted/tizen/wearable/20170328.060717 submit/tizen/20170328.004746
taesub kim [Tue, 28 Mar 2017 01:03:08 +0000 (18:03 -0700)]
Merge "Added handling to support TDLS feature #3" into tizen

7 years agoAdded handling to support TDLS feature #3 02/120602/1
taesub kim [Thu, 23 Mar 2017 09:07:27 +0000 (18:07 +0900)]
Added handling to support TDLS feature #3

Change-Id: I74abf0dd6cc12bd515f4767021f7d311084bb919
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoRevert: [TNEXT-136] Check model name for wlan driver 00/120600/1 accepted/tizen/common/20170323.154605 accepted/tizen/common/20170324.122916 accepted/tizen/ivi/20170324.023627 accepted/tizen/ivi/20170324.111332 accepted/tizen/mobile/20170324.023537 accepted/tizen/mobile/20170324.111111 accepted/tizen/tv/20170324.023553 accepted/tizen/tv/20170324.111201 accepted/tizen/unified/20170324.023647 accepted/tizen/unified/20170324.111416 accepted/tizen/wearable/20170324.023606 accepted/tizen/wearable/20170324.111241 submit/tizen/20170323.091839 submit/tizen/20170324.043751 submit/tizen/20170324.072948
Seonah Moon [Thu, 23 Mar 2017 08:29:14 +0000 (17:29 +0900)]
Revert: [TNEXT-136] Check model name for wlan driver

Change-Id: Idff0eee072bc7bad9c26b8be1a791abad493337c
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoChanged the path of license by using '%license' macro 20/120220/1
Seonah Moon [Wed, 22 Mar 2017 06:34:49 +0000 (15:34 +0900)]
Changed the path of license by using '%license' macro

Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Change-Id: I444110e14ab273cd0dd75d09f39188928807d89d

7 years agoAdded handling to support TDLS feature #2 01/119801/3 accepted/tizen/common/20170322.153724 accepted/tizen/ivi/20170322.235807 accepted/tizen/mobile/20170322.235648 accepted/tizen/tv/20170322.235714 accepted/tizen/unified/20170322.235836 accepted/tizen/wearable/20170322.235742 submit/tizen/20170322.011410
taesub kim [Mon, 20 Mar 2017 07:22:52 +0000 (16:22 +0900)]
Added handling to support TDLS feature #2

Change-Id: I49c707ca31886b4142c8835526d7b71af3eecdae
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdded handling to support TDLS feature 00/118600/3 accepted/tizen/common/20170316.162017 accepted/tizen/ivi/20170316.222644 accepted/tizen/mobile/20170316.222557 accepted/tizen/tv/20170316.222621 accepted/tizen/unified/20170316.222704 accepted/tizen/wearable/20170316.222632 submit/tizen/20170316.113431
taesub kim [Mon, 13 Mar 2017 08:23:05 +0000 (17:23 +0900)]
Added handling to support TDLS feature

Change-Id: I33510a7236409f28dea53177363fe6a5679e22ce

7 years agoAdd IPv4/IPv6 signal to update IP address 46/118546/3 accepted/tizen/common/20170314.172902 accepted/tizen/ivi/20170314.075037 accepted/tizen/mobile/20170314.075012 accepted/tizen/tv/20170314.075025 accepted/tizen/unified/20170314.075048 accepted/tizen/wearable/20170314.075031 submit/tizen/20170314.005318
Seonah Moon [Mon, 13 Mar 2017 06:38:21 +0000 (15:38 +0900)]
Add IPv4/IPv6 signal to update IP address

Change-Id: I1d26635ec5fc1b166e2eebf40fe65972e15558fa
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoUpdate vconf for IPv6 address 69/118169/1 accepted/tizen/common/20170313.162430 accepted/tizen/ivi/20170313.042637 accepted/tizen/mobile/20170313.042548 accepted/tizen/tv/20170313.042606 accepted/tizen/unified/20170313.042702 accepted/tizen/wearable/20170313.042622 submit/tizen/20170313.001510
Seonah Moon [Thu, 9 Mar 2017 05:30:17 +0000 (14:30 +0900)]
Update vconf for IPv6 address

Change-Id: I933ab794c03fe7f2b59ddf81d6b36245895f4edf
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge "[net-config]: Add support of new methods related to autoscan" into tizen accepted/tizen/common/20170309.175440 accepted/tizen/ivi/20170310.031657 accepted/tizen/mobile/20170310.031337 accepted/tizen/tv/20170310.031509 accepted/tizen/unified/20170310.075710 accepted/tizen/wearable/20170310.031553 submit/tizen/20170309.032538 submit/tizen_unified/20170310.011401
taesub kim [Wed, 8 Mar 2017 05:14:11 +0000 (21:14 -0800)]
Merge "[net-config]: Add support of new methods related to autoscan" into tizen

7 years agoMerge "Added WPS-PBC/PIN/cancel without ssid" into tizen
taesub kim [Wed, 8 Mar 2017 05:12:17 +0000 (21:12 -0800)]
Merge "Added WPS-PBC/PIN/cancel without ssid" into tizen

7 years ago[net-config]: Add support of new methods related to autoscan 75/116875/1
Maneesh Jain [Tue, 28 Feb 2017 10:36:09 +0000 (16:06 +0530)]
[net-config]: Add support of new methods related to autoscan

1/. GetAutoscanmode Method
2/. GetAutoscan  Method

Change-Id: Id66f5882484057f7e11ff2184239787522a7c073
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years ago[TNEXT-136] Check model name for wlan driver 14/116614/1 accepted/tizen/common/20170227.140556 accepted/tizen/common/20170228.065320 accepted/tizen/ivi/20170228.071928 accepted/tizen/mobile/20170228.071639 accepted/tizen/tv/20170228.071730 accepted/tizen/unified/20170309.032647 accepted/tizen/wearable/20170228.071824 submit/tizen/20170227.093013 submit/tizen/20170228.042751 submit/tizen_unified/20170308.100406
Seonah Moon [Mon, 27 Feb 2017 08:30:50 +0000 (17:30 +0900)]
[TNEXT-136] Check model name for wlan driver

Change-Id: Ie904d7ba80bf8f2dfe4952b80b18c07a565b4d3e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdded WPS-PBC/PIN/cancel without ssid 73/116073/5
taesub kim [Thu, 23 Feb 2017 01:06:52 +0000 (10:06 +0900)]
Added WPS-PBC/PIN/cancel without ssid

Change-Id: I5c2a4fc6449811edb9918c214c8cefdaee139397
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdded background scan start after ssid scan complete 15/115915/1 accepted/tizen/common/20170222.124720 accepted/tizen/ivi/20170222.222335 accepted/tizen/mobile/20170222.222303 accepted/tizen/tv/20170222.222322 accepted/tizen/wearable/20170222.222328 submit/tizen/20170222.093648
taesub kim [Wed, 22 Feb 2017 04:42:51 +0000 (13:42 +0900)]
Added background scan start after ssid scan complete

Change-Id: Ifed1073d04c94e453bed1d58d1443d5b6fa78c52
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoModified restart option in service file 03/115503/1 accepted/tizen/common/20170220.144402 accepted/tizen/ivi/20170220.223032 accepted/tizen/mobile/20170220.222947 accepted/tizen/tv/20170220.223003 accepted/tizen/wearable/20170220.223017 submit/tizen/20170220.081510
taesub kim [Mon, 20 Feb 2017 07:37:32 +0000 (16:37 +0900)]
Modified restart option in service file

Change-Id: I1de853912b85213536051b14d295e8c63960264f
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[TSAM-12832] Empty IP and proxy string on emulator 75/114975/1 accepted/tizen/common/20170216.094231 accepted/tizen/ivi/20170216.095635 accepted/tizen/mobile/20170216.095543 accepted/tizen/tv/20170216.095558 accepted/tizen/wearable/20170216.095617 submit/tizen/20170216.070237
taesub kim [Thu, 16 Feb 2017 03:34:21 +0000 (12:34 +0900)]
[TSAM-12832] Empty IP and proxy string on emulator

Change-Id: I050662bbcd859f70393631838009fcc705ef89fe
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFixed memory leak 85/114385/3 accepted/tizen/common/20170214.173420 accepted/tizen/ivi/20170214.011144 accepted/tizen/mobile/20170214.011107 accepted/tizen/tv/20170214.011120 accepted/tizen/wearable/20170214.011131 submit/tizen/20170213.093416
taesub kim [Mon, 13 Feb 2017 07:46:57 +0000 (16:46 +0900)]
Fixed memory leak

Change-Id: Id584d7a261caabe63a353fd3446d992fbe55170c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFixed build error for 64bit 36/113436/1 accepted/tizen/common/20170208.154912 accepted/tizen/ivi/20170208.103318 accepted/tizen/mobile/20170208.103229 accepted/tizen/tv/20170208.103244 accepted/tizen/wearable/20170208.103301 submit/tizen/20170207.235015
Seonah Moon [Tue, 7 Feb 2017 12:19:25 +0000 (21:19 +0900)]
Fixed build error for 64bit

Change-Id: Icc39f5be71e8f43f093eff3b383ece00c32d21f6
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoRemove UI Dependency for headless devices 95/113195/3 submit/tizen/20170207.100010
Jaehyun Kim [Mon, 6 Feb 2017 12:56:51 +0000 (21:56 +0900)]
Remove UI Dependency for headless devices

It is recommended to separate the UI-related parts into separate packages.
So I created a sub-package and moved all the UI-related parts.

Change-Id: Ic56f364dfa75af915f6ec79aa3860c9e87eb00ec

7 years agoMerge "Remove Profile Build Dependency: Do it at runtime" into tizen accepted/tizen/common/20170207.062013 accepted/tizen/ivi/20170207.092056 accepted/tizen/mobile/20170207.092018 accepted/tizen/tv/20170207.092031 accepted/tizen/wearable/20170207.092044 submit/tizen/20170207.045631
cheoleun moon [Thu, 26 Jan 2017 04:21:37 +0000 (20:21 -0800)]
Merge "Remove Profile Build Dependency: Do it at runtime" into tizen

7 years agoChange path of resolv.conf from /etc to /opt/etc and make symbolic link between them 90/110190/1 accepted/tizen/common/20170203.161805 accepted/tizen/ivi/20170203.090831 accepted/tizen/mobile/20170203.090748 accepted/tizen/tv/20170203.090802 accepted/tizen/wearable/20170203.090825 submit/tizen/20170203.072433
chleun.moon [Thu, 29 Dec 2016 09:02:16 +0000 (18:02 +0900)]
Change path of resolv.conf from /etc to /opt/etc and make symbolic link between them

Change-Id: I66027a3c57cafb1aa9e114be6070d4465afcb8e9
Signed-off-by: cheoleun <chleun.moon@samsung.com>