Lines Matching refs:elems
304 struct ieee802_11_elems elems; in wpa_mesh_notify_peer() local
309 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer()
314 wpa_mesh_new_mesh_peer(wpa_s, addr, &elems); in wpa_mesh_notify_peer()
451 struct ieee802_11_elems elems; in mesh_attr_text() local
456 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text()
459 if (elems.mesh_id_len < 1) in mesh_attr_text()
462 mesh_id = os_malloc(elems.mesh_id_len + 1); in mesh_attr_text()
466 os_memcpy(mesh_id, elems.mesh_id, elems.mesh_id_len); in mesh_attr_text()
467 mesh_id[elems.mesh_id_len] = '\0'; in mesh_attr_text()
474 if (elems.mesh_config_len > 6) { in mesh_attr_text()
483 elems.mesh_config[0], elems.mesh_config[1], in mesh_attr_text()
484 elems.mesh_config[2], elems.mesh_config[3], in mesh_attr_text()
485 elems.mesh_config[4], elems.mesh_config[5], in mesh_attr_text()
486 elems.mesh_config[6]); in mesh_attr_text()
492 bss_basic_rate_set = os_malloc(elems.supp_rates_len + in mesh_attr_text()
493 elems.ext_supp_rates_len); in mesh_attr_text()
498 for (i = 0; i < elems.supp_rates_len; i++) { in mesh_attr_text()
499 if (elems.supp_rates[i] & 0x80) { in mesh_attr_text()
501 (elems.supp_rates[i] & 0x7f) * 5; in mesh_attr_text()
504 for (i = 0; i < elems.ext_supp_rates_len; i++) { in mesh_attr_text()
505 if (elems.ext_supp_rates[i] & 0x80) { in mesh_attr_text()
507 (elems.ext_supp_rates[i] & 0x7f) * 5; in mesh_attr_text()