Lines Matching refs:bss

101 static void wpas_mesh_copy_groups(struct hostapd_data *bss,  in wpas_mesh_copy_groups()  argument
112 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups()
113 if (bss->conf->sae_groups) in wpas_mesh_copy_groups()
114 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups()
123 struct hostapd_data *bss; in wpa_supplicant_mesh_init() local
144 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init()
146 if (!ifmsh->bss) in wpa_supplicant_mesh_init()
149 ifmsh->bss[0] = bss = os_zalloc(sizeof(struct hostapd_data)); in wpa_supplicant_mesh_init()
150 if (!bss) in wpa_supplicant_mesh_init()
153 os_memcpy(bss->own_addr, wpa_s->own_addr, ETH_ALEN); in wpa_supplicant_mesh_init()
154 bss->driver = wpa_s->driver; in wpa_supplicant_mesh_init()
155 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_init()
156 bss->iface = ifmsh; in wpa_supplicant_mesh_init()
157 bss->mesh_sta_free_cb = mesh_mpm_free_sta; in wpa_supplicant_mesh_init()
166 bss->conf = *conf->bss; in wpa_supplicant_mesh_init()
167 bss->conf->start_disabled = 1; in wpa_supplicant_mesh_init()
168 bss->conf->mesh = MESH_ENABLED; in wpa_supplicant_mesh_init()
169 bss->conf->ap_max_inactivity = wpa_s->conf->mesh_max_inactivity; in wpa_supplicant_mesh_init()
170 bss->iconf = conf; in wpa_supplicant_mesh_init()
173 ifmsh->bss[0]->max_plinks = wpa_s->conf->max_peer_links; in wpa_supplicant_mesh_init()
174 ifmsh->bss[0]->dot11RSNASAERetransPeriod = in wpa_supplicant_mesh_init()
176 os_strlcpy(bss->conf->iface, wpa_s->ifname, sizeof(bss->conf->iface)); in wpa_supplicant_mesh_init()
268 bss->conf->wpa = ssid->proto; in wpa_supplicant_mesh_init()
269 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_mesh_init()
273 wpas_mesh_copy_groups(bss, wpa_s); in wpa_supplicant_mesh_init()
275 bss->conf->sae_groups = in wpa_supplicant_mesh_init()
277 if (!bss->conf->sae_groups) in wpa_supplicant_mesh_init()
279 os_memcpy(bss->conf->sae_groups, default_groups, in wpa_supplicant_mesh_init()
284 bss->conf->ssid.wpa_passphrase = in wpa_supplicant_mesh_init()