platform/core/connectivity/wifi-mesh-manager.git
7 years agoRename functions
Jiwan Kim [Mon, 12 Jun 2017 04:51:57 +0000 (13:51 +0900)]
Rename functions

- mesh_request_ipc_* -> mesh_request_*
- mesh_ipc_* -> mesh_gdbus_*

7 years agoRemove obsolete logics
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.

7 years agoAdd security type and passphrase
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

7 years agoAdd network connection state
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'

7 years agoUpdate inital peer-monitoring function
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>
7 years agoChange 'Connect' as asynchronous method
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.

7 years agoAdd interface to get mesh connected peers
Jiwan Kim [Fri, 2 Jun 2017 07:19:53 +0000 (16:19 +0900)]
Add interface to get mesh connected peers

- get_connected_peers added.

7 years agoHandle error cases
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

7 years agoAdjust dbus interface for service error code.
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.

7 years agoFix parsing logic for dbus return value
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.

7 years agoAdjust build options
Jiwan Kim [Tue, 30 May 2017 08:31:11 +0000 (17:31 +0900)]
Adjust build options

- Remove unused build parameters

7 years agoFix mesh network interfaces
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'

7 years agoAdjust dbus interface between API and connman
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

7 years agoFix synchronous scan method
Jiwan Kim [Fri, 26 May 2017 08:00:26 +0000 (17:00 +0900)]
Fix synchronous scan method

7 years agoInitial connman integration
Jiwan Kim [Fri, 26 May 2017 06:58:00 +0000 (15:58 +0900)]
Initial connman integration

7 years agoAdd initial gdbus code
Jiwan Kim [Wed, 24 May 2017 12:28:23 +0000 (21:28 +0900)]
Add initial gdbus code

7 years agoFix bridge error on RPI3 target
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'

7 years agoChange hostapd configuration file path
Jiwan Kim [Tue, 21 Mar 2017 01:39:10 +0000 (10:39 +0900)]
Change hostapd configuration file path

7 years agoStore saved mesh network into storage
Jiwan Kim [Mon, 20 Mar 2017 09:11:04 +0000 (18:11 +0900)]
Store saved mesh network into storage

7 years agoAdd debug log for interface setting
Jiwan Kim [Mon, 20 Mar 2017 04:57:27 +0000 (13:57 +0900)]
Add debug log for interface setting

7 years agoFix interface detection error after 2nd enable method.
Jiwan Kim [Mon, 20 Mar 2017 04:52:49 +0000 (13:52 +0900)]
Fix interface detection error after 2nd enable method.

7 years agoChange hostapd terminate logic
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.

7 years agoChange mesh id setting logic
Jiwan Kim [Tue, 14 Mar 2017 10:20:59 +0000 (19:20 +0900)]
Change mesh id setting logic

- Fix missing add_mpath event issue

7 years agoAdd DHCP terminate logic
Jiwan Kim [Tue, 14 Mar 2017 08:21:54 +0000 (17:21 +0900)]
Add DHCP terminate logic

7 years agoAdd missing station_info variable
Jiwan Kim [Tue, 14 Mar 2017 05:45:02 +0000 (14:45 +0900)]
Add missing station_info variable

7 years agoRemove connection API dependency / Fix scan issue
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)

7 years agoFix mismatch 'get_station_info' response
Jiwan Kim [Tue, 14 Mar 2017 01:48:24 +0000 (10:48 +0900)]
Fix mismatch 'get_station_info' response

7 years agoSeparate logic for enable/disable method
Jiwan Kim [Tue, 14 Mar 2017 01:16:23 +0000 (10:16 +0900)]
Separate logic for enable/disable method

- Daemon will be launched only enable method
  (net.mesh.manager)

7 years agoFix parameter order on set_softap method
Jiwan Kim [Mon, 13 Mar 2017 11:36:32 +0000 (20:36 +0900)]
Fix parameter order on set_softap method

7 years agoAdd mesh join/left event handler
Jiwan Kim [Mon, 13 Mar 2017 10:29:25 +0000 (19:29 +0900)]
Add mesh join/left event handler

7 years agoRequest DHCP on mesh enabled
Jiwan Kim [Mon, 13 Mar 2017 07:15:05 +0000 (16:15 +0900)]
Request DHCP on mesh enabled

7 years agoNotify mesh network joined/left event
Jiwan Kim [Mon, 13 Mar 2017 07:03:25 +0000 (16:03 +0900)]
Notify mesh network joined/left event

7 years agoAdd method to get station/mpath information
Jiwan Kim [Mon, 13 Mar 2017 05:58:20 +0000 (14:58 +0900)]
Add method to get station/mpath information

7 years agoChange parameter name at set_softap method
saerome kim [Mon, 13 Mar 2017 02:00:07 +0000 (11:00 +0900)]
Change parameter name at set_softap method

