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.c1005 char pin_txt[9]; in wpas_wps_ap_pin_random() local
1012 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin); in wpas_wps_ap_pin_random()
1014 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random()
1037 char pin_txt[9]; in wpas_wps_ap_pin_set() local
1043 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin); in wpas_wps_ap_pin_set()
1044 if (os_snprintf_error(sizeof(pin_txt), ret)) in wpas_wps_ap_pin_set()
1047 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
Dctrl_iface.c1666 const char *pin_txt; in wpa_supplicant_ctrl_iface_wps_ap_pin() local
1683 pin_txt = wpas_wps_ap_pin_random(wpa_s, timeout); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1684 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin()
1686 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1690 pin_txt = wpas_wps_ap_pin_get(wpa_s); in wpa_supplicant_ctrl_iface_wps_ap_pin()
1691 if (pin_txt == NULL) in wpa_supplicant_ctrl_iface_wps_ap_pin()
1693 return os_snprintf(buf, buflen, "%s", pin_txt); in wpa_supplicant_ctrl_iface_wps_ap_pin()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1597 char pin_txt[9]; member
1610 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
1612 upnp_wps_set_ap_pin(hapd->wps_upnp, data->pin_txt); in wps_ap_pin_set()
1626 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); in hostapd_wps_ap_pin_random()
1645 ret = os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%s", pin); in hostapd_wps_ap_pin_set()
1646 if (os_snprintf_error(sizeof(data.pin_txt), ret)) in hostapd_wps_ap_pin_set()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c445 const char *pin_txt; in hostapd_ctrl_iface_wps_ap_pin() local
459 pin_txt = hostapd_wps_ap_pin_random(hapd, timeout); in hostapd_ctrl_iface_wps_ap_pin()
460 if (pin_txt == NULL) in hostapd_ctrl_iface_wps_ap_pin()
462 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
466 pin_txt = hostapd_wps_ap_pin_get(hapd); 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()