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.h36 char *ap_pin; member
49 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
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_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.c995 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_disable()
996 hapd->conf->ap_pin = NULL; in wpas_wps_ap_pin_disable()
1013 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_random()
1014 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random()
1015 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_random()
1019 return hapd->conf->ap_pin; in wpas_wps_ap_pin_random()
1029 return hapd->conf->ap_pin; in wpas_wps_ap_pin_get()
1046 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_set()
1047 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
1048 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_set()
[all …]
/external/wpa_supplicant_8/src/ap/
Deap_user_db.c246 wsc_registrar.password = (u8 *) conf->ap_pin; in hostapd_get_eap_user()
247 wsc_registrar.password_len = conf->ap_pin ? in hostapd_get_eap_user()
248 os_strlen(conf->ap_pin) : 0; in hostapd_get_eap_user()
Dwps_hostapd.c650 if (!data->enrollee || hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_pwd_auth_fail()
713 if (hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_ap_pin_success()
1520 if (hapd->conf->ap_pin) in hostapd_wps_upnp_init()
1521 ctx->ap_pin = os_strdup(hapd->conf->ap_pin); in hostapd_wps_upnp_init()
1579 os_free(hapd->conf->ap_pin); in wps_ap_pin_disable()
1580 hapd->conf->ap_pin = NULL; in wps_ap_pin_disable()
1609 os_free(hapd->conf->ap_pin); in wps_ap_pin_set()
1610 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
1629 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_random()
1635 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_get()
Dap_config.h426 char *ap_pin; member
Dap_config.c536 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.c3108 os_free(bss->ap_pin); in hostapd_config_fill()
3109 bss->ap_pin = os_strdup(pos); in hostapd_config_fill()