platform/core/api/wifi-manager.git
7 years agoWGID-169215: Fixed memory leak 40/114440/1 accepted/tizen/common/20170214.173410 accepted/tizen/ivi/20170214.011137 accepted/tizen/mobile/20170214.011100 accepted/tizen/tv/20170214.011113 accepted/tizen/wearable/20170214.011125 submit/tizen/20170213.093416
Seonah Moon [Mon, 13 Feb 2017 08:41:42 +0000 (17:41 +0900)]
WGID-169215: Fixed memory leak

Change-Id: If57184663e6b17b2dc2bc774c50a25071064fe7e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoCheck whether mac address is empty or not 21/110121/2 accepted/tizen/common/20170210.170522 accepted/tizen/ivi/20170214.011036 accepted/tizen/mobile/20170214.010827 accepted/tizen/tv/20170214.010919 accepted/tizen/wearable/20170214.011004 submit/tizen/20170210.072732 submit/tizen/20170210.083740
hyunuktak [Fri, 13 Jan 2017 04:30:56 +0000 (13:30 +0900)]
Check whether mac address is empty or not

Change-Id: I98008f6654ce9eb2d54d7e96f4fdbe41a1a954e4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoFix a savce for unreachable code 03/110103/2
hyunuktak [Fri, 2 Dec 2016 02:23:52 +0000 (11:23 +0900)]
Fix a savce for unreachable code

Change-Id: I18c76b532654980a6dffe3e66e954c0154e00ac3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoBuild Error Fix: Do Not Hardcode Install Path 53/107453/2
MyungJoo Ham [Wed, 28 Dec 2016 06:23:53 +0000 (15:23 +0900)]
Build Error Fix: Do Not Hardcode Install Path

This fixes build errors in 64bit systems.
Never hardcode library install paths.

Change-Id: I41b337ed9a918353692d94d23f27b05e512cb776
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependenceis: do it at runtime 02/99202/1
MyungJoo Ham [Tue, 22 Nov 2016 07:03:49 +0000 (16:03 +0900)]
Remove Profile Build Dependenceis: do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

ps. There was no code using TIZEN_WEARABLE/TIZEN_MOBILE
and there was only one effective code block for TIZEN_TV.

ps2. I really doubt whether you need capi-appfw-application
in this package.

Change-Id: Ie70acdf66e5cde1ca4932d3e30bb6f8e35a4e64f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoModified the signal handler for overlap connection/disconnection callback 24/97324/1 accepted/tizen/common/20161114.171547 accepted/tizen/ivi/20161114.074500 accepted/tizen/mobile/20161114.074402 accepted/tizen/tv/20161114.074424 accepted/tizen/wearable/20161114.074442 submit/tizen/20161114.043131
hyunuktak [Thu, 10 Nov 2016 00:47:54 +0000 (09:47 +0900)]
Modified the signal handler for overlap connection/disconnection callback

Change-Id: I2f44aa2639ef67f10c52ec59bb15889397bcaf6e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoFixed coding rule issues 16/97316/1
hyunuktak [Mon, 7 Nov 2016 06:02:26 +0000 (15:02 +0900)]
Fixed coding rule issues

Change-Id: I87842c4cbce30fd8999ee149035dea99e265200a
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoAdded WPA2_PSK security type for wlan mode 15/97315/1
hyunuktak [Tue, 8 Nov 2016 11:05:17 +0000 (20:05 +0900)]
Added WPA2_PSK security type for wlan mode

Change-Id: I9bf076556748c7ca129df5fcb682a3db85f1946b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoMerge "Modify to update specific scan list and clear profile list" into tizen
cheoleun moon [Mon, 7 Nov 2016 05:19:01 +0000 (21:19 -0800)]
Merge "Modify to update specific scan list and clear profile list" into tizen

7 years agoModify to update specific scan list and clear profile list 49/94249/3
hyunuktak [Fri, 28 Oct 2016 01:32:53 +0000 (10:32 +0900)]
Modify to update specific scan list and clear profile list

Change-Id: Ibfc06bad3bc4f587b3b9ec7137a0bdddb1657bcd
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoUpdate AP info on changing IP Method Type 51/94051/1 accepted/tizen/common/20161102.121512 accepted/tizen/ivi/20161102.072333 accepted/tizen/mobile/20161102.072234 accepted/tizen/tv/20161102.072252 accepted/tizen/wearable/20161102.072307 submit/tizen/20161101.065543
Saurav Babu [Thu, 27 Oct 2016 04:20:01 +0000 (09:50 +0530)]
Update AP info on changing IP Method Type

Wi-Fi manager package added CAPI wifi_manager_update_ap() to update AP
info when IP Method type is changed. This CAPI must be called to update
AP info properly

Change-Id: I995b94a8bb88ae43a69db90be238334f244e2e73
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoMerge "Fixed chances of memory corruption in wifi_manager_get_network_interface_name... accepted/tizen/3.0/ivi/20161011.053612 accepted/tizen/3.0/mobile/20161015.032635 accepted/tizen/3.0/tv/20161016.004132 accepted/tizen/3.0/wearable/20161015.081955 accepted/tizen/common/20161006.153607 accepted/tizen/ivi/20161006.080210 accepted/tizen/mobile/20161006.080105 accepted/tizen/tv/20161006.080138 accepted/tizen/wearable/20161006.080154 submit/tizen/20161006.010203 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
cheoleun moon [Thu, 6 Oct 2016 00:39:51 +0000 (17:39 -0700)]
Merge "Fixed chances of memory corruption in wifi_manager_get_network_interface_name()." into tizen

