platform/core/connectivity/mobileap-agent.git
21 months agoDA: Softap can be enabled when wifi is activated 37/282137/2
Seonah Moon [Tue, 27 Sep 2022 08:09:14 +0000 (17:09 +0900)]
DA: Softap can be enabled when wifi is activated

DA patch 20180530 since tizen 4.0

Change-Id: Ic61ffb43efc158569799ee0cf04eadb18f1db2bc

22 months agoDA: Change alternative path to absolute path. 31/282131/2
Seonah Moon [Tue, 27 Sep 2022 07:39:12 +0000 (16:39 +0900)]
DA: Change alternative path to absolute path.

DA patch 20160401 since tizen 3.0

Change-Id: Ie13be4d00d77426c9047a7db0176cf9d30285cab

22 months agoDA: Create DA extension package for appliance devices 26/282126/2
Seonah Moon [Tue, 27 Sep 2022 06:59:53 +0000 (15:59 +0900)]
DA: Create DA extension package for appliance devices

DA patch 20220407 since tizen 6.5
The package file's name is "mobileap-agent-extension-da".

Change-Id: I0fd25c656f63d4614cf9fa63c9a5d3e8b88e6624

2 years agoApply new enums for usb-gadget mode 72/274572/1 accepted/tizen/unified/20220505.134726 submit/tizen/20220503.013451
Youngjae Cho [Tue, 3 May 2022 00:59:36 +0000 (09:59 +0900)]
Apply new enums for usb-gadget mode

Change-Id: Id4f1d01bb7e2f686632e24f2049ce22db72821ba
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years agoFix memory leak 27/265727/1 submit/tizen/20211118.011554
INSUN PYO [Thu, 28 Oct 2021 01:26:22 +0000 (10:26 +0900)]
Fix memory leak

Change-Id: Ief848f682294ba925899b969883666d37c6d9649

2 years agoDo not unref variant recieved in method call handler 99/261999/2
Nishant Chaprana [Fri, 30 Jul 2021 09:13:16 +0000 (14:43 +0530)]
Do not unref variant recieved in method call handler

The variant which is recieved as parameter should not be unref
because the intermediate gdbus codegen caller function unrefs this variant.
If we unref this variant then crash occurs in _tethering_skeleton_handle_method_call()
which is an intermediate function made using gdbus-codegen command.

