Lines Matching refs:hapd_iface

589 	struct hostapd_iface *hapd_iface;  in wpa_supplicant_create_ap()  local
657 wpa_s->ap_iface = hapd_iface = os_zalloc(sizeof(*wpa_s->ap_iface)); in wpa_supplicant_create_ap()
658 if (hapd_iface == NULL) in wpa_supplicant_create_ap()
660 hapd_iface->owner = wpa_s; in wpa_supplicant_create_ap()
661 hapd_iface->drv_flags = wpa_s->drv_flags; in wpa_supplicant_create_ap()
662 hapd_iface->smps_modes = wpa_s->drv_smps_modes; in wpa_supplicant_create_ap()
663 hapd_iface->probe_resp_offloads = wpa_s->probe_resp_offloads; in wpa_supplicant_create_ap()
664 hapd_iface->extended_capa = wpa_s->extended_capa; in wpa_supplicant_create_ap()
665 hapd_iface->extended_capa_mask = wpa_s->extended_capa_mask; in wpa_supplicant_create_ap()
666 hapd_iface->extended_capa_len = wpa_s->extended_capa_len; in wpa_supplicant_create_ap()
704 hapd_iface->num_bss = conf->num_bss; in wpa_supplicant_create_ap()
705 hapd_iface->bss = os_calloc(conf->num_bss, in wpa_supplicant_create_ap()
707 if (hapd_iface->bss == NULL) { in wpa_supplicant_create_ap()
713 hapd_iface->bss[i] = in wpa_supplicant_create_ap()
714 hostapd_alloc_bss_data(hapd_iface, conf, in wpa_supplicant_create_ap()
716 if (hapd_iface->bss[i] == NULL) { in wpa_supplicant_create_ap()
721 hapd_iface->bss[i]->msg_ctx = wpa_s; in wpa_supplicant_create_ap()
722 hapd_iface->bss[i]->msg_ctx_parent = wpa_s->p2pdev; in wpa_supplicant_create_ap()
723 hapd_iface->bss[i]->public_action_cb = ap_public_action_rx; in wpa_supplicant_create_ap()
724 hapd_iface->bss[i]->public_action_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
725 hapd_iface->bss[i]->vendor_action_cb = ap_vendor_action_rx; in wpa_supplicant_create_ap()
726 hapd_iface->bss[i]->vendor_action_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
727 hostapd_register_probereq_cb(hapd_iface->bss[i], in wpa_supplicant_create_ap()
729 hapd_iface->bss[i]->wps_reg_success_cb = ap_wps_reg_success_cb; in wpa_supplicant_create_ap()
730 hapd_iface->bss[i]->wps_reg_success_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
731 hapd_iface->bss[i]->wps_event_cb = ap_wps_event_cb; in wpa_supplicant_create_ap()
732 hapd_iface->bss[i]->wps_event_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
733 hapd_iface->bss[i]->sta_authorized_cb = ap_sta_authorized_cb; in wpa_supplicant_create_ap()
734 hapd_iface->bss[i]->sta_authorized_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
736 hapd_iface->bss[i]->new_psk_cb = ap_new_psk_cb; in wpa_supplicant_create_ap()
737 hapd_iface->bss[i]->new_psk_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
738 hapd_iface->bss[i]->p2p = wpa_s->global->p2p; in wpa_supplicant_create_ap()
739 hapd_iface->bss[i]->p2p_group = wpas_p2p_group_init(wpa_s, in wpa_supplicant_create_ap()
742 hapd_iface->bss[i]->setup_complete_cb = wpas_ap_configured_cb; in wpa_supplicant_create_ap()
743 hapd_iface->bss[i]->setup_complete_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
745 hapd_iface->bss[i]->ext_eapol_frame_io = in wpa_supplicant_create_ap()
750 os_memcpy(hapd_iface->bss[0]->own_addr, wpa_s->own_addr, ETH_ALEN); in wpa_supplicant_create_ap()
751 hapd_iface->bss[0]->driver = wpa_s->driver; in wpa_supplicant_create_ap()
752 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv; in wpa_supplicant_create_ap()