On Mon, 2013-11-11 at 14:59 +0100, Johannes Berg wrote: > On Fri, 2013-11-08 at 16:39 +0200, Luciano Coelho wrote: > > A beacon should never have a Channel Switch Announcement information > > element with a count of 0, because a count of 1 means switch just > > before the next beacon. So, if a count of 0 was valid in a beacon, it > > would have been transmitted in the next channel already, which is > > useless. A CSA count equal to zero is only meaningful in action > > frames or probe_responses. > > > > Fix the ieee80211_csa_is_complete() and ieee80211_update_csa() > > functions accordingly. > > These seem fine to me - maybe we should have some CSA tests in Jouni's > hwsim test scripts, for the various cases? :) Cool that this is fine with you. I can proceed making the final changes for v4 then. ;) I'll take a look into the hwsim test scripts. -- Cheers, Luca. ��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f