Lines Matching refs:pin
86 wpa_printf(MSG_DEBUG, "WPS: PIN registration with " MACSTR
1069 const char *pin, int p2p_group, u16 dev_pw_id,
1115 if (pin)
1116 os_snprintf(val, sizeof(val), "\"pin=%s dev_pw_id=%u%s\"",
1117 pin, dev_pw_id, hash);
1118 else if (pin == NULL && dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) {
1123 os_snprintf(val, sizeof(val), "\"pin=%08d dev_pw_id=%u%s\"",
1141 pin, int p2p_group, u16 dev_pw_id)
1143 return wpas_wps_start_dev_pw(wpa_s, NULL, bssid, pin, p2p_group,
1148 /* Cancel the wps pbc/pin requests */
1184 const char *pin, struct wps_new_ap_settings *settings)
1191 if (!pin)
1200 res = os_snprintf(pos, end - pos, "\"pin=%s", pin);
1257 wpa_printf(MSG_DEBUG, "WPS: PIN needed for UUID-E %s", uuid);
1258 len = os_snprintf(txt, sizeof(txt), "WPS-EVENT-PIN-NEEDED %s " MACSTR
1522 * authorized MAC (v2.0) or active PIN Registrar (v1.0) and
1530 "without active PIN Registrar");
1537 "(Authorized MAC or Active PIN)");
1571 /* allow wildcard SSID for WPS PIN */
1678 unsigned int pbc = 0, auth = 0, pin = 0, wps = 0;
1693 pin++;
1703 else if (pin)
1768 const char *uuid, const char *pin)
1785 (const u8 *) pin, os_strlen(pin), 300);
1805 const char *pin)
1817 return wps_er_learn(wpa_s->wps_er, use_uuid, use_addr, (const u8 *) pin,
1818 os_strlen(pin));
1881 const char *pin, struct wps_new_ap_settings *settings)
1934 (const u8 *) pin, os_strlen(pin), &cred);