Lines Matching refs:bss
660 struct hostapd_data *bss; in hostapd_enable_iface_cb() local
662 wpa_printf(MSG_DEBUG, "Enable interface %s", hapd_iface->conf->bss[0]->iface); in hostapd_enable_iface_cb()
664 bss = hapd_iface->bss[0]; in hostapd_enable_iface_cb()
666 bss->conf->start_disabled = 0; in hostapd_enable_iface_cb()
673 l2_packet_deinit(bss->l2); in hostapd_enable_iface_cb()
674 bss->l2 = l2_packet_init(bss->conf->iface, bss->conf->bssid, ETH_P_EAPOL, in hostapd_enable_iface_cb()
675 &hostapd_event_eapol_rx_cb, bss, 0); in hostapd_enable_iface_cb()
676 if (bss->l2 == NULL) { in hostapd_enable_iface_cb()
694 wpa_msg(hapd_iface->bss[0]->msg_ctx, MSG_INFO, AP_EVENT_DISABLED); in hostapd_disable_iface_cb()
701 hostapd_cleanup_cs_params(hapd_iface->bss[j]); in hostapd_disable_iface_cb()
709 hapd = hapd_iface->bss[j]; in hostapd_disable_iface_cb()
718 wpa_printf(MSG_DEBUG, "Interface %s disabled", hapd_iface->bss[0]->conf->iface); in hostapd_disable_iface_cb()
726 hapd = hapd_iface->bss[j]; in hostapd_disable_iface_cb()
728 hapd->conf = hapd_iface->conf->bss[j]; in hostapd_disable_iface_cb()
768 struct hostapd_data *hapd = iface->bss[0]; in hostapd_driver_init()
811 struct hostapd_data *bss = hapd->iface->bss[i]; in hostapd_driver_init() local
813 if (bss->conf->bridge[0]) { in hostapd_driver_init()
814 params.bridge[i] = bss->conf->bridge; in hostapd_driver_init()
901 conf->last_bss = conf->bss[0]; in hostapd_config_read2()
902 struct hostapd_bss_config *bss; in hostapd_config_read2() local
904 bss = conf->last_bss; in hostapd_config_read2()
905 bss->start_disabled = 1; in hostapd_config_read2()
906 bss->max_num_sta = CONFIG_WIFI_MGMT_AP_MAX_NUM_STA; in hostapd_config_read2()
907 bss->dtim_period = 1; in hostapd_config_read2()
908 os_strlcpy(conf->bss[0]->iface, ifname, sizeof(conf->bss[0]->iface)); in hostapd_config_read2()
909 bss->logger_stdout_level = HOSTAPD_LEVEL_INFO; in hostapd_config_read2()
910 bss->logger_stdout = 0xffff; in hostapd_config_read2()
911 bss->nas_identifier = os_strdup("ap.example.com"); in hostapd_config_read2()
914 bss->wps_state = WPS_STATE_CONFIGURED; in hostapd_config_read2()
915 bss->eap_server = 1; in hostapd_config_read2()
917 bss->ap_setup_locked = 1; in hostapd_config_read2()
929 bss->auth_algs = 1; in hostapd_config_read2()
930 bss->okc = 1; in hostapd_config_read2()
949 hostapd_set_security_params(conf->bss[i], 1); in hostapd_config_read2()
982 os_strlcpy(iface->conf->bss[0]->iface, if_name, in hostapd_interface_init()
983 sizeof(iface->conf->bss[0]->iface)); in hostapd_interface_init()
989 if (iface->bss[0]->conf->logger_stdout_level > 0) { in hostapd_interface_init()
990 iface->bss[0]->conf->logger_stdout_level--; in hostapd_interface_init()
994 if (iface->conf->bss[0]->iface[0] == '\0' && in hostapd_interface_init()
995 !hostapd_drv_none(iface->bss[0])) { in hostapd_interface_init()
1003 iface->bss[0]->is_hostapd = 1; in hostapd_interface_init()
1091 zephyr_hostapd_ctrl_init((void *)interfaces->iface[i]->bss[0]); in zephyr_hostapd_init()