/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_dev_attr.c | 74 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 …]
|
D | wps.h | 82 char *model_number; member 325 const u8 *model_number; member
|
D | wps_i.h | 152 const u8 *model_number; member
|
D | wps_attr_parse.c | 338 attr->model_number = pos; in wps_set_attr()
|
D | wps_enrollee.c | 791 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/ |
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() 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 …]
|
D | wps_er.h | 25 char *model_number; member 51 char *model_number; member
|
D | wps.h | 88 char *model_number; member 475 const u8 *model_number; member 509 const char *model_number; member 527 const char *model_number; member
|
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() 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 …]
|
D | wps_validate.c | 342 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()
|
D | wps_i.h | 173 const u8 *model_number; member
|
D | wps_enrollee.c | 920 attr->model_number, attr->model_number_len); in wps_process_m2d() 937 m2d->model_number = attr->model_number; in wps_process_m2d()
|
D | wps_upnp_web.c | 218 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/ |
D | config.h | 279 char *model_number; member
|
D | wps_supplicant.c | 644 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()
|
D | config_file.c | 455 { 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/ |
D | p2p.h | 172 char model_number[33]; member 299 char *model_number; member 769 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
|
D | p2p.c | 544 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 …]
|
D | p2p_parse.c | 365 msg->model_number = attr.model_number; in p2p_parse_wps_ie()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | config.h | 296 char *model_number; member
|
D | wps_supplicant.c | 549 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()
|
D | ap.c | 255 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()
|
D | config_file.c | 651 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/ |
D | wps_hostapd.c | 158 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()
|
D | ap_config.h | 310 char *model_number; member
|