• Home
  • Raw
  • Download

Lines Matching refs:bss

141 static void wpas_mesh_copy_groups(struct hostapd_data *bss,  in wpas_mesh_copy_groups()  argument
152 bss->conf->sae_groups = os_malloc(groups_size); in wpas_mesh_copy_groups()
153 if (bss->conf->sae_groups) in wpas_mesh_copy_groups()
154 os_memcpy(bss->conf->sae_groups, wpa_s->conf->sae_groups, in wpas_mesh_copy_groups()
163 struct hostapd_data *bss = ifmsh->bss[0]; in wpas_mesh_init_rsn() local
177 bss->conf->wpa = ssid->proto; in wpas_mesh_init_rsn()
178 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpas_mesh_init_rsn()
181 wpas_mesh_copy_groups(bss, wpa_s); in wpas_mesh_init_rsn()
183 bss->conf->sae_groups = os_memdup(default_groups, in wpas_mesh_init_rsn()
185 if (!bss->conf->sae_groups) in wpas_mesh_init_rsn()
190 bss->conf->ssid.wpa_passphrase = dup_binstr(password, len); in wpas_mesh_init_rsn()
229 params->conf.ht_opmode = ifmsh->bss[0]->iface->ht_op_mode; in wpas_mesh_complete()
252 struct hostapd_data *bss; in wpa_supplicant_mesh_init() local
273 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init()
275 if (!ifmsh->bss) in wpa_supplicant_mesh_init()
278 ifmsh->bss[0] = bss = hostapd_alloc_bss_data(NULL, NULL, NULL); in wpa_supplicant_mesh_init()
279 if (!bss) in wpa_supplicant_mesh_init()
282 ifmsh->bss[0]->msg_ctx = wpa_s; in wpa_supplicant_mesh_init()
283 os_memcpy(bss->own_addr, wpa_s->own_addr, ETH_ALEN); in wpa_supplicant_mesh_init()
284 bss->driver = wpa_s->driver; in wpa_supplicant_mesh_init()
285 bss->drv_priv = wpa_s->drv_priv; in wpa_supplicant_mesh_init()
286 bss->iface = ifmsh; in wpa_supplicant_mesh_init()
287 bss->mesh_sta_free_cb = mesh_mpm_free_sta; in wpa_supplicant_mesh_init()
302 bss->conf = *conf->bss; in wpa_supplicant_mesh_init()
303 bss->conf->start_disabled = 1; in wpa_supplicant_mesh_init()
304 bss->conf->mesh = MESH_ENABLED; in wpa_supplicant_mesh_init()
305 bss->conf->ap_max_inactivity = wpa_s->conf->mesh_max_inactivity; in wpa_supplicant_mesh_init()
316 bss->iconf = conf; in wpa_supplicant_mesh_init()
319 ifmsh->bss[0]->max_plinks = wpa_s->conf->max_peer_links; in wpa_supplicant_mesh_init()
320 ifmsh->bss[0]->dot11RSNASAERetransPeriod = in wpa_supplicant_mesh_init()
322 os_strlcpy(bss->conf->iface, wpa_s->ifname, sizeof(bss->conf->iface)); in wpa_supplicant_mesh_init()