saerome.kim [Mon, 1 Oct 2018 06:21:40 +0000 (15:21 +0900)]
dbus-policy : Simplified complex dbus config. rules.
Change-Id: I365e42d6da8234024c188fbe79961f4933b6015f
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Nishant Chaprana [Thu, 20 Sep 2018 11:52:23 +0000 (17:22 +0530)]
Remove hostapd configuration file after starting SoftAp
Change-Id: I046024e09c99f25684717159496edeb0772ae2a9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 20 Sep 2018 11:38:34 +0000 (17:08 +0530)]
Correct file permissions of mesh_hostapd.conf
Change-Id: I4282ac275f149ab4640baf272220008fb98730f2
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
saerome.kim [Tue, 18 Sep 2018 08:30:36 +0000 (17:30 +0900)]
Enable privilege check
Change-Id: Ibd48ad4f17420e7283ee469c0bc26f2c1f7575d7
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 20 Aug 2018 06:30:30 +0000 (15:30 +0900)]
Check the feature in order to execute HAL accordance with the feature.
Change-Id: I0b0fd70df08bcec0d8c574860a285b2be26f3870
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 20 Aug 2018 02:43:27 +0000 (11:43 +0900)]
Changed HAL test binary name to accordance with HAL test RPM package name.
Change-Id: I785079fe8e99dc3e9e1928c43ef16406270e9e5a
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome kim [Thu, 16 Aug 2018 05:01:25 +0000 (05:01 +0000)]
Merge "Added Haltest for wifi-mesh-manager" into tizen
Abhishek Sansanwal [Tue, 14 Aug 2018 06:06:54 +0000 (11:36 +0530)]
Added Haltest for wifi-mesh-manager
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I2f4482531ea487e1145f361c35a42e7004c6abdf
Abhishek Sansanwal [Mon, 13 Aug 2018 11:15:20 +0000 (16:45 +0530)]
Add a parameter to call dbus method create_mesh_network
Description: Additional parameter was added to the
dbus method "create_mesh_network" in the commit
48d7d1c3. This resulted in the dbus call failing.
Add this additional parameter while calling the
dbus method.
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Ie9feb592fd986d963e802c85e9e1f3d2bfd6dc46
Nishant Chaprana [Tue, 17 Apr 2018 08:50:31 +0000 (14:20 +0530)]
Enabled RRM neighbour reports (IEEE 802.11k) for softap
Change-Id: I9d4afaba613f341bdbaa81c0f161aaea493ea5f9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 6 Apr 2018 07:27:58 +0000 (12:57 +0530)]
Set PMF using Wi-Fi Mesh CAPI input
Change-Id: I4d72bb6aac256e85600840c772bcbf1c654c822c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
saerome.kim [Thu, 5 Apr 2018 01:33:39 +0000 (10:33 +0900)]
Add privilege to dbus conf file
Change-Id: I49860a47e7016893aace225d20f089adb33a4b80
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 19 Mar 2018 11:29:04 +0000 (20:29 +0900)]
fix svace issue
- WID 3137790, 313819, 314741, 315855
Change-Id: I93e058c6beaf5479edf3f33dfa86e38f042d480d
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 26 Feb 2018 07:25:30 +0000 (16:25 +0900)]
remove gtest & gcov macros in spec file
Change-Id: I767da81275282f8b1a697f39efdd2de78dc05ab9
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Abhishek Sansanwal [Thu, 15 Feb 2018 09:15:39 +0000 (14:45 +0530)]
Added initial code for gtest
- Without Wi-Fi Mesh feature
Overall coverage rate:
lines......: 80.5% (1213 of 1506 lines)
functions..: 84.0% (121 of 144 functions)
- Without Wi-Fi Mesh feature but without Wi-Fi chip
Overall coverage rate:
lines......: 85.6% (1327 of 1551 lines)
functions..: 91.1% (133 of 146 functions)
- With Wi-Fi Mesh feature and without peer nodes
Overall coverage rate:
lines......: 94.9% (1472 of 1551 lines)
functions..: 95.9% (140 of 146 functions)
- With Wi-Fi Mesh feature and with 1 more peer nodes
Overall coverage rate:
lines......: 97.1% (1506 of 1551 lines)
functions..: 98.6% (144 of 146 functions)
Change-Id: I17efc29c1933a015b418b7cb47b5afd3ad3ba431
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Signed-off-by: Kshitiz <kshitiz.b@samsung.com>
saerome.kim [Thu, 8 Feb 2018 08:14:16 +0000 (17:14 +0900)]
Backout commit
46ff72c744b643df25898d10400f778f24897a74
Change-Id: I113ce488b6f9d156b1ed8160501760ce36594e13
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 8 Feb 2018 07:55:43 +0000 (16:55 +0900)]
TEST: change sysfs permission as 'network_fw'
Change-Id: I901391ecaebadf0651bd8db19483bdbaf0018c6d
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 20 Dec 2017 01:37:43 +0000 (10:37 +0900)]
Fix resource leak (Prevent)
- CID 72981, 72962
Change-Id: I723b18645ed39357071890315ba93afbc51ee886
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 20 Dec 2017 00:56:12 +0000 (09:56 +0900)]
Fix resource leak (prevent)
- CID 72905
Change-Id: Ie1ec8a882efa75f2cbffb8eab7927f7e4d239997
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 20 Dec 2017 00:36:31 +0000 (09:36 +0900)]
Fix resurce leak problem (Prevent)
- CID 72897
Change-Id: I8b67801d3b04e03179cc6c26eda892a656dc4aa4
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 19 Dec 2017 09:07:45 +0000 (18:07 +0900)]
Fix Null point dereferences (Prevent)
- CID 72904
Change-Id: Ib9a5140de2f0280577c5e444a529dda1b3db3ab6
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 19 Dec 2017 07:58:21 +0000 (16:58 +0900)]
Fix reource leak problem (Prevent)
- CID 73163
Change-Id: Ia985e6ff59373c9b14fc168af2e37c0b5057d9b5
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Taesoo Jun [Tue, 19 Dec 2017 05:22:44 +0000 (14:22 +0900)]
Fix illegal memory access with strncpy in wmesh_bridge_set_stp()
Change-Id: Ibff94e2325a8b48341a079d9b3e20cf2d63dbfe9
Taesoo Jun [Tue, 19 Dec 2017 05:06:11 +0000 (14:06 +0900)]
Fix memory leak in wmesh_gdbus_create_network()
Change-Id: I3a6cafa6876df9af345830669dce00b5884b529c
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
saerome.kim [Thu, 14 Dec 2017 06:31:36 +0000 (15:31 +0900)]
Remove %caps in spec file
Due to security policy, it is not allowed to declare %caps in spec.
file.
Change-Id: I8a3fcbbdabeffb5bb6026b06f961af2379a6d8da
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Tue, 5 Dec 2017 10:39:52 +0000 (16:09 +0530)]
wmesh-manager: Define missing station info enums
Change-Id: I6fa51b5d7ada92cfc25df7bb2e0224bfdf025e7f
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Tue, 5 Dec 2017 10:38:06 +0000 (16:08 +0530)]
wmesh-manager: Send authenticated info in get_station_info
Change-Id: I96d64d1a42dca95d4f6e8597698004f5fbfedde3
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 4 Dec 2017 09:50:20 +0000 (15:20 +0530)]
wmesh-manager: Add support to get softAP station info
Change-Id: I5f80e22db61a55a9bacd83a472d478ce5b536001
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 29 Nov 2017 09:48:37 +0000 (15:18 +0530)]
wmesh-manager: Provide station type in sta_joined/sta_left signal
New Station joined can either be a Mesh Point or a station connected on
SoftAP interface. This patch provides station type also along with
sta_joined/sta_left signal so that application can identify what type of
station joined/left.
Change-Id: Ib8a2a97e534c9719ec86d190db87eb8f11537333
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 17 Nov 2017 15:31:43 +0000 (21:01 +0530)]
Make wmeshd can access sysfs without checking permission
wmeshd creates socket and connects to hostapd, it fails when it is not
root daemon. This patch makes wmeshd can bypass permission check.
Change-Id: I3737b076bc746504102415cb4fd47f35311bc07e
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Thu, 23 Nov 2017 08:27:34 +0000 (17:27 +0900)]
Fix an error in assigning NL80211_STA_INFO_PLID data to station_info->plid
Change-Id: I492f9d9aaa632456a109417b50755dc1f48a8c5d
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Wed, 15 Nov 2017 10:23:50 +0000 (15:53 +0530)]
Return if it fails to get softap configurations
When we fail to get softap configurations then ssid is still
uninitialized and printing it leads to crash
Change-Id: If37d271dcc518fd6d8bc3e0a1e55cd271e2f9c17
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome kim [Wed, 15 Nov 2017 01:11:42 +0000 (10:11 +0900)]
Remove 'warning: user network_fw does not exist - using root' warning
Change-Id: I775b8a511e103fe093aeb395c182f68f05b6d786
Signed-off-by: saerome kim <saerome.kim@samsung.com>
Saurav Babu [Mon, 13 Nov 2017 05:15:22 +0000 (10:45 +0530)]
Use proxy default timeout for g_dbus_proxy_call_sync
Change-Id: I225b7781744096ea3380ac03ad783baf3fed7081
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 13 Nov 2017 04:58:14 +0000 (10:28 +0530)]
Use MAC address in small letters
connmand uses MAC address in small letters so wmesh manager should also
use it in small letters for synchronization
Change-Id: Ie8caa4470f34c691430a5e7df7084a5e34514e2d
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Nishant Chaprana [Wed, 1 Nov 2017 06:59:09 +0000 (12:29 +0530)]
Fixed resource leak in __read_hostapd_config()
Change-Id: Ifee5845e3dbed698087b8339ac419f1301d45a11
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Maneesh Jain [Tue, 10 Oct 2017 03:25:49 +0000 (08:55 +0530)]
Replace LOGE with WMESH_LOGE Macro
Change-Id: Ie984e48b28091eaa47f5b1cb51e811407e617019
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Saurav Babu [Wed, 6 Sep 2017 11:04:53 +0000 (16:34 +0530)]
Fixed issue where station_joined and station_left event was not notified
Change-Id: I855b2fa8254a728f5227f6b69b7aefbff865eb2f
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 6 Sep 2017 09:01:07 +0000 (14:31 +0530)]
Remove mesh station when it becomes inactive
This patch removes current logic to send NL80211_CMD_DEL_STATION to
kernel from wifi-mesh-manager. Now wifi-mesh-manager will call connman's
method MeshRemovePeer to remove inactive peer
Change-Id: I2b2a6ffc1f19e45a4e255b9c7604b9f68a550d07
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Tue, 29 Aug 2017 13:34:06 +0000 (19:04 +0530)]
Enable ethernet interface after mesh interface is removed
Ethernet is disabled by connmand when mesh interface is removed and
ethernet interface was bridged to it. This patch tries to enable
ethernet interface again when mesh interface is removed.
Change-Id: I83cb59f7775f88c79430758b937e0c356476a418
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Tue, 29 Aug 2017 08:50:39 +0000 (14:20 +0530)]
Fixed crash when station is removed due to inactive time
When station is removed due to inactive time then it is removed from
list named "iter" so its corresponding data in "sta_list" becomes
dangling pointer which results in crash when "service->station_list" is
freed on calling g_list_free_full()
Change-Id: Id4d02bf576a2d67e746e3a42cd11ae2665397fc1
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Tue, 29 Aug 2017 07:47:04 +0000 (16:47 +0900)]
Fix issue that not tunring on softap
- Recently hostapd path has been changed from /usr/sbin/hostapd to /usr/bin/hostapd
So, we also change hostapd path
- Make wmeshd use /opt/usr/data/network instead of /opt/var/lib/wmesh
Change-Id: Iab7229410d7aa7cae13ce4711651f6d4ba478a67
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome kim [Tue, 22 Aug 2017 10:14:01 +0000 (19:14 +0900)]
Added new dbus to check is softap enabled
Change-Id: Ia00b1aab5d4d46012372f2cbe53eb67fedfa8a59
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome kim [Tue, 22 Aug 2017 10:07:34 +0000 (19:07 +0900)]
Add new dbus method to get SoftAP Config options
This patch reads softAP config options from hostapd config file when
dbus method to get softAP option is invoked
Change-Id: Iaca0ae4be6ae197ed3d450518b0b3f894ef5c868
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome kim [Tue, 22 Aug 2017 10:01:19 +0000 (19:01 +0900)]
dded support to get IPv4 details from connmand
Change-Id: I5468e0a00981ecb88ad180d11082a486fa3addad
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome kim [Tue, 22 Aug 2017 09:51:00 +0000 (18:51 +0900)]
Added support to check if mesh is enabled
Change-Id: I78e3c15c655de9eb793f778be76b560231720176
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome kim [Tue, 22 Aug 2017 09:45:05 +0000 (18:45 +0900)]
Added support to get Gate Announcement Mesh Param
Change-Id: Icedcf8058c4d1ea5613beb67e04a6f8c80e745ef
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome kim [Tue, 22 Aug 2017 08:40:31 +0000 (17:40 +0900)]
Added support to get Mesh Configuration using netlink
Change-Id: I4544070667cceb6dd5e21f5078dc82bfdb2912e3
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Signed-off-by: saerome kim <saerome.kim@samsung.com>
saerome.kim [Thu, 10 Aug 2017 00:41:37 +0000 (09:41 +0900)]
[SECSFV-23] Make systemd set wmeshd capabilities
Change-Id: Ib006de6493a6d6375dc9b4540aa3e926717d1876
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 9 Aug 2017 04:41:57 +0000 (13:41 +0900)]
[SECSFV-23] Change uid/gid to network_fw
Change-Id: Id0d20049720559123efbf87e7530f892f9b587ab
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome kim [Fri, 7 Jul 2017 09:13:16 +0000 (18:13 +0900)]
Change spec file name
Signed-off-by: saerome kim <saerome.kim@samsung.com>
saerome kim [Wed, 5 Jul 2017 11:40:23 +0000 (20:40 +0900)]
Change daemon nane from meshd to wmeshd
Signed-off-by: saerome kim <saerome.kim@samsung.com>
saerome.kim [Tue, 4 Jul 2017 05:16:12 +0000 (14:16 +0900)]
Removed dependency of related to the latest nl80211.h
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 12:53:18 +0000 (21:53 +0900)]
Change the calling order mesh_gdbus_set_mesh_gate and mesh_request_set_mesh_gate/mesh_request_unset_mesh_gate
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 12:13:18 +0000 (21:13 +0900)]
Add handling 'data_rate' parameter
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 07:07:07 +0000 (16:07 +0900)]
Fix Tizen coding rules
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 06:06:42 +0000 (15:06 +0900)]
Make the first wireless interface up and start wpa_supplicant if the wireless interface down & wpa_supplicant is not started
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 05:37:40 +0000 (14:37 +0900)]
Remove unused codes releated to below:
- monitoring /sys/class/net/eth0 using udev event
- monitoring /sys/class/net/eth0 using netlink event
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 04:58:56 +0000 (13:58 +0900)]
Modified sometings related to 'mesh_set_gate'
- Changed 'mesh_set_gate / mesh_unset_gate API
- Added the 'SetMeshGate' GDbus command
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Jul 2017 04:38:14 +0000 (13:38 +0900)]
Implement sending 'enable ethernet' to the ConnMan
Fix sending 'enable ethernet' to the ConnMan
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Fri, 30 Jun 2017 04:07:57 +0000 (13:07 +0900)]
Added initial monitoring service for external interface
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Jun 2017 04:00:16 +0000 (13:00 +0900)]
Fix build error temporally
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Jun 2017 03:58:56 +0000 (12:58 +0900)]
Move mesh peer monitoring service from 'enable' to 'enable_mesh'
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Jun 2017 03:56:46 +0000 (12:56 +0900)]
Fix Tizen coding rule check error
mesh-service-interface.c:174: ERROR: [BRC_M_SMT] else should follow close brace '}'
uigned-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Jun 2017 03:54:52 +0000 (12:54 +0900)]
Clear allocated list items
- Free allocated structures on destroy.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Jun 2017 03:51:16 +0000 (12:51 +0900)]
Code arrangement
- Arrange netlink library functions
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Jun 2017 03:33:26 +0000 (12:33 +0900)]
Demonize hostapd
- Run hostapd as separated daemon process with '-B' parameter
- Without it, hostapd doesn't work properly after restarted.
(Terminated with SIGTERM and started again)
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome kim [Wed, 14 Jun 2017 12:47:44 +0000 (21:47 +0900)]
Fix a bug that mesh_enable function always returns 'operation failed'
- Make that registering netlink listner is on going as success
Signed-off-by: saerome kim <saerome.kim@samsung.com>
Jiwan Kim [Wed, 14 Jun 2017 10:12:28 +0000 (19:12 +0900)]
Handle error return code
- Change to return valid return code on repeated call.
mesh_enable_mesh
mesh_disable_mesh
- Change policy of return code
mesh_cancel_scan
mesh_disable_softap
- Add method
mesh_is_joined
Jiwan Kim [Wed, 14 Jun 2017 06:37:47 +0000 (15:37 +0900)]
Fix for UTC error case
- Add privileges (not fully tested)
- Fix mesh_request_set_mesh_gate()
- Fix not to return error code on repeated enable()
saerome kim [Tue, 13 Jun 2017 07:31:31 +0000 (16:31 +0900)]
Disable privilege check routine temporaly
- remove meshd.conf file
Signed-off-by: saerome kim <saerome.kim@samsung.com>
Jiwan Kim [Tue, 13 Jun 2017 07:22:11 +0000 (16:22 +0900)]
Fix to follow coding style
Jiwan Kim [Tue, 13 Jun 2017 07:00:39 +0000 (16:00 +0900)]
Fix for svace issues
Jiwan Kim [Mon, 12 Jun 2017 05:22:32 +0000 (14:22 +0900)]
Fix mismatched function call
Jiwan Kim [Mon, 12 Jun 2017 04:51:57 +0000 (13:51 +0900)]
Rename functions
- mesh_request_ipc_* -> mesh_request_*
- mesh_ipc_* -> mesh_gdbus_*
Jiwan Kim [Mon, 12 Jun 2017 04:17:17 +0000 (13:17 +0900)]
Remove obsolete logics
- low-level logic are moved into connman and wpa_supplicant.
Jiwan Kim [Fri, 9 Jun 2017 08:29:53 +0000 (17:29 +0900)]
Add security type and passphrase
- Add 'security' param on 'get_joined_mesh_network' method
- Add 'security' param on 'connection_state' signal
- Add 'passphrase' param on 'connect_mesh_network' method
Jiwan Kim [Thu, 8 Jun 2017 07:16:10 +0000 (16:16 +0900)]
Add network connection state
- Remove 'joined_network / left_network' signal
- Add 'connection_state' signal
- Subscribe mesh profile property from connman
- Add connection state to 'get_joined_mesh_network'
and 'get_found_mesh_networks'
saerome kim [Thu, 8 Jun 2017 04:59:24 +0000 (13:59 +0900)]
Update inital peer-monitoring function
Signed-off-by: saerome kim <saerome.kim@samsung.com>
Jiwan Kim [Wed, 7 Jun 2017 02:24:45 +0000 (11:24 +0900)]
Change 'Connect' as asynchronous method
- Call asynchronousely 'Connect' method
- Add 'mesh_connected' signal for response.
It would be notified when state reaches 'Ready' from connman.
Jiwan Kim [Fri, 2 Jun 2017 07:19:53 +0000 (16:19 +0900)]
Add interface to get mesh connected peers
- get_connected_peers added.
Jiwan Kim [Thu, 1 Jun 2017 09:45:51 +0000 (18:45 +0900)]
Handle error cases
- Handle dbus error case from connman
- Add / remove necessary debug logs
Jiwan Kim [Thu, 1 Jun 2017 07:21:23 +0000 (16:21 +0900)]
Adjust dbus interface for service error code.
- Change to send (u) -> (i) for CAPI error type.
Jiwan Kim [Thu, 1 Jun 2017 04:20:36 +0000 (13:20 +0900)]
Fix parsing logic for dbus return value
- return value is an array of separated dictionary : {sv}
so g_variant_dict_lookup_value won't work this type.
Jiwan Kim [Tue, 30 May 2017 08:31:11 +0000 (17:31 +0900)]
Adjust build options
- Remove unused build parameters
Jiwan Kim [Tue, 30 May 2017 07:22:07 +0000 (16:22 +0900)]
Fix mesh network interfaces
- Fix a bug on mesh network creation
- Add interface 'disconnect'
Jiwan Kim [Mon, 29 May 2017 09:52:42 +0000 (18:52 +0900)]
Adjust dbus interface between API and connman
- Add to get current mesh network / to create mesh network
- Adjust the name of DBus interfaces
Jiwan Kim [Fri, 26 May 2017 08:00:26 +0000 (17:00 +0900)]
Fix synchronous scan method
Jiwan Kim [Fri, 26 May 2017 06:58:00 +0000 (15:58 +0900)]
Initial connman integration
Jiwan Kim [Wed, 24 May 2017 12:28:23 +0000 (21:28 +0900)]
Add initial gdbus code
Jiwan Kim [Tue, 23 May 2017 00:34:56 +0000 (09:34 +0900)]
Fix bridge error on RPI3 target
- Invalid parameter error (-22) occured with ioctl
- If 'SIOCBRADDBR' are defined, use it instead of 'SIOCSIFBR'
Jiwan Kim [Tue, 21 Mar 2017 01:39:10 +0000 (10:39 +0900)]
Change hostapd configuration file path
Jiwan Kim [Mon, 20 Mar 2017 09:11:04 +0000 (18:11 +0900)]
Store saved mesh network into storage
Jiwan Kim [Mon, 20 Mar 2017 04:57:27 +0000 (13:57 +0900)]
Add debug log for interface setting
Jiwan Kim [Mon, 20 Mar 2017 04:52:49 +0000 (13:52 +0900)]
Fix interface detection error after 2nd enable method.
Jiwan Kim [Mon, 20 Mar 2017 00:26:10 +0000 (09:26 +0900)]
Change hostapd terminate logic
- Changed not to remove configuration file on termination.
Jiwan Kim [Tue, 14 Mar 2017 10:20:59 +0000 (19:20 +0900)]
Change mesh id setting logic
- Fix missing add_mpath event issue
Jiwan Kim [Tue, 14 Mar 2017 08:21:54 +0000 (17:21 +0900)]
Add DHCP terminate logic
Jiwan Kim [Tue, 14 Mar 2017 05:45:02 +0000 (14:45 +0900)]
Add missing station_info variable
Jiwan Kim [Tue, 14 Mar 2017 04:36:35 +0000 (13:36 +0900)]
Remove connection API dependency / Fix scan issue
- Remove connection API(for ethernet cable state)
and change to get cable status directly.
- Make interface up state before trying scan
(If interface is down state, scan cannot performed)