Re: [PATCHv2 00/12] Tagged VLAN and per_sta_vif support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux