Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c1153 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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dap.c1110 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/
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.c742 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()
Dap_config.h491 char *ap_pin; member
Dap_config.c849 os_free(conf->ap_pin); in hostapd_config_free_bss()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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.h483 char *ap_pin; member
Dap_config.c755 os_free(conf->ap_pin); in hostapd_config_free_bss()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dap.c1336 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/
DREADME-WPS217 device) can be configured in hostapd.conf (ap_pin parameter). A more
Dap_config_file.c3749 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/
DREADME-WPS217 device) can be configured in hostapd.conf (ap_pin parameter). A more
Dap_config_file.c3646 os_free(bss->ap_pin);
3648 bss->ap_pin = NULL;
3650 bss->ap_pin = os_strdup(pos);