7 years agoMerge "Fixed chances of memory corruption in wifi_manager_get_mac_address()." into...
cheoleun moon [Thu, 6 Oct 2016 00:39:32 +0000 (17:39 -0700)]
Merge "Fixed chances of memory corruption in wifi_manager_get_mac_address()." into tizen

7 years agoMerge "Fixed memory leaks when using g_variant_get()." into tizen
cheoleun moon [Thu, 6 Oct 2016 00:38:56 +0000 (17:38 -0700)]
Merge "Fixed memory leaks when using g_variant_get()." into tizen

7 years agoMerge "[wifi-manager]: fixed typo issue" into tizen
cheoleun moon [Thu, 6 Oct 2016 00:24:37 +0000 (17:24 -0700)]
Merge "[wifi-manager]: fixed typo issue" into tizen

7 years agoFixed chances of memory corruption in wifi_manager_get_network_interface_name(). 12/91012/1
Nishant Chaprana [Wed, 5 Oct 2016 09:43:27 +0000 (15:13 +0530)]
Fixed chances of memory corruption in wifi_manager_get_network_interface_name().

Description: As per API documentation, mac_address should be freed using free().
But we are using glib allocator for allocating memory.
So, that allocated memory should be freed by g_free() only as per GLIB documentation.

Usage os g_strdup in API may lead to memory corruption, because memory allocated
using g_strdup should be freed using g_free.

So to match declaration in header file for wifi_manager_get_network_interface_name()
we should use strndup in place of g_strdup().

Change-Id: I0dc8df3aaa66f402075c6369964c9ae1919d562f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFixed chances of memory corruption in wifi_manager_get_mac_address(). 11/91011/1
Nishant Chaprana [Wed, 5 Oct 2016 09:20:08 +0000 (14:50 +0530)]
Fixed chances of memory corruption in wifi_manager_get_mac_address().

Description: As per API documentation, mac_address should be freed using free().
But we are using g_try_malloc0 for allocating memory for Tizen TV profile.
So, that allocated memory should be freed by g_free() only as per GLIB documentation.

Usage os g_try_malloc0 in API will lead to memory corruption, because g_try_malloc0
and normal memory allocator may use different memory pools which will be freed properly
by there corresponding memory deallocator only.

So to match declaration in header file for wifi_manager_get_mac_address()
we should use strndup in place of g_try_malloc0().

Change-Id: I4263a456c9f6fa7dec0ce4cd8c24778b4ae6e850
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years agoFixed memory leaks when using g_variant_get(). 94/90994/1
Nishant Chaprana [Wed, 5 Oct 2016 08:52:01 +0000 (14:22 +0530)]
Fixed memory leaks when using g_variant_get().

Change-Id: I40b45fa19f0aa07bcdb961c39bb5676b126ee241
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
7 years ago[wifi-manager] Modify to load configurations 08/90908/2 accepted/tizen/common/20161005.165328 accepted/tizen/ivi/20161005.231945 accepted/tizen/mobile/20161005.231902 accepted/tizen/tv/20161005.231914 accepted/tizen/wearable/20161005.231933 submit/tizen/20161005.051812
hyunuktak [Wed, 5 Oct 2016 02:17:58 +0000 (11:17 +0900)]
[wifi-manager] Modify to load configurations

When there is configuration ID without settings file,
it is not error, just no profile.

Change-Id: Ib97b54198d825baa2093b1b660dad6bd40cb6d6f
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years ago[wifi-manager] remove to check NULL for callback function 12/90712/1
hyunuktak [Tue, 4 Oct 2016 04:49:06 +0000 (13:49 +0900)]
[wifi-manager] remove to check NULL for callback function

This can be NULL if you don't want to get the notification about wifi
deactivate.

Change-Id: I90a18b9327ceb923d90cb626db1d7c96189359c3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years ago[wifi-manager]: fixed typo issue 62/90462/1
Maneesh Jain [Fri, 30 Sep 2016 06:56:39 +0000 (12:26 +0530)]
[wifi-manager]: fixed typo issue

Change-Id: I449ee2ead5744720a54aa938fcfe2abb71db0096
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
7 years agoRemove to check NULL for callback function 19/89819/1 accepted/tizen/common/20160928.164117 accepted/tizen/ivi/20160929.081215 accepted/tizen/mobile/20160929.081103 accepted/tizen/tv/20160929.081144 accepted/tizen/wearable/20160929.081021 submit/tizen/20160928.053415
hyunuktak [Tue, 27 Sep 2016 06:30:10 +0000 (15:30 +0900)]
Remove to check NULL for callback function

This can be NULL if you don't want to get the notification about wifi
activate.

Change-Id: Ie3e325edc5545d9cf67b18d9dd6fca8cb9fc24b4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years ago[wifi-manager] remove reference warning 57/89257/1
hyunuktak [Fri, 23 Sep 2016 01:45:07 +0000 (10:45 +0900)]
[wifi-manager] remove reference warning

Change-Id: I295eaf4e33722c14b4764ed1993ed94dccbab336
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
7 years agoInitialize the wifi-manager package 33/83033/5 accepted/tizen/common/20160831.161605 accepted/tizen/ivi/20160909.060529 accepted/tizen/mobile/20160831.124855 accepted/tizen/tv/20160831.124907 accepted/tizen/wearable/20160831.124913 submit/tizen/20160831.020435 submit/tizen/20160831.045307 submit/tizen_ivi/20160909.055713
hyunuktak [Tue, 9 Aug 2016 00:47:42 +0000 (09:47 +0900)]
Initialize the wifi-manager package

The handle based module to support multi instance

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

8 years agoInitial empty repository master
seonil kim [Wed, 13 Jul 2016 01:00:12 +0000 (18:00 -0700)]
Initial empty repository