Signed-off-by: saerome kim <saerome.kim@samsung.com>
7 years agoUpdate logic to add softAP interface into bridge
Jiwan Kim [Fri, 10 Mar 2017 01:43:36 +0000 (10:43 +0900)]
Update logic to add softAP interface into bridge

7 years agoImplementation for SoftAP
Jiwan Kim [Thu, 9 Mar 2017 07:27:22 +0000 (16:27 +0900)]
Implementation for SoftAP

7 years agoSimplify the signal.
saerome.kim [Thu, 9 Mar 2017 07:10:08 +0000 (16:10 +0900)]
Simplify the signal.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
7 years agoAdd set_interfaces method
saerome.kim [Thu, 9 Mar 2017 00:18:21 +0000 (09:18 +0900)]
Add set_interfaces method

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
7 years agoUpdate get_joined_mesh_network method
Jiwan Kim [Wed, 8 Mar 2017 09:26:15 +0000 (18:26 +0900)]
Update get_joined_mesh_network method

- Remove data_rate
- Change rssi to use signed integer
- Add bssid

7 years agoChange parameter type at 'set_gate' method
saerome kim [Wed, 8 Mar 2017 08:22:04 +0000 (17:22 +0900)]
Change parameter type at 'set_gate' method

Signed-off-by: saerome kim <saerome.kim@samsung.com>
7 years agoImplement methods
Jiwan Kim [Wed, 8 Mar 2017 05:36:24 +0000 (14:36 +0900)]
Implement methods

- enable_mesh
- disable_mesh
- set_gate
- unset_gate
- get_joined_mesh_network
- Scan can be done before mesh interface is created
  (with base interface(i.e. wlan0))

7 years agoSeparate logic for mesh enable / set gate
Jiwan Kim [Tue, 7 Mar 2017 09:10:44 +0000 (18:10 +0900)]
Separate logic for mesh enable / set gate

7 years agoUpdate 'get_saved_mesh_network' method
Jiwan Kim [Mon, 6 Mar 2017 08:37:18 +0000 (17:37 +0900)]
Update 'get_saved_mesh_network' method

7 years agoAdd functions to get scan result
Jiwan Kim [Mon, 6 Mar 2017 06:40:00 +0000 (15:40 +0900)]
Add functions to get scan result

- for 'get_found_mesh_networks' method

7 years agoApply changed Dbus methods
saerome kim [Fri, 3 Mar 2017 12:12:23 +0000 (21:12 +0900)]
Apply changed Dbus methods

Signed-off-by: saerome kim <saerome.kim@samsung.com>
7 years agoAdd basic function set for saved network
Jiwan Kim [Fri, 3 Mar 2017 08:27:27 +0000 (17:27 +0900)]
Add basic function set for saved network

7 years agoAdd function prototype for mesh saved network
Jiwan Kim [Fri, 3 Mar 2017 05:50:34 +0000 (14:50 +0900)]
Add function prototype for mesh saved network

7 years agoFix to get mesh scan list properly
Jiwan Kim [Fri, 3 Mar 2017 04:29:48 +0000 (13:29 +0900)]
Fix to get mesh scan list properly

- Add NL80211_ATTR_IE (114: Mesh element id)
- Remove invalid pkg dependency(capi-network-mesh)
- Update mesh script

7 years agoEmit 'scan_done' signal when scan finished
Jiwan Kim [Thu, 2 Mar 2017 04:49:49 +0000 (13:49 +0900)]
Emit 'scan_done' signal when scan finished

7 years agoRemove temporary test function
Jiwan Kim [Thu, 2 Mar 2017 04:22:13 +0000 (13:22 +0900)]
Remove temporary test function

7 years agoUpdate async scan result logic into scan methods
Jiwan Kim [Thu, 2 Mar 2017 04:10:23 +0000 (13:10 +0900)]
Update async scan result logic into scan methods

Signed-off-by: Jiwan Kim <ji-wan.kim@samsung.com>
7 years agoAdd test scan request & async result receiver
Jiwan Kim [Tue, 28 Feb 2017 08:29:20 +0000 (17:29 +0900)]
Add test scan request & async result receiver

- Test function added, should be refactored.
- Can be tested with
  'net.mesh /net/mesh net.mesh.disjoin' method

Signed-off-by: Jiwan Kim <ji-wan.kim@samsung.com>
7 years agoInitian code sync up from private gerrit
Jiwan Kim [Fri, 24 Feb 2017 01:54:00 +0000 (10:54 +0900)]
Initian code sync up from private gerrit

Signed-off-by: Jiwan Kim <ji-wan.kim@samsung.com>
7 years agoInitial commit
김새롬/Tizen Platform Lab(S/W센터)/S5(책임)/삼성전자 [Fri, 24 Feb 2017 01:46:48 +0000 (10:46 +0900)]
Initial commit

7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 10 Jul 2017 09:41:45 +0000 (09:41 +0000)]
Initial empty repository