Home | History | Annotate | Download | only in p2p

Lines Matching refs:attr

324 	struct wps_parse_attr attr;
328 if (wps_parse_msg(buf, &attr))
330 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) &&
332 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len);
333 if (attr.config_methods) {
335 WPA_GET_BE16(attr.config_methods);
339 if (attr.dev_password_id) {
340 msg->dev_password_id = WPA_GET_BE16(attr.dev_password_id);
344 if (attr.primary_dev_type) {
346 msg->wps_pri_dev_type = attr.primary_dev_type;
351 if (attr.sec_dev_type_list) {
352 msg->wps_sec_dev_type_list = attr.sec_dev_type_list;
353 msg->wps_sec_dev_type_list_len = attr.sec_dev_type_list_len;
357 msg->wps_vendor_ext[i] = attr.vendor_ext[i];
358 msg->wps_vendor_ext_len[i] = attr.vendor_ext_len[i];
361 msg->manufacturer = attr.manufacturer;
362 msg->manufacturer_len = attr.manufacturer_len;
363 msg->model_name = attr.model_name;
364 msg->model_name_len = attr.model_name_len;
365 msg->model_number = attr.model_number;
366 msg->model_number_len = attr.model_number_len;
367 msg->serial_number = attr.serial_number;
368 msg->serial_number_len = attr.serial_number_len;