Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:hapd_iface

443 	struct hostapd_iface *hapd_iface;
511 wpa_s->ap_iface = hapd_iface = os_zalloc(sizeof(*wpa_s->ap_iface));
512 if (hapd_iface == NULL)
514 hapd_iface->owner = wpa_s;
515 hapd_iface->drv_flags = wpa_s->drv_flags;
516 hapd_iface->probe_resp_offloads = wpa_s->probe_resp_offloads;
517 hapd_iface->extended_capa = wpa_s->extended_capa;
518 hapd_iface->extended_capa_mask = wpa_s->extended_capa_mask;
519 hapd_iface->extended_capa_len = wpa_s->extended_capa_len;
550 hapd_iface->num_bss = conf->num_bss;
551 hapd_iface->bss = os_calloc(conf->num_bss,
553 if (hapd_iface->bss == NULL) {
559 hapd_iface->bss[i] =
560 hostapd_alloc_bss_data(hapd_iface, conf,
562 if (hapd_iface->bss[i] == NULL) {
567 hapd_iface->bss[i]->msg_ctx = wpa_s;
568 hapd_iface->bss[i]->msg_ctx_parent = wpa_s->parent;
569 hapd_iface->bss[i]->public_action_cb = ap_public_action_rx;
570 hapd_iface->bss[i]->public_action_cb_ctx = wpa_s;
571 hapd_iface->bss[i]->vendor_action_cb = ap_vendor_action_rx;
572 hapd_iface->bss[i]->vendor_action_cb_ctx = wpa_s;
573 hostapd_register_probereq_cb(hapd_iface->bss[i],
575 hapd_iface->bss[i]->wps_reg_success_cb = ap_wps_reg_success_cb;
576 hapd_iface->bss[i]->wps_reg_success_cb_ctx = wpa_s;
577 hapd_iface
578 hapd_iface->bss[i]->wps_event_cb_ctx = wpa_s;
579 hapd_iface->bss[i]->sta_authorized_cb = ap_sta_authorized_cb;
580 hapd_iface->bss[i]->sta_authorized_cb_ctx = wpa_s;
582 hapd_iface->bss[i]->new_psk_cb = ap_new_psk_cb;
583 hapd_iface->bss[i]->new_psk_cb_ctx = wpa_s;
584 hapd_iface->bss[i]->p2p = wpa_s->global->p2p;
585 hapd_iface->bss[i]->p2p_group = wpas_p2p_group_init(wpa_s,
588 hapd_iface->bss[i]->setup_complete_cb = wpas_ap_configured_cb;
589 hapd_iface->bss[i]->setup_complete_cb_ctx = wpa_s;
592 os_memcpy(hapd_iface->bss[0]->own_addr, wpa_s->own_addr, ETH_ALEN);
593 hapd_iface->bss[0]->driver = wpa_s->driver;
594 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv;