Home
last modified time | relevance | path

Searched refs:model_number (Results 1 – 25 of 33) sorted by relevance

12

/hostap-3.7.0/src/wps/
Dwps_dev_attr.c69 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()
Dwps_er.h25 char *model_number; member
51 char *model_number; member
Dwps_validate.c344 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()
Dwps_er.c53 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()
Dwps.h90 char *model_number; member
536 const u8 *model_number; member
576 const char *model_number; member
594 const char *model_number; member
Dwps_attr_parse.h63 const u8 *model_number; member
Dwps_enrollee.c1059 attr->model_number, attr->model_number_len); in wps_process_m2d()
1076 m2d->model_number = attr->model_number; in wps_process_m2d()
Dwps_upnp_web.c215 if (iface->wps->dev.model_number) in format_wps_device_xml()
217 iface->wps->dev.model_number); in format_wps_device_xml()
Dwps_attr_parse.c474 attr->model_number = pos; in wps_set_attr()
Dwps_registrar.c319 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.7.0/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c643 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.7.0/src/p2p/
Dp2p.c569 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 …]
Dp2p.h353 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);
Dp2p_parse.c500 msg->model_number = attr.model_number; in p2p_parse_wps_ie()
Dp2p_build.c783 p2p->cfg->model_number) < 0 || in p2p_build_wps_ie()
Dp2p_i.h619 const u8 *model_number; member
/hostap-3.7.0/wpa_supplicant/
Dwps_supplicant.c795 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()
Dconfig.h727 char *model_number; member
Dap.c745 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()
Dconfig_file.c1138 if (config->model_number) in wpa_config_write_global()
1139 fprintf(f, "model_number=%s\n", config->model_number); in wpa_config_write_global()
Dconfig_winreg.c599 wpa_config_write_reg_string(hk, "model_number", config->model_number); in wpa_config_write_global()
/hostap-3.7.0/src/ap/
Dwps_hostapd.c187 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()
Dap_config.h486 char *model_number; member
Dap_config.c849 os_free(conf->model_number); in hostapd_config_free_bss()
/hostap-3.7.0/hostapd/
DREADME-WPS106 model_number=123

12