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.c46 os_memset(s->authorized_macs, 0, sizeof(s->authorized_macs)); in upnp_er_set_selected_registrar()
57 if (attr.authorized_macs) { in upnp_er_set_selected_registrar()
61 os_memcpy(s->authorized_macs, attr.authorized_macs, in upnp_er_set_selected_registrar()
66 os_memset(s->authorized_macs, 0xff, ETH_ALEN); in upnp_er_set_selected_registrar()
Dwps_module_tests.c313 !attr.authorized_macs || in wps_attr_parse_tests()
Dwps_registrar.c182 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
209 if (os_memcmp(reg->authorized_macs[i], addr, ETH_ALEN) == 0) { in wps_registrar_add_authorized_mac()
215 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i - 1], in wps_registrar_add_authorized_mac()
217 os_memcpy(reg->authorized_macs[0], addr, ETH_ALEN); in wps_registrar_add_authorized_mac()
219 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_add_authorized_mac()
230 if (os_memcmp(reg->authorized_macs, addr, ETH_ALEN) == 0) in wps_registrar_remove_authorized_mac()
239 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i + 1], in wps_registrar_remove_authorized_mac()
241 os_memset(reg->authorized_macs[WPS_MAX_AUTHORIZED_MACS - 1], 0, in wps_registrar_remove_authorized_mac()
244 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_remove_authorized_mac()
3381 if (is_zero_ether_addr(s->authorized_macs[j])) in wps_registrar_sel_reg_add()
[all …]
Dwps_attr_parse.h79 const u8 *authorized_macs; /* <= 30 octets */ member
Dwps_validate.c523 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs() argument
526 if (authorized_macs == NULL) { in wps_validate_authorized_macs()
536 "MACs attribute value", authorized_macs, len); in wps_validate_authorized_macs()
1109 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon()
1161 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_beacon_probe_resp()
1961 wps_validate_authorized_macs(attr.authorized_macs, in wps_validate_upnp_set_selected_registrar()
Dwps_upnp_i.h101 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
Dwps.c332 if (!attr.authorized_macs) in wps_is_addr_authorized()
335 pos = attr.authorized_macs; in wps_is_addr_authorized()
Dwps_attr_parse.c35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()