gsupplicant: Add interface bridge setting
[platform/upstream/connman.git] / gsupplicant / gsupplicant.h
index 05f5c35..6227ff5 100644 (file)
@@ -74,6 +74,7 @@ typedef enum {
        G_SUPPLICANT_MODE_UNKNOWN,
        G_SUPPLICANT_MODE_INFRA,
        G_SUPPLICANT_MODE_IBSS,
+       G_SUPPLICANT_MODE_MASTER,
 } GSupplicantMode;
 
 typedef enum {
@@ -106,8 +107,10 @@ typedef enum {
 struct _GSupplicantSSID {
        const void *ssid;
        unsigned int ssid_len;
+       unsigned int scan_ssid;
        GSupplicantMode mode;
        GSupplicantSecurity security;
+       unsigned int freq;
        const char *eap;
        const char *passphrase;
        const char *identity;
@@ -116,6 +119,8 @@ struct _GSupplicantSSID {
        const char *private_key_path;
        const char *private_key_passphrase;
        const char *phase2_auth;
+       dbus_bool_t use_wps;
+       const char *pin_wps;
 };
 
 typedef struct _GSupplicantSSID GSupplicantSSID;
@@ -137,6 +142,7 @@ typedef void (*GSupplicantInterfaceCallback) (int result,
                                                        void *user_data);
 
 int g_supplicant_interface_create(const char *ifname, const char *driver,
+                                       const char *bridge,
                                        GSupplicantInterfaceCallback callback,
                                                        void *user_data);
 int g_supplicant_interface_remove(GSupplicantInterface *interface,
@@ -165,6 +171,7 @@ const char *g_supplicant_interface_get_wps_key(GSupplicantInterface *interface);
 const void *g_supplicant_interface_get_wps_ssid(GSupplicantInterface *interface,
                                                        unsigned int *ssid_len);
 GSupplicantWpsState g_supplicant_interface_get_wps_state(GSupplicantInterface *interface);
+unsigned int g_supplicant_interface_get_mode(GSupplicantInterface *interface);
 
 /* Network API */
 struct _GSupplicantNetwork;