Home
last modified time | relevance | path

Searched refs:dev_name (Results 1 – 23 of 23) sorted by relevance

/hostap-3.7.0/tests/remote/
Dtest_devices.py79 def check_device(devices, setup_params, dev_name, monitor=False): argument
80 host = rutils.get_host(devices, dev_name)
84 raise Exception(dev_name + " - ssh communication FAILED: " + buf)
93 raise Exception(dev_name + " ifconfig " + iface + " failed: " + buf)
101 raise Exception(dev_name + " - wpa_supplicant: " + buf)
105 raise Exception(dev_name + " - hostapd: " + buf)
109 raise Exception(dev_name + " - iperf: " + buf)
113 logger.debug(dev_name + " - tshark: " + buf)
Drutils.py20 def get_host(devices, dev_name): argument
21 dev = config.get_device(devices, dev_name)
/hostap-3.7.0/src/wps/
Dwps_validate.c385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, in wps_validate_dev_name() argument
388 if (dev_name == NULL) { in wps_validate_dev_name()
396 if (len > 0 && dev_name[len - 1] == 0) { in wps_validate_dev_name()
398 "attribute value", dev_name, len); in wps_validate_dev_name()
1159 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, probe) || in wps_validate_beacon_probe_resp()
1214 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, wps2) || in wps_validate_probe_req()
1320 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || in wps_validate_m1()
1375 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || in wps_validate_m2()
1429 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || in wps_validate_m2d()
Dwps.c617 if (attr.dev_name) { in wps_attr_text()
623 if (attr.dev_name[i] == 0 || in wps_attr_text()
624 is_ctrl_char(attr.dev_name[i])) in wps_attr_text()
627 str[i] = attr.dev_name[i]; in wps_attr_text()
Dwps.h345 const char *dev_name);
540 const u8 *dev_name; member
591 const char *dev_name; member
Dwps_er.h27 char *dev_name; member
Dwps_attr_parse.h65 const u8 *dev_name; member
Dwps_er.c50 ev->dev_name = sta->dev_name; in wps_er_sta_event()
83 os_free(sta->dev_name); in wps_er_sta_free()
821 if (attr->dev_name) { in wps_er_add_sta_data()
822 os_free(sta->dev_name); in wps_er_add_sta_data()
823 sta->dev_name = dup_binstr(attr->dev_name, attr->dev_name_len); in wps_er_add_sta_data()
Dwps_registrar.c162 const char *dev_name);
1175 char *dev_name = NULL; in wps_registrar_probe_req_rx() local
1176 if (attr.dev_name) { in wps_registrar_probe_req_rx()
1177 dev_name = os_zalloc(attr.dev_name_len + 1); in wps_registrar_probe_req_rx()
1178 if (dev_name) { in wps_registrar_probe_req_rx()
1179 os_memcpy(dev_name, attr.dev_name, in wps_registrar_probe_req_rx()
1187 *attr.request_type, dev_name); in wps_registrar_probe_req_rx()
1188 os_free(dev_name); in wps_registrar_probe_req_rx()
Dwps_enrollee.c1063 attr->dev_name, attr->dev_name_len); in wps_process_m2d()
1080 m2d->dev_name = attr->dev_name; in wps_process_m2d()
Dwps_dev_attr.c388 wps_process_dev_name(dev, attr->dev_name, attr->dev_name_len)) in wps_process_device_attrs()
Dwps_attr_parse.c494 attr->dev_name = pos; in wps_set_attr()
/hostap-3.7.0/src/p2p/
Dp2p_build.c234 nlen = p2p->cfg->dev_name ? os_strlen(p2p->cfg->dev_name) : 0; in p2p_buf_add_device_info()
237 wpabuf_put_data(buf, p2p->cfg->dev_name, nlen); in p2p_buf_add_device_info()
794 if (p2p_add_wps_string(buf, ATTR_DEV_NAME, p2p->cfg->dev_name) in p2p_build_wps_ie()
Dp2p_parse.c464 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) && in p2p_parse_wps_ie()
466 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len); in p2p_parse_wps_ie()
692 cli->dev_name = (const char *) g; in p2p_group_info_parse()
754 os_memcpy(name, cli->dev_name, cli->dev_name_len); in p2p_group_info_text()
Dp2p.h536 char *dev_name; member
873 const char *dev_name, u16 supp_config_methods,
1189 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name);
Dp2p.c453 cli->dev_name, cli->dev_name_len); in p2p_copy_client_info()
2953 if (cfg->dev_name) in p2p_init()
2954 p2p->cfg->dev_name = os_strdup(cfg->dev_name); in p2p_init()
3026 os_free(p2p->cfg->dev_name); in p2p_deinit()
3087 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name) in p2p_set_dev_name() argument
3089 os_free(p2p->cfg->dev_name); in p2p_set_dev_name()
3090 if (dev_name) { in p2p_set_dev_name()
3091 p2p->cfg->dev_name = os_strdup(dev_name); in p2p_set_dev_name()
3092 if (p2p->cfg->dev_name == NULL) in p2p_set_dev_name()
3095 p2p->cfg->dev_name = NULL; in p2p_set_dev_name()
Dp2p_i.h674 const char *dev_name; member
/hostap-3.7.0/src/ap/
Dwps_hostapd.c256 const char *dev_name) in hostapd_wps_enrollee_seen_cb() argument
263 if (dev_name == NULL) in hostapd_wps_enrollee_seen_cb()
264 dev_name = ""; in hostapd_wps_enrollee_seen_cb()
270 config_methods, dev_password_id, request_type, dev_name); in hostapd_wps_enrollee_seen_cb()
/hostap-3.7.0/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c900 const char *dev_name; in wpas_dbus_getter_p2p_device_config() local
916 dev_name = wpa_s->conf->device_name; in wpas_dbus_getter_p2p_device_config()
917 if (dev_name && in wpas_dbus_getter_p2p_device_config()
918 !wpa_dbus_dict_append_string(&dict_iter, "DeviceName", dev_name)) in wpas_dbus_getter_p2p_device_config()
Ddbus_new.c699 (const char *) m2d->dev_name, in wpas_dbus_signal_wps_event_m2d()
/hostap-3.7.0/wpa_supplicant/
Dwps_supplicant.c792 enrollee->dev_name ? enrollee->dev_name : "", in wpa_supplicant_wps_event_er_enrollee_add()
Dp2p_supplicant.c2788 const char *dev_name, u16 supp_config_methods, in wpas_prov_disc_req() argument
2823 dev_name, supp_config_methods, dev_capab, group_capab, in wpas_prov_disc_req()
4835 p2p.dev_name = wpa_s->conf->device_name; in wpas_p2p_init()
/hostap-3.7.0/doc/
Ddbus.doxygen1407 <tr><td>dev_name</td><td>ay</td>