hostap doesn't understand wireless commands

Jouni Malinen jkmaline at cc.hut.fi
Mon Feb 17 14:19:28 EST 2003


On Mon, Feb 17, 2003 at 01:19:35PM -0500, Praedor Atrebates wrote:

> I am using the latest wireless tools and the kernel is about as new as you can 
> get and still be reasonably stable.  It DOES include the latest available 
> wireless extensions.  I just built the hostap driver for this kernel.  Why 
> can't it understand and accept perfectly valid config commands?  What is 
> going on here.  Oh, once I try to set the card manually with iwconfig, the 
> display of info produced by iwconfig drops to a bare minimum to only include 
> the Mode, Tx-Pwr, Encryption key, and signal/noise levels.  No channel, no 
> freq.  Any attempt to set channel or freq results results in failure:

This sounds like a bug in the driver. If you check kernel log with
'dmesg', I would guess that you will find lot of error messages about
command completion etc. In practice, the card/driver combination is
pretty confused at that point and hard reseting the card is more or less
the only way to continue. I think I have broken something with the
command completion handling, but I'm not completely sure what..

At least I have now been able to duplicate this semi-randomly. I think
that PCI-based cards on some host systems have much more problems and
some cards seem to work fine. I would assume this is somewhat timing
sensitive etc. Anyway, I'll try to find and fix the real problem that
is confusing command completion handling.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list