Handle the special "<hidden>" SSID case from old IEEE80211 layer
[connman] / include / device.h
index e4a735f..8311607 100644 (file)
@@ -71,6 +71,7 @@ extern struct connman_device *connman_device_create(const char *node,
 extern struct connman_device *connman_device_ref(struct connman_device *device);
 extern void connman_device_unref(struct connman_device *device);
 
+extern enum connman_device_type connman_device_get_type(struct connman_device *device);
 extern const char *connman_device_get_name(struct connman_device *device);
 extern const char *connman_device_get_path(struct connman_device *device);
 extern void connman_device_set_index(struct connman_device *device,
@@ -80,11 +81,17 @@ extern void connman_device_set_interface(struct connman_device *device,
                                                        const char *interface);
 extern const char *connman_device_get_interface(struct connman_device *device);
 
+extern void connman_device_set_ident(struct connman_device *device,
+                                                       const char *ident);
+
 extern void connman_device_set_policy(struct connman_device *device,
                                        enum connman_device_policy policy);
 extern void connman_device_set_mode(struct connman_device *device,
                                                enum connman_device_mode mode);
 extern enum connman_device_mode connman_device_get_mode(struct connman_device *device);
+extern void connman_device_set_secondary(struct connman_device *device,
+                                               connman_bool_t secondary);
+extern connman_bool_t connman_device_get_secondary(struct connman_device *device);
 
 extern int connman_device_set_powered(struct connman_device *device,
                                                connman_bool_t powered);
@@ -122,6 +129,8 @@ struct connman_device_driver {
        int (*enable) (struct connman_device *device);
        int (*disable) (struct connman_device *device);
        int (*scan) (struct connman_device *device);
+       int (*join) (struct connman_device *device,
+                                       struct connman_network *network);
 };
 
 extern int connman_device_driver_register(struct connman_device_driver *driver);