From 40e4c9c8b0904dceaaf082f937c951210c1acbfd Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 16 Dec 2014 23:46:19 +0200 Subject: [PATCH] tests: Add traffic test to proxyarp_open Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_hs20.py | 5 +++++ 1 file changed, 5 insertions(+) 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)