[PATCH v2] hwsim tests: Add test cases for AP channel switch announcement

Luca Coelho luca
Fri Jan 10 06:26:33 PST 2014


Hi Jouni,

Sorry for the late reply.  I've been on vacations and just got back to
action now. ;)

On Sat, 2013-12-14 at 21:55 -0800, Jouni Malinen wrote:
> All of these test cases fail with older versions of
> mac80211/cfg80211/hwsim (e.g., with the version I'm running on my build
> server). As such, I cannot apply this yet.

I see.  So we should keep all the tests backward-compatible? Seems like
a lot of extra work, but makes sense since the kernel version you're
using to run the tests is independent of the hostap version...


> Would there be any way for hostapd to detect whether CSA functionality
> is properly supported (I sure hope so..) and then make these test case
> report SKIP rather than FAIL?

It can be done, but AFAICT there's currently no way to get this
information via the control interface.  To do this, I we have to export
the capa.flags information via the control API.

--
Luca.




More information about the Hostap mailing list