platform/core/connectivity/libnet-client.git
4 years agoFix resource leak issues 59/215759/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.024032 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083950 accepted/tizen/5.5/unified/wearable/hotfix/20201027.114907 accepted/tizen/unified/20191016.000403 submit/tizen/20191015.105509 submit/tizen/20191015.120011 submit/tizen/20191015.233846 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 submit/tizen_5.5_wearable_hotfix/20201026.184303 tizen_5.5.m2_release
Jaehyun Kim [Tue, 15 Oct 2019 10:42:17 +0000 (19:42 +0900)]
Fix resource leak issues

Change-Id: I081edd102ba613815c9abdfa5905ead17a120377
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoCheck null handle for network info 60/215660/2 submit/tizen/20191014.135954
hyunuk.tak [Mon, 14 Oct 2019 05:07:16 +0000 (14:07 +0900)]
Check null handle for network info

Change-Id: I4f593a168b8f948cafe86fa1fbe8f3ac5df9b9ac
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoAdd support of Internet connection state 23/215523/1 accepted/tizen/unified/20191011.015507 submit/tizen/20191010.060003
Jaehyun Kim [Thu, 10 Oct 2019 05:26:20 +0000 (14:26 +0900)]
Add support of Internet connection state

Change-Id: I2f7cd6e1b13b7b2c0fa8954b612270338ab5f71a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
4 years agoAdded support of WPA3-SAE security mode. 86/207986/2 submit/tizen/20190708.075804 submit/tizen/20191008.125704 submit/tizen/20191010.004456
Niraj Kumar Goit [Fri, 14 Jun 2019 11:52:12 +0000 (17:22 +0530)]
Added support of WPA3-SAE security mode.

Change-Id: I29ab3c66fec3df9c5717a01d03c39e8b28a53337
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
5 years agoRefactoring how to get profile list 41/203841/3 submit/tizen/20190509.021344
hyunuktak [Thu, 18 Apr 2019 05:48:41 +0000 (14:48 +0900)]
Refactoring how to get profile list

Change-Id: I3dfd4242bd0fa3d0a52a4724e30a07144be393ff
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoMake local handle for event loop 43/203343/5
hyunuktak [Fri, 12 Apr 2019 02:15:38 +0000 (11:15 +0900)]
Make local handle for event loop

Remove unused some functions
It's one of the processess for multi-thread safety.

Change-Id: I2d004e97678dd7ae7e35864cd3e2047d84ff9aaa
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoGet max speed of connected AP 28/196028/1 accepted/tizen/unified/20181228.053029 submit/tizen/20181227.045513
Cheoleun Moon [Fri, 21 Dec 2018 02:17:06 +0000 (11:17 +0900)]
Get max speed of connected AP

Change-Id: I5cdc1e30cfb821130c91533328cf706ca62ffabe
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoAdded Gcov coverage for libnet-client package 95/190795/2 accepted/tizen/unified/20181107.082018 submit/tizen/20181106.045243
Abhishek Sansanwal [Thu, 4 Oct 2018 10:11:32 +0000 (15:41 +0530)]
Added Gcov coverage for libnet-client package

Description:
Overall coverage rate:
  lines......: 97.4% (952 of 977 lines)
  functions..: 99.1% (105 of 106 functions)

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

5 years agoMerge "Check parameter for NULL before dereference." into tizen
cheoleun moon [Tue, 6 Nov 2018 00:52:36 +0000 (00:52 +0000)]
Merge "Check parameter for NULL before dereference." into tizen

5 years agoMerge "Check "enabled" parameter for NULL before derefering" into tizen
cheoleun moon [Tue, 6 Nov 2018 00:52:19 +0000 (00:52 +0000)]
Merge "Check "enabled" parameter for NULL before derefering" into tizen

5 years agoMerge "Check parameter for NULL before derefering" into tizen
cheoleun moon [Tue, 6 Nov 2018 00:52:09 +0000 (00:52 +0000)]
Merge "Check parameter for NULL before derefering" into tizen

5 years agoMerge "Check "current_state" parameter for NULL before derefering" into tizen
cheoleun moon [Tue, 6 Nov 2018 00:51:53 +0000 (00:51 +0000)]
Merge "Check "current_state" parameter for NULL before derefering" into tizen

5 years agoMerge "Check size variable for NULL before derefering" into tizen
cheoleun moon [Tue, 6 Nov 2018 00:51:30 +0000 (00:51 +0000)]
Merge "Check size variable for NULL before derefering" into tizen

5 years agoMerge "Check parameter for NULL" into tizen
cheoleun moon [Tue, 6 Nov 2018 00:51:08 +0000 (00:51 +0000)]
Merge "Check parameter for NULL" into tizen

5 years agoMerge "Check GSList parameter before dereferencing" into tizen
cheoleun moon [Tue, 6 Nov 2018 00:50:56 +0000 (00:50 +0000)]
Merge "Check GSList parameter before dereferencing" into tizen

5 years agoAdded Gtest cases for libnet-client 30/190230/5
Abhishek Sansanwal [Fri, 28 Sep 2018 09:55:39 +0000 (15:25 +0530)]
Added Gtest cases for libnet-client

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

