Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/wpa_supplicant/src/wps/
Dwps_registrar.c177 u8 authorized_macs[WPS_MAX_AUTHORIZED_MACS][ETH_ALEN]; member
203 if (os_memcmp(reg->authorized_macs[i], addr, ETH_ALEN) == 0) { in wps_registrar_add_authorized_mac()
209 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i - 1], in wps_registrar_add_authorized_mac()
211 os_memcpy(reg->authorized_macs[0], addr, ETH_ALEN); in wps_registrar_add_authorized_mac()
213 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_add_authorized_mac()
224 if (os_memcmp(reg->authorized_macs, addr, ETH_ALEN) == 0) in wps_registrar_remove_authorized_mac()
233 os_memcpy(reg->authorized_macs[i], reg->authorized_macs[i + 1], in wps_registrar_remove_authorized_mac()
235 os_memset(reg->authorized_macs[WPS_MAX_AUTHORIZED_MACS - 1], 0, in wps_registrar_remove_authorized_mac()
238 (u8 *) reg->authorized_macs, sizeof(reg->authorized_macs)); in wps_registrar_remove_authorized_mac()
3314 if (is_zero_ether_addr(s->authorized_macs[j])) in wps_registrar_sel_reg_add()
[all …]
Dwps_attr_parse.h84 const u8 *authorized_macs; /* <= 30 octets */ member
Dwps_validate.c512 static int wps_validate_authorized_macs(const u8 *authorized_macs, size_t len, in wps_validate_authorized_macs() argument
515 if (authorized_macs == NULL) { in wps_validate_authorized_macs()
525 "MACs attribute value", authorized_macs, len); in wps_validate_authorized_macs()
1122 wps_validate_authorized_macs(attr->authorized_macs, in wps_validate_beacon()
1189 wps_validate_authorized_macs(attr->authorized_macs, in wps_validate_beacon_probe_resp()
2343 wps_validate_authorized_macs(attr->authorized_macs, in wps_validate_upnp_set_selected_registrar()
Dwps.c199 if (!attr->authorized_macs) { in wps_is_addr_authorized()
204 pos = attr->authorized_macs; in wps_is_addr_authorized()
Dwps_attr_parse.c34 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()