wpa_supplicant: new DBus API implementation
[mech_eap.git] / wpa_supplicant / wpa_supplicant_i.h
index 699fc0d..193baa3 100644 (file)
@@ -160,6 +160,24 @@ struct wpa_params {
         * wpa_debug_syslog - Enable log output through syslog
         */
        int wpa_debug_syslog;
+
+       /**
+        * override_driver - Optional driver parameter override
+        *
+        * This parameter can be used to override the driver parameter in
+        * dynamic interface addition to force a specific driver wrapper to be
+        * used instead.
+        */
+       char *override_driver;
+
+       /**
+        * override_ctrl_interface - Optional ctrl_interface override
+        *
+        * This parameter can be used to override the ctrl_interface parameter
+        * in dynamic interface addition to force a control interface to be
+        * created.
+        */
+       char *override_ctrl_interface;
 };
 
 /**
@@ -172,7 +190,10 @@ struct wpa_global {
        struct wpa_supplicant *ifaces;
        struct wpa_params params;
        struct ctrl_iface_global_priv *ctrl_iface;
+       /* old DBus API data */
        struct ctrl_iface_dbus_priv *dbus_ctrl_iface;
+       /* new DBus API data */
+       struct ctrl_iface_dbus_new_priv *dbus_new_ctrl_iface;
        void **drv_priv;
        size_t drv_count;
 };
@@ -287,6 +308,9 @@ struct wpa_supplicant {
 #ifdef CONFIG_CTRL_IFACE_DBUS
        char *dbus_path;
 #endif /* CONFIG_CTRL_IFACE_DBUS */
+#ifdef CONFIG_CTRL_IFACE_DBUS_NEW
+       char *dbus_new_path;
+#endif /* CONFIG_CTRL_IFACE_DBUS_NEW */
        char bridge_ifname[16];
 
        char *confname;
@@ -362,6 +386,7 @@ struct wpa_supplicant {
 
        struct wps_context *wps;
        int wps_success; /* WPS success event received */
+       struct wps_er *wps_er;
        int blacklist_cleared;
 
        struct wpabuf *pending_eapol_rx;