Home
last modified time | relevance | path

Searched refs:pin_txt (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dap.c1253 char pin_txt[9]; in wpas_wps_ap_pin_random() local
1260 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin); in wpas_wps_ap_pin_random()
1262 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random()
1285 char pin_txt[9]; in wpas_wps_ap_pin_set() local
1291 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin); in wpas_wps_ap_pin_set()
1292 if (os_snprintf_error(sizeof(pin_txt), ret)) in wpas_wps_ap_pin_set()
1295 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
Dctrl_iface.c1945 const char *pin_txt; in wpa_supplicant_ctrl_iface_wps_ap_pin() local
1962 pin_txt = wpas_wps_ap_pin_random(wpa_s, timeout); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1963 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin()
1965 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1969 pin_txt = wpas_wps_ap_pin_get(wpa_s); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1970 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin()
1972 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1843 char pin_txt[9]; member
1856 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
1858 upnp_wps_set_ap_pin(hapd->wps_upnp, data->pin_txt); in wps_ap_pin_set()
1872 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); in hostapd_wps_ap_pin_random()
1891 ret = os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%s", pin); in hostapd_wps_ap_pin_set()
1892 if (os_snprintf_error(sizeof(data.pin_txt), ret)) in hostapd_wps_ap_pin_set()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c452 const char *pin_txt; in hostapd_ctrl_iface_wps_ap_pin() local
466 pin_txt = hostapd_wps_ap_pin_random(hapd, timeout); in hostapd_ctrl_iface_wps_ap_pin()
467 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin()
469 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
473 pin_txt = hostapd_wps_ap_pin_get(hapd); in hostapd_ctrl_iface_wps_ap_pin()
474 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin()
476 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()