]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add traffic test to proxyarp_open
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 16 Dec 2014 21:46:19 +0000 (23:46 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 18 Dec 2014 14:41:40 +0000 (16:41 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_hs20.py

index 14cbcf1dd5a5e70214c1d96c7af9dc9c9b8affe5..ff0034c656b74e7b3a569f952d99d14bb708e502 100644 (file)
@@ -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)