/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp.h | 36 char *ap_pin; member 49 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
|
D | wps_upnp.c | 1113 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()
|
D | wps_upnp_web.c | 436 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp.h | 36 char *ap_pin; member 49 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
|
D | wps_upnp.c | 1153 os_free(iface->ctx->ap_pin); in upnp_wps_device_deinit() 1184 os_free(ctx->ap_pin); in upnp_wps_device_init() 1206 os_free(ctx->ap_pin); in upnp_wps_device_init() 1241 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin) in upnp_wps_set_ap_pin() argument 1249 os_free(iface->ctx->ap_pin); in upnp_wps_set_ap_pin() 1250 if (ap_pin) { in upnp_wps_set_ap_pin() 1251 iface->ctx->ap_pin = os_strdup(ap_pin); in upnp_wps_set_ap_pin() 1252 if (iface->ctx->ap_pin == NULL) in upnp_wps_set_ap_pin() 1255 iface->ctx->ap_pin = NULL; in upnp_wps_set_ap_pin()
|
D | wps_upnp_web.c | 436 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | ap.c | 1110 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_disable() 1111 hapd->conf->ap_pin = NULL; in wpas_wps_ap_pin_disable() 1128 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_random() 1129 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random() 1130 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_random() 1134 return hapd->conf->ap_pin; in wpas_wps_ap_pin_random() 1144 return hapd->conf->ap_pin; in wpas_wps_ap_pin_get() 1161 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_set() 1162 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set() 1163 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_set() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | eap_user_db.c | 254 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()
|
D | wps_hostapd.c | 742 if (!data->enrollee || hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_pwd_auth_fail() 805 if (hapd->conf->ap_pin == NULL || hapd->wps == NULL) in wps_ap_pin_success() 1773 if (hapd->conf->ap_pin) in hostapd_wps_upnp_init() 1774 ctx->ap_pin = os_strdup(hapd->conf->ap_pin); in hostapd_wps_upnp_init() 1832 os_free(hapd->conf->ap_pin); in wps_ap_pin_disable() 1833 hapd->conf->ap_pin = NULL; in wps_ap_pin_disable() 1862 os_free(hapd->conf->ap_pin); in wps_ap_pin_set() 1863 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set() 1882 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_random() 1888 return hapd->conf->ap_pin; in hostapd_wps_ap_pin_get()
|
D | ap_config.h | 491 char *ap_pin; member
|
D | ap_config.c | 849 os_free(conf->ap_pin); in hostapd_config_free_bss()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | eap_user_db.c | 254 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()
|
D | wps_hostapd.c | 688 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()
|
D | ap_config.h | 483 char *ap_pin; member
|
D | ap_config.c | 755 os_free(conf->ap_pin); in hostapd_config_free_bss()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | ap.c | 1336 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_disable() 1337 hapd->conf->ap_pin = NULL; in wpas_wps_ap_pin_disable() 1354 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_random() 1355 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random() 1356 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_random() 1360 return hapd->conf->ap_pin; in wpas_wps_ap_pin_random() 1370 return hapd->conf->ap_pin; in wpas_wps_ap_pin_get() 1387 os_free(hapd->conf->ap_pin); in wpas_wps_ap_pin_set() 1388 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set() 1389 if (hapd->conf->ap_pin == NULL) in wpas_wps_ap_pin_set() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | README-WPS | 217 device) can be configured in hostapd.conf (ap_pin parameter). A more
|
D | ap_config_file.c | 3749 os_free(bss->ap_pin); in hostapd_config_fill() 3751 bss->ap_pin = NULL; in hostapd_config_fill() 3753 bss->ap_pin = os_strdup(pos); in hostapd_config_fill()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
D | README-WPS | 217 device) can be configured in hostapd.conf (ap_pin parameter). A more
|
D | ap_config_file.c | 3646 os_free(bss->ap_pin); 3648 bss->ap_pin = NULL; 3650 bss->ap_pin = os_strdup(pos);
|