Lines Matching defs:hostapd_data
106 struct hostapd_data { struct
107 struct hostapd_iface *iface;
108 struct hostapd_config *iconf;
109 struct hostapd_bss_config *conf;
110 int interface_added; /* virtual interface added for this BSS */
134 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
137 void *msg_ctx; /* ctx for wpa_msg() calls */
138 void *msg_ctx_parent; /* parent interface ctx for wpa_msg() calls */
140 struct radius_client_data *radius;
141 u32 acct_session_id_hi, acct_session_id_lo;
142 struct radius_das_data *radius_das;
144 struct iapp_data *iapp;
146 struct hostapd_cached_radius_acl *acl_cache;
147 struct hostapd_acl_query_data *acl_queries;
149 struct wpa_authenticator *wpa_auth;
150 struct eapol_authenticator *eapol_auth;
152 struct rsn_preauth_interface *preauth_iface;
153 struct os_reltime michael_mic_failure;
154 int michael_mic_failures;
155 int tkip_countermeasures;
157 int ctrl_sock;
158 struct wpa_ctrl_dst *ctrl_dst;
160 void *ssl_ctx;
161 void *eap_sim_db_priv;
162 struct radius_server_data *radius_srv;
163 struct dl_list erp_keys; /* struct eap_server_erp_key */
165 int parameter_set_count;
168 u8 time_update_counter;
169 struct wpabuf *time_adv;
172 struct full_dynamic_vlan *full_dynamic_vlan;
175 struct l2_packet_data *l2;
176 struct wps_context *wps;
178 int beacon_set_done;
179 struct wpabuf *wps_beacon_ie;
180 struct wpabuf *wps_probe_resp_ie;
182 unsigned int ap_pin_failures;
183 unsigned int ap_pin_failures_consecutive;
184 struct upnp_wps_device_sm *wps_upnp;
185 unsigned int ap_pin_lockout_time;
187 struct wps_stat wps_stats;
190 struct hostapd_probereq_cb *probereq_cb;
191 size_t num_probereq_cb;
193 void (*public_action_cb)(void *ctx, const u8 *buf, size_t len,
195 void *public_action_cb_ctx;
196 void (*public_action_cb2)(void *ctx, const u8 *buf, size_t len,
198 void *public_action_cb2_ctx;
200 int (*vendor_action_cb)(void *ctx, const u8 *buf, size_t len,
202 void *vendor_action_cb_ctx;
204 void (*wps_reg_success_cb)(void *ctx, const u8 *mac_addr,
206 void *wps_reg_success_cb_ctx;
208 void (*wps_event_cb)(void *ctx, enum wps_event event,
210 void *wps_event_cb_ctx;
212 void (*sta_authorized_cb)(void *ctx, const u8 *mac_addr,
214 void *sta_authorized_cb_ctx;
216 void (*setup_complete_cb)(void *ctx);
217 void *setup_complete_cb_ctx;
219 void (*new_psk_cb)(void *ctx, const u8 *mac_addr,
222 void *new_psk_cb_ctx;
225 struct hostapd_freq_params cs_freq_params;
226 u8 cs_count;
227 int cs_block_tx;
228 unsigned int cs_c_off_beacon;
229 unsigned int cs_c_off_proberesp;
230 int csa_in_progress;
233 unsigned int bss_load_update_timeout;
236 struct p2p_data *p2p;
237 struct p2p_group *p2p_group;
238 struct wpabuf *p2p_beacon_ie;
239 struct wpabuf *p2p_probe_resp_ie;
242 int num_sta_no_p2p;
245 int noa_enabled;
246 int noa_start;
247 int noa_duration;
250 size_t gas_frag_limit;
253 struct l2_packet_data *sock_dhcp;
254 struct l2_packet_data *sock_ndisc;
257 int num_plinks;
258 int max_plinks;
259 void (*mesh_sta_free_cb)(struct sta_info *sta);
260 struct wpabuf *mesh_pending_auth;
261 struct os_reltime mesh_pending_auth_time;
265 struct hostapd_eap_user tmp_eap_user;
270 u8 sae_token_key[8];
271 struct os_reltime last_sae_token_key_update;
275 unsigned int ext_mgmt_frame_handling:1;
276 unsigned int ext_eapol_frame_io:1;
278 struct l2_packet_data *l2_test;