/*
* hostapd / Initialization and configuration
* Host AP kernel driver
- * Copyright (c) 2002-2007, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2002-2008, Jouni Malinen <j@w1.fi>
* Copyright (c) 2007-2008, Intel Corporation
*
* This program is free software; you can redistribute it and/or modify
/**
- * hostapd_iface_cb - Generic callback type for per-iface asynchronous requests
- * @iface: the interface the event occured on.
- * @status: 0 if the request succeeded; -1 if the request failed.
- */
-typedef void (*hostapd_iface_cb)(struct hostapd_iface *iface, int status);
-
-
-struct hostapd_config_change;
-
-/**
* struct hostapd_iface - hostapd per-interface data structure
*/
struct hostapd_iface {
char *config_fname;
struct hostapd_config *conf;
- hostapd_iface_cb setup_cb;
-
size_t num_bss;
struct hostapd_data **bss;
* current_mode->channels */
int num_rates;
struct hostapd_rate_data *current_rates;
- hostapd_iface_cb hw_mode_sel_cb;
u16 hw_flags;
/* Overlapping BSS information */
int olbc_ht;
- int dfs_enable;
- u8 pwr_const;
- unsigned int tx_power;
- unsigned int sta_max_power;
-
- unsigned int channel_switch;
-
- struct hostapd_config_change *change;
- hostapd_iface_cb reload_iface_cb;
- hostapd_iface_cb config_reload_cb;
-
#ifdef CONFIG_IEEE80211N
u16 ht_op_mode;
#endif /* CONFIG_IEEE80211N */