[PATCHv2 07/12] test: verify tagged-only connectivity

Jouni Malinen j at w1.fi
Fri Dec 18 09:34:17 PST 2015


On Sun, Dec 06, 2015 at 09:47:38PM +0100, Michael Braun wrote:
> diff --git a/tests/hwsim/test_ap_vlan.py b/tests/hwsim/test_ap_vlan.py
> +def test_ap_vlan_wpa2_radius_tagged(dev, apdev):
> +    """AP VLAN with WPA2-Enterprise and RADIUS EGRESS_VLANID attributes"""
> +    try:
> +        subprocess.call(['ip','link','add','link','wlan0','name','wlan0.1','type','vlan','id','1'])
> +        subprocess.call(['ifconfig','wlan0.1','up'])
> +
> +        params = hostapd.wpa2_eap_params(ssid="test-vlan")
> +        params['dynamic_vlan'] = "1"
> +        params["vlan_naming"] = "1"
> +        hapd = hostapd.add_ap(apdev[0]['ifname'], params)
> +
> +        dev[0].connect("test-vlan", key_mgmt="WPA-EAP", eap="PAX",
> +                       identity="vlan1tagged",
> +                       password_hex="0123456789abcdef0123456789abcdef",
> +                       scan_freq="2412")
> +
> +        hwsim_utils.run_connectivity_test(dev[0], hapd, 0, ifname1="wlan0.1", ifname2="brvlan1")

As noted in the previous email, this fails for me.. That needs to be
addressed before this test case can be added (and well, if there is
something wrong in functionality, that functionality in the
implementation would obviously need to be addressed as well).
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list