=====================
(gdb) bt
>0 g_variant_type_info_check (info=info@entry=0x4,
container_class=container_class@entry=0 '\000') at gvarianttypeinfo.c:162
>1 0x76149790 in g_variant_type_info_unref (info=0x4)
at gvarianttypeinfo.c:829
>2 0x76140c68 in g_variant_unref (value=0x74601390) at gvariant-core.c:852
>3 0x76460f18 in g_value_unset (value=0x54e3a8) at gvalue.c:275
>4 0x00502bca in _tethering_skeleton_handle_method_call ()
>5 0x7655f350 in g_dbus_interface_method_dispatch_helper ()
from /lib/libgio-2.0.so.0
>6 0x765424e4 in call_in_idle_cb () from /lib/libgio-2.0.so.0
>7 0x760ffb9c in g_main_dispatch (context=0x536fb0) at gmain.c:3234
>8 g_main_context_dispatch (context=context@entry=0x536fb0) at gmain.c:3887
>9 0x760fff58 in g_main_context_iterate (context=0x536fb0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at gmain.c:3960
>10 0x76100318 in g_main_loop_run (loop=0x537088) at gmain.c:4156
>11 0x004e7146 in mobileap_main ()
>12 0x75ee9608 in __libc_start_main () from /lib/libc.so.6
>13 0x004e5bc0 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Change-Id: Ie109e7b0e194a0e531060ae3ba43175eb6784de4
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoDo not increase the ref count for gdbus invocation pointer 57/261657/1
Nishant Chaprana [Thu, 22 Jul 2021 07:03:07 +0000 (12:33 +0530)]
Do not increase the ref count for gdbus invocation pointer

Change-Id: I8ed398681e48e7f90dcd3a8d86c8e3166d620dab
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix logic for parsing wifi_direct state callback 78/261578/1
Nishant Chaprana [Wed, 21 Jul 2021 11:44:29 +0000 (17:14 +0530)]
Fix logic for parsing wifi_direct state callback

1. Return ongoing dbus call when error occurs in _wifi_direct_state_cb
2. Check for wifi_direct state post checking error_code
3. unregister callback and deinitialize wifi-direct at callback entry

Change-Id: I43e7a68b0587579531c5f9fab030385054dba897
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoUse current call context when returning ERROR_IN_PROGRESS 77/261577/1
Nishant Chaprana [Wed, 21 Jul 2021 11:23:41 +0000 (16:53 +0530)]
Use current call context when returning ERROR_IN_PROGRESS

Change-Id: I171f120ca625fe79644f6f48be0129cf1d392052
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoEnsure ifr_name is null-terminated string 56/258456/3 accepted/tizen/6.5/unified/20211028.100344 accepted/tizen/unified/20210602.122557 submit/tizen/20210531.063738 submit/tizen_6.5/20211028.162201 tizen_6.5.m2_release
Cheoleun Moon [Tue, 18 May 2021 04:47:53 +0000 (13:47 +0900)]
Ensure ifr_name is null-terminated string

Change-Id: I61343b47bcedc489be61d83f9b1750d56fa3ede1
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
3 years agostrlen: increase a size factor for including NULL 51/256251/1
Seonah Moon [Wed, 31 Mar 2021 07:59:32 +0000 (16:59 +0900)]
strlen: increase a size factor for including NULL

Change-Id: I2a3b1b3ca0a0e1611d2680252dbceba7ca6e0008

3 years agoUse a{sv} instead of 'ssssiiiiii' dbus parameter 26/251426/4 accepted/tizen/unified/20210126.141626 submit/tizen/20210126.014105
Nishant Chaprana [Wed, 13 Jan 2021 11:29:51 +0000 (16:59 +0530)]
Use a{sv} instead of 'ssssiiiiii' dbus parameter

Change-Id: I02e19caec7619e32fc7521699376e08bccf51fe2
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoFix logic to set ip-address on softap interface. 52/244352/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120420 accepted/tizen/6.0/unified/hotfix/20201103.052248 accepted/tizen/unified/20200925.140217 submit/tizen/20200925.060710 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Niraj Kumar Goit [Thu, 17 Sep 2020 11:54:42 +0000 (17:24 +0530)]
Fix logic to set ip-address on softap interface.

Change-Id: I5f585757a03b165a65c843d5826513528377dc27
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoFix internet access issue in second Wi-Fi hotspot 81/243181/2 accepted/tizen/unified/20200915.014613 submit/tizen/20200914.130535
Nishant Chaprana [Thu, 3 Sep 2020 17:48:49 +0000 (23:18 +0530)]
Fix internet access issue in second Wi-Fi hotspot

This patch fixes the internet access issue in second Wi-Fi hotspot
by using separate subnet for each wifi interface.

Change-Id: I782d71ec74ef824947726be87db1068b2254879b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoMerge "Fix Redundant NULL check" into tizen accepted/tizen/unified/20200903.151729 submit/tizen/20200828.142119 submit/tizen/20200901.053326 submit/tizen/20200902.111409 submit/tizen/20200903.044940
Jaehyun Kim [Fri, 28 Aug 2020 13:11:56 +0000 (13:11 +0000)]
Merge "Fix Redundant NULL check" into tizen

3 years agoMerge "Fix NULL dreference" into tizen
Jaehyun Kim [Fri, 28 Aug 2020 13:05:51 +0000 (13:05 +0000)]
Merge "Fix NULL dreference" into tizen

3 years agoFix Redundant NULL check 59/242659/2
Prasadam Prashath Kumar [Fri, 28 Aug 2020 12:39:34 +0000 (18:09 +0530)]
Fix Redundant NULL check

Change-Id: I71258bec917b76ba894311dff7ab70f8786dc438
Signed-off-by: Prasadam Prashath Kumar <prasadam.p@samsung.com>
3 years agoFix NULL dreference 58/242658/3
Prasadam Prashath Kumar [Fri, 28 Aug 2020 12:22:48 +0000 (17:52 +0530)]
Fix NULL dreference

checked the NULL before dereference

Change-Id: Ic5ea6e726b700ede91b1306d8d93f3a2ef4e4fd3
Signed-off-by: Prasadam Prashath Kumar <prasadam.p@samsung.com>
3 years agoFix driver activation logic based on multi-interface support 42/242642/1
Nishant Chaprana [Fri, 28 Aug 2020 10:49:17 +0000 (16:19 +0530)]
Fix driver activation logic based on multi-interface support

Change-Id: I44acf6d855b282b57d205f544110da8086be5988
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
3 years agoAdded support of dualband support feature. 54/242054/11
Prasadam Prashath Kumar [Sun, 23 Aug 2020 14:43:04 +0000 (20:13 +0530)]
Added support of dualband support feature.

Change-Id: I01dddc705ab71b41f71254968a648d90d5ed5887
Signed-off-by: Prasadam Prashath Kumar <prasadam.p@samsung.com>
3 years agoAdded support of wifi-sharing feature. 44/242044/6
Niraj Kumar Goit [Fri, 21 Aug 2020 19:26:14 +0000 (00:56 +0530)]
Added support of wifi-sharing feature.

Added support of wifi-sharing feature to share internet of
wireless network connection with other devices.

Change-Id: I5850be72853dcc8a5c99505502232e9398c6ceaf
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
3 years agoAdd method to get available wifi interfaces info 86/241286/4
Nishant Chaprana [Wed, 19 Aug 2020 05:01:26 +0000 (10:31 +0530)]
Add method to get available wifi interfaces info

Change-Id: Iddd62879f374c5f178b3675c2dbbe6d92c75b9b3
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoAdd txpower argument in enable_wifi_tethering and reload_wifi_settings method call 34/239034/3 accepted/tizen/unified/20200827.105726 submit/tizen/20200824.065557
Nishant Chaprana [Tue, 21 Jul 2020 07:34:58 +0000 (13:04 +0530)]
Add txpower argument in enable_wifi_tethering and reload_wifi_settings method call

Change-Id: I841bd8c12782c7095a65d17efd526c8b230c515e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
4 years agoUse %{_unitdir} macro to install service file 19/236919/2 accepted/tizen/unified/20200626.133602 submit/tizen/20200624.024127
Seonah Moon [Tue, 23 Jun 2020 08:46:40 +0000 (17:46 +0900)]
Use %{_unitdir} macro to install service file

Change-Id: Ic1f689fcaf93efc9514efe71057de04a6070feff

4 years agoFix coverity issues 82/224782/1 accepted/tizen/unified/20200225.224318 submit/tizen/20200214.070503 submit/tizen/20200224.070517
Cheoleun Moon [Thu, 13 Feb 2020 04:51:39 +0000 (13:51 +0900)]
Fix coverity issues

Change-Id: Ibbd914ce74892d163729d8902abbad64d8c6fcde
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
4 years agoFix format-truncation warning for gcc9 24/220924/1 accepted/tizen/unified/20191227.142751 submit/tizen/20191226.234511
Semun Lee [Thu, 26 Dec 2019 02:45:46 +0000 (11:45 +0900)]
Fix format-truncation warning for gcc9

Just increased buffer size from 1024 to 2048.

/src/mobileap_softap.c:230:22: error: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1008 [-Werror=format-truncation=]

Change-Id: I3fe630ce89fdf894b28665aea2a21d8604ae314b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
4 years agoEnable tethering feature on IoT profile 93/220093/4 accepted/tizen/unified/20191220.123203 submit/tizen/20191219.104454
Seonah Moon [Fri, 13 Dec 2019 04:18:57 +0000 (13:18 +0900)]
Enable tethering feature on IoT profile

- Adjust HEADLESS macro
- Change the way to call notification API

Change-Id: Id8ade57f63c3c134d5116b75bcf8659b6d940593

4 years agoHandle user defined IP address when update station info 20/219220/1 accepted/tizen/unified/20191206.054009 submit/tizen/20191205.103938
Seonah Moon [Tue, 3 Dec 2019 10:32:48 +0000 (19:32 +0900)]
Handle user defined IP address when update station info

Change-Id: I37b13be0d1d6fa5abff9b7834e5d3472fec2819a

4 years agoMigration to openssl 1.1 31/207931/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.025522 accepted/tizen/5.5/unified/mobile/hotfix/20201027.085121 accepted/tizen/unified/20191008.101606 submit/tizen/20191007.050110 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Seonah Moon [Fri, 14 Jun 2019 04:47:23 +0000 (13:47 +0900)]
Migration to openssl 1.1

Change-Id: I617b008da14d6a9c2974c54506934b02257a1fd3

5 years agoDelete meaningless configuration 04/209504/1 accepted/tizen/unified/20190725.042820 submit/tizen/20190723.090434
INSUN PYO [Mon, 8 Jul 2019 10:36:40 +0000 (19:36 +0900)]
Delete meaningless configuration

Change-Id: I3bcb2f9b4232fc536d8cffc8f5b344d07d3775b9

5 years agoMerge "Added support of SAE security mode." into tizen accepted/tizen/unified/20190705.041530 submit/tizen/20190704.051030
Jaehyun Kim [Thu, 4 Jul 2019 05:08:55 +0000 (05:08 +0000)]
Merge "Added support of SAE security mode." into tizen

5 years agoAdded support of SAE security mode. 87/208287/2
Mayank Haarit [Fri, 21 Jun 2019 06:21:52 +0000 (11:51 +0530)]
Added support of SAE security mode.

Change-Id: I0c2af5b4211ea17dab67e610683d1afe5d74a0be
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
5 years agoMerge "Remove unused allow own in dbus policy" into tizen accepted/tizen/unified/20190702.115004 submit/tizen/20190701.013136
cheoleun moon [Mon, 1 Jul 2019 01:30:17 +0000 (01:30 +0000)]
Merge "Remove unused allow own in dbus policy" into tizen

5 years agoRemove unused allow own in dbus policy 95/208395/1
Hyotaek Shim [Mon, 24 Jun 2019 04:54:11 +0000 (13:54 +0900)]
Remove unused allow own in dbus policy

Change-Id: I46f9bf3aeadf62021c52171430ba1809ed5d4503
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoIncrease a ref count for g_context 88/208388/1 accepted/tizen/unified/20190627.014829 submit/tizen/20190625.042852
Seonah Moon [Mon, 24 Jun 2019 02:48:51 +0000 (11:48 +0900)]
Increase a ref count for g_context

Change-Id: I1d7a4fb54d8b334ea3a7037c4ce20ba564a0e223

5 years agoFix build warning (64-bit) 54/195754/1 accepted/tizen/unified/20181219.063229 submit/tizen/20181218.015616
Cheoleun Moon [Tue, 18 Dec 2018 01:48:20 +0000 (10:48 +0900)]
Fix build warning (64-bit)

Change-Id: I96d5983c2da3b8e6b612cb67b72c5b6d8433875c
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix dlog format error 39/195739/1
Cheoleun Moon [Mon, 17 Dec 2018 23:27:16 +0000 (08:27 +0900)]
Fix dlog format error

Change-Id: I09472492d2c6d16895795c341be808241271c79d
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix build warnings 56/195056/5 accepted/tizen/unified/20181211.064649 submit/tizen/20181210.103449
Cheoleun Moon [Mon, 10 Dec 2018 08:20:53 +0000 (17:20 +0900)]
Fix build warnings

Change-Id: Id6e3528855fa18ea5ecb310c1334199dfd128ea8
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix build errors 55/195055/3
Cheoleun Moon [Mon, 10 Dec 2018 08:12:41 +0000 (17:12 +0900)]
Fix build errors

Change-Id: I8c3e11c30762b301fd82c0eee2bbee0a04b20420
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoAdd cap_dac_override capability 09/194409/1 accepted/tizen/unified/20181204.152230 submit/tizen/20181204.070919
Seonah Moon [Tue, 4 Dec 2018 06:57:26 +0000 (15:57 +0900)]
Add cap_dac_override capability

Change-Id: If0d46435fade067bdb230db292c69e42ba4a8bf2

5 years agoChange dbus timeout 38/191338/1 submit/tizen/20181016.070122
Seonah Moon [Tue, 16 Oct 2018 06:41:40 +0000 (15:41 +0900)]
Change dbus timeout

firmware load may take long time. (e.g. XU3)

Change-Id: Ib876bcd4dc1d4079a27aad9497f5040fa825e8bb

5 years ago[CID-1026364] Fix memory leak 46/189346/4 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.020221 accepted/tizen/unified/20180918.062903 submit/tizen/20180917.072141 submit/tizen_5.0/20181101.000003
Seonah Moon [Mon, 17 Sep 2018 06:46:38 +0000 (15:46 +0900)]
[CID-1026364] Fix memory leak

Change-Id: Id62d49228067ee2c2365745cb7b98e2d1c0a97d7

5 years agoFix wrong init value 69/188769/1 accepted/tizen/unified/20180911.055400 submit/tizen/20180910.104903
Seonah Moon [Mon, 10 Sep 2018 07:00:42 +0000 (16:00 +0900)]
Fix wrong init value

Change-Id: If02c6be3a27796e4f709e9e5c44684b012406aab

5 years agoCheck softap/tethering state before using WPS 38/187838/1 accepted/tizen/unified/20180829.142645 submit/tizen/20180829.020916
Seonah Moon [Wed, 29 Aug 2018 02:02:29 +0000 (11:02 +0900)]
Check softap/tethering state before using WPS

Change-Id: I770862a863ee1ea89fb2c3344ec115cbb15cd8ce

5 years ago[softap] check privilege when getting passphrase 12/187712/1 submit/tizen/20180828.050712
Seonah Moon [Tue, 28 Aug 2018 04:28:13 +0000 (13:28 +0900)]
[softap] check privilege when getting passphrase

Change-Id: I62613ab8c939bd8f66f7b2b1b9b69e3a81bf9637

5 years agoEmit changed signal when softap is reloaded 66/187366/4 accepted/tizen/unified/20180827.071346 submit/tizen/20180824.060624
Seonah Moon [Wed, 22 Aug 2018 09:03:10 +0000 (18:03 +0900)]
Emit changed signal when softap is reloaded

Change-Id: Iabf5e427f1781ef4fbe3fb64d90a6999cb561172

5 years agoStore SoftAP passphrase to key-manager DB 36/187336/2
Seonah Moon [Wed, 22 Aug 2018 05:56:42 +0000 (14:56 +0900)]
Store SoftAP passphrase to key-manager DB

Change-Id: I30a6ab9bc00036c608d1826ac28067a039100392

5 years agoUpdate softap vconfkey when enabling softap 68/187268/3
Seonah Moon [Tue, 21 Aug 2018 10:11:52 +0000 (19:11 +0900)]
Update softap vconfkey when enabling softap

Change-Id: Ib1423da43a85d986684ceb400838faa4597dd5f6

5 years agoFix build warnings 79/186279/1
Milind Murhekar [Wed, 8 Aug 2018 12:45:44 +0000 (18:15 +0530)]
Fix build warnings

This change fixes the build warnings which
occurs during local build.

Change-Id: I51a073b89272fc0b33970d0c99d0bf71b7b8d3c5
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
6 years ago[WGID-348564,348983] Fix svace issues 89/184889/1 accepted/tizen/unified/20180725.060446 submit/tizen/20180724.092802
Seonah Moon [Tue, 24 Jul 2018 06:11:44 +0000 (15:11 +0900)]
[WGID-348564,348983] Fix svace issues

Change-Id: Ie86878940d9d5972a31222e5bbc4aca81687d392

6 years agoRemove unnecessary code 55/184155/2 accepted/tizen/unified/20180717.063114 submit/tizen/20180716.055639
Seonah Moon [Mon, 16 Jul 2018 04:17:45 +0000 (13:17 +0900)]
Remove unnecessary code

Change-Id: Ifc2b715db7d894dc71c0f74590dcd937047f8d08

6 years agoFix memory leak (CID-118390) 52/184152/2
chleun.moon [Mon, 16 Jul 2018 04:11:35 +0000 (13:11 +0900)]
Fix memory leak (CID-118390)

Change-Id: I7176f87995bd233d64f3938a429ce9b871ba3726
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoFix memory leak in mobileap_network.c 34/184134/1
Taesoo Jun [Mon, 16 Jul 2018 01:37:53 +0000 (10:37 +0900)]
Fix memory leak in mobileap_network.c

Change-Id: Ife276621c8b918bf90e5b60021b534d03de7188d
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
6 years agoFix double free issue (WGID-348564) 85/183685/1 submit/tizen/20180710.041641
chleun.moon [Tue, 10 Jul 2018 04:00:32 +0000 (13:00 +0900)]
Fix double free issue (WGID-348564)

Change-Id: I70ade27dedc2adfb3474f524ea1b51055939c183
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoClean up IPv6 network information during terminating tethering 16/183416/1 accepted/tizen/unified/20180711.132733 submit/tizen/20180709.014423
Seonah Moon [Thu, 5 Jul 2018 07:32:08 +0000 (16:32 +0900)]
Clean up IPv6 network information during terminating tethering

Change-Id: Ie386219f47b940eb9393e3a80ffbef918d787b73

6 years ago[IPv6] Use DNS address offered from default network 13/183313/1 accepted/tizen/unified/20180705.081242 submit/tizen/20180704.233838
Seonah Moon [Tue, 19 Jun 2018 05:19:23 +0000 (14:19 +0900)]
[IPv6] Use DNS address offered from default network

Change-Id: I04b5f93a68f62d5925150c41918536e05a2704bb

6 years agoRemove unnecessary IPv6 routing rule 12/183312/2
Seonah Moon [Fri, 15 Jun 2018 05:37:14 +0000 (14:37 +0900)]
Remove unnecessary IPv6 routing rule

Change-Id: I7bf4087a748f51edd10bb7476c4ee3d5c3e38394

6 years agoFix unmatched value with vconfkey 30/181630/1 accepted/tizen/unified/20180620.131502 submit/tizen/20180619.042644
Seonah Moon [Fri, 15 Jun 2018 07:28:42 +0000 (16:28 +0900)]
Fix unmatched value with vconfkey

Change-Id: I7cf5f700fffa0ff0b4e9ef9b55668c9377f5e3d8

6 years ago[Build Warning] comment out unused static functions 00/181600/1 accepted/tizen/unified/20180619.110142 submit/tizen/20180615.050933
chleun.moon [Fri, 15 Jun 2018 04:51:17 +0000 (13:51 +0900)]
[Build Warning] comment out unused static functions

Change-Id: Id80983584685691753888373684b0b302933f9c6
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years ago[Build Warning] comment out unused static function 79/181579/1
Taesoo Jun [Fri, 15 Jun 2018 01:24:36 +0000 (10:24 +0900)]
[Build Warning] comment out unused static function

Change-Id: I1fea85b9efb617aa22b31bc6a409572c5ce24bdf
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
6 years ago[Build Warning] remove unused local variable 78/181578/1
Taesoo Jun [Fri, 15 Jun 2018 01:21:13 +0000 (10:21 +0900)]
[Build Warning] remove unused local variable

Change-Id: I5cccac8c1adda1781ecab21b0e51fa76c7c6abac
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
6 years ago[Build Warning] comment out unused static functions 74/181574/1
Taesoo Jun [Fri, 15 Jun 2018 01:07:28 +0000 (10:07 +0900)]
[Build Warning] comment out unused static functions

Change-Id: I9c245019ea507810e2149998db695a61a74bc8c9

6 years ago[Build Warning] add inlclude mobilap_network.h to avoid implicit func declaration 73/181573/1
Taesoo Jun [Fri, 15 Jun 2018 01:04:01 +0000 (10:04 +0900)]
[Build Warning] add inlclude mobilap_network.h to avoid implicit func declaration

Change-Id: Ib43f7c696ea46dbe7b6886b53e08ed9f201f5de6

6 years agoEnable IPv6 tethering for USB 07/181207/1 accepted/tizen/unified/20180612.044144 submit/tizen/20180611.081404
Seonah Moon [Mon, 11 Jun 2018 05:12:38 +0000 (14:12 +0900)]
Enable IPv6 tethering for USB

- Fix USB tethering logic for IPv6 tethering
- Add address type to 'enable/disable_usb_tethering' dbus method
- Change dnsmasq.conf (SLLAC -> DHCPv6)
  When using SLLAC, 'DHCP connected' dbus signal is not sent from dnsmasq.
  It makes daemon can't store client's info.
- Add new function: _add_ipv6_default_router()
  default router is removed from routing table when 'forwarding' option is enabled.

Change-Id: I20c05b18bff0966db26def695a79ea5a97a145d1

6 years agoUpdate dbus configure file to check SoftAP privilege 39/177039/3 accepted/tizen/unified/20180504.063614 submit/tizen/20180503.073919
Seonah Moon [Wed, 25 Apr 2018 02:05:49 +0000 (11:05 +0900)]
Update dbus configure file to check SoftAP privilege

New privilege for SoftAP was added.
- http://tizen.org/privilege/softap
- http://tizen.org/privilege/softap.admin

Change-Id: I458aed520c12ed11ddfaf920185b9ffc15af22de

6 years ago[CID-118390] Fix resource leak 60/175960/1 accepted/tizen/unified/20180417.173202 submit/tizen/20180416.224602
Seonah Moon [Mon, 16 Apr 2018 02:40:27 +0000 (11:40 +0900)]
[CID-118390] Fix resource leak

Change-Id: I85004eaa5ff890a3222f2b5c955dfddaaeee604d

6 years agoMerge "Added dbus/cynara policy" into tizen
taesub kim [Tue, 10 Apr 2018 04:36:50 +0000 (04:36 +0000)]
Merge "Added dbus/cynara policy" into tizen

6 years agoReturn TRUE in gdbus method call handler 34/175034/1
Seonah Moon [Fri, 6 Apr 2018 05:28:31 +0000 (14:28 +0900)]
Return TRUE in gdbus method call handler

Change-Id: I86b35af20fe17ae7879156abb0def23229707a30

6 years agoAdded dbus/cynara policy 63/174463/2
taesub kim [Mon, 2 Apr 2018 08:41:17 +0000 (17:41 +0900)]
Added dbus/cynara policy

Change-Id: I01bace365648c7200b7bfe75c7e67fb23745f40c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoFix build error 81/174781/1 accepted/tizen/unified/20180406.062042 accepted/tizen/unified/20180409.100035 submit/tizen/20180402.232840 submit/tizen/20180404.081716 submit/tizen/20180408.231339
Jaehyun Kim [Wed, 4 Apr 2018 06:43:36 +0000 (15:43 +0900)]
Fix build error

Change-Id: I374761e060d315ab1fdd985a46750642684ac2be
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoFix coverity issues 63/172263/1 sandbox/dnxowls/cmake_upgrade accepted/tizen/unified/20180320.141358 submit/tizen/20180318.231541 submit/tizen/20180320.043504
Seonah Moon [Tue, 13 Mar 2018 05:12:30 +0000 (14:12 +0900)]
Fix coverity issues

CID-108175, 83324, 83323

Change-Id: Ifd95e507960c062afd313befdccf9a0d62bb4bdb

6 years agoFix SVACE issues 10/170610/1 accepted/tizen/unified/20180228.140843 submit/tizen/20180228.052057
Seonah Moon [Wed, 21 Feb 2018 04:55:58 +0000 (13:55 +0900)]
Fix SVACE issues

- double free: WGID-305872
- unreachable code: WGID-324424, WGID-324425, WGID-324426,
                    WGID-324427, WGID-324428, WGID-324429

Change-Id: I0926a796e64c5794c44c2f928893e9c086900db3

6 years agoRemove unused code 43/168743/4 accepted/tizen/unified/20180201.075938 submit/tizen/20180131.092200
Seonah Moon [Tue, 30 Jan 2018 11:13:04 +0000 (20:13 +0900)]
Remove unused code

1. mobileap_agent_port_forward_info file is not exist
: _add_port_forward_rule(), __read_port_forward_info()
2. _remove_route() is not used

Change-Id: I33845ca51ae8b37e7dfbe11c2a340426dd1f9cd3

6 years agoAdd unittest code 45/168745/3
Seonah Moon [Tue, 30 Jan 2018 11:27:54 +0000 (20:27 +0900)]
Add unittest code

Change-Id: I866158b0fa8d9403223834dcd7d520af11a4c414

6 years agounittest: add new macro for unittest 41/167641/3
Seonah Moon [Fri, 19 Jan 2018 02:32:19 +0000 (11:32 +0900)]
unittest: add new macro for unittest

- Add TIZEN_FEATURE_UNITTEST
- Do not check DBusMethodInvocation if running unittest. unittest can't create it.

Change-Id: I201c1752956d0136eee2f40023afb660c87a15ca

6 years agoMinor refactor regarding of dbus methods 35/166135/3
Seonah Moon [Mon, 8 Jan 2018 05:43:42 +0000 (14:43 +0900)]
Minor refactor regarding of dbus methods

1. Move some dbus methods to mobileap_common.*
2. Return proper error value when dbus method is failed

Change-Id: I6432e99bff54c6575f4833ea11bb9f1ba9d29c47

6 years agoAdd new source file for main function 80/165980/3
Seonah Moon [Fri, 5 Jan 2018 05:08:16 +0000 (14:08 +0900)]
Add new source file for main function

Change-Id: I0dfb89fc3ec199fa06898211ba9f8e522f309dc1

6 years agoFirst draft for unittest 51/166151/5
Seonah Moon [Mon, 8 Jan 2018 08:19:12 +0000 (17:19 +0900)]
First draft for unittest

Change-Id: I67b2115edefe885e50bffc2ceb304135a4965a4a

6 years agodpm: change dpm signal name 67/166867/1 accepted/tizen/unified/20180115.074432 submit/tizen/20180112.072236
Seonah Moon [Fri, 12 Jan 2018 07:23:35 +0000 (16:23 +0900)]
dpm: change dpm signal name

Change-Id: I2221cd75398bd4ca3e8b77cc2190058e535c0d46

6 years agoUse dnsmasq.conf file for DHCP range 28/156028/1 accepted/tizen/unified/20171101.064638 submit/tizen/20171030.235508
Seonah Moon [Tue, 17 Oct 2017 04:13:08 +0000 (13:13 +0900)]
Use dnsmasq.conf file for DHCP range

Change-Id: Id5913c7b40fbee81e6fae7f4386ff44f1f762aa0

6 years agoAdd ip address to internal structure for SoftAP 82/155982/1
Seonah Moon [Fri, 13 Oct 2017 07:04:26 +0000 (16:04 +0900)]
Add ip address to internal structure for SoftAP

Change-Id: Iab148b675145418ff291918d21f3ace1d07c71d4
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[SWCSDL-154] fix potential buffer overflow 05/155805/1 accepted/tizen/unified/20171018.062543 submit/tizen/20171017.050741 submit/tizen/20171017.075711
Seonah Moon [Mon, 16 Oct 2017 07:43:27 +0000 (16:43 +0900)]
[SWCSDL-154] fix potential buffer overflow

Change-Id: I913445f525b23ac4caab6cc9ed9c4244773d11ca
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoChange the file path for hostapd 42/154542/1 accepted/tizen/unified/20171011.150221 submit/tizen/20171011.035354
Seonah Moon [Thu, 28 Sep 2017 06:26:03 +0000 (15:26 +0900)]
Change the file path for hostapd

Change-Id: I0f34df4f483d1354c07d2733d608a7137f7404f8
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[SoftAP] Do not disable wifi or wifi-direct before activating SoftAP 41/154541/1
Seonah Moon [Thu, 28 Sep 2017 07:23:38 +0000 (16:23 +0900)]
[SoftAP] Do not disable wifi or wifi-direct before activating SoftAP

Change-Id: I7168b08968e937361a61ee1400409308d778cef1
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoUpdate vconf value for channel 32/154332/1 accepted/tizen/unified/20171011.065909 submit/tizen/20171010.084928
Seonah Moon [Tue, 10 Oct 2017 05:32:58 +0000 (14:32 +0900)]
Update vconf value for channel

Change-Id: I58e3aa7c5049ab5db52202cab251bf70bc8be1d4

6 years agoAdd mode for SoftAP 52/152952/3
Seonah Moon [Wed, 27 Sep 2017 11:09:18 +0000 (20:09 +0900)]
Add mode for SoftAP

Change-Id: I4b7b21e76210cb859847cfa5492cc5d482e0bf47
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoSoftAP: Use a variant data type instead of parameters 19/151519/4
Seonah Moon [Thu, 21 Sep 2017 06:38:11 +0000 (15:38 +0900)]
SoftAP: Use a variant data type instead of parameters

Change-Id: Ic40d1ec01f9196317e161a6c784261c8653698bd

6 years agoFixed typo mistake for NULL parameter 47/152447/2 accepted/tizen/unified/20170927.063358 submit/tizen/20170926.225235
Jaehyun Kim [Tue, 26 Sep 2017 07:15:00 +0000 (16:15 +0900)]
Fixed typo mistake for NULL parameter

Change-Id: Ib02d99e2e27d87494a1f30fe096f55aa525bbb2e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years ago[WGID-289386] Specify the maximum input length of sscanf() 81/149681/1 accepted/tizen/unified/20170914.065443 submit/tizen/20170913.024954
Seonah Moon [Wed, 13 Sep 2017 01:58:18 +0000 (10:58 +0900)]
[WGID-289386] Specify the maximum input length of sscanf()

Change-Id: Ib67914e56838e1f6db9e4650b7ad7142584b9e33
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years ago[softap] Add new APIs for dhcp server 82/149082/1 accepted/tizen/unified/20170913.071051 submit/tizen/20170911.125730
Seonah Moon [Mon, 11 Sep 2017 11:31:58 +0000 (20:31 +0900)]
[softap] Add new APIs for dhcp server

Change-Id: I0cdcc6a7636e1656e24a2cc0f27a53ba3d20bf59
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoAdd cap_sys_chroot capability for named 36/148936/1
Seonah Moon [Mon, 11 Sep 2017 07:15:22 +0000 (16:15 +0900)]
Add cap_sys_chroot capability for named

Change-Id: Icb968e43aaad27de30e0eaf73651b4ecddef9c3f
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoSet channel for softap 35/148235/1
Seonah Moon [Thu, 7 Sep 2017 07:12:45 +0000 (16:12 +0900)]
Set channel for softap

Change-Id: Icdfe4b5165def1310b1b5e9d8b8d512819bd62fd
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agoFixed wifi tethering reload issue 30/148030/1
Seonah Moon [Wed, 6 Sep 2017 10:13:44 +0000 (19:13 +0900)]
Fixed wifi tethering reload issue

Change-Id: Ie33d19623bd02998b34329ff67d2380bd81cdc95
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
6 years agobug fix: remove duplicated config 92/146992/1 accepted/tizen/unified/20170901.030023 submit/tizen/20170831.131643
Seonah Moon [Thu, 31 Aug 2017 11:28:45 +0000 (20:28 +0900)]
bug fix: remove duplicated config

Change-Id: I3da6f6ad5f55f6e87bcd4dc130a6cb2a342cebd2

6 years agoChange SoftAP Channel from 6 to 1 37/146837/1 submit/tizen/20170831.014924
taesub kim [Wed, 30 Aug 2017 23:23:13 +0000 (08:23 +0900)]
Change SoftAP Channel from 6 to 1

Change-Id: I3ec4854f2e43ae03f0d53ee7784013f7fd17f822
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoRemove unused capability(cap_sys_admin) 02/143202/2 accepted/tizen/4.0/unified/20170828.223627 accepted/tizen/unified/20170818.000024 submit/tizen/20170817.084342 submit/tizen_4.0/20170828.100003
Seonah Moon [Wed, 9 Aug 2017 04:59:57 +0000 (13:59 +0900)]
Remove unused capability(cap_sys_admin)

Change-Id: I9f70ac8c42ca34c4462e449370fc027bb0d288e7

6 years agoMerge "Set VSIE to vconfkey" into tizen accepted/tizen/unified/20170811.021105 submit/tizen/20170803.074947 submit/tizen/20170809.085632
taesub kim [Wed, 2 Aug 2017 10:19:24 +0000 (10:19 +0000)]
Merge "Set VSIE to vconfkey" into tizen

6 years agoMerge "Fixed softap reload issue" into tizen
taesub kim [Wed, 2 Aug 2017 10:19:04 +0000 (10:19 +0000)]
Merge "Fixed softap reload issue" into tizen

6 years agoMerge "Fixed build warnings" into tizen
taesub kim [Wed, 2 Aug 2017 10:18:30 +0000 (10:18 +0000)]
Merge "Fixed build warnings" into tizen

6 years agoSet VSIE to vconfkey 35/141135/2
Seonah Moon [Fri, 28 Jul 2017 08:04:58 +0000 (17:04 +0900)]
Set VSIE to vconfkey

Change-Id: Ie4c0e6245daae403c1ff6bc7287a3720bd570712