Home
last modified time | relevance | path

Searched refs:authorized_macs (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ap.c44 os_memset(s->authorized_macs, 0, sizeof(s->authorized_macs)); in upnp_er_set_selected_registrar()
55 if (attr.authorized_macs) { in upnp_er_set_selected_registrar()
59 os_memcpy(s->authorized_macs, attr.authorized_macs, in upnp_er_set_selected_registrar()
64 os_memset(s->authorized_macs, 0xff, ETH_ALEN); in upnp_er_set_selected_registrar()
Dwps_module_tests.c314 !attr.authorized_macs || in wps_attr_parse_tests()
Dwps_registrar.c183 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
241 if (os_memcmp(reg->authorized_macs[i], addr, ETH_ALEN) == 0) { in wps_registrar_add_authorized_mac()
247 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i - 1], in wps_registrar_add_authorized_mac()
249 os_memcpy(reg->authorized_macs[0], addr, ETH_ALEN); in wps_registrar_add_authorized_mac()
251 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_add_authorized_mac()
262 if (os_memcmp(reg->authorized_macs, addr, ETH_ALEN) == 0) in wps_registrar_remove_authorized_mac()
271 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i + 1], in wps_registrar_remove_authorized_mac()
273 os_memset(reg->authorized_macs[WPS_MAX_AUTHORIZED_MACS - 1], 0, in wps_registrar_remove_authorized_mac()
276 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_remove_authorized_mac()
3509 if (is_zero_ether_addr(s->authorized_macs[j])) in wps_registrar_sel_reg_add()
[all …]
Dwps_validate.c525 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs() argument
528 if (authorized_macs == NULL) { in wps_validate_authorized_macs()
538 "MACs attribute value", authorized_macs, len); in wps_validate_authorized_macs()
1111 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon()
1163 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon_probe_resp()
1963 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_upnp_set_selected_registrar()
Dwps_attr_parse.h70 const u8 *authorized_macs; /* <= 30 octets */ member
Dwps_upnp_i.h101 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
Dwps.c334 if (!attr.authorized_macs) in wps_is_addr_authorized()
337 pos = attr.authorized_macs; in wps_is_addr_authorized()
Dwps_attr_parse.c35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()