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.c855 char pin_txt[9]; in wpas_wps_ap_pin_random() local
861 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin); in wpas_wps_ap_pin_random()
863 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random()
886 char pin_txt[9]; in wpas_wps_ap_pin_set() local
892 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin); in wpas_wps_ap_pin_set()
893 if (ret < 0 || ret >= (int) sizeof(pin_txt)) in wpas_wps_ap_pin_set()
896 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
Dctrl_iface.c1282 const char *pin_txt; in wpa_supplicant_ctrl_iface_wps_ap_pin() local
1299 pin_txt = wpas_wps_ap_pin_random(wpa_s, timeout); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1300 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin()
1302 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1306 pin_txt = wpas_wps_ap_pin_get(wpa_s); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1307 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin()
1309 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1542 char pin_txt[9]; member
1551 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
1553 upnp_wps_set_ap_pin(hapd->wps_upnp, data->pin_txt); in wps_ap_pin_set()
1566 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); in hostapd_wps_ap_pin_random()
1585 ret = os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%s", pin); in hostapd_wps_ap_pin_set()
1586 if (ret < 0 || ret >= (int) sizeof(data.pin_txt)) in hostapd_wps_ap_pin_set()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c477 const char *pin_txt; in hostapd_ctrl_iface_wps_ap_pin() local
491 pin_txt = hostapd_wps_ap_pin_random(hapd, timeout); in hostapd_ctrl_iface_wps_ap_pin()
492 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin()
494 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
498 pin_txt = hostapd_wps_ap_pin_get(hapd); in hostapd_ctrl_iface_wps_ap_pin()
499 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin()
501 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()