Lines Matching refs:str
260 static int wps_process_manufacturer(struct wps_device_data *dev, const u8 *str, in wps_process_manufacturer() argument
263 if (str == NULL) { in wps_process_manufacturer()
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()
279 static int wps_process_model_name(struct wps_device_data *dev, const u8 *str, in wps_process_model_name() argument
282 if (str == NULL) { in wps_process_model_name()
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()
298 static int wps_process_model_number(struct wps_device_data *dev, const u8 *str, in wps_process_model_number() argument
301 if (str == NULL) { in wps_process_model_number()
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
320 if (str == NULL) { in wps_process_serial_number()
325 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Serial Number", str, str_len); in wps_process_serial_number()
328 dev->serial_number = dup_binstr(str, str_len); in wps_process_serial_number()
336 static int wps_process_dev_name(struct wps_device_data *dev, const u8 *str, in wps_process_dev_name() argument
339 if (str == NULL) { in wps_process_dev_name()
344 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Device Name", str, str_len); in wps_process_dev_name()
347 dev->device_name = dup_binstr(str, str_len); in wps_process_dev_name()