Lines Matching defs:type
152 static int wps_set_attr(struct wps_parse_attr *attr, u16 type,
155 switch (type) {
587 wpa_printf(MSG_DEBUG, "WPS: Unsupported attribute type 0x%x "
588 "len=%u", type, len);
599 u16 type, len;
616 type = WPA_GET_BE16(pos);
620 wpa_printf(MSG_EXCESSIVE, "WPS: attr type=0x%x len=%u",
621 type, len);
633 if ((type & 0xff00) != 0x1000 &&
646 if (type == 0 && len == 0) {
664 if (wps_set_attr(attr, type, pos, len) < 0)
668 prev_type = type;