5 years agoCheck parameter for NULL before dereference. 32/190532/1
Abhishek Sansanwal [Wed, 3 Oct 2018 10:30:53 +0000 (16:00 +0530)]
Check parameter for NULL before dereference.

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

5 years agoCheck parameter for NULL 34/190234/2
Abhishek Sansanwal [Fri, 28 Sep 2018 10:05:55 +0000 (15:35 +0530)]
Check parameter for NULL

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

5 years agoCheck "current_state" parameter for NULL before derefering 40/190240/1
Abhishek Sansanwal [Fri, 28 Sep 2018 10:13:29 +0000 (15:43 +0530)]
Check "current_state" parameter for NULL before derefering

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

5 years agoCheck "enabled" parameter for NULL before derefering 38/190238/1
Abhishek Sansanwal [Fri, 28 Sep 2018 10:11:40 +0000 (15:41 +0530)]
Check "enabled" parameter for NULL before derefering

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

5 years agoCheck parameter for NULL before derefering 37/190237/1
Abhishek Sansanwal [Fri, 28 Sep 2018 10:09:46 +0000 (15:39 +0530)]
Check parameter for NULL before derefering

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

5 years agoCheck size variable for NULL before derefering 35/190235/1
Abhishek Sansanwal [Fri, 28 Sep 2018 10:08:34 +0000 (15:38 +0530)]
Check size variable for NULL before derefering

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

5 years agoCheck GSList parameter before dereferencing 32/190232/1
Abhishek Sansanwal [Fri, 28 Sep 2018 09:58:28 +0000 (15:28 +0530)]
Check GSList parameter before dereferencing

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

5 years agoCheck parameter for NULL before dereferencing 22/190022/1
Abhishek Sansanwal [Wed, 26 Sep 2018 11:10:00 +0000 (16:40 +0530)]
Check parameter for NULL before dereferencing

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

5 years ago[Coverity CID: 1025913] Fixed resource leak issue. 63/188863/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.015039 accepted/tizen/unified/20180912.061701 submit/tizen/20180911.120738 submit/tizen_5.0/20181101.000003
Nishant Chaprana [Tue, 11 Sep 2018 06:39:46 +0000 (12:09 +0530)]
[Coverity CID: 1025913] Fixed resource leak issue.

Change-Id: Ifc4e5c7982c110ee55ae3addffef09fb5824a938
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoMerge "Revert "[SVACE Fix][WGID: 34553] Use proper IPV6 address size"" into tizen submit/tizen/20180910.060213 submit/tizen/20180911.002950 submit/tizen/20180912.042809
cheoleun moon [Mon, 10 Sep 2018 06:01:03 +0000 (06:01 +0000)]
Merge "Revert "[SVACE Fix][WGID: 34553] Use proper IPV6 address size"" into tizen

5 years agoRevert "[SVACE Fix][WGID: 34553] Use proper IPV6 address size" 57/188757/2
cheoleun moon [Mon, 10 Sep 2018 05:54:46 +0000 (05:54 +0000)]
Revert "[SVACE Fix][WGID: 34553] Use proper IPV6 address size"

This reverts commit a9296842694e6a84173860bbd9cc40ff325e1b82.

str is a variable to store ipv6 address from /proc/net/if_inet6. The value doesn't include ':', so the length of ipv6 address in /proc/net/if_inet6 is 32.
e.g)
sh-3.2# cat if_inet6
00000000000000000000000000000001 01 80 10 80       lo
fe8000000000000034dc1afffe42080e 57 40 20 80    wlan0
fd000000000000006cab78fe232e6105 57 40 00 01    wlan0

Change-Id: I678c80822cff6c794a2ddce3f3b6395ecf1e278e

5 years agoRevert "Use loop of mapping table instead long if-else clauses" 26/188326/2 accepted/tizen/unified/20180907.043057 submit/tizen/20180904.110831 submit/tizen/20180906.090023
cheoleun moon [Tue, 4 Sep 2018 04:00:29 +0000 (04:00 +0000)]
Revert "Use loop of mapping table instead long if-else clauses"

This reverts commit 8d3662bb4092601dffcfcc2bc698b853181a03a4.

Change-Id: Iebddcbb167aa331be5666d152029a8d4f015058d

5 years agoMerge changes I08152159,Ib14f7b66,Iee54f4d8,Id97274e6,I8798b208 into tizen
chleun.moon [Tue, 4 Sep 2018 04:00:06 +0000 (04:00 +0000)]
Merge changes I08152159,Ib14f7b66,Iee54f4d8,Id97274e6,I8798b208 into tizen

* changes:
  Simplify __net_telephony_get_profile_info by using functions dedicated to each task
  Simplify __net_extract_wifi_info by using functions dedicated to each key
  Simplify __net_modify_wlan_profile_info by using functions dedicated to each task
  Separate the function that handle each event callback
  Use loop of mapping table instead long if-else clauses

5 years agoMerge "Use handler functions for each key" into tizen
chleun.moon [Tue, 4 Sep 2018 03:58:37 +0000 (03:58 +0000)]
Merge "Use handler functions for each key" into tizen

