X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=hostapd%2Fhostapd.h;h=6c12c8e97f5f2b6362036a35de8a374f9f1c4e53;hb=f55802e8bfe8725efa238f1393a8d234f4e51d03;hp=0f1d684e3973f0a6011e9ba0dd317d8f660c2272;hpb=b6a7859d151c74550aef760648327be71a424a45;p=wpasupplicant diff --git a/hostapd/hostapd.h b/hostapd/hostapd.h index 0f1d684..6c12c8e 100644 --- a/hostapd/hostapd.h +++ b/hostapd/hostapd.h @@ -57,9 +57,6 @@ struct hostapd_data { const struct wpa_driver_ops *driver; void *drv_priv; - u8 *default_wep_key; - u8 default_wep_key_idx; - struct radius_client_data *radius; int radius_client_reconfigured; u32 acct_session_id_hi, acct_session_id_lo; @@ -108,6 +105,7 @@ struct hostapd_data { * struct hostapd_iface - hostapd per-interface data structure */ struct hostapd_iface { + void *owner; char *config_fname; struct hostapd_config *conf; @@ -153,9 +151,8 @@ struct hostapd_iface { /* Overlapping BSS information */ int olbc_ht; -#ifdef CONFIG_IEEE80211N u16 ht_op_mode; -#endif /* CONFIG_IEEE80211N */ + void (*scan_cb)(struct hostapd_iface *iface); }; int hostapd_reload_config(struct hostapd_iface *iface); @@ -164,6 +161,7 @@ hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface, struct hostapd_config *conf, struct hostapd_bss_config *bss); int hostapd_setup_interface(struct hostapd_iface *iface); +int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err); void hostapd_interface_deinit(struct hostapd_iface *iface); int handle_reload_iface(struct hostapd_iface *iface, void *ctx); int handle_dump_state_iface(struct hostapd_iface *iface, void *ctx);