From: Michael Braun <michael-dev@xxxxxxxxxxxxx> Signed-off-by: Michael Braun <michael-dev@xxxxxxxxxxxxx> --- tests/hwsim/test_ap_vlan.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/hwsim/test_ap_vlan.py b/tests/hwsim/test_ap_vlan.py index afaa9e8..7b4aaac 100644 --- a/tests/hwsim/test_ap_vlan.py +++ b/tests/hwsim/test_ap_vlan.py @@ -476,6 +476,25 @@ def test_ap_vlan_without_station(dev, apdev, p): stderr=open('/dev/null', 'w')) subprocess.call(['brctl', 'delbr', 'brvlan1']) +def test_ap_open_per_sta_vif(dev, apdev): + """AP VLAN with open network""" + params = { "ssid": "test-vlan-open", + "per_sta_vif": "1" } + hapd = hostapd.add_ap(apdev[0]['ifname'], params) + + dev[0].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412") + hwsim_utils.test_connectivity_iface(dev[0], hapd, "wlan3.4096") + +def test_ap_vlan_open_per_sta_vif(dev, apdev): + """AP VLAN with open network""" + params = { "ssid": "test-vlan-open", + "per_sta_vif": "1", + "dynamic_vlan": "1" } + hapd = hostapd.add_ap(apdev[0]['ifname'], params) + + dev[0].connect("test-vlan-open", key_mgmt="NONE", scan_freq="2412") + hwsim_utils.test_connectivity_iface(dev[0], hapd, "wlan3.4096") + def test_ap_vlan_wpa2_radius_tagged(dev, apdev): """AP VLAN with WPA2-Enterprise and RADIUS EGRESS_VLANID attributes""" try: -- 2.1.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap