Got the error "Driver did not support SIOCSIWENCODEEXT" when trying WPS

Wuhua Xu xu.wuhua at
Wed Apr 15 05:52:20 EDT 2009

I'm using ath5k and AR2413. With the option -D nl80211 the error message
disappeared, but I got another error:
After association, I always got a "Wireless event: new AP:
00:00:00:00:00:00", and then I got EVENT_DISASSOC because of the driver
event handler. Is this the root cause of the failure?
Just before that I got the following messages:
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK: IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP][LOWER_UP])
RTM_NEWLINK: IFLA_IFNAME: Interface 'wlan0' added
When I use madwifi with Honma's patch, I get only the first two lines.
 RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK: IFLA_IFNAME: Interface 'wlan0' added

2009/4/10 Jouni Malinen <j at>

> On Thu, Apr 09, 2009 at 11:29:10AM +0800, Wuhua Xu wrote:
> > I got the error when trying to use WPS with my atheros AR5416 and the
> option
> > nohwcrypt=1.
> >
> > ioctl[SIOCSIWENCODEEXT]: No such file or directory
> > ...
> > Driver did not support SIOCSIWENCODEEXT
> > Is it a blocking error? How to work around it?
> I don't think that this is an issue in this particular case. Association
> seems to go through fine, but the AP does not start any handshake after
> it. Which AP are you using? Would you be able to run a wireless sniffer
> to capture the frames exchanged between the AP and the client?
> --
> Jouni Malinen                                            PGP id EFC895FA
>  _______________________________________________
> HostAP mailing list
> HostAP at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the HostAP mailing list