Lines Matching refs:role
1111 char *pos, *role, *type, *pos2;
1124 role = cmd;
1125 pos = os_strchr(role, ' ');
1186 wpa_printf(MSG_DEBUG, "NFC: Connection handover reported - role=%s type=%s req_len=%d sel_len=%d",
1187 role, type, (int) wpabuf_len(req), (int) wpabuf_len(sel));
1189 if (os_strcmp(role, "INIT") == 0 && os_strcmp(type, "WPS") == 0) {
1192 } else if (os_strcmp(role, "RESP") == 0 && os_strcmp(type, "WPS") == 0)
1199 } else if (os_strcmp(role, "INIT") == 0 && os_strcmp(type, "P2P") == 0)
1202 } else if (os_strcmp(role, "RESP") == 0 && os_strcmp(type, "P2P") == 0)
1209 "reported: role=%s type=%s", role, type);