tests: Add traffic test to proxyarp_open

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-12-16 23:46:19 +02:00 committed by Jouni Malinen
parent 5a3ce80265
commit 40e4c9c8b0

View 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)