| /hostap-latest/tests/remote/ |
| D | monitor.py | 34 host = Host(host=dev['hostname'], 46 host.monitor_params.append(monitor_param) 49 host.execute(["iw", "reg", "set", setup_params['country']]) 50 rutils.setup_hw_host(host, setup_params, True) 53 mhosts.append(host) 58 for host in hosts: 59 stop(host) 60 for monitor in host.monitors: 61 host.execute(["ifconfig", monitor, "down"]) 62 host.monitor_params = [] [all …]
|
| D | rutils.py | 22 host = Host(host=dev['hostname'], 26 host.dev = dev 27 return host 30 def setup_hw_host_iface(host, iface, setup_params, force_restart=False): argument 43 host.execute([setup_hw, "-I", iface, restart]) 47 def setup_hw_host(host, setup_params, force_restart=False): argument 48 ifaces = re.split('; | |, ', host.ifname) 50 setup_hw_host_iface(host, iface, setup_params, force_restart) 53 for host in hosts: 54 setup_hw_host(host, setup_params, force_restart) [all …]
|
| D | test_devices.py | 29 host = rutils.get_host(devices, device['name']) 31 status, buf = host.execute(["id"]) 33 print("[" + host.name + "] - ssh communication: FAILED") 36 print("[" + host.name + "] - ssh communication: OK") 38 rutils.setup_hw_host(host, setup_params) 41 status, buf = host.execute(["uname", "-s", "-n", "-r", "-m", "-o"]) 44 ifaces = re.split('; | |, ', host.ifname) 46 status, buf = host.execute(["ifconfig", iface]) 54 status, buf = host.execute([setup_params['wpa_supplicant'], "-v"]) 62 status, buf = host.execute([setup_params['hostapd'], "-v"]) [all …]
|
| D | hwsim_wrapper.py | 61 wpas = WpaSupplicant(hostname=ref_host.host, global_iface="udp", 82 wpas.interface_remove(wpas.host.ifname) 107 wpas.interface_remove(wpas.host.ifname)
|
| D | test_example.py | 61 wpas = WpaSupplicant(hostname=sta.host, global_iface="udp",
|
| /hostap-latest/wpaspy/ |
| D | test.py | 16 def wpas_connect(host=None, port=9877): argument 19 if host != None: 21 wpas = wpaspy.Ctrl(host, port) 24 print("Could not connect to host: ", host) 47 def main(host=None, port=9877): argument 49 wpas = wpas_connect(host, port) 55 mon = wpas_connect(host, port) 80 main(host=sys.argv[1], port=int(sys.argv[2]))
|
| /hostap-latest/tests/hwsim/ |
| D | remotehost.py | 52 def __init__(self, host=None, ifname=None, port=None, name="", user="root"): argument 53 self.host = host 63 if self.name == "" and host != None: 64 self.name = host 83 if self.host is None: 86 cmd = ["ssh", self.user + "@" + self.host, ' '.join(command)] 114 if self.host is None: 117 cmd = ["ssh", self.user + "@" + self.host, ' '.join(_command)] 176 if self.host: 177 cmd = ["ssh", self.user + "@" + self.host, ' '.join(_command)] [all …]
|
| D | wlantest.py | 72 def register_remote_wlantest(cls, host, setup_params, monitor_mod): argument 75 cls.remote_host = host 78 status, buf = host.execute(["which", setup_params['wlantest']]) 80 raise Exception(host.name + " - wlantest: " + buf) 81 status, buf = host.execute(["which", setup_params['wlantest_cli']]) 83 raise Exception(host.name + " - wlantest_cli: " + buf)
|
| D | hostapd.py | 34 self.host = remotehost.Host(hostname) 62 return self.host.execute(cmd_array) 146 self.host.send_file(src, dst) 152 self.host = remotehost.Host(hostname, ifname) 179 return self.host.execute(cmd_array) 473 host=None): argument 489 if host: 490 cmd += " host=" + host 615 self.host.send_file(src, dst)
|
| D | example-setup.txt | 11 virtual machine with any host system (e.g., Linux, Windows, or OS X as 12 the host and using kvm, VirtualBox, etc. for running the virtual guest 14 testing coverage) configuration on a Linux host system, parallel virtual 26 - if the host system has multiple CPU cores, it is likely a good idea to
|
| D | wpasupplicant.py | 32 self.host = remotehost.Host(hostname, ifname) 150 return self.host.execute(cmd_array) 170 self.host = remotehost.Host(hostname, ifname) 208 status, groups = self.host.execute(["id"]) 316 status, buf = self.host.execute(["ifconfig", self.ifname, "down"]) 320 status, buf = self.host.execute(["ifconfig", self.ifname, "up"]) 1514 host=None): argument 1530 if host: 1531 cmd += " host=" + host
|
| D | utils.py | 194 host = remotehost.Host(hostname) 198 status, buf = host.execute(["iw", "dev", ifname, "info"])
|
| /hostap-latest/src/common/ |
| D | ctrl_iface_common.c | 85 char host[NI_MAXHOST] = { 0 }; in sockaddr_print() local 89 host, sizeof(host), in sockaddr_print() 93 wpa_printf(level, "%s %s:%s", msg, host, service); in sockaddr_print()
|
| D | dpp.c | 166 os_free(info->host); in dpp_bootstrap_info_free() 420 os_free(bi->host); in dpp_parse_uri_host() 421 bi->host = os_memdup(&addr, sizeof(addr)); in dpp_parse_uri_host() 422 if (!bi->host) in dpp_parse_uri_host() 426 hostapd_ip_txt(bi->host, buf, sizeof(buf)), bi->port); in dpp_parse_uri_host() 437 const char *version = NULL, *supported_curves = NULL, *host = NULL; in dpp_parse_uri() local 472 else if (pos[0] == 'H' && pos[1] == ':' && !host) in dpp_parse_uri() 473 host = pos + 2; in dpp_parse_uri() 496 dpp_parse_uri_host(bi, host) < 0 || in dpp_parse_uri() 698 char host[100]; in dpp_gen_uri() local [all …]
|
| D | dpp.h | 171 struct hostapd_ip_addr *host; member
|
| /hostap-latest/tests/hwsim/vm/ |
| D | example-vm-setup.txt | 11 host system. 14 Install Ubuntu 22.04 as the host system for VMs 17 - install the host system with default settings 54 KVMARGS="-cpu host"
|
| D | inside.sh | 117 mkdir /tmp/host 118 mount --bind / /tmp/host 174 ./run-all.sh --vm $(cat /tmp/host$ARGS) </dev/ttyS0 >/dev/ttyS0 2>&1
|
| D | README | 7 your host since the host's filesystem is used. 36 split the test cases between all the VMs. If the host system has enough
|
| /hostap-latest/src/wps/ |
| D | wps_upnp.c | 321 char *host; in subscr_addr_add_url() local 347 host = scratch_mem; in subscr_addr_add_url() 348 path = os_strchr(host, '/'); in subscr_addr_add_url() 353 delim = os_strchr(host, ':'); in subscr_addr_add_url() 380 rerr = getaddrinfo(host, NULL /* fill in port ourselves */, in subscr_addr_add_url() 384 rerr, gai_strerror(rerr), host); in subscr_addr_add_url() 391 host_len = os_strlen(host); in subscr_addr_add_url() 418 os_memcpy(mem, host, host_len); in subscr_addr_add_url()
|
| /hostap-latest/hs20/client/ |
| D | osu_client.c | 2949 char *host = NULL; in osu_cert_cb() local 2956 host = get_hostname(cert->url); in osu_cert_cb() 2958 host = get_hostname(ctx->server_url); in osu_cert_cb() 2977 if (host && os_strcasecmp(host, cert->dnsname[i]) == 0) in osu_cert_cb() 2982 if (host && !found) { in osu_cert_cb() 2984 host); in osu_cert_cb() 2986 host); in osu_cert_cb() 2987 os_free(host); in osu_cert_cb() 2991 os_free(host); in osu_cert_cb()
|
| /hostap-latest/wpa_supplicant/doc/docbook/ |
| D | eapol_test.sgml | 77 on the local host. A re-authentication is triggered to test fast
|
| /hostap-latest/doc/ |
| D | testing_tools.doxygen | 78 local host. A re-authentication is triggered to test fast
|
| /hostap-latest/wpa_supplicant/ |
| D | README-Windows.txt | 22 authentication and successfully ping a wired host):
|
| D | android.config | 51 # Additional directories for cross-compilation on Linux host for mingw target
|
| D | README-HS20 | 188 # host/domain name is compared one label at a time starting from the
|