Lines Matching refs:pin
858 const char *pin, char *buf, size_t buflen,
866 if (pin == NULL) {
871 pin = buf;
873 ret_len = os_snprintf(buf, buflen, "%s", pin);
878 ret = hostapd_wps_add_pin(wpa_s->ap_iface->bss[0], bssid, "any", pin,
927 unsigned int pin;
933 pin = wps_generate_pin();
934 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin);
955 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin,
965 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin);