Home
last modified time | relevance | path

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

12

/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()
293 os_free(dev->model_number); in wps_process_model_number()
294 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number()
295 if (dev->model_number == NULL) in wps_process_model_number()
368 wps_process_model_number(dev, attr->model_number, in wps_process_device_attrs()
423 os_free(dev->model_number); in wps_device_data_free()
424 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.h90 char *model_number; member
532 const u8 *model_number; member
572 const char *model_number; member
590 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()
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_attr_parse.h63 const u8 *model_number; member
Dwps_enrollee.c1048 attr->model_number, attr->model_number_len); in wps_process_m2d()
1065 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()
/external/libcups/filter/
Drastertohp.c121 if (Duplex && ppd && ppd->model_number == 2) in StartPage()
133 if (!Duplex || (Page & 1) || (ppd && ppd->model_number == 2)) in StartPage()
207 (!ppd || ppd->model_number != 2 || header->HWResolution[0] == 600)) in StartPage()
211 if (!ppd || ppd->model_number != 2) in StartPage()
219 else if (!ppd || ppd->model_number != 2) in StartPage()
226 if (ppd && ppd->model_number == 2) in StartPage()
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Diface_config_utils.cpp134 struct wpa_supplicant* wpa_s, const std::string& model_number) in setWpsModelNumber() argument
138 wpa_s, model_number, kMaxWpsModelNumberSize, in setWpsModelNumber()
139 CFG_CHANGED_WPS_STRING, &wpa_s->conf->model_number)) { in setWpsModelNumber()
Diface_config_utils.h45 struct wpa_supplicant* wpa_s, const std::string& model_number);
Dsta_iface.h149 const hidl_string& model_number,
243 const std::string& model_number);
Dp2p_iface.h168 const hidl_string& model_number,
284 const std::string& model_number);
Dsta_iface.cpp469 const hidl_string &model_number, setWpsModelNumber_cb _hidl_cb) in setWpsModelNumber() argument
473 &StaIface::setWpsModelNumberInternal, _hidl_cb, model_number); in setWpsModelNumber()
994 const std::string &model_number) in setWpsModelNumberInternal() argument
997 retrieveIfacePtr(), model_number); in setWpsModelNumberInternal()
Dp2p_iface.cpp765 const hidl_string& model_number, setWpsModelNumber_cb _hidl_cb) in setWpsModelNumber() argument
769 &P2pIface::setWpsModelNumberInternal, _hidl_cb, model_number); in setWpsModelNumber()
1501 const std::string& model_number) in setWpsModelNumberInternal() argument
1504 retrieveIfacePtr(), model_number); in setWpsModelNumberInternal()
/external/wpa_supplicant_8/src/p2p/
Dp2p.c565 if (msg->model_number && in p2p_copy_wps_info()
566 msg->model_number_len < sizeof(dev->info.model_number)) { in p2p_copy_wps_info()
567 os_memset(dev->info.model_number, 0, in p2p_copy_wps_info()
568 sizeof(dev->info.model_number)); in p2p_copy_wps_info()
569 os_memcpy(dev->info.model_number, msg->model_number, in p2p_copy_wps_info()
2962 if (cfg->model_number) in p2p_init()
2963 p2p->cfg->model_number = os_strdup(cfg->model_number); in p2p_init()
3032 os_free(p2p->cfg->model_number); in p2p_deinit()
3140 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number) in p2p_set_model_number() argument
3142 os_free(p2p->cfg->model_number); in p2p_set_model_number()
[all …]
Dp2p.h351 char model_number[WPS_MODEL_NUMBER_MAX_LEN + 1]; member
533 char *model_number; member
1184 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()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c789 enrollee->model_number ? enrollee->model_number : "", in wpa_supplicant_wps_event_er_enrollee_add()
1446 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb()
1562 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_init()
2232 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_update_config()
Dconfig.h697 char *model_number; member
Dap.c541 if (wpa_s->conf->model_number) in wpa_supplicant_conf_ap()
542 bss->model_number = os_strdup(wpa_s->conf->model_number); in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c185 dev->model_number, dev->serial_number, in hostapd_wps_pin_needed_cb()
201 dev->manufacturer, dev->model_name, dev->model_number, in hostapd_wps_pin_needed_cb()
1062 wps->dev.model_number = hapd->conf->model_number ? in hostapd_init_wps()
1063 os_strdup(hapd->conf->model_number) : NULL; in hostapd_init_wps()
/external/libcups/cups/
Dppd.h300 int model_number; /* Device-specific model number */ member

12