Searched refs:hapd_iface (Results 1 – 4 of 4) sorted by relevance
1080 hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface, in hostapd_alloc_bss_data() argument1093 hapd->iface = hapd_iface; in hostapd_alloc_bss_data()1145 int hostapd_enable_iface(struct hostapd_iface *hapd_iface) in hostapd_enable_iface() argument1147 if (hapd_iface->bss[0]->drv_priv != NULL) { in hostapd_enable_iface()1149 hapd_iface->conf->bss[0].iface); in hostapd_enable_iface()1154 hapd_iface->conf->bss[0].iface); in hostapd_enable_iface()1156 if (hapd_iface->interfaces == NULL || in hostapd_enable_iface()1157 hapd_iface->interfaces->driver_init == NULL || in hostapd_enable_iface()1158 hapd_iface->interfaces->driver_init(hapd_iface) || in hostapd_enable_iface()1159 hostapd_setup_interface(hapd_iface)) { in hostapd_enable_iface()[all …]
341 hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface,351 int hostapd_enable_iface(struct hostapd_iface *hapd_iface);352 int hostapd_reload_iface(struct hostapd_iface *hapd_iface);353 int hostapd_disable_iface(struct hostapd_iface *hapd_iface);
443 struct hostapd_iface *hapd_iface; in wpa_supplicant_create_ap() local511 wpa_s->ap_iface = hapd_iface = os_zalloc(sizeof(*wpa_s->ap_iface)); in wpa_supplicant_create_ap()512 if (hapd_iface == NULL) in wpa_supplicant_create_ap()514 hapd_iface->owner = wpa_s; in wpa_supplicant_create_ap()515 hapd_iface->drv_flags = wpa_s->drv_flags; in wpa_supplicant_create_ap()516 hapd_iface->probe_resp_offloads = wpa_s->probe_resp_offloads; in wpa_supplicant_create_ap()517 hapd_iface->extended_capa = wpa_s->extended_capa; in wpa_supplicant_create_ap()518 hapd_iface->extended_capa_mask = wpa_s->extended_capa_mask; in wpa_supplicant_create_ap()519 hapd_iface->extended_capa_len = wpa_s->extended_capa_len; in wpa_supplicant_create_ap()550 hapd_iface->num_bss = conf->num_bss; in wpa_supplicant_create_ap()[all …]
161 struct hostapd_iface *hapd_iface = NULL; in hostapd_init() local166 hapd_iface = os_zalloc(sizeof(*hapd_iface)); in hostapd_init()167 if (hapd_iface == NULL) in hostapd_init()170 hapd_iface->config_fname = os_strdup(config_file); in hostapd_init()171 if (hapd_iface->config_fname == NULL) in hostapd_init()174 conf = hostapd_config_read(hapd_iface->config_fname); in hostapd_init()177 hapd_iface->conf = conf; in hostapd_init()179 hapd_iface->num_bss = conf->num_bss; in hostapd_init()180 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_init()182 if (hapd_iface->bss == NULL) in hostapd_init()[all …]