Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_dev_attr.c74 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number()
85 wpabuf_put_data(msg, dev->model_number, len); in wps_build_model_number()
235 os_free(dev->model_number); in wps_process_model_number()
236 dev->model_number = os_malloc(str_len + 1); in wps_process_model_number()
237 if (dev->model_number == NULL) in wps_process_model_number()
239 os_memcpy(dev->model_number, str, str_len); in wps_process_model_number()
240 dev->model_number[str_len] = '\0'; in wps_process_model_number()
318 wps_process_model_number(dev, attr->model_number, in wps_process_device_attrs()
366 if (src->model_number) in wps_device_data_dup()
367 dst->model_number = os_strdup(src->model_number); in wps_device_data_dup()
[all …]
Dwps.h82 char *model_number; member
325 const u8 *model_number; member
Dwps_i.h152 const u8 *model_number; member
Dwps_attr_parse.c338 attr->model_number = pos; in wps_set_attr()
Dwps_enrollee.c791 attr->model_number, attr->model_number_len); in wps_process_m2d()
808 m2d->model_number = attr->model_number; in wps_process_m2d()
/external/wpa_supplicant_8/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()
287 os_free(dev->model_number); in wps_process_model_number()
288 dev->model_number = os_malloc(str_len + 1); in wps_process_model_number()
289 if (dev->model_number == NULL) in wps_process_model_number()
291 os_memcpy(dev->model_number, str, str_len); in wps_process_model_number()
292 dev->model_number[str_len] = '\0'; in wps_process_model_number()
368 wps_process_model_number(dev, attr->model_number, in wps_process_device_attrs()
416 if (src->model_number) in wps_device_data_dup()
417 dst->model_number = os_strdup(src->model_number); in wps_device_data_dup()
[all …]
Dwps_er.h25 char *model_number; member
51 char *model_number; member
Dwps.h88 char *model_number; member
475 const u8 *model_number; member
509 const char *model_number; member
527 const char *model_number; member
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()
140 evap->model_number = ap->model_number; in wps_er_ap_event()
162 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()
814 if (attr->model_number) { in wps_er_add_sta_data()
815 os_free(sta->model_number); in wps_er_add_sta_data()
816 sta->model_number = os_malloc(attr->model_number_len + 1); in wps_er_add_sta_data()
817 if (sta->model_number) { in wps_er_add_sta_data()
[all …]
Dwps_validate.c342 static int wps_validate_model_number(const u8 *model_number, size_t len, in wps_validate_model_number() argument
345 if (model_number == NULL) { in wps_validate_model_number()
353 if (len > 0 && model_number[len - 1] == 0) { in wps_validate_model_number()
355 "attribute value", model_number, len); in wps_validate_model_number()
1152 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_beacon_probe_resp()
1210 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_probe_req()
1313 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_m1()
1368 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_m2()
1422 wps_validate_model_number(attr.model_number, attr.model_number_len, in wps_validate_m2d()
Dwps_i.h173 const u8 *model_number; member
Dwps_enrollee.c920 attr->model_number, attr->model_number_len); in wps_process_m2d()
937 m2d->model_number = attr->model_number; in wps_process_m2d()
Dwps_upnp_web.c218 if (iface->wps->dev.model_number) in format_wps_device_xml()
220 iface->wps->dev.model_number); in format_wps_device_xml()
/external/wpa_supplicant_6/wpa_supplicant/
Dconfig.h279 char *model_number; member
Dwps_supplicant.c644 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb()
667 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_init()
Dconfig_file.c455 { STR_RANGE(model_number, 0, 32) },
880 if (config->model_number) in wpa_config_write_global()
881 fprintf(f, "model_number=%s\n", config->model_number); in wpa_config_write_global()
/external/wpa_supplicant_8/src/p2p/
Dp2p.h172 char model_number[33]; member
299 char *model_number; member
769 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
Dp2p.c544 if (msg->model_number && in p2p_copy_wps_info()
545 msg->model_number_len < sizeof(dev->info.model_number)) { in p2p_copy_wps_info()
546 os_memset(dev->info.model_number, 0, in p2p_copy_wps_info()
547 sizeof(dev->info.model_number)); in p2p_copy_wps_info()
548 os_memcpy(dev->info.model_number, msg->model_number, in p2p_copy_wps_info()
2255 if (cfg->model_number) in p2p_init()
2256 p2p->cfg->model_number = os_strdup(cfg->model_number); in p2p_init()
2299 os_free(p2p->cfg->model_number); in p2p_deinit()
2407 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number) in p2p_set_model_number() argument
2409 os_free(p2p->cfg->model_number); in p2p_set_model_number()
[all …]
Dp2p_parse.c365 msg->model_number = attr.model_number; in p2p_parse_wps_ie()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.h296 char *model_number; member
Dwps_supplicant.c549 enrollee->model_number ? enrollee->model_number : "", in wpa_supplicant_wps_event_er_enrollee_add()
1058 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb()
1151 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_init()
1732 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_update_config()
Dap.c255 if (wpa_s->conf->model_number) in wpa_supplicant_conf_ap()
256 bss->model_number = os_strdup(wpa_s->conf->model_number); in wpa_supplicant_conf_ap()
Dconfig_file.c651 if (config->model_number) in wpa_config_write_global()
652 fprintf(f, "model_number=%s\n", config->model_number); in wpa_config_write_global()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c158 dev->model_number, dev->serial_number, in hostapd_wps_pin_needed_cb()
174 dev->manufacturer, dev->model_name, dev->model_number, in hostapd_wps_pin_needed_cb()
804 wps->dev.model_number = hapd->conf->model_number ? in hostapd_init_wps()
805 os_strdup(hapd->conf->model_number) : NULL; in hostapd_init_wps()
Dap_config.h310 char *model_number; member

12