/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() 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() 415 os_free(dev->model_number); in wps_device_data_free() 416 dev->model_number = NULL; in wps_device_data_free()
|
D | wps_er.h | 25 char *model_number; member 51 char *model_number; member
|
D | wps_validate.c | 344 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()
|
D | wps.h | 90 char *model_number; member 494 const u8 *model_number; member 534 const char *model_number; member 552 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() 143 evap->model_number = ap->model_number; in wps_er_ap_event() 165 os_free(ap->model_number); in wps_er_ap_free() 572 ap->model_number = xml_get_first_item(data, "modelNumber"); in wps_er_parse_device_description() 573 wpa_printf(MSG_DEBUG, "WPS ER: modelNumber='%s'", ap->model_number); in wps_er_parse_device_description() 810 if (attr->model_number) { in wps_er_add_sta_data() 811 os_free(sta->model_number); in wps_er_add_sta_data() 812 sta->model_number = dup_binstr(attr->model_number, in wps_er_add_sta_data()
|
D | wps_attr_parse.h | 63 const u8 *model_number; member
|
D | wps_enrollee.c | 1044 attr->model_number, attr->model_number_len); in wps_process_m2d() 1061 m2d->model_number = attr->model_number; in wps_process_m2d()
|
D | wps_upnp_web.c | 215 if (iface->wps->dev.model_number) in format_wps_device_xml() 217 iface->wps->dev.model_number); in format_wps_device_xml()
|
D | wps_attr_parse.c | 463 attr->model_number = pos; in wps_set_attr()
|
/external/libcups/filter/ |
D | rastertohp.c | 121 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/ |
D | dbus_new_handlers_wps.c | 639 return wpas_dbus_string_property_getter(iter, wpa_s->conf->model_number, in wpas_dbus_getter_wps_device_model_number() 658 char *methods, *model_number; in wpas_dbus_setter_wps_device_model_number() local 667 model_number = os_strdup(methods); in wpas_dbus_setter_wps_device_model_number() 668 if (!model_number) in wpas_dbus_setter_wps_device_model_number() 671 os_free(wpa_s->conf->model_number); in wpas_dbus_setter_wps_device_model_number() 672 wpa_s->conf->model_number = model_number; in wpas_dbus_setter_wps_device_model_number()
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
D | iface_config_utils.cpp | 131 struct wpa_supplicant* wpa_s, const std::string& model_number) in setWpsModelNumber() argument 135 wpa_s, model_number, kMaxWpsModelNumberSize, in setWpsModelNumber() 136 CFG_CHANGED_WPS_STRING, &wpa_s->conf->model_number)) { in setWpsModelNumber()
|
D | iface_config_utils.h | 44 struct wpa_supplicant* wpa_s, const std::string& model_number);
|
D | sta_iface.h | 142 const hidl_string& model_number, 219 const std::string& model_number);
|
D | sta_iface.cpp | 443 const hidl_string &model_number, setWpsModelNumber_cb _hidl_cb) in setWpsModelNumber() argument 447 &StaIface::setWpsModelNumberInternal, _hidl_cb, model_number); in setWpsModelNumber() 916 const std::string &model_number) in setWpsModelNumberInternal() argument 919 retrieveIfacePtr(), model_number); in setWpsModelNumberInternal()
|
D | p2p_iface.h | 166 const hidl_string& model_number, 276 const std::string& model_number);
|
D | p2p_iface.cpp | 431 const hidl_string& model_number, setWpsModelNumber_cb _hidl_cb) in setWpsModelNumber() argument 435 &P2pIface::setWpsModelNumberInternal, _hidl_cb, model_number); in setWpsModelNumber() 1136 const std::string& model_number) in setWpsModelNumberInternal() argument 1139 retrieveIfacePtr(), model_number); in setWpsModelNumberInternal()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p.c | 565 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() 2937 if (cfg->model_number) in p2p_init() 2938 p2p->cfg->model_number = os_strdup(cfg->model_number); in p2p_init() 3006 os_free(p2p->cfg->model_number); in p2p_deinit() 3114 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number) in p2p_set_model_number() argument 3116 os_free(p2p->cfg->model_number); in p2p_set_model_number() [all …]
|
D | p2p.h | 346 char model_number[WPS_MODEL_NUMBER_MAX_LEN + 1]; member 528 char *model_number; member 1177 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
|
D | p2p_parse.c | 500 msg->model_number = attr.model_number; in p2p_parse_wps_ie()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | config.h | 650 char *model_number; member
|
D | wps_supplicant.c | 769 enrollee->model_number ? enrollee->model_number : "", in wpa_supplicant_wps_event_er_enrollee_add() 1421 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb() 1534 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_init() 2204 wps->dev.model_number = wpa_s->conf->model_number; in wpas_wps_update_config()
|
D | ap.c | 445 if (wpa_s->conf->model_number) in wpa_supplicant_conf_ap() 446 bss->model_number = os_strdup(wpa_s->conf->model_number); in wpa_supplicant_conf_ap()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 185 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() 1023 wps->dev.model_number = hapd->conf->model_number ? in hostapd_init_wps() 1024 os_strdup(hapd->conf->model_number) : NULL; in hostapd_init_wps()
|
/external/libcups/cups/ |
D | ppd.h | 302 int model_number; /* Device-specific model number */ member
|