• Home
  • Raw
  • Download

Lines Matching refs:hapd_iface

426 	struct hostapd_iface *hapd_iface;  in wpa_supplicant_create_ap()  local
497 wpa_s->ap_iface = hapd_iface = os_zalloc(sizeof(*wpa_s->ap_iface)); in wpa_supplicant_create_ap()
498 if (hapd_iface == NULL) in wpa_supplicant_create_ap()
500 hapd_iface->owner = wpa_s; in wpa_supplicant_create_ap()
501 hapd_iface->drv_flags = wpa_s->drv_flags; in wpa_supplicant_create_ap()
502 hapd_iface->probe_resp_offloads = wpa_s->probe_resp_offloads; in wpa_supplicant_create_ap()
533 hapd_iface->num_bss = conf->num_bss; in wpa_supplicant_create_ap()
534 hapd_iface->bss = os_calloc(conf->num_bss, in wpa_supplicant_create_ap()
536 if (hapd_iface->bss == NULL) { in wpa_supplicant_create_ap()
542 hapd_iface->bss[i] = in wpa_supplicant_create_ap()
543 hostapd_alloc_bss_data(hapd_iface, conf, in wpa_supplicant_create_ap()
545 if (hapd_iface->bss[i] == NULL) { in wpa_supplicant_create_ap()
550 hapd_iface->bss[i]->msg_ctx = wpa_s; in wpa_supplicant_create_ap()
551 hapd_iface->bss[i]->msg_ctx_parent = wpa_s->parent; in wpa_supplicant_create_ap()
552 hapd_iface->bss[i]->public_action_cb = ap_public_action_rx; in wpa_supplicant_create_ap()
553 hapd_iface->bss[i]->public_action_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
554 hapd_iface->bss[i]->vendor_action_cb = ap_vendor_action_rx; in wpa_supplicant_create_ap()
555 hapd_iface->bss[i]->vendor_action_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
556 hostapd_register_probereq_cb(hapd_iface->bss[i], in wpa_supplicant_create_ap()
558 hapd_iface->bss[i]->wps_reg_success_cb = ap_wps_reg_success_cb; in wpa_supplicant_create_ap()
559 hapd_iface->bss[i]->wps_reg_success_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
560 hapd_iface->bss[i]->wps_event_cb = ap_wps_event_cb; in wpa_supplicant_create_ap()
561 hapd_iface->bss[i]->wps_event_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
562 hapd_iface->bss[i]->sta_authorized_cb = ap_sta_authorized_cb; in wpa_supplicant_create_ap()
563 hapd_iface->bss[i]->sta_authorized_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
565 hapd_iface->bss[i]->p2p = wpa_s->global->p2p; in wpa_supplicant_create_ap()
566 hapd_iface->bss[i]->p2p_group = wpas_p2p_group_init(wpa_s, in wpa_supplicant_create_ap()
569 hapd_iface->bss[i]->setup_complete_cb = wpas_ap_configured_cb; in wpa_supplicant_create_ap()
570 hapd_iface->bss[i]->setup_complete_cb_ctx = wpa_s; in wpa_supplicant_create_ap()
573 os_memcpy(hapd_iface->bss[0]->own_addr, wpa_s->own_addr, ETH_ALEN); in wpa_supplicant_create_ap()
574 hapd_iface->bss[0]->driver = wpa_s->driver; in wpa_supplicant_create_ap()
575 hapd_iface->bss[0]->drv_priv = wpa_s->drv_priv; in wpa_supplicant_create_ap()