Home
last modified time | relevance | path

Searched refs:vals (Results 1 – 22 of 22) sorted by relevance

/hostap-3.6.0/tests/hwsim/
Dhostapd.py300 vals = dict()
303 vals[name] = value
304 return vals
307 vals = self.get_status()
308 if field in vals:
309 return vals[field]
315 vals = dict()
318 vals[name] = value
319 return vals
322 vals = self.get_driver_status()
[all …]
Dwpasupplicant.py510 vals = dict()
514 vals[name] = value
517 return vals
520 vals = self.get_status(extra)
521 if field in vals:
522 return vals[field]
532 vals = dict()
539 vals[name] = value
540 return vals
543 vals = self.get_group_status(extra)
[all …]
Dtest_ieee8021x.py160 vals = ['dot1xSuppInvalidEapolFramesRx',
162 for val in vals:
376 vals = line.split()
377 if vals[0] == '3':
379 if vals[0] == '0' and len(vals) == 2:
380 if vals[1] == '1':
382 elif vals[1] == '2':
Dtest_wpas_ctrl.py941 vals = ["foo",
952 for val in vals:
956 vals = ["ps 1"]
957 for val in vals:
960 vals = ["EAPOL::heldPeriod 60",
970 for val in vals:
1048 vals = ["FOO",
1057 for v in vals:
1064 vals = ["FOO", "0Q", "00", "000000", "10000001", "10000000", "00000000",
1066 for v in vals:
[all …]
Dtest_ap_pmf.py1006 vals = {}
1010 vals[name] = f.read().strip()
1013 return vals
1024 vals = mac80211_read_key(keydir)
1025 keyidx = int(vals['keyidx'])
1027 sta_key = vals;
1037 vals = mac80211_read_key(keydir)
1038 keyidx = int(vals['keyidx'])
1040 ap_key = vals;
Dtest_ap_csa.py175 vals = [2461, 4900, 4901, 5181, 5746, 5699, 5895, 5899]
176 for val in vals:
Dtest_fst_module.py769 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
788 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
807 vals = dev[0].scan(None, fst_test_common.fst_test_def_freq_g)
827 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
862 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
887 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
918 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
949 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
982 vals = sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
1031 vals = fst_sta1.scan(freq=fst_test_common.fst_test_def_freq_a)
[all …]
Drun-tests.py408 vals = args.split.split('/')
409 split_server = int(vals[0])
410 split_total = int(vals[1])
Dtest_wnm.py1908 vals = ev.split(' ')
1909 if vals[2] != '1' or vals[3] != '5':
1923 vals = ev.split(' ')
1924 if vals[2] != '0' or vals[3] != '0':
Dtest_fils.py804 vals = ev.split(' ')
805 frame = binascii.unhexlify(vals[3].split('=')[1])
2050 vals = res.splitlines()
2051 logger.info("CCMP PN: " + str(vals))
2052 if len(vals) < 2:
2054 if len(set(vals)) < len(vals):
Dtest_ap_hs20.py1174 vals = {'username': "user",
1180 vals2 = vals.copy()
1186 vals2 = vals.copy()
1197 vals2 = vals.copy()
1208 vals2 = vals.copy()
1225 vals2 = vals.copy()
1254 vals = {'imsi': "555444-333222111",
1257 vals2 = vals.copy()
1263 vals2 = vals.copy()
1274 vals2 = vals.copy()
[all …]
Dtest_hapd_ctrl.py1033 vals = ["5G", "6G", "2G", "2G,6G", "2G,5G,6G", "AUTO"]
1034 for val in vals:
Dtest_ap_ft.py471 vals = key_mgmt.split(' ')
472 if vals[0] != "WPA-PSK" or vals[1] != "FT-PSK":
3190 vals = res.splitlines()
3191 logger.info("CCMP PN: " + str(vals))
3192 if len(vals) < 2:
3194 if len(set(vals)) < len(vals):
Dtest_dbus.py3794 vals = dbus.Dictionary({'WPSVendorExtensions': [ext]},
3796 g_obj.Set(WPAS_DBUS_GROUP, 'WPSVendorExtensions', vals,
3835 vals = dbus.Dictionary({'Foo': [ext]}, signature='sv')
3837 g_obj.Set(WPAS_DBUS_GROUP, 'WPSVendorExtensions', vals,
3846 vals = ["foo"]
3848 g_obj.Set(WPAS_DBUS_GROUP, 'WPSVendorExtensions', vals,
3857 vals = [["foo"]]
3859 g_obj.Set(WPAS_DBUS_GROUP, 'WPSVendorExtensions', vals,
4379 vals = dbus.Dictionary({'ssid': 'DIRECT-foo'}, signature='sv')
4380 p_obj.Set(WPAS_DBUS_PERSISTENT_GROUP, "Properties", vals,
[all …]
Dtest_ap_wps.py2252 vals = l.split(' ')
2253 if len(vals) != 3 or vals[0] != "wps=1":
2255 addr = vals[1]
2256 psk = vals[2]
2543 vals = dict()
2547 vals[name] = value
2553 … if vals['ieee80211n'] != '1' or vals['wps_state'] != '2' or "WPA-PSK" not in vals['wpa_key_mgmt']:
2554 raise Exception("Incorrect configuration: " + str(vals))
3792 vals = ev.split(' ')
3793 if vals[1] != dev[0].p2p_interface_addr():
[all …]
Dtest_p2ps.py787 def has_string_prefix(vals, prefix): argument
788 for val in vals:
Dtest_ap_psk.py28 def check_mib(dev, vals): argument
30 for v in vals:
Dtest_ap_eap.py6994 vals = ev.split(' ')
6995 for v in vals:
/hostap-3.6.0/tests/hwsim/vm/
Dparallel-vm.py130 vals = line.split(' ')
131 if len(vals) < 2:
136 name = vals[1]
160 vals = line.split(' ')
161 if len(vals) >= 2:
162 vm['fail_seq'].append(vals[1])
/hostap-3.6.0/hs20/server/ca/
Dest-csrattrs.cnf10 vals = SET:extreqvals
/hostap-3.6.0/wpa_supplicant/examples/
Ddpp-nfc.py150 vals = dict()
157 vals[name] = value
158 return vals
161 vals = get_status(wpas, extra)
162 if field in vals:
163 return vals[field]
/hostap-3.6.0/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c2555 struct wpabuf *vals[MAX_WPS_VENDOR_EXTENSIONS]; in wpas_dbus_setter_p2p_group_vendor_ext() local
2569 os_memset(vals, 0, sizeof(vals)); in wpas_dbus_setter_p2p_group_vendor_ext()
2587 vals[i] = wpabuf_alloc_copy(val, len); in wpas_dbus_setter_p2p_group_vendor_ext()
2588 if (vals[i] == NULL) { in wpas_dbus_setter_p2p_group_vendor_ext()
2598 wpabuf_free(vals[i]); in wpas_dbus_setter_p2p_group_vendor_ext()
2604 hapd->conf->wps_vendor_ext[i] = vals[i]; in wpas_dbus_setter_p2p_group_vendor_ext()