Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 2 of 2) sorted by relevance

/hostap-latest/src/wps/
Dwps_dev_attr.c261 size_t str_len) in wps_process_manufacturer() argument
268 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer()
271 dev->manufacturer = dup_binstr(str, str_len); in wps_process_manufacturer()
280 size_t str_len) in wps_process_model_name() argument
287 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name()
290 dev->model_name = dup_binstr(str, str_len); in wps_process_model_name()
299 size_t str_len) in wps_process_model_number() argument
306 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Number", str, str_len); in wps_process_model_number()
309 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number()
318 const u8 *str, size_t str_len) in wps_process_serial_number() argument
[all …]
/hostap-latest/wpa_supplicant/
Dp2p_supplicant.c2584 u8 str_len; in wpas_dev_found() local
2592 str_len = *buf++; in wpas_dev_found()
2593 if (str_len > len - 4 - 2 - 1) in wpas_dev_found()
2595 os_memcpy(str, buf, str_len); in wpas_dev_found()
2596 str[str_len] = '\0'; in wpas_dev_found()
2597 buf += str_len; in wpas_dev_found()
2598 len -= str_len + sizeof(u32) + sizeof(u16) + sizeof(u8); in wpas_dev_found()