diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2020-08-27 23:32:34 +0900 |
---|---|---|
committer | Jaehyun Kim <jeik01.kim@samsung.com> | 2020-08-27 23:32:34 +0900 |
commit | c45eee86f5a3fb041df570f23b2b477c38af0cce (patch) | |
tree | f0a30ba5b7f3370f880115c39a532f854b810f01 /include | |
parent | 26dbdca524427fa4b1bbdecdc9d0e9351cdc830b (diff) | |
download | connman-c45eee86f5a3fb041df570f23b2b477c38af0cce.tar.gz connman-c45eee86f5a3fb041df570f23b2b477c38af0cce.tar.bz2 connman-c45eee86f5a3fb041df570f23b2b477c38af0cce.zip |
Add support for handling multiple wifi interfacessubmit/tizen/20200828.142119
Change-Id: I4762c8d3444167dce34498634de4948e822f865f
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/device.h | 14 | ||||
-rwxr-xr-x | include/service.h | 3 | ||||
-rwxr-xr-x | include/technology.h | 8 |
3 files changed, 20 insertions, 5 deletions
diff --git a/include/device.h b/include/device.h index 98c7bd87..67d7928c 100755 --- a/include/device.h +++ b/include/device.h @@ -106,6 +106,20 @@ int connman_device_add_network(struct connman_device *device, struct connman_network *network); struct connman_network *connman_device_get_network(struct connman_device *device, const char *identifier); +#if defined TIZEN_EXT +struct connman_network *connman_device_get_default_network( + struct connman_device *device); +void connman_device_set_pending_reply(struct connman_device *device, + DBusMessage *msg); +void connman_device_send_connected_signal(struct connman_device *device, + bool connected); +void connman_device_set_max_scan_ssids(struct connman_device *device, + int max_scan_ssids); +int connman_device_get_max_scan_ssids(struct connman_device *device); +void connman_device_set_wifi_5ghz_supported(struct connman_device *device, + bool is_5_0_ghz_supported); +bool connman_device_get_wifi_5ghz_supported(struct connman_device *device); +#endif int connman_device_remove_network(struct connman_device *device, struct connman_network *network); diff --git a/include/service.h b/include/service.h index 617735e0..1e4a6926 100755 --- a/include/service.h +++ b/include/service.h @@ -26,6 +26,7 @@ #if defined TIZEN_EXT #include <glib.h> +#include <gdbus.h> #endif #ifdef __cplusplus @@ -208,6 +209,8 @@ void connman_service_set_disconnection_requested(struct connman_service *service void connman_service_set_internet_connection(struct connman_service *service, bool internet_connection); bool connman_service_get_internet_connection(struct connman_service *service); +DBusMessage *connman_service_get_defaut_info(DBusMessage *msg, + struct connman_service *service); #endif #ifdef __cplusplus diff --git a/include/technology.h b/include/technology.h index 39de65d9..b449c8d8 100755 --- a/include/technology.h +++ b/include/technology.h @@ -46,6 +46,7 @@ typedef enum { CONNMAN_SCAN_TYPE_SPECIFIC_AP, CONNMAN_SCAN_TYPE_MULTI_AP, CONNMAN_SCAN_TYPE_WPA_SUPPLICANT, + CONNMAN_SCAN_TYPE_UNKNOWN, } connman_scan_type_e; typedef struct { @@ -89,11 +90,8 @@ struct connman_technology_driver { int connman_technology_driver_register(struct connman_technology_driver *driver); void connman_technology_driver_unregister(struct connman_technology_driver *driver); #if defined TIZEN_EXT -void connman_techonology_wifi_set_5ghz_supported(struct connman_technology *technology, - bool is_5_0_Ghz_supported); -void connman_techonology_set_max_scan_ssids(struct connman_technology *technology, - int max_scan_ssids); -void __connman_technology_notify_scan_done(int val); +const char *connman_techonology_get_path(enum connman_service_type type); +void __connman_technology_notify_scan_done(const char *ifname, int val); #endif #ifdef __cplusplus |