Re: [PATCH] wpa_supplicant: send event to all interfaces

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

 



On Thu, Mar 31, 2016 at 08:53:14PM +0200, Janusz Dziedzic wrote:
> In case we don't have ifidx and wdev_id pass
> such event to all interfaces and bss.
> Before we send event only to first interface and
> in case we are using p2p-dev we send event only
> to this one iface:
> 
> p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
> 
> Because of that we fail hwsim test cases eg. ibss_5ghz,
> while we never get CTRL-EVENT-REGDOM-CHANGE on wlan0.
> 
> I also remove for_each() from wpa_supplicant_update_channel_list()
> while this function will be called now for each interface.
> So, seems this for_each() was a workaround for a real issue.

Could you please clarify what exactly you mean with hwsim test cases
failing? I don't see such a failure in my testing.. Is this only
relevant for the remote test cases that you show in the example below?

> Now, seems we pass test where we wait for REGDOM event
> janusz@dell6430:/home/work/hostap/tests/remote$ ./run-tests.py -r hwsim0 -r hwsim1 -r hwsim2 -d hwsim3 -d hwsim4 -h ibss_5ghz

tests/remote does not exist in hostap.git, so it is a bit difficult to
understand this type of comments before either the changes have been
added for that or the commit message is clearer on what exactly is being
fixed if the same issue cannot be reproduced in the current hostap.git
snapshot.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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