Searched refs:pin_txt (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ap.c | 1189 char pin_txt[9]; in wpas_wps_ap_pin_random() local 1196 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin); in wpas_wps_ap_pin_random() 1198 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random() 1221 char pin_txt[9]; in wpas_wps_ap_pin_set() local 1227 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin); in wpas_wps_ap_pin_set() 1228 if (os_snprintf_error(sizeof(pin_txt), ret)) in wpas_wps_ap_pin_set() 1231 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
|
D | ctrl_iface.c | 1910 const char *pin_txt; in wpa_supplicant_ctrl_iface_wps_ap_pin() local 1927 pin_txt = wpas_wps_ap_pin_random(wpa_s, timeout); in wpa_supplicant_ctrl_iface_wps_ap_pin() 1928 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin() 1930 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin() 1934 pin_txt = wpas_wps_ap_pin_get(wpa_s); in wpa_supplicant_ctrl_iface_wps_ap_pin() 1935 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin() 1937 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1758 char pin_txt[9]; member 1771 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set() 1773 upnp_wps_set_ap_pin(hapd->wps_upnp, data->pin_txt); in wps_ap_pin_set() 1787 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); in hostapd_wps_ap_pin_random() 1806 ret = os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%s", pin); in hostapd_wps_ap_pin_set() 1807 if (os_snprintf_error(sizeof(data.pin_txt), ret)) in hostapd_wps_ap_pin_set()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 450 const char *pin_txt; in hostapd_ctrl_iface_wps_ap_pin() local 464 pin_txt = hostapd_wps_ap_pin_random(hapd, timeout); in hostapd_ctrl_iface_wps_ap_pin() 465 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin() 467 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin() 471 pin_txt = hostapd_wps_ap_pin_get(hapd); in hostapd_ctrl_iface_wps_ap_pin() 472 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin() 474 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
|