| /src/contrib/wpa/src/wps/ |
| H A D | wps_dev_attr.c | 116 wpabuf_put_be16(msg, WPS_DEV_TYPE_LEN); in wps_build_primary_dev_type() 117 wpabuf_put_data(msg, dev->pri_dev_type, WPS_DEV_TYPE_LEN); in wps_build_primary_dev_type() 130 wpabuf_put_be16(msg, WPS_DEV_TYPE_LEN * dev->num_sec_dev_types); in wps_build_secondary_dev_type() 132 WPS_DEV_TYPE_LEN * dev->num_sec_dev_types); in wps_build_secondary_dev_type() 146 req_dev_types + i * WPS_DEV_TYPE_LEN, in wps_build_req_dev_type() 147 WPS_DEV_TYPE_LEN); in wps_build_req_dev_type() 149 wpabuf_put_be16(msg, WPS_DEV_TYPE_LEN); in wps_build_req_dev_type() 150 wpabuf_put_data(msg, req_dev_types + i * WPS_DEV_TYPE_LEN, in wps_build_req_dev_type() 151 WPS_DEV_TYPE_LEN); in wps_build_req_dev_type() 367 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
|
| H A D | wps.h | 60 #define WPS_DEV_TYPE_LEN 8 macro 92 u8 pri_dev_type[WPS_DEV_TYPE_LEN]; 94 u8 sec_dev_type[WPS_SEC_DEVICE_TYPES][WPS_DEV_TYPE_LEN]; 929 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]); 930 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
|
| H A D | wps_attr_parse.c | 245 if (len != WPS_DEV_TYPE_LEN) { in wps_set_attr() 550 if (len != WPS_DEV_TYPE_LEN) { in wps_set_attr() 566 (len % WPS_DEV_TYPE_LEN) > 0) { in wps_set_attr()
|
| H A D | wps_common.c | 462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin() argument 485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str() argument
|
| H A D | wps_registrar.c | 310 os_memcpy(dst->pri_dev_type, src->pri_dev_type, WPS_DEV_TYPE_LEN); in wps_device_clone_data()
|
| /src/contrib/wpa/src/p2p/ |
| H A D | p2p_build.c | 237 WPS_DEV_TYPE_LEN); in p2p_buf_add_device_info() 794 if (wpabuf_tailroom(buf) < 4 + WPS_DEV_TYPE_LEN) in p2p_build_wps_ie() 797 wpabuf_put_be16(buf, WPS_DEV_TYPE_LEN); in p2p_build_wps_ie() 798 wpabuf_put_data(buf, p2p->cfg->pri_dev_type, WPS_DEV_TYPE_LEN); in p2p_build_wps_ie() 816 4 + WPS_DEV_TYPE_LEN * p2p->cfg->num_sec_dev_types) in p2p_build_wps_ie() 819 wpabuf_put_be16(buf, WPS_DEV_TYPE_LEN * in p2p_build_wps_ie() 822 WPS_DEV_TYPE_LEN * in p2p_build_wps_ie()
|
| H A D | p2p_group.c | 730 if (end - pos < WPS_DEV_TYPE_LEN + 1) in p2p_match_dev_type_member() 742 pos += WPS_DEV_TYPE_LEN; in p2p_match_dev_type_member() 744 if (end - pos < num_sec * WPS_DEV_TYPE_LEN) in p2p_match_dev_type_member() 751 pos += WPS_DEV_TYPE_LEN; in p2p_match_dev_type_member()
|
| H A D | p2p.c | 1191 WPS_DEV_TYPE_LEN); in p2p_find() 2173 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match()
|
| /src/contrib/wpa/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers_p2p.c | 140 os_malloc(WPS_DEV_TYPE_LEN * entry.array_len); in wpas_dbus_handler_p2p_find() 146 WPS_DEV_TYPE_LEN) in wpas_dbus_handler_p2p_find() 148 os_memcpy(req_dev_types + i * WPS_DEV_TYPE_LEN, in wpas_dbus_handler_p2p_find() 150 WPS_DEV_TYPE_LEN); in wpas_dbus_handler_p2p_find() 976 WPS_DEV_TYPE_LEN)) in wpas_dbus_getter_p2p_device_config() 994 WPS_DEV_TYPE_LEN); in wpas_dbus_getter_p2p_device_config() 1126 entry.array_len != WPS_DEV_TYPE_LEN) in wpas_dbus_setter_p2p_device_config() 1131 WPS_DEV_TYPE_LEN); in wpas_dbus_setter_p2p_device_config() 1142 WPS_DEV_TYPE_LEN) in wpas_dbus_setter_p2p_device_config() 1147 WPS_DEV_TYPE_LEN); in wpas_dbus_setter_p2p_device_config() [all …]
|
| H A D | dbus_new_handlers_wps.c | 758 WPS_DEV_TYPE_LEN, error)) { in wpas_dbus_getter_wps_device_device_type() 796 if (dev_len != WPS_DEV_TYPE_LEN) in wpas_dbus_setter_wps_device_device_type() 799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN); in wpas_dbus_setter_wps_device_device_type()
|
| /src/contrib/wpa/wpa_supplicant/ |
| H A D | config.h | 788 u8 device_type[WPS_DEV_TYPE_LEN]; 842 u8 sec_device_type[MAX_SEC_DEVICE_TYPES][WPS_DEV_TYPE_LEN];
|
| H A D | wps_supplicant.c | 1618 WPS_DEV_TYPE_LEN); in wpas_wps_init() 1622 WPS_DEV_TYPE_LEN * wps->dev.num_sec_dev_types); in wpas_wps_init() 2285 WPS_DEV_TYPE_LEN); in wpas_wps_update_config() 2290 wps->dev.num_sec_dev_types * WPS_DEV_TYPE_LEN); in wpas_wps_update_config()
|
| H A D | p2p_supplicant.c | 2184 os_memcpy(d->device_type, s->device_type, WPS_DEV_TYPE_LEN); in wpas_p2p_clone_config() 5030 WPS_DEV_TYPE_LEN); in wpas_p2p_init() 5034 p2p.num_sec_dev_types * WPS_DEV_TYPE_LEN); in wpas_p2p_init() 10194 WPS_DEV_TYPE_LEN; in wpas_p2p_lo_start() 10198 os_memcpy(device_types, wpa_s->conf->device_type, WPS_DEV_TYPE_LEN); in wpas_p2p_lo_start() 10199 os_memcpy(&device_types[WPS_DEV_TYPE_LEN], wpa_s->conf->sec_device_type, in wpas_p2p_lo_start() 10200 wpa_s->conf->num_sec_device_types * WPS_DEV_TYPE_LEN); in wpas_p2p_lo_start()
|
| H A D | ap.c | 777 WPS_DEV_TYPE_LEN); in wpa_supplicant_conf_ap()
|
| H A D | ctrl_iface.c | 6073 u8 dev_type[WPS_DEV_TYPE_LEN], *_dev_type = NULL; in p2p_ctrl_find() 7387 for (i = 0; i < info->wps_sec_dev_type_list_len / WPS_DEV_TYPE_LEN; i++) in p2p_ctrl_peer() 7390 t = &info->wps_sec_dev_type_list[i * WPS_DEV_TYPE_LEN]; in p2p_ctrl_peer()
|
| /src/contrib/wpa/src/ap/ |
| H A D | ap_config.h | 503 u8 device_type[WPS_DEV_TYPE_LEN];
|
| H A D | wps_hostapd.c | 1153 WPS_DEV_TYPE_LEN); in hostapd_init_wps()
|