summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device.h')
-rwxr-xr-xinclude/device.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 98c7bd87..acbd1d54 100755
--- a/include/device.h
+++ b/include/device.h
@@ -106,6 +106,23 @@ 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);
+void connman_device_set_wifi_6ghz_supported(struct connman_device *device,
+ bool is_6_0_ghz_supported);
+bool connman_device_get_wifi_5ghz_supported(struct connman_device *device);
+bool connman_device_get_wifi_6ghz_supported(struct connman_device *device);
+#endif
int connman_device_remove_network(struct connman_device *device,
struct connman_network *network);
@@ -137,6 +154,22 @@ void connman_device_save_last_user_selection(struct connman_device *device);
void connman_device_load_last_user_selection(struct connman_device *device);
void connman_device_save_last_connected(struct connman_device *device);
void connman_device_load_last_connected(struct connman_device *device);
+
+void connman_device_mac_policy_notify(struct connman_device *device,
+ int result, unsigned int policy);
+int connman_device_set_mac_policy(struct connman_device *device,
+ unsigned int policy);
+unsigned int connman_device_get_mac_policy(struct connman_device *device);
+void connman_device_preassoc_mac_policy_notify(struct connman_device *device,
+ int result, unsigned int policy);
+int connman_device_set_preassoc_mac_policy(struct connman_device *device,
+ unsigned int policy);
+unsigned int connman_device_get_preassoc_mac_policy(struct connman_device *device);
+void connman_device_random_mac_lifetime_notify(struct connman_device *device,
+ int result, unsigned int lifetime);
+int connman_device_set_random_mac_lifetime(struct connman_device *device,
+ unsigned int lifetime);
+unsigned int connman_device_get_random_mac_lifetime(struct connman_device *device);
#endif
struct connman_device_driver {
@@ -157,6 +190,9 @@ struct connman_device_driver {
int (*specific_scan) (enum connman_service_type type,
struct connman_device *device, int scan_type,
GSList *specific_scan_list, void *user_data);
+ int (*set_mac_policy) (struct connman_device *device, unsigned int policy);
+ int (*set_preassoc_mac_policy) (struct connman_device *device, unsigned int policy);
+ int (*set_random_mac_lifetime) (struct connman_device *device, unsigned int lifetime);
#endif
#if defined TIZEN_EXT_WIFI_MESH
int (*abort_scan) (enum connman_service_type type,