From: Jouni Malinen Date: Tue, 16 Dec 2014 21:46:19 +0000 (+0200) Subject: tests: Add traffic test to proxyarp_open X-Git-Tag: hostap_2_4~756 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e4c9c8b0904dceaaf082f937c951210c1acbfd;p=thirdparty%2Fhostap.git tests: Add traffic test to proxyarp_open Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 14cbcf1dd..ff0034c65 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -16,6 +16,7 @@ import socket import subprocess import hostapd +import hwsim_utils from wlantest import Wlantest from wpasupplicant import WpaSupplicant @@ -3077,6 +3078,10 @@ def _test_proxyarp_open(dev, apdev, params): send_na(hapd, hapd_bssid=bssid, target="aaaa:bbbb:cccc:aeae::4", ip_src="aaaa:bbbb:cccc:aeae::4", ip_dst="ff02::1") + hwsim_utils.test_connectivity_iface(dev[0], hapd, "ap-br0") + hwsim_utils.test_connectivity_iface(dev[1], hapd, "ap-br0") + hwsim_utils.test_connectivity(dev[0], dev[1]) + dev[0].request("DISCONNECT") dev[1].request("DISCONNECT") time.sleep(0.5)