Lines Matching full:iface
95 hapd->conf->iface, MAC2STR(addr),
100 hapd->conf->iface, module_str ? " " : "",
149 static int hostapd_driver_init(struct hostapd_iface *iface)
153 struct hostapd_data *hapd = iface->bss[0];
175 wpa_drivers[i]->global_init(iface->interfaces);
188 params.ifname = hapd->conf->iface;
192 params.num_bridge = hapd->iface->num_bss;
193 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *));
196 for (i = 0; i < hapd->iface->num_bss; i++) {
197 struct hostapd_data *bss = hapd->iface->bss[i];
217 iface->drv_flags = capa.flags;
218 iface->smps_modes = capa.smps_modes;
219 iface->probe_resp_offloads = capa.probe_resp_offloads;
220 iface->extended_capa = capa.extended_capa;
221 iface->extended_capa_mask = capa.extended_capa_mask;
222 iface->extended_capa_len = capa.extended_capa_len;
223 iface->drv_max_acl_mac_addrs = capa.max_acl_mac_addrs;
248 struct hostapd_iface *iface;
252 iface = hostapd_init(interfaces, config_fname);
253 if (!iface)
255 iface->interfaces = interfaces;
258 if (iface->bss[0]->conf->logger_stdout_level > 0)
259 iface->bss[0]->conf->logger_stdout_level--;
262 if (iface->conf->bss[0]->iface[0] == '\0' &&
263 !hostapd_drv_none(iface->bss[0])) {
266 hostapd_interface_deinit_free(iface);
270 return iface;
286 static int handle_reload_iface(struct hostapd_iface *iface, void *ctx)
288 if (hostapd_reload_config(iface) < 0) {
398 for (k = 0; k < ifaces->iface[i]->num_bss; k++) {
399 if (ifaces->iface[i]->bss[0]->conf->tnc) {
479 return hapd->conf->iface;
555 static int hostapd_periodic_call(struct hostapd_iface *iface, void *ctx)
557 hostapd_periodic_iface(iface);
697 interfaces.iface = os_calloc(interfaces.count + num_bss_configs,
699 if (interfaces.iface == NULL) {
726 interfaces.iface[i] = hostapd_interface_init(&interfaces,
729 if (!interfaces.iface[i]) {
734 interfaces.iface[i]->need_to_start_in_sync = 1;
739 struct hostapd_iface *iface;
751 iface = hostapd_interface_init_bss(&interfaces, bss_config[i],
753 if (iface == NULL)
756 if (interfaces.iface[j] == iface)
761 tmp = os_realloc_array(interfaces.iface,
765 hostapd_interface_deinit_free(iface);
768 interfaces.iface = tmp;
769 interfaces.iface[interfaces.count++] = iface;
783 if (hostapd_driver_init(interfaces.iface[i]) ||
784 hostapd_setup_interface(interfaces.iface[i]))
801 if (!interfaces.iface[i])
803 interfaces.iface[i]->driver_ap_teardown =
804 !!(interfaces.iface[i]->drv_flags &
806 hostapd_interface_deinit_free(interfaces.iface[i]);
808 os_free(interfaces.iface);