Lines Matching refs:apdev

23 def test_ap_open(dev, apdev):  argument
25 _test_ap_open(dev, apdev)
27 def _test_ap_open(dev, apdev): argument
28 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
41 def test_ap_open_packet_loss(dev, apdev): argument
48 hapd = hostapd.add_ap(apdev[0], params)
56 def test_ap_open_unknown_action(dev, apdev): argument
58 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
60 bssid = apdev[0]['bssid']
70 def test_ap_open_invalid_wmm_action(dev, apdev): argument
72 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
74 bssid = apdev[0]['bssid']
83 def test_ap_open_reconnect_on_inactivity_disconnect(dev, apdev): argument
85 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
92 def test_ap_open_assoc_timeout(dev, apdev): argument
95 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
132 def test_ap_open_auth_drop_sta(dev, apdev): argument
134 hapd = hostapd.add_ap(apdev[0]['ifname'], {"ssid": "open"})
163 def test_ap_open_id_str(dev, apdev): argument
165 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
175 def test_ap_open_select_any(dev, apdev): argument
177 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
194 def test_ap_open_unexpected_assoc_event(dev, apdev): argument
196 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
204 apdev[0]['bssid']])
211 def test_ap_open_external_assoc(dev, apdev): argument
213 hapd = hostapd.add_ap(apdev[0], {"ssid": "open-ext-assoc"})
222 'open-ext-assoc', "2412", apdev[0]['bssid']])
236 def test_ap_bss_load(dev, apdev): argument
238 hapd = hostapd.add_ap(apdev[0],
254 def test_ap_bss_load_fail(dev, apdev): argument
256 hapd = hostapd.add_ap(apdev[0],
262 def hapd_out_of_mem(hapd, apdev, count, func): argument
266 hostapd.add_ap(apdev, {"ssid": "open"})
273 def test_ap_open_out_of_memory(dev, apdev): argument
275 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
277 hapd_out_of_mem(hapd, apdev[1], 1, "hostapd_alloc_bss_data")
280 hapd_out_of_mem(hapd, apdev[1], i, "hostapd_iface_alloc")
283 hapd_out_of_mem(hapd, apdev[1], i, "hostapd_config_defaults;hostapd_config_alloc")
285 hapd_out_of_mem(hapd, apdev[1], 1, "hostapd_config_alloc")
287 hapd_out_of_mem(hapd, apdev[1], 1, "hostapd_driver_init")
290 hapd_out_of_mem(hapd, apdev[1], i, "=wpa_driver_nl80211_drv_init")
294 …hapd_out_of_mem(hapd, apdev[1], 1, "eloop_sock_table_add_sock;?eloop_register_sock;?eloop_register…
298 hostapd.add_ap(apdev[1], {"ssid": "open"})
300 def test_bssid_ignore_accept(dev, apdev): argument
302 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
303 hapd2 = hostapd.add_ap(apdev[1], {"ssid": "open"})
306 bssid_accept=apdev[1]['bssid'])
308 bssid_ignore=apdev[1]['bssid'])
311 bssid_ignore=apdev[1]['bssid'])
312 if dev[0].get_status_field('bssid') != apdev[1]['bssid']:
314 if dev[1].get_status_field('bssid') != apdev[0]['bssid']:
316 if dev[2].get_status_field('bssid') != apdev[0]['bssid']:
325 … bssid_accept="11:22:33:44:55:66/ff:00:00:00:00:00 " + apdev[1]['bssid'] + " aa:bb:cc:dd:ee:ff")
327 … bssid_ignore="11:22:33:44:55:66/ff:00:00:00:00:00 " + apdev[1]['bssid'] + " aa:bb:cc:dd:ee:ff")
328 if dev[0].get_status_field('bssid') != apdev[1]['bssid']:
330 if dev[1].get_status_field('bssid') != apdev[0]['bssid']:
339 def test_ap_open_wpas_in_bridge(dev, apdev): argument
344 _test_ap_open_wpas_in_bridge(dev, apdev)
351 def _test_ap_open_wpas_in_bridge(dev, apdev): argument
352 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
378 def test_ap_open_start_disabled(dev, apdev): argument
380 hapd = hostapd.add_ap(apdev[0], {"ssid": "open",
382 bssid = apdev[0]['bssid']
394 def test_ap_open_start_disabled2(dev, apdev): argument
396 hapd = hostapd.add_ap(apdev[0], {"ssid": "open",
398 bssid = apdev[0]['bssid']
416 def test_ap_open_ifdown(dev, apdev): argument
420 hapd = hostapd.add_ap(apdev[0], params)
421 bssid = apdev[0]['bssid']
425 hapd.cmd_execute(['ip', 'link', 'set', 'dev', apdev[0]['ifname'], 'down'])
438 hapd.cmd_execute(['ip', 'link', 'set', 'dev', apdev[0]['ifname'], 'up'])
447 def test_ap_open_disconnect_in_ps(dev, apdev, params): argument
449 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
491 def test_ap_open_sta_ps(dev, apdev): argument
493 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
535 def test_ap_open_ps_mc_buf(dev, apdev, params): argument
537 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
571 def test_ap_open_select_network(dev, apdev): argument
573 hapd1 = hostapd.add_ap(apdev[0], {"ssid": "open"})
574 bssid1 = apdev[0]['bssid']
575 hapd2 = hostapd.add_ap(apdev[1], {"ssid": "open2"})
576 bssid2 = apdev[1]['bssid']
598 def test_ap_open_disable_enable(dev, apdev): argument
600 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
638 def test_ap_open_sta_enable_disable(dev, apdev): argument
640 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
641 bssid = apdev[0]['bssid']
650 def test_ap_open_select_twice(dev, apdev): argument
658 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
665 def test_ap_open_reassoc_not_found(dev, apdev): argument
685 def test_ap_open_sta_statistics(dev, apdev): argument
687 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
705 def test_ap_open_poll_sta(dev, apdev): argument
707 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
719 def test_ap_open_poll_sta_no_ack(dev, apdev): argument
721 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
738 def test_ap_open_pmf_default(dev, apdev): argument
740 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
761 def test_ap_open_drv_fail(dev, apdev): argument
763 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
777 def run_multicast_to_unicast(dev, apdev, convert): argument
780 hapd = hostapd.add_ap(apdev[0], params)
792 def test_ap_open_multicast_to_unicast(dev, apdev): argument
794 run_multicast_to_unicast(dev, apdev, True)
796 def test_ap_open_multicast_to_unicast_disabled(dev, apdev): argument
798 run_multicast_to_unicast(dev, apdev, False)
800 def test_ap_open_drop_duplicate(dev, apdev, params): argument
802 hapd = hostapd.add_ap(apdev[0], {"ssid": "open",
860 def test_ap_open_select_network_freq(dev, apdev): argument
862 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
878 def test_ap_open_noncountry(dev, apdev): argument
880 _test_ap_open_country(dev, apdev, "XX", "0x58")
882 def test_ap_open_country_table_e4(dev, apdev): argument
884 _test_ap_open_country(dev, apdev, "DE", "0x04")
886 def test_ap_open_country_indoor(dev, apdev): argument
888 _test_ap_open_country(dev, apdev, "DE", "0x49")
890 def test_ap_open_country_outdoor(dev, apdev): argument
892 _test_ap_open_country(dev, apdev, "DE", "0x4f")
894 def _test_ap_open_country(dev, apdev, country_code, country3): argument
897 hapd = run_ap_open_country(dev, apdev, country_code, country3)
901 def run_ap_open_country(dev, apdev, country_code, country3): argument
902 hapd = hostapd.add_ap(apdev[0], {"ssid": "open",
911 def test_ap_open_disable_select(dev, apdev): argument
913 hapd1 = hostapd.add_ap(apdev[0], {"ssid": "open"})
914 hapd2 = hostapd.add_ap(apdev[1], {"ssid": "open"})
925 def test_ap_open_reassoc_same(dev, apdev): argument
927 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
937 def test_ap_open_no_reflection(dev, apdev): argument
939 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})
964 def test_ap_no_auth_ack(dev, apdev): argument
966 hapd = hostapd.add_ap(apdev[0], {"ssid": "open",
992 def test_ap_open_layer_2_update(dev, apdev, params): argument
995 ifname = apdev[0]["ifname"]
998 hapd = hostapd.add_ap(apdev[0], {"ssid": "open"})