Lines Matching defs:hostapd_data

144 struct hostapd_data {  struct
145 struct hostapd_iface *iface;
146 struct hostapd_config *iconf;
147 struct hostapd_bss_config *conf;
148 int interface_added; /* virtual interface added for this BSS */
172 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
175 void *msg_ctx; /* ctx for wpa_msg() calls */
176 void *msg_ctx_parent; /* parent interface ctx for wpa_msg() calls */
178 struct radius_client_data *radius;
179 u64 acct_session_id;
180 struct radius_das_data *radius_das;
182 struct iapp_data *iapp;
184 struct hostapd_cached_radius_acl *acl_cache;
185 struct hostapd_acl_query_data *acl_queries;
187 struct wpa_authenticator *wpa_auth;
188 struct eapol_authenticator *eapol_auth;
190 struct rsn_preauth_interface *preauth_iface;
191 struct os_reltime michael_mic_failure;
192 int michael_mic_failures;
193 int tkip_countermeasures;
195 int ctrl_sock;
196 struct dl_list ctrl_dst;
198 void *ssl_ctx;
199 void *eap_sim_db_priv;
200 struct radius_server_data *radius_srv;
201 struct dl_list erp_keys; /* struct eap_server_erp_key */
203 int parameter_set_count;
206 u8 time_update_counter;
207 struct wpabuf *time_adv;
210 struct full_dynamic_vlan *full_dynamic_vlan;
213 struct l2_packet_data *l2;
216 struct dl_list l2_queue;
217 struct dl_list l2_oui_queue;
218 struct eth_p_oui_ctx *oui_pull;
219 struct eth_p_oui_ctx *oui_resp;
220 struct eth_p_oui_ctx *oui_push;
221 struct eth_p_oui_ctx *oui_sreq;
222 struct eth_p_oui_ctx *oui_sresp;
225 struct wps_context *wps;
227 int beacon_set_done;
228 struct wpabuf *wps_beacon_ie;
229 struct wpabuf *wps_probe_resp_ie;
231 unsigned int ap_pin_failures;
232 unsigned int ap_pin_failures_consecutive;
233 struct upnp_wps_device_sm *wps_upnp;
234 unsigned int ap_pin_lockout_time;
236 struct wps_stat wps_stats;
240 struct ieee802_1x_kay *kay;
243 struct hostapd_probereq_cb *probereq_cb;
244 size_t num_probereq_cb;
246 void (*public_action_cb)(void *ctx, const u8 *buf, size_t len,
248 void *public_action_cb_ctx;
249 void (*public_action_cb2)(void *ctx, const u8 *buf, size_t len,
251 void *public_action_cb2_ctx;
253 int (*vendor_action_cb)(void *ctx, const u8 *buf, size_t len,
255 void *vendor_action_cb_ctx;
257 void (*wps_reg_success_cb)(void *ctx, const u8 *mac_addr,
259 void *wps_reg_success_cb_ctx;
261 void (*wps_event_cb)(void *ctx, enum wps_event event,
263 void *wps_event_cb_ctx;
265 void (*sta_authorized_cb)(void *ctx, const u8 *mac_addr,
267 void *sta_authorized_cb_ctx;
269 void (*setup_complete_cb)(void *ctx);
270 void *setup_complete_cb_ctx;
272 void (*new_psk_cb)(void *ctx, const u8 *mac_addr,
275 void *new_psk_cb_ctx;
278 struct hostapd_freq_params cs_freq_params;
279 u8 cs_count;
280 int cs_block_tx;
281 unsigned int cs_c_off_beacon;
282 unsigned int cs_c_off_proberesp;
283 int csa_in_progress;
284 unsigned int cs_c_off_ecsa_beacon;
308 void (*mesh_sta_free_cb)(struct hostapd_data *hapd, argument
310 struct wpabuf *mesh_pending_auth;
311 struct os_reltime mesh_pending_auth_time;
312 u8 mesh_required_peer[ETH_ALEN];
316 struct hostapd_eap_user tmp_eap_user;
321 u8 sae_token_key[8];
322 struct os_reltime last_sae_token_key_update;
323 u16 sae_token_idx;
324 u16 sae_pending_token_idx[256];
325 int dot11RSNASAERetransPeriod; /* msec */
326 struct dl_list sae_commit_queue; /* struct hostapd_sae_commit_queue */
330 unsigned int ext_mgmt_frame_handling:1;
331 unsigned int ext_eapol_frame_io:1;
333 struct l2_packet_data *l2_test;
335 enum wpa_alg last_gtk_alg;
336 int last_gtk_key_idx;
337 u8 last_gtk[WPA_GTK_MAX_LEN];
338 size_t last_gtk_len;
341 enum wpa_alg last_igtk_alg;
342 int last_igtk_key_idx;
343 u8 last_igtk[WPA_IGTK_MAX_LEN];
344 size_t last_igtk_len;
349 unsigned int mbo_assoc_disallow;
352 struct dl_list nr_db;
354 u8 beacon_req_token;
355 u8 lci_req_token;
356 u8 range_req_token;
357 unsigned int lci_req_active:1;
358 unsigned int range_req_active:1;
360 int dhcp_sock; /* UDP socket used with the DHCP server */
363 int dpp_init_done;
364 struct dpp_authentication *dpp_auth;
365 u8 dpp_allowed_roles;
366 int dpp_qr_mutual;
367 int dpp_auth_ok_on_ack;
368 int dpp_in_response_listen;
369 struct gas_query_ap *gas;
370 struct dpp_pkex *dpp_pkex;
371 struct dpp_bootstrap_info *dpp_pkex_bi;
372 char *dpp_pkex_code;
373 char *dpp_pkex_identifier;
374 char *dpp_pkex_auth_cmd;
375 char *dpp_configurator_params;
376 struct os_reltime dpp_last_init;
377 struct os_reltime dpp_init_iter_start;
378 unsigned int dpp_init_max_tries;
379 unsigned int dpp_init_retry_time;
380 unsigned int dpp_resp_wait_time;
381 unsigned int dpp_resp_max_tries;
382 unsigned int dpp_resp_retry_time;
384 char *dpp_config_obj_override;
385 char *dpp_discovery_override;
386 char *dpp_groups_override;
387 unsigned int dpp_ignore_netaccesskey_mismatch:1;
392 unsigned int num_backlogged_sta;
393 unsigned int airtime_weight;
396 u8 last_1x_eapol_key_replay_counter[8];
399 sqlite3 *rad_attr_db;