• Home
  • Raw
  • Download

Lines Matching defs:hostapd_data

190 struct hostapd_data {  struct
191 struct hostapd_iface *iface;
192 struct hostapd_config *iconf;
193 struct hostapd_bss_config *conf;
194 int interface_added; /* virtual interface added for this BSS */
218 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
221 void *msg_ctx; /* ctx for wpa_msg() calls */
222 void *msg_ctx_parent; /* parent interface ctx for wpa_msg() calls */
224 struct radius_client_data *radius;
225 u64 acct_session_id;
226 struct radius_das_data *radius_das;
228 struct hostapd_cached_radius_acl *acl_cache;
229 struct hostapd_acl_query_data *acl_queries;
231 struct wpa_authenticator *wpa_auth;
232 struct eapol_authenticator *eapol_auth;
233 struct eap_config *eap_cfg;
235 struct rsn_preauth_interface *preauth_iface;
236 struct os_reltime michael_mic_failure;
237 int michael_mic_failures;
238 int tkip_countermeasures;
240 int ctrl_sock;
241 struct dl_list ctrl_dst;
243 void *ssl_ctx;
244 void *eap_sim_db_priv;
245 struct crypto_rsa_key *imsi_privacy_key;
246 struct radius_server_data *radius_srv;
247 struct dl_list erp_keys; /* struct eap_server_erp_key */
249 int parameter_set_count;
252 u8 time_update_counter;
253 struct wpabuf *time_adv;
256 struct full_dynamic_vlan *full_dynamic_vlan;
259 struct l2_packet_data *l2;
262 struct dl_list l2_queue;
263 struct dl_list l2_oui_queue;
264 struct eth_p_oui_ctx *oui_pull;
265 struct eth_p_oui_ctx *oui_resp;
266 struct eth_p_oui_ctx *oui_push;
267 struct eth_p_oui_ctx *oui_sreq;
268 struct eth_p_oui_ctx *oui_sresp;
271 struct wps_context *wps;
273 int beacon_set_done;
274 struct wpabuf *wps_beacon_ie;
275 struct wpabuf *wps_probe_resp_ie;
277 unsigned int ap_pin_failures;
278 unsigned int ap_pin_failures_consecutive;
279 struct upnp_wps_device_sm *wps_upnp;
280 unsigned int ap_pin_lockout_time;
282 struct wps_stat wps_stats;
286 struct ieee802_1x_kay *kay;
289 struct hostapd_probereq_cb *probereq_cb;
290 size_t num_probereq_cb;
292 void (*public_action_cb)(void *ctx, const u8 *buf, size_t len,
294 void *public_action_cb_ctx;
295 void (*public_action_cb2)(void *ctx, const u8 *buf, size_t len,
297 void *public_action_cb2_ctx;
299 int (*vendor_action_cb)(void *ctx, const u8 *buf, size_t len,
301 void *vendor_action_cb_ctx;
303 void (*wps_reg_success_cb)(void *ctx, const u8 *mac_addr,
305 void *wps_reg_success_cb_ctx;
307 void (*wps_event_cb)(void *ctx, enum wps_event event,
309 void *wps_event_cb_ctx;
311 void (*sta_authorized_cb)(void *ctx, const u8 *mac_addr,
314 void *sta_authorized_cb_ctx;
316 void (*setup_complete_cb)(void *ctx);
317 void *setup_complete_cb_ctx;
319 void (*new_psk_cb)(void *ctx, const u8 *mac_addr,
322 void *new_psk_cb_ctx;
325 struct hostapd_freq_params cs_freq_params;
326 u8 cs_count;
327 int cs_block_tx;
328 unsigned int cs_c_off_beacon;
329 unsigned int cs_c_off_proberesp;
330 int csa_in_progress;
331 unsigned int cs_c_off_ecsa_beacon;
332 unsigned int cs_c_off_ecsa_proberesp;
335 bool cca_in_progress;
336 u8 cca_count;
337 u8 cca_color;
338 unsigned int cca_c_off_beacon;
339 unsigned int cca_c_off_proberesp;
340 struct os_reltime first_color_collision;
341 struct os_reltime last_color_collision;
342 u64 color_collision_bitmap;
367 void (*mesh_sta_free_cb)(struct hostapd_data *hapd, argument
369 struct wpabuf *mesh_pending_auth;
370 struct os_reltime mesh_pending_auth_time;
371 u8 mesh_required_peer[ETH_ALEN];
375 struct hostapd_eap_user tmp_eap_user;
384 u8 comeback_key[COMEBACK_KEY_SIZE];
385 struct os_reltime last_comeback_key_update;
386 u16 comeback_idx;
387 u16 comeback_pending_idx[COMEBACK_PENDING_IDX_SIZE];
388 int dot11RSNASAERetransPeriod; /* msec */
389 struct dl_list sae_commit_queue; /* struct hostapd_sae_commit_queue */
393 unsigned int ext_mgmt_frame_handling:1;
394 unsigned int ext_eapol_frame_io:1;
396 struct l2_packet_data *l2_test;
398 enum wpa_alg last_gtk_alg;
399 int last_gtk_key_idx;
400 u8 last_gtk[WPA_GTK_MAX_LEN];
401 size_t last_gtk_len;
403 enum wpa_alg last_igtk_alg;
404 int last_igtk_key_idx;
405 u8 last_igtk[WPA_IGTK_MAX_LEN];
406 size_t last_igtk_len;
408 enum wpa_alg last_bigtk_alg;
409 int last_bigtk_key_idx;
410 u8 last_bigtk[WPA_BIGTK_MAX_LEN];
411 size_t last_bigtk_len;
413 bool force_backlog_bytes;
417 unsigned int mbo_assoc_disallow;
420 struct dl_list nr_db;
422 u8 beacon_req_token;
423 u8 lci_req_token;
424 u8 range_req_token;
425 u8 link_measurement_req_token;
426 unsigned int lci_req_active:1;
427 unsigned int range_req_active:1;
428 unsigned int link_mesr_req_active:1;
430 int dhcp_sock; /* UDP socket used with the DHCP server */
432 struct ptksa_cache *ptksa;
435 int dpp_init_done;
436 struct dpp_authentication *dpp_auth;
437 u8 dpp_allowed_roles;
438 int dpp_qr_mutual;
439 int dpp_auth_ok_on_ack;
440 int dpp_in_response_listen;
441 struct gas_query_ap *gas;
442 struct dpp_pkex *dpp_pkex;
443 struct dpp_bootstrap_info *dpp_pkex_bi;
444 char *dpp_pkex_code;
445 size_t dpp_pkex_code_len;
446 char *dpp_pkex_identifier;
447 enum dpp_pkex_ver dpp_pkex_ver;
448 char *dpp_pkex_auth_cmd;
449 char *dpp_configurator_params;
450 struct os_reltime dpp_last_init;
451 struct os_reltime dpp_init_iter_start;
452 unsigned int dpp_init_max_tries;
453 unsigned int dpp_init_retry_time;
454 unsigned int dpp_resp_wait_time;
455 unsigned int dpp_resp_max_tries;
456 unsigned int dpp_resp_retry_time;
458 struct wpabuf *dpp_presence_announcement;
459 struct dpp_bootstrap_info *dpp_chirp_bi;
460 int dpp_chirp_freq;
461 int *dpp_chirp_freqs;
462 int dpp_chirp_iter;
463 int dpp_chirp_round;
464 int dpp_chirp_scan_done;
465 int dpp_chirp_listen;
466 struct os_reltime dpp_relay_last_needs_ctrl;
469 char *dpp_config_obj_override;
470 char *dpp_discovery_override;
471 char *dpp_groups_override;
472 unsigned int dpp_ignore_netaccesskey_mismatch:1;
477 unsigned int num_backlogged_sta;
478 unsigned int airtime_weight;
481 u8 last_1x_eapol_key_replay_counter[8];
484 sqlite3 *rad_attr_db;
488 unsigned char ctrl_iface_cookie[CTRL_IFACE_COOKIE_LEN];
492 u8 eht_mld_bss_param_change;
493 struct hostapd_mld *mld;
494 struct dl_list link;
495 u8 mld_link_id;
498 struct mld_link_info partner_links[MAX_NUM_MLD_LINKS];
502 char ctrl_sock_iface[IFNAMSIZ + 7 + 1];
505 u8 eht_mld_link_removal_count;
510 struct nan_de *nan_de;
513 u64 scan_cookie; /* Scan instance identifier for the ongoing HT40 scan