platform/core/api/wifi-manager.git
5 years agodoc: fix wrong description 41/216441/1 tizen_3.0
Seonah Moon [Fri, 25 Oct 2019 02:28:10 +0000 (11:28 +0900)]
doc: fix wrong description

Change-Id: I21adbdf06a9ee5fdf28b60e3e8c615b353eeec1e

7 years agoAdd @remark description for wifi_manager_foreach_found_ap() 03/159103/7 accepted/tizen_3.0_common accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen/3.0/common/20171109.103505 accepted/tizen/3.0/mobile/20171108.221500 accepted/tizen/3.0/tv/20171108.221504 submit/tizen_3.0/20171108.034841
Seonah Moon [Tue, 7 Nov 2017 04:03:48 +0000 (13:03 +0900)]
Add @remark description for wifi_manager_foreach_found_ap()

Change-Id: I9b00096d7a86d14c40b465b972d5dd2e68d3986d

7 years ago[WGID-159193] Fixed unreachable code 68/141868/1 accepted/tizen_3.0_ivi accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170803.140630 accepted/tizen/3.0/ivi/20170803.011213 accepted/tizen/3.0/mobile/20170803.011103 accepted/tizen/3.0/tv/20170803.011126 accepted/tizen/3.0/wearable/20170803.011150 submit/tizen_3.0/20170802.052417
chleun.moon [Wed, 2 Aug 2017 01:08:04 +0000 (10:08 +0900)]
[WGID-159193] Fixed unreachable code

Change-Id: I5f68ce8ee91452c6270d6407862a42c8ac956046
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoAdd null check after g_try_malloc0 (WGID-265336) 42/141742/2
chleun.moon [Tue, 1 Aug 2017 09:04:30 +0000 (18:04 +0900)]
Add null check after g_try_malloc0 (WGID-265336)

Change-Id: I8c1a29a06bb8e83f0725a56a8b2ba388e636a566
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoChanged the path of license by using '%license' macro 45/121645/1 accepted/tizen/3.0/common/20170329.151255 accepted/tizen/3.0/ivi/20170329.084913 accepted/tizen/3.0/mobile/20170329.084425 accepted/tizen/3.0/tv/20170329.084639 accepted/tizen/3.0/wearable/20170329.084748 submit/tizen_3.0/20170328.112237 submit/tizen_3.0/20170328.235752
Seonah Moon [Wed, 22 Mar 2017 06:25:22 +0000 (15:25 +0900)]
Changed the path of license by using '%license' macro

Change-Id: I380105706ed6dfa636e5d154c34fbb8cc1bad5ba
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoFix memory leak (WGID 185683, 185684) 63/120963/2 accepted/tizen/3.0/common/20170327.141151 accepted/tizen/3.0/ivi/20170327.104455 accepted/tizen/3.0/mobile/20170327.104238 accepted/tizen/3.0/tv/20170327.104352 accepted/tizen/3.0/wearable/20170327.104423 submit/tizen_3.0/20170327.043525
chleun.moon [Mon, 27 Mar 2017 02:07:34 +0000 (11:07 +0900)]
Fix memory leak (WGID 185683, 185684)

Change-Id: If5727ee4eca7f53b9ccd0395f52d03f5c682bfdc
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoWGID-169215: Fixed memory leak 15/114415/1 accepted/tizen/3.0/common/20170215.120943 accepted/tizen/3.0/ivi/20170215.065107 accepted/tizen/3.0/mobile/20170215.065003 accepted/tizen/3.0/tv/20170215.065027 accepted/tizen/3.0/wearable/20170215.065051 submit/tizen_3.0/20170213.102726
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>
8 years agoCorrect doxygen 77/112077/2 tizen_3.0_tv accepted/tizen/3.0/common/20170201.163934 accepted/tizen/3.0/ivi/20170201.035043 accepted/tizen/3.0/mobile/20170201.034942 accepted/tizen/3.0/tv/20170201.035011 accepted/tizen/3.0/wearable/20170201.035026 submit/tizen_3.0/20170126.063039
chleun.moon [Thu, 26 Jan 2017 01:22:52 +0000 (10:22 +0900)]
Correct doxygen

Change-Id: I635edcd6adf42d4759ed472d21768b2c3ba41cd0
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[TSAM-12289] Retrun error when MAC address is empty 34/107934/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121903 accepted/tizen/3.0.m2/tv/20170104.122400 accepted/tizen/3.0.m2/wearable/20170104.122743 accepted/tizen/3.0/common/20170102.143436 accepted/tizen/3.0/ivi/20170102.095720 accepted/tizen/3.0/mobile/20170102.095628 accepted/tizen/3.0/tv/20170102.095645 accepted/tizen/3.0/wearable/20170102.095705 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20170102.045943
Seonah Moon [Mon, 2 Jan 2017 02:21:06 +0000 (11:21 +0900)]
[TSAM-12289] Retrun error when MAC address is empty

Change-Id: If0740adab0d170b12cc7cfd630759b2df0ec9306
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoFix a savce for unreachable code 69/101669/1 accepted/tizen/3.0/common/20161205.092009 accepted/tizen/3.0/ivi/20161205.000248 accepted/tizen/3.0/mobile/20161205.000144 accepted/tizen/3.0/tv/20161205.000221 accepted/tizen/3.0/wearable/20161205.000235 submit/tizen_3.0/20161202.115309
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>
8 years agoModified the signal handler for overlap connection/disconnection callback 80/96680/1 accepted/tizen/3.0/common/20161117.090454 accepted/tizen/3.0/ivi/20161117.021350 accepted/tizen/3.0/mobile/20161117.021249 accepted/tizen/3.0/tv/20161117.021312 accepted/tizen/3.0/wearable/20161117.021327 submit/tizen_3.0/20161114.042815 submit/tizen_3.0/20161115.065431 submit/tizen_3.0/20161116.022152
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>
8 years agoAdded WPA2_PSK security type for wlan mode 93/96293/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>
8 years agoFixed coding rule issues 16/95916/1 accepted/tizen/3.0/common/20161114.081750 accepted/tizen/3.0/ivi/20161110.022056 accepted/tizen/3.0/mobile/20161110.021928 accepted/tizen/3.0/tv/20161110.022018 accepted/tizen/3.0/wearable/20161110.022044 submit/tizen_3.0/20161109.075033 submit/tizen_3.0_common/20161110.084657
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>
8 years agoModify to update specific scan list and clear profile list 11/95911/1
hyunuktak [Mon, 7 Nov 2016 05:57:36 +0000 (14:57 +0900)]
Modify to update specific scan list and clear profile list

Change-Id: Ic6103913ab209e4c30f3e60b235a23c2370926b4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoMerge branch 'tizen' into tizen_3.0 63/94963/1 accepted/tizen/3.0/ivi/20161102.075841 accepted/tizen/3.0/mobile/20161102.075753 accepted/tizen/3.0/tv/20161102.075811 accepted/tizen/3.0/wearable/20161102.075827 submit/tizen_3.0/20161102.052717
chleun.moon [Wed, 2 Nov 2016 05:09:39 +0000 (14:09 +0900)]
Merge branch 'tizen' into tizen_3.0

Change-Id: Ic2b5c5c2a57570d3dada79b5c42f924edd5fcd90
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 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>
8 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

8 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

8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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