Home
last modified time | relevance | path

Searched refs:ap_pin (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c1113 os_free(iface->ctx->ap_pin); in upnp_wps_device_deinit()
1144 os_free(ctx->ap_pin); in upnp_wps_device_init()
1166 os_free(ctx->ap_pin); in upnp_wps_device_init()
1201 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin) in upnp_wps_set_ap_pin() argument
1209 os_free(iface->ctx->ap_pin); in upnp_wps_set_ap_pin()
1210 if (ap_pin) { in upnp_wps_set_ap_pin()
1211 iface->ctx->ap_pin = os_strdup(ap_pin); in upnp_wps_set_ap_pin()
1212 if (iface->ctx->ap_pin == NULL) in upnp_wps_set_ap_pin()
1215 iface->ctx->ap_pin = NULL; in upnp_wps_set_ap_pin()
Dwps_upnp.h36 char *ap_pin; member
49 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
Dwps_upnp_web.c436 if (!iface || iface->ctx->ap_pin == NULL) in web_process_get_device_info()
453 cfg.pin = (u8 *) iface->ctx->ap_pin; in web_process_get_device_info()
454 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c1105 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_disable()
1106 hapd->conf->ap_pin = NULL; in wpas_wps_ap_pin_disable()
1123 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_random()
1124 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random()
1125 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_random()
1129 return hapd->conf->ap_pin; in wpas_wps_ap_pin_random()
1139 return hapd->conf->ap_pin; in wpas_wps_ap_pin_get()
1156 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_set()
1157 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
1158 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_set()
[all …]
/external/wpa_supplicant_8/src/ap/
Deap_user_db.c254 wsc_registrar.password = (u8 *) conf->ap_pin; in hostapd_get_eap_user()
255 wsc_registrar.password_len = conf->ap_pin ? in hostapd_get_eap_user()
256 os_strlen(conf->ap_pin) : 0; in hostapd_get_eap_user()
Dwps_hostapd.c688 if (!data->enrollee || hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_pwd_auth_fail()
751 if (hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_ap_pin_success()
1588 if (hapd->conf->ap_pin) in hostapd_wps_upnp_init()
1589 ctx->ap_pin = os_strdup(hapd->conf->ap_pin); in hostapd_wps_upnp_init()
1647 os_free(hapd->conf->ap_pin); in wps_ap_pin_disable()
1648 hapd->conf->ap_pin = NULL; in wps_ap_pin_disable()
1677 os_free(hapd->conf->ap_pin); in wps_ap_pin_set()
1678 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
1697 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_random()
1703 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_get()
Dap_config.h463 char *ap_pin; member
Dap_config.c645 os_free(conf->ap_pin); in hostapd_config_free_bss()
/external/wpa_supplicant_8/hostapd/
DREADME-WPS217 device) can be configured in hostapd.conf (ap_pin parameter). A more
Dconfig_file.c3609 os_free(bss->ap_pin); in hostapd_config_fill()
3611 bss->ap_pin = NULL; in hostapd_config_fill()
3613 bss->ap_pin = os_strdup(pos); in hostapd_config_fill()