Re: Is there a way to manually force the security protocol with IWD?

James Prestwood <[email protected]> Fri, 30 Jan 2026 06:48:35 -0800
Newsgroups dev.linux.lists.iwd
Message-ID <[email protected]>
Hi Bryce,

On 1/30/26 6:43 AM, Bryce Johnson wrote:
> Hi All
> We are working to get our product through wifi certification.  Our
> testing company mentioned there was several negative test cases that
> were failing where IWD was connecting anyways because it would decide
> on the security type based on the AP.  Is there a way to force IWD to
> use a security type that is different than the AP so it would fail the
> connection?  Can we disable WPA1-only connection or force WPA2 only
> connection?

There unfortunately isn't at the moment. We do have a "developer mode" 
by specifying "-E" to IWD and this seems like it would fall into that 
category, support would need to be added of course.

But I'm somewhat confused (and maybe this is just poor test cases by 
WFA?), why would you need to certify that IWD fails when using a 
different security type than the AP? A client should not ever use a 
security type the AP doesn't advertise support for... This feels like 
its testing the AP, not IWD :)

>
> Thanks
> Bryce
>