Home
last modified time | relevance | path

Searched refs:model_name (Results 1 – 25 of 45) sorted by relevance

12

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_dev_attr.c51 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name()
62 wpabuf_put_data(msg, dev->model_name, len); in wps_build_model_name()
214 os_free(dev->model_name); in wps_process_model_name()
215 dev->model_name = os_malloc(str_len + 1); in wps_process_model_name()
216 if (dev->model_name == NULL) in wps_process_model_name()
218 os_memcpy(dev->model_name, str, str_len); in wps_process_model_name()
219 dev->model_name[str_len] = '\0'; in wps_process_model_name()
316 wps_process_model_name(dev, attr->model_name, in wps_process_device_attrs()
364 if (src->model_name) in wps_device_data_dup()
365 dst->model_name = os_strdup(src->model_name); in wps_device_data_dup()
[all …]
Dwps.h81 char *model_name; member
323 const u8 *model_name; member
Dwps_i.h150 const u8 *model_name; member
Dwps_attr_parse.c334 attr->model_name = pos; in wps_set_attr()
Dwps_enrollee.c789 attr->model_name, attr->model_name_len); in wps_process_m2d()
806 m2d->model_name = attr->model_name; in wps_process_m2d()
/external/wpa_supplicant_8/src/wps/
Dwps_dev_attr.c51 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name()
65 wpabuf_put_data(msg, dev->model_name, len); in wps_build_model_name()
272 os_free(dev->model_name); in wps_process_model_name()
273 dev->model_name = os_malloc(str_len + 1); in wps_process_model_name()
274 if (dev->model_name == NULL) in wps_process_model_name()
276 os_memcpy(dev->model_name, str, str_len); in wps_process_model_name()
277 dev->model_name[str_len] = '\0'; in wps_process_model_name()
372 wps_process_model_name(dev, attr->model_name, in wps_process_device_attrs()
420 if (src->model_name) in wps_device_data_dup()
421 dst->model_name = os_strdup(src->model_name); in wps_device_data_dup()
[all …]
Dwps_er.h30 char *model_name; member
56 char *model_name; member
Dwps_er.c58 ev->model_name = sta->model_name; in wps_er_sta_event()
86 os_free(sta->model_name); in wps_er_sta_free()
145 evap->model_name = ap->model_name; in wps_er_ap_event()
167 os_free(ap->model_name); in wps_er_ap_free()
529 ap->model_name = xml_get_first_item(data, "modelName"); in wps_er_parse_device_description()
530 wpa_printf(MSG_DEBUG, "WPS ER: modelName='%s'", ap->model_name); in wps_er_parse_device_description()
765 if (attr->model_name) { in wps_er_add_sta_data()
766 os_free(sta->model_name); in wps_er_add_sta_data()
767 sta->model_name = os_malloc(attr->model_name_len + 1); in wps_er_add_sta_data()
768 if (sta->model_name) { in wps_er_add_sta_data()
[all …]
Dwps.h93 char *model_name; member
472 const u8 *model_name; member
507 const char *model_name; member
525 const char *model_name; member
Dwps_validate.c328 static int wps_validate_model_name(const u8 *model_name, size_t len, in wps_validate_model_name() argument
331 if (model_name == NULL) { in wps_validate_model_name()
339 if (len > 0 && model_name[len - 1] == 0) { in wps_validate_model_name()
341 "attribute value", model_name, len); in wps_validate_model_name()
1156 wps_validate_model_name(attr.model_name, attr.model_name_len, in wps_validate_beacon_probe_resp()
1214 wps_validate_model_name(attr.model_name, attr.model_name_len, in wps_validate_probe_req()
1318 wps_validate_model_name(attr.model_name, attr.model_name_len, 1) || in wps_validate_m1()
1373 wps_validate_model_name(attr.model_name, attr.model_name_len, 1) || in wps_validate_m2()
1427 wps_validate_model_name(attr.model_name, attr.model_name_len, 1) || in wps_validate_m2d()
/external/quake/quake/src/QW/client/
Dcl_parse.c218 ; cl.model_name[cls.downloadnumber][0] in Model_NextDownload()
221 s = cl.model_name[cls.downloadnumber]; in Model_NextDownload()
230 if (!cl.model_name[i][0]) in Model_NextDownload()
233 cl.model_precache[i] = Mod_ForName (cl.model_name[i], false); in Model_NextDownload()
238 , cl.model_name[i]); in Model_NextDownload()
673 strcpy (cl.model_name[nummodels], str); in CL_ParseModellist()
675 if (!strcmp(cl.model_name[nummodels],"progs/spike.mdl")) in CL_ParseModellist()
677 if (!strcmp(cl.model_name[nummodels],"progs/player.mdl")) in CL_ParseModellist()
679 if (!strcmp(cl.model_name[nummodels],"progs/flag.mdl")) in CL_ParseModellist()
Dcl_demo.c499 s = cl.model_name[n+1]; in CL_Record_f()
511 s = cl.model_name[n+1]; in CL_Record_f()
Dclient.h270 char model_name[MAX_MODELS][MAX_QPATH]; member
/external/wpa_supplicant_8/src/p2p/
Dp2p.h170 char model_name[33]; member
312 char *model_name; member
769 int p2p_set_model_name(struct p2p_data *p2p, const char *model_name);
Dp2p.c426 if (msg->model_name && in p2p_copy_wps_info()
427 msg->model_name_len < sizeof(dev->info.model_name)) { in p2p_copy_wps_info()
428 os_memset(dev->info.model_name, 0, in p2p_copy_wps_info()
429 sizeof(dev->info.model_name)); in p2p_copy_wps_info()
430 os_memcpy(dev->info.model_name, msg->model_name, in p2p_copy_wps_info()
1975 if (cfg->model_name) in p2p_init()
1976 p2p->cfg->model_name = os_strdup(cfg->model_name); in p2p_init()
2012 os_free(p2p->cfg->model_name); in p2p_deinit()
2098 int p2p_set_model_name(struct p2p_data *p2p, const char *model_name) in p2p_set_model_name() argument
2100 os_free(p2p->cfg->model_name); in p2p_set_model_name()
[all …]
Dp2p_parse.c369 msg->model_name = attr.model_name; in p2p_parse_wps_ie()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c510 ap->model_name ? ap->model_name : "", in wpa_supplicant_wps_event_er_ap_add()
545 enrollee->model_name ? enrollee->model_name : "", in wpa_supplicant_wps_event_er_enrollee_add()
1037 dev->manufacturer, dev->model_name, in wpas_wps_pin_needed_cb()
1128 wps->dev.model_name = wpa_s->conf->model_name; in wpas_wps_init()
1692 wps->dev.model_name = wpa_s->conf->model_name; in wpas_wps_update_config()
Dconfig.h292 char *model_name; member
Dap.c207 if (wpa_s->conf->model_name) in wpa_supplicant_conf_ap()
208 bss->model_name = os_strdup(wpa_s->conf->model_name); in wpa_supplicant_conf_ap()
Dconfig_file.c642 if (config->model_name) in wpa_config_write_global()
643 fprintf(f, "model_name=%s\n", config->model_name); in wpa_config_write_global()
/external/wpa_supplicant_6/wpa_supplicant/
Dconfig.h273 char *model_name; member
Dconfig_file.c454 { STR_RANGE(model_name, 0, 32) },
878 if (config->model_name) in wpa_config_write_global()
879 fprintf(f, "model_name=%s\n", config->model_name); in wpa_config_write_global()
Dwps_supplicant.c643 dev->manufacturer, dev->model_name, in wpas_wps_pin_needed_cb()
666 wps->dev.model_name = wpa_s->conf->model_name; in wpas_wps_init()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c161 dev->manufacturer, dev->model_name, in hostapd_wps_pin_needed_cb()
178 dev->manufacturer, dev->model_name, dev->model_number, in hostapd_wps_pin_needed_cb()
732 wps->dev.model_name = hapd->conf->model_name ? in hostapd_init_wps()
733 os_strdup(hapd->conf->model_name) : NULL; in hostapd_init_wps()
Dap_config.h301 char *model_name; member

12