Searched refs:ap_pin (Results 1 – 10 of 10) sorted by relevance
36 char *ap_pin; member49 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
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() argument1209 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()
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()
995 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 …]
246 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()
650 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()
426 char *ap_pin; member
536 os_free(conf->ap_pin); in hostapd_config_free_bss()
217 device) can be configured in hostapd.conf (ap_pin parameter). A more
3108 os_free(bss->ap_pin); in hostapd_config_fill()3109 bss->ap_pin = os_strdup(pos); in hostapd_config_fill()