Searched refs:pin_txt (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ap.c | 791 char pin_txt[9]; in wpas_wps_ap_pin_random() local 797 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin); in wpas_wps_ap_pin_random() 799 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random() 822 char pin_txt[9]; in wpas_wps_ap_pin_set() local 828 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin); in wpas_wps_ap_pin_set() 829 if (ret < 0 || ret >= (int) sizeof(pin_txt)) in wpas_wps_ap_pin_set() 832 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
|
D | ctrl_iface.c | 774 const char *pin_txt; in wpa_supplicant_ctrl_iface_wps_ap_pin() local 791 pin_txt = wpas_wps_ap_pin_random(wpa_s, timeout); in wpa_supplicant_ctrl_iface_wps_ap_pin() 792 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin() 794 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin() 798 pin_txt = wpas_wps_ap_pin_get(wpa_s); in wpa_supplicant_ctrl_iface_wps_ap_pin() 799 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin() 801 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 387 const char *pin_txt; in hostapd_ctrl_iface_wps_ap_pin() local 401 pin_txt = hostapd_wps_ap_pin_random(hapd, timeout); in hostapd_ctrl_iface_wps_ap_pin() 402 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin() 404 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin() 408 pin_txt = hostapd_wps_ap_pin_get(hapd); in hostapd_ctrl_iface_wps_ap_pin() 409 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin() 411 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1420 char pin_txt[9]; member 1429 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set() 1431 upnp_wps_set_ap_pin(hapd->wps_upnp, data->pin_txt); in wps_ap_pin_set() 1444 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); in hostapd_wps_ap_pin_random() 1463 ret = os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%s", pin); in hostapd_wps_ap_pin_set() 1464 if (ret < 0 || ret >= (int) sizeof(data.pin_txt)) in hostapd_wps_ap_pin_set()
|