5 years agoSimplify __net_telephony_get_profile_info by using functions dedicated to each task 08/188308/1
chleun.moon [Tue, 4 Sep 2018 00:40:34 +0000 (09:40 +0900)]
Simplify __net_telephony_get_profile_info by using functions dedicated to each task

Change-Id: I081521597d11337397c096fbb6b8dd487e3413fe
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoSimplify __net_extract_wifi_info by using functions dedicated to each key 62/188262/1
chleun.moon [Mon, 3 Sep 2018 10:35:30 +0000 (19:35 +0900)]
Simplify __net_extract_wifi_info by using functions dedicated to each key

Change-Id: Ib14f7b6638c0f52b3d849613645ca9adb7b5befd
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoMerge "Refactor functions for mptcp" into tizen submit/tizen/20180903.045143
Jaehyun Kim [Mon, 3 Sep 2018 04:12:11 +0000 (04:12 +0000)]
Merge "Refactor functions for mptcp" into tizen

5 years ago[Wi-Fi Mesh] Check whether technology is available before calling GetMeshPeers method 30/188130/1
Nishant Chaprana [Fri, 31 Aug 2018 12:45:46 +0000 (18:15 +0530)]
[Wi-Fi Mesh] Check whether technology is available before calling GetMeshPeers method

Change-Id: I1dbcd6e7809cf7c2077074018ee95db9a6bfbe4f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoSimplify __net_modify_wlan_profile_info by using functions dedicated to each task 65/187965/1
chleun.moon [Thu, 30 Aug 2018 05:00:05 +0000 (14:00 +0900)]
Simplify __net_modify_wlan_profile_info by using functions dedicated to each task

Change-Id: Iee54f4d8a7211cd26121289e549074d2a906bfab
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoSeparate the function that handle each event callback 64/187964/1
chleun.moon [Thu, 30 Aug 2018 04:34:56 +0000 (13:34 +0900)]
Separate the function that handle each event callback

Change-Id: Id97274e60e512a6cbbe7ef18809d0655d51a8200
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoUse loop of mapping table instead long if-else clauses 61/187961/1
chleun.moon [Thu, 30 Aug 2018 04:14:11 +0000 (13:14 +0900)]
Use loop of mapping table instead long if-else clauses

Change-Id: I8798b20893647bb52ed05c70c589badb92d22607
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoUse handler functions for each key 59/187959/1
chleun.moon [Thu, 30 Aug 2018 04:06:19 +0000 (13:06 +0900)]
Use handler functions for each key

Change-Id: I13e111c8262ca14f03de0d9a7bcd53cd356b1439
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoRefactor functions for mptcp 36/187836/2
Seonah Moon [Wed, 29 Aug 2018 01:33:49 +0000 (10:33 +0900)]
Refactor functions for mptcp

Change-Id: Ie4e4bc11d886d767d5becf4504f29de31292e335

5 years ago[libnet-client] Added Tizen Wi-Fi Mesh 76/186776/2 submit/tizen/20180824.072908
Nishant Chaprana [Tue, 14 Aug 2018 07:34:28 +0000 (13:04 +0530)]
[libnet-client] Added Tizen Wi-Fi Mesh

Change-Id: I1364bb27fac00af51350293756c67be3608fca6f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years ago[SVACE Fix][WGID: 34553] Use proper IPV6 address size 83/186783/1
Nishant Chaprana [Tue, 14 Aug 2018 09:11:28 +0000 (14:41 +0530)]
[SVACE Fix][WGID: 34553] Use proper IPV6 address size

Change-Id: I8b20f859f64397ece24062a8ca6c54c805c97e99
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoUse netconfig wifi interface instead of tv_profile. 61/179161/1 accepted/tizen/unified/20180518.060607 submit/tizen/20180516.084045 submit/tizen/20180517.074625
Niraj Kumar Goit [Wed, 16 May 2018 06:26:35 +0000 (11:56 +0530)]
Use netconfig wifi interface instead of tv_profile.

As tv_profile interface is removed from net-config use wifi
interface to call DBus method instead of tv_profile.

Change-Id: Icaa9a1b5175c288a15619b25359be297489ddd4f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoAdded APIs for C# thread handling 14/170914/2 accepted/tizen/unified/20180227.062956 submit/tizen/20180226.110934
Jaehyun Kim [Fri, 23 Feb 2018 07:18:22 +0000 (16:18 +0900)]
Added APIs for C# thread handling

It is not guaranteed that the GC in C# will call connection_destroy
on the thread that called connection_create.
So I added thread-independent APIs for init/deinit.

Change-Id: I7eafd18b24b5ef51a1f69e8ebb53d40b09b181e1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoAdd Multipath TCP 79/169179/1
chleun.moon [Mon, 5 Feb 2018 02:08:50 +0000 (11:08 +0900)]
Add Multipath TCP

Change-Id: I61919386f39245ab748aa00576db6a9c7af50991
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoAdded scan reply logic in scan request function. 33/167233/2 accepted/tizen/unified/20180123.061129 submit/tizen/20180119.051933
Niraj Kumar Goit [Tue, 16 Jan 2018 08:56:24 +0000 (14:26 +0530)]
Added scan reply logic in scan request function.

Added scan reply logic in scan request function to fix
scan callback issue when previous scan is already in progress.

Change-Id: I1b10b29776389e074719ab0f2f80d539fe7f0083
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoFix commnents in network-cm-intf.h 53/165153/1 accepted/tizen/unified/20171228.065014 submit/tizen/20171227.071346
Taesoo Jun [Wed, 27 Dec 2017 00:46:19 +0000 (09:46 +0900)]
Fix commnents in network-cm-intf.h

Change-Id: Idd27a9e4901321dc65bd1293f298e09fce413ac7

6 years agolibnet-client: Receive NetworkConfigChanged Signal and notify to CAPI 41/163641/1 accepted/tizen/unified/20171219.072631 submit/tizen/20171218.085650
Saurav Babu [Tue, 12 Dec 2017 14:18:24 +0000 (19:48 +0530)]
libnet-client: Receive NetworkConfigChanged Signal and notify to CAPI

This patch receives NetworkConfigChanged from net-config and notify
changed events to CAPI.

Change-Id: Icc62114ad4948b1ec0f9b916982c87784592e4ff
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoMove ipv6 preferred API to profile header 14/163414/2 accepted/tizen/unified/20171212.064757 submit/tizen/20171211.062320
Seonah Moon [Mon, 11 Dec 2017 05:34:48 +0000 (14:34 +0900)]
Move ipv6 preferred API to profile header

Change-Id: I107cede35267c66d04f8c5e7c49b65ea2d1662a2

6 years agoMerge "Added APIs get the tcp dump and network state" into tizen accepted/tizen/unified/20171206.063102 submit/tizen/20171205.053202
taesub kim [Tue, 5 Dec 2017 05:17:30 +0000 (05:17 +0000)]
Merge "Added APIs get the tcp dump and network state" into tizen

6 years agoAdded APIs get the tcp dump and network state 80/157280/4
taesub kim [Tue, 24 Oct 2017 05:01:03 +0000 (14:01 +0900)]
Added APIs get the tcp dump and network state

Change-Id: I1bbf32033d15e506d3f10425577b9148ca85e98d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge "add new API for preferred Ipv6 address" into tizen accepted/tizen/unified/20171117.125012 submit/tizen/20171116.232504
taesub kim [Wed, 15 Nov 2017 07:16:45 +0000 (07:16 +0000)]
Merge "add new API for preferred Ipv6 address" into tizen

6 years agoUse connman Dbus method "SpecificScan" to search specific AP. 62/159862/1 accepted/tizen/unified/20171115.061157 submit/tizen/20171113.231943
Niraj Kumar Goit [Mon, 13 Nov 2017 09:08:02 +0000 (14:38 +0530)]
Use connman Dbus method "SpecificScan" to search specific AP.

Change-Id: Ife4a5eaf4c08748a40f1f23a9b8a63dd9de6a42f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
6 years agoadd new API for preferred Ipv6 address 34/159334/4
Seonah Moon [Thu, 2 Nov 2017 09:50:46 +0000 (18:50 +0900)]
add new API for preferred Ipv6 address

Change-Id: Ib2bb81c6711d71053720639648dac3310e29c7f2

6 years ago[CID-43867] Check return value 81/154681/1 accepted/tizen/unified/20171013.190324 submit/tizen/20171012.045027
Seonah Moon [Wed, 11 Oct 2017 05:13:20 +0000 (14:13 +0900)]
[CID-43867] Check return value

Change-Id: I5cd69d00aa8a2daac17027f0ef11889fc3780155

6 years agoAdd support for metered network 76/148676/3 accepted/tizen/unified/20170914.065437 submit/tizen/20170913.024954
Jaehyun Kim [Fri, 8 Sep 2017 09:23:03 +0000 (18:23 +0900)]
Add support for metered network

Change-Id: I4e12ee7322190ca6924fd70d082e94a3b9990c1a
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoMerge "Fix memory leak" into tizen accepted/tizen/unified/20170913.071041 submit/tizen/20170911.125730
taesub kim [Mon, 11 Sep 2017 00:33:12 +0000 (00:33 +0000)]
Merge "Fix memory leak" into tizen

6 years agoRemove dead code (WPS scan) 18/146118/2 accepted/tizen/unified/20170901.025938 submit/tizen/20170830.065642
taesub kim [Fri, 25 Aug 2017 04:54:40 +0000 (13:54 +0900)]
Remove dead code (WPS scan)

Change-Id: I02bd82aa4f7093bf5a0a13ebaeff8fd9f73135f1
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFix memory leak 18/143418/2
chleun.moon [Thu, 10 Aug 2017 01:02:01 +0000 (10:02 +0900)]
Fix memory leak

Change-Id: Id54f9e1d5d0aafe63b7aa437690889f288442462
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years agoSave DHCP leased seconds received from connman in the profile 09/142209/1 accepted/tizen/4.0/unified/20170828.223312 accepted/tizen/unified/20170811.021057 submit/tizen/20170808.043745 submit/tizen/20170809.085632 submit/tizen_4.0/20170828.100003
Abhishek Sansanwal [Thu, 3 Aug 2017 05:27:47 +0000 (10:57 +0530)]
Save DHCP leased seconds received from connman in the profile

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

