/hostap-3.6.0/src/wps/ |
D | wps_dev_attr.c | 69 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number() 83 wpabuf_put_data(msg, dev->model_number, len); in wps_build_model_number() 308 os_free(dev->model_number); in wps_process_model_number() 309 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number() 310 if (dev->model_number == NULL) in wps_process_model_number() 383 wps_process_model_number(dev, attr->model_number, in wps_process_device_attrs() 438 os_free(dev->model_number); in wps_device_data_free() 439 dev->model_number = NULL; in wps_device_data_free()
|
D | wps_er.h | 25 char *model_number; member 51 char *model_number; member
|
D | wps_validate.c | 344 static int wps_validate_model_number(const u8 *model_number, size_t len, in wps_validate_model_number() argument 347 if (model_number == NULL) { in wps_validate_model_number() 355 if (len > 0 && model_number[len - 1] == 0) { in wps_validate_model_number() 357 "attribute value", model_number, len); in wps_validate_model_number() 1154 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_beacon_probe_resp() 1212 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_probe_req() 1315 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_m1() 1370 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_m2() 1424 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_m2d()
|
D | wps_er.c | 53 ev->model_number = sta->model_number; in wps_er_sta_event() 81 os_free(sta->model_number); in wps_er_sta_free() 143 evap->model_number = ap->model_number; in wps_er_ap_event() 165 os_free(ap->model_number); in wps_er_ap_free() 571 ap->model_number = xml_get_first_item(data, "modelNumber"); in wps_er_parse_device_description() 572 wpa_printf(MSG_DEBUG, "WPS ER: modelNumber='%s'", ap->model_number); in wps_er_parse_device_description() 809 if (attr->model_number) { in wps_er_add_sta_data() 810 os_free(sta->model_number); in wps_er_add_sta_data() 811 sta->model_number = dup_binstr(attr->model_number, in wps_er_add_sta_data()
|
D | wps.h | 90 char *model_number; member 536 const u8 *model_number; member 576 const char *model_number; member 594 const char *model_number; member
|
D | wps_attr_parse.h | 63 const u8 *model_number; member
|
D | wps_enrollee.c | 1059 attr->model_number, attr->model_number_len); in wps_process_m2d() 1076 m2d->model_number = attr->model_number; in wps_process_m2d()
|
D | wps_upnp_web.c | 215 if (iface->wps->dev.model_number) in format_wps_device_xml() 217 iface->wps->dev.model_number); in format_wps_device_xml()
|
D | wps_attr_parse.c | 474 attr->model_number = pos; in wps_set_attr()
|
D | wps_registrar.c | 319 WPS_STRDUP(model_number); in wps_device_clone_data() 3614 d->dev.model_number ? d->dev.model_number : "", in wps_registrar_get_info()
|
/hostap-3.6.0/wpa_supplicant/dbus/ |
D | dbus_new_handlers_wps.c | 643 return wpas_dbus_string_property_getter(iter, wpa_s->conf->model_number, in wpas_dbus_getter_wps_device_model_number() 662 char *methods, *model_number; in wpas_dbus_setter_wps_device_model_number() local 671 model_number = os_strdup(methods); in wpas_dbus_setter_wps_device_model_number() 672 if (!model_number) in wpas_dbus_setter_wps_device_model_number() 675 os_free(wpa_s->conf->model_number); in wpas_dbus_setter_wps_device_model_number() 676 wpa_s->conf->model_number = model_number; in wpas_dbus_setter_wps_device_model_number()
|
/hostap-3.6.0/src/p2p/ |
D | p2p.c | 569 if (msg->model_number && in p2p_copy_wps_info() 570 msg->model_number_len < sizeof(dev->info.model_number)) { in p2p_copy_wps_info() 571 os_memset(dev->info.model_number, 0, in p2p_copy_wps_info() 572 sizeof(dev->info.model_number)); in p2p_copy_wps_info() 573 os_memcpy(dev->info.model_number, msg->model_number, in p2p_copy_wps_info() 2959 if (cfg->model_number) in p2p_init() 2960 p2p->cfg->model_number = os_strdup(cfg->model_number); in p2p_init() 3029 os_free(p2p->cfg->model_number); in p2p_deinit() 3128 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number) in p2p_set_model_number() argument 3130 os_free(p2p->cfg->model_number); in p2p_set_model_number() [all …]
|
D | p2p.h | 353 char model_number[WPS_MODEL_NUMBER_MAX_LEN + 1]; member 540 char *model_number; member 1193 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
|
D | p2p_parse.c | 500 msg->model_number = attr.model_number; in p2p_parse_wps_ie()
|
D | p2p_build.c | 783 p2p->cfg->model_number) < 0 || in p2p_build_wps_ie()
|
D | p2p_i.h | 619 const u8 *model_number; member
|
/hostap-3.6.0/wpa_supplicant/ |
D | wps_supplicant.c | 795 enrollee->model_number ? enrollee->model_number : "", in wpa_supplicant_wps_event_er_enrollee_add() 1467 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb() 1583 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_init() 2270 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_update_config()
|
D | config.h | 727 char *model_number; member
|
D | ap.c | 745 if (wpa_s->conf->model_number) in wpa_supplicant_conf_ap() 746 bss->model_number = os_strdup(wpa_s->conf->model_number); in wpa_supplicant_conf_ap()
|
D | config_file.c | 1138 if (config->model_number) in wpa_config_write_global() 1139 fprintf(f, "model_number=%s\n", config->model_number); in wpa_config_write_global()
|
D | config_winreg.c | 599 wpa_config_write_reg_string(hk, "model_number", config->model_number); in wpa_config_write_global()
|
/hostap-3.6.0/src/ap/ |
D | wps_hostapd.c | 187 dev->model_number, dev->serial_number, in hostapd_wps_pin_needed_cb() 203 dev->manufacturer, dev->model_name, dev->model_number, in hostapd_wps_pin_needed_cb() 1132 wps->dev.model_number = hapd->conf->model_number ? in hostapd_init_wps() 1133 os_strdup(hapd->conf->model_number) : NULL; in hostapd_init_wps()
|
D | ap_config.h | 486 char *model_number; member
|
D | ap_config.c | 846 os_free(conf->model_number); in hostapd_config_free_bss()
|
/hostap-3.6.0/hostapd/ |
D | README-WPS | 106 model_number=123
|