Lines Matching refs:pin
933 char *pin;
936 pin = os_strchr(cmd, ' ');
937 if (pin)
938 *pin++ = '\0';
956 if (pin) {
957 pos = os_strchr(pin, ' ');
964 return wpa_supplicant_ap_wps_pin(wpa_s, _bssid, pin,
969 if (pin) {
970 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0,
974 ret = os_snprintf(buf, buflen, "%s", pin);
996 char pin[9];
1006 pin[len++] = *pos;
1016 pin[len] = '\0';
1020 pin_val = atoi(pin);
1030 ret = os_snprintf(buf, buflen, "%s", pin);
1453 char *pin;
1460 pin = os_strchr(cmd, ' ');
1461 if (pin == NULL)
1463 *pin++ = '\0';
1471 new_ssid = os_strchr(pin, ' ');
1473 return wpas_wps_start_reg(wpa_s, bssid, pin, NULL);
1496 return wpas_wps_start_reg(wpa_s, bssid, pin, &ap);
1538 char *pin;
1541 pin = pos;
1547 if (os_strlen(pin) > buflen)
1549 if (wpas_wps_ap_pin_set(wpa_s, pin, timeout) < 0)
1551 return os_snprintf(buf, buflen, "%s", pin);
1563 char *uuid = cmd, *pin, *pos;
1565 pin = os_strchr(uuid, ' ');
1566 if (pin == NULL)
1568 *pin++ = '\0';
1569 pos = os_strchr(pin, ' ');
1575 return wpas_wps_er_add_pin(wpa_s, addr, uuid, pin);
1582 char *uuid = cmd, *pin;
1583 pin = os_strchr(uuid, ' ');
1584 if (pin == NULL)
1586 *pin++ = '\0';
1587 return wpas_wps_er_learn(wpa_s, uuid, pin);
1606 char *pin;
1613 pin = os_strchr(cmd, ' ');
1614 if (pin == NULL)
1616 *pin++ = '\0';
1618 new_ssid = os_strchr(pin, ' ');
1643 return wpas_wps_er_config(wpa_s, cmd, pin, &ap);
4856 char *pin = NULL;
4877 /* <addr> <"pbc" | "pin" | PIN> [label|display|keypad|p2ps]
4928 if (os_strncmp(pos, "pin", 3) == 0) {
4934 pin = pos;
4935 pos = os_strchr(pin, ' ');
4944 if (!wps_pin_str_valid(pin)) {
4950 new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method,
4964 if (wps_method == WPS_PIN_DISPLAY && pin == NULL) {