6 years agoRemove newline char from dlog prints. 46/139546/1 accepted/tizen/4.0/unified/20170816.010424 accepted/tizen/unified/20170724.020251 submit/tizen/20170721.063342 submit/tizen/20170721.063811 submit/tizen_4.0/20170811.094300
Milind Ramesh Murhekar [Wed, 19 Jul 2017 09:06:22 +0000 (14:36 +0530)]
Remove newline char from dlog prints.

Change-Id: Ic76343f76b0588d3724b3cfb967c1aebadc9d9e3
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
6 years agoUpdated dns address for IPv6 when profile is modified 30/129430/3 accepted/tizen/unified/20170602.154220 submit/tizen/20170601.042236
Seonah Moon [Tue, 16 May 2017 10:29:02 +0000 (19:29 +0900)]
Updated dns address for IPv6 when profile is modified

Change-Id: I33500f31f2d7a29b1d907cb155484b42573aa5ff
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoMoved *.so file to devel package 51/131251/1
Seonah Moon [Fri, 26 May 2017 04:53:22 +0000 (13:53 +0900)]
Moved *.so file to devel package

Change-Id: Ib33679f1763f4bf409c644971d6d622e1bafca8b
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoReplaced sscanf() with snprintf() #2 46/128246/1 accepted/tizen/unified/20170510.013002 submit/tizen/20170508.081935 tizen_4.0.m1_release
taesub kim [Mon, 8 May 2017 07:41:48 +0000 (16:41 +0900)]
Replaced sscanf() with snprintf() #2

Change-Id: I0a749bbb352d7f58c8187c04dfc4072c860a6245
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoReplaced sscanf() with snprintf() 73/126873/1 accepted/tizen/unified/20170427.015605 submit/tizen/20170426.084841
Seonah Moon [Tue, 25 Apr 2017 06:52:32 +0000 (15:52 +0900)]
Replaced sscanf() with snprintf()

Change-Id: I0b46c361acec0d600d3afa86605216f92de0da4c
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge "Store DHCP Server Address in net_dev_info_s structure" into tizen accepted/tizen/unified/20170427.015558 submit/tizen/20170424.014832 submit/tizen/20170425.040532
taesub kim [Mon, 24 Apr 2017 00:48:26 +0000 (00:48 +0000)]
Merge "Store DHCP Server Address in  net_dev_info_s structure" into tizen

7 years agoModified logic of status check when wifi_deactivate for case of WIFI_UNKNOWN 60/126260/1 accepted/tizen/unified/20170421.115135 submit/tizen/20170421.072430
taesub kim [Fri, 21 Apr 2017 00:28:35 +0000 (09:28 +0900)]
Modified logic of status check when wifi_deactivate for case of WIFI_UNKNOWN

Change-Id: I3734067e1c6adcf21aad25dcfc612ef6ebf66936
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoAdded CAPI to add/remove route table 88/124488/1 accepted/tizen/unified/20170419.165216 submit/tizen/20170419.041337
taesub kim [Tue, 11 Apr 2017 10:49:32 +0000 (19:49 +0900)]
Added CAPI to add/remove route table

Change-Id: Ie1236e2fe666b8b684b0c8fb24171deb4e56a8b5
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFix for null terminator 52/124052/1 accepted/tizen/unified/20170412.152327 submit/tizen/20170411.091632 submit/tizen/20170412.005740
Abhishek Sansanwal [Mon, 10 Apr 2017 05:10:40 +0000 (10:40 +0530)]
Fix for null terminator

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

7 years agoRemoved dead code 81/123781/1 accepted/tizen/unified/20170410.155838 submit/tizen/20170410.045716
Nishant Chaprana [Fri, 7 Apr 2017 04:22:25 +0000 (09:52 +0530)]
Removed dead code

Change-Id: I6935ba0371989aa4c93bc2e20c53b38bb5d7bf4b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoStore DHCP Server Address in net_dev_info_s structure 21/123621/2
taesub kim [Thu, 6 Apr 2017 08:43:50 +0000 (17:43 +0900)]
Store DHCP Server Address in  net_dev_info_s structure

Change-Id: I6ff3d6138caa50134a4173cc750921db8c3a6b06
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoFixed a svace issue for deref 66/122366/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142809 accepted/tizen/ivi/20170404.060828 accepted/tizen/mobile/20170404.060712 accepted/tizen/tv/20170404.060746 accepted/tizen/unified/20170404.060854 accepted/tizen/wearable/20170404.060808 submit/tizen/20170404.011910
hyunuktak [Fri, 31 Mar 2017 06:19:30 +0000 (15:19 +0900)]
Fixed a svace issue for deref

Change-Id: I978f0518f5a2fda51bb61a2705272a8a2bfdcb9d
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoFix not to deliver unintended events 49/122149/3 accepted/tizen/common/20170403.190047 accepted/tizen/ivi/20170403.124604 accepted/tizen/mobile/20170403.124320 accepted/tizen/tv/20170403.124421 accepted/tizen/unified/20170403.124619 accepted/tizen/wearable/20170403.124457 submit/tizen/20170403.015738
chleun.moon [Thu, 30 Mar 2017 09:13:31 +0000 (18:13 +0900)]
Fix not to deliver unintended events

Change-Id: I08fd58b1477e4816ce7b63214670ec329bdc814e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix memory leak (WGID 185685, 185686) 53/121753/1 accepted/tizen/common/20170329.172452 accepted/tizen/ivi/20170329.222305 accepted/tizen/mobile/20170329.222200 accepted/tizen/tv/20170329.222228 accepted/tizen/unified/20170329.222321 accepted/tizen/wearable/20170329.222243 submit/tizen/20170329.085840
chleun.moon [Mon, 27 Mar 2017 01:56:44 +0000 (10:56 +0900)]
Fix memory leak (WGID 185685, 185686)

Change-Id: I30eb9301bb1af96f95681b280cce73db22197ff6
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoChanged the path of license by using '%license' macro 16/120216/1 accepted/tizen/common/20170324.122841 accepted/tizen/ivi/20170324.111325 accepted/tizen/mobile/20170324.111045 accepted/tizen/tv/20170324.111155 accepted/tizen/unified/20170324.111408 accepted/tizen/wearable/20170324.111236 submit/tizen/20170324.043751 submit/tizen/20170324.072948
Seonah Moon [Wed, 22 Mar 2017 06:30:40 +0000 (15:30 +0900)]
Changed the path of license by using '%license' macro

Change-Id: I2c08be213f137acd711114d813bedc57281785f1
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdd converting function for netmask 99/119999/1 accepted/tizen/common/20170322.153716 accepted/tizen/ivi/20170322.235803 accepted/tizen/mobile/20170322.235637 accepted/tizen/tv/20170322.235711 accepted/tizen/unified/20170322.235832 accepted/tizen/wearable/20170322.235738 submit/tizen/20170322.011410
Seonah Moon [Tue, 21 Mar 2017 05:33:39 +0000 (14:33 +0900)]
Add converting function for netmask

Change-Id: I9fb8655fb1ecc99c756e2e2a0b6730a0c7da23b4
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoImplement function to get IPv6 addresses 87/119787/1
Seonah Moon [Mon, 20 Mar 2017 06:26:14 +0000 (15:26 +0900)]
Implement function to get IPv6 addresses

Change-Id: I69d4167964d5783162b7feb7d85da2ac9f90692b
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdded feature to get/set DNS Config Type and IPv6 state 85/118385/4
Saurav Babu [Mon, 8 Jun 2015 12:59:49 +0000 (18:29 +0530)]
Added feature to get/set DNS Config Type and IPv6 state

Change-Id: I8788981cf2a376d3509e69c4494b2daa6aa60193
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdded NOTICE file 77/118177/1 accepted/tizen/common/20170313.162345 accepted/tizen/ivi/20170313.042632 accepted/tizen/mobile/20170313.042538 accepted/tizen/tv/20170313.042601 accepted/tizen/unified/20170313.042655 accepted/tizen/wearable/20170313.042618 submit/tizen/20170313.001510
taesub kim [Thu, 9 Mar 2017 05:50:19 +0000 (14:50 +0900)]
Added NOTICE file

Change-Id: I63dd0f83ca89fea72d616b33ed270e829d40134c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agonet-client: No need to update wifi info from supplicant 41/113641/1 accepted/tizen/common/20170210.170547 accepted/tizen/ivi/20170214.011047 accepted/tizen/mobile/20170214.010850 accepted/tizen/tv/20170214.010930 accepted/tizen/unified/20170309.032700 accepted/tizen/wearable/20170214.011016 submit/tizen/20170210.072732 submit/tizen/20170210.083740 submit/tizen_unified/20170308.100406
Saurav Babu [Wed, 8 Feb 2017 08:22:24 +0000 (13:52 +0530)]
net-client: No need to update wifi info from supplicant

In case when there are multiple Wi-Fi networks with same SSID then
ConnMan only has one profile which is the profile for Connected AP. This
makes obsolete to update the information of Connected AP as ConnMan
already has updated information corresponding to connected AP.

Change-Id: I5e0d611a0ddb5a02e1e0ac48e20fe7be95f40669
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoFix compile error which is specific for GCC 6.2 65/105765/1 accepted/tizen/common/20161220.190754 accepted/tizen/ivi/20161220.222948 accepted/tizen/mobile/20161220.222853 accepted/tizen/tv/20161220.222910 accepted/tizen/wearable/20161220.222928 submit/tizen/20161220.020618
Yu Jiung [Mon, 19 Dec 2016 11:12:47 +0000 (20:12 +0900)]
Fix compile error which is specific for GCC 6.2

Change-Id: I1908ee562e6f95ed3c9b7433d436fb37f3e88cc0
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "Use ScanDone signal from connman instead of wpa_supplicant" into tizen
cheoleun moon [Wed, 23 Nov 2016 00:18:16 +0000 (16:18 -0800)]
Merge "Use ScanDone signal from connman instead of wpa_supplicant" into tizen

7 years agoMerge "[net-client] Don't set NULL ProfileName in request_table for hidden AP." into...
cheoleun moon [Wed, 23 Nov 2016 00:18:04 +0000 (16:18 -0800)]
Merge "[net-client] Don't set NULL ProfileName in request_table for hidden AP." into tizen

7 years agoMerge "[libnet-client]: fixed typo" into tizen
cheoleun moon [Tue, 22 Nov 2016 23:51:51 +0000 (15:51 -0800)]
Merge "[libnet-client]: fixed typo" into tizen

7 years agoUse ScanDone signal from connman instead of wpa_supplicant 11/98511/1
Saurav Babu [Thu, 17 Nov 2016 11:38:53 +0000 (17:08 +0530)]
Use ScanDone signal from connman instead of wpa_supplicant

This allows application to perform scan immediately on receiving
ScanDone signal. Previously there was synchronization issue between
Application and connman receiving ScanDone signal.

Change-Id: I69493c586e9e45296ecbb425f2476dd6f6449abc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[net-client] Don't set NULL ProfileName in request_table for hidden AP. 69/92969/2
Saurav Babu [Wed, 19 Oct 2016 14:16:20 +0000 (19:46 +0530)]
[net-client] Don't set NULL ProfileName in request_table for hidden AP.

In case of hidden AP connection, AP is not yet scanned so no profile
name exists. This patch sets the group name of hidden AP created using ssid,
mode and security as ProfileName in request_table. If no profile name is
set in request_table then libnet-client sends NET_ERR_OPERATION_ABORTED
error in connection open response if any AP is disconnected.
Ideally NET_ERR_OPERATION_ABORTED should only be sent in conneciton open
response when hidden AP requested for connection gets disconnected.

Change-Id: Ieea15637729b5c7baf225bac9312c5782eb984f9
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[libnet-client]: fixed typo 05/98305/1
Maneesh Jain [Thu, 17 Nov 2016 04:17:20 +0000 (09:47 +0530)]
[libnet-client]: fixed typo

Change-Id: Ie397885710d20a6c3e9438b5b2db4e3101632fe2
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoModified to get security info correctly for ssid scan 33/98133/1 accepted/tizen/common/20161125.095640 accepted/tizen/ivi/20161128.000836 accepted/tizen/mobile/20161128.000720 accepted/tizen/tv/20161128.000805 accepted/tizen/wearable/20161128.000820 submit/tizen/20161125.052705
Jaehyun Kim [Wed, 16 Nov 2016 07:51:27 +0000 (16:51 +0900)]
Modified to get security info correctly for ssid scan

Change-Id: I48ea0f8d3fdf1deafd810a1861ba1658c5c46596

7 years agoModified the signal handler for overlap connection/disconnection callback 60/95560/8 accepted/tizen/common/20161114.171559 accepted/tizen/ivi/20161114.074503 accepted/tizen/mobile/20161114.074411 accepted/tizen/tv/20161114.074427 accepted/tizen/wearable/20161114.074447 submit/tizen/20161114.043131
taesub.kim [Fri, 4 Nov 2016 00:05:57 +0000 (09:05 +0900)]
Modified the signal handler for overlap connection/disconnection callback

Change-Id: I17022b2c61854d8dc6c2da9410f545d3caf1c750
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years ago[net-client] Send ProfileName in NET_EVENT_OPEN_RSP when WiFiConnectFail occurs 13/89713/1 accepted/tizen/3.0/ivi/20161011.050548 accepted/tizen/3.0/mobile/20161015.033709 accepted/tizen/3.0/tv/20161016.004944 accepted/tizen/3.0/wearable/20161015.083230 accepted/tizen/common/20160928.164139 accepted/tizen/ivi/20160929.081228 accepted/tizen/mobile/20160929.081121 accepted/tizen/tv/20160929.081203 accepted/tizen/wearable/20160929.081042 submit/tizen/20160928.053415 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
Saurav Babu [Mon, 26 Sep 2016 11:56:59 +0000 (17:26 +0530)]
[net-client] Send ProfileName in NET_EVENT_OPEN_RSP when WiFiConnectFail occurs

Change-Id: Icd13742d3b07cb767592910c9fb2d774d91fc9e4
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoRemove unnecessary profile build dependency 42/86842/1 accepted/tizen/common/20160912.181628 accepted/tizen/ivi/20160920.051004 accepted/tizen/mobile/20160920.050908 accepted/tizen/tv/20160920.050924 accepted/tizen/wearable/20160920.050944 submit/tizen/20160912.084305
MyungJoo Ham [Mon, 5 Sep 2016 07:08:11 +0000 (16:08 +0900)]
Remove unnecessary profile build dependency

The Tizen-internal APIs specific for TV have been built
when %profile is tv only.

In order to remove profile build dependency, we allow to
build such internal APIs unconditionally.

Note that these are internal APIs specific for network
framework, which are not supposed to be used elsewhere.
Plus, because these are not external APIs (APIs for Apps),
this does not affect the Tizen profiles.

Change-Id: Ibf8df321924f5402efd6f26611c01b70719820c3
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove unnecessary CFLAG definition. 78/86178/1
MyungJoo Ham [Wed, 31 Aug 2016 02:31:08 +0000 (11:31 +0900)]
Remove unnecessary CFLAG definition.

libnet-client$ grep -r "TIZEN_WEARABLE" *

shows nothing. So, compiler definition "TIZEN_WEARABLE" is useless.

Change-Id: Iee96692845ef451ae7b44da5e50f722ec22656f8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoSet the wifi state when initialized table 32/83032/1 accepted/tizen/common/20160809.184138 accepted/tizen/ivi/20160809.232845 accepted/tizen/mobile/20160809.232936 accepted/tizen/tv/20160809.232808 accepted/tizen/wearable/20160809.232915 submit/tizen/20160809.065304
hyunuktak [Tue, 9 Aug 2016 00:38:31 +0000 (09:38 +0900)]
Set the wifi state when initialized table

If wifi state is unknown, then it needs to set the state as off,
when initialized status tables.

Change-Id: I17590763a658fe41f4b5a006010340d2edb2667b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoMerge "[libnet-client] Replace deprecated method Service.GetProperties() with Manager... accepted/tizen/common/20160805.125934 accepted/tizen/ivi/20160809.010544 accepted/tizen/mobile/20160809.010456 accepted/tizen/tv/20160809.010508 accepted/tizen/wearable/20160809.010526 submit/tizen/20160805.043033
taesub kim [Thu, 21 Jul 2016 23:15:24 +0000 (16:15 -0700)]
Merge "[libnet-client] Replace deprecated method Service.GetProperties() with Manager.GetServices()" into tizen

7 years agoFixed the svace issue for dereference 31/79331/1 accepted/tizen/common/20160712.150405 accepted/tizen/ivi/20160711.084617 accepted/tizen/mobile/20160711.084559 accepted/tizen/tv/20160711.084556 accepted/tizen/wearable/20160711.084540 submit/tizen/20160711.045150
hyunuktak [Mon, 11 Jul 2016 04:27:11 +0000 (13:27 +0900)]
Fixed the svace issue for dereference

Change-Id: Ia230c7a1048f686c7a6d120d783b39d9ab9faf61
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years ago[libnet-client] Replace deprecated method Service.GetProperties() with Manager.GetSer... 86/78886/1
Saurav Babu [Thu, 7 Jul 2016 08:26:30 +0000 (13:56 +0530)]
[libnet-client] Replace deprecated method Service.GetProperties() with Manager.GetServices()

Change-Id: I145d5cb500fa4048b6f2f1f4166ec258ed377a79
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoCorrected PrefixLength type. 35/75535/2 accepted/tizen/common/20160621.184458 accepted/tizen/ivi/20160623.120455 accepted/tizen/mobile/20160623.120357 accepted/tizen/tv/20160623.120413 accepted/tizen/wearable/20160623.120436 submit/tizen/20160621.060739 submit/tizen/20160621.234856
Sumit Aggarwal [Mon, 20 Jun 2016 15:11:04 +0000 (20:41 +0530)]
Corrected PrefixLength type.

PrefixLength is exposed as a byte in connman, but set as string in
libnet.Reference connman upstream patch:
http://git.kernel.org/cgit/network/connman/connman.git/commit/src/ipconfig.c?id=48987a5bb9c608b5189cd4c4ae19128c1f82b0ea

Change-Id: I084508d975c9a499cb01310790b44d23d0d553d0
Signed-off-by: Sumit Aggarwal <aggarwal.s@samsung.com>
7 years agoAdd to check wifi dpm for modify profile 00/74100/1 accepted/tizen/common/20160613.144927 accepted/tizen/ivi/20160613.123657 accepted/tizen/mobile/20160613.123815 accepted/tizen/tv/20160613.123647 accepted/tizen/wearable/20160613.123751 submit/tizen/20160613.080206
hyunuktak [Mon, 13 Jun 2016 00:10:53 +0000 (09:10 +0900)]
Add to check wifi dpm for modify profile

Change-Id: Ie4655db9595d55b17eac2e5a9c4a909434f19ed2
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoApply device policy for wifi and wifi profile 34/72234/5 accepted/tizen/common/20160607.194726 accepted/tizen/ivi/20160607.235422 accepted/tizen/mobile/20160607.235359 accepted/tizen/tv/20160607.235413 accepted/tizen/wearable/20160607.235347 submit/tizen/20160607.090155
hyunuktak [Tue, 31 May 2016 08:13:23 +0000 (17:13 +0900)]
Apply device policy for wifi and wifi profile

Change-Id: I9508de92b4cdaeeddbf78e1182acdb27c2116572
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoReseting the state back in case of failure state 95/70095/2 accepted/tizen/common/20160520.171001 accepted/tizen/ivi/20160520.003255 accepted/tizen/mobile/20160520.003741 accepted/tizen/tv/20160520.003213 accepted/tizen/wearable/20160520.003328 submit/tizen/20160519.085425
hyunuktak [Wed, 18 May 2016 05:32:08 +0000 (14:32 +0900)]
Reseting the state back in case of failure state

Change-Id: I64517a208f51f6e286d3410594ff6950d0b7ebce
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoModify to make g_variant for string 43/69143/1 accepted/tizen/common/20160513.123329 accepted/tizen/ivi/20160513.004553 accepted/tizen/mobile/20160513.004244 accepted/tizen/tv/20160513.004541 accepted/tizen/wearable/20160513.004546 submit/tizen/20160512.075241
hyunuktak [Thu, 12 May 2016 02:42:38 +0000 (11:42 +0900)]
Modify to make g_variant for string

Change-Id: Ib589e00e1986084ae316f81e64bda15890173849
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>