[PATCHv2 00/12] Tagged VLAN and per_sta_vif support
M. Braun
michael-dev at fami-braun.de
Tue Jan 19 08:08:25 PST 2016
Am 18.12.2015 um 18:29 schrieb Jouni Malinen:
> On Sun, Dec 06, 2015 at 09:47:31PM +0100, Michael Braun wrote:
>> This series introduces to hostapd:
>
> This series seems to break two hwsim test cases:
> ap_vlan_wpa2_radius_mixed ap_vlan_wpa2_radius_tagged
>
> For both of those, the failure is "Unexpected dev1->dev2 unicast data
> result". Would you happen to know why this happens?
>
This error is only thrown by run_connectivity_test in hwsim_utils.py.
Due to the way test_ap_vlan_wpa2_radius_mixed calls this, dev1group and
dev2group are False and dev1/ifname1 is the wpa_supplicant interface and
dev2 is the hostapd and ifname2 the hostapd managed bridge.
So the relevant code is like:
<code>
ev = dev2.wait_event(["DATA-TEST-RX"], timeout=timeout)
if ev is None:
raise Exception("dev1->dev2 unicast data delivery failed")
if "DATA-TEST-RX {} {}".format(addr2, addr1) not in ev:
raise Exception("Unexpected dev1->dev2 unicast data result")
</code>
So there is some DATA-TEST-RX event in dev2 (hostapd), but the mac
addresses do not match. The mac addresses used are explicitly given by
DATA_TEST_TX and are figured out from the wlan0/wlan3 interface (not the
vlan interface or bridge), so nothing should be findling with that.
Also, I cannot reproduce this issue using
example-hostapd/wpa_supplicant.conf.
Regards,
M. Braun
More information about the Hostap
mailing list