Problem with station constantly disassociated/authenticated/associated

Jouni Malinen j at
Wed Jul 16 12:35:21 EDT 2008

On Wed, Jul 16, 2008 at 11:40:26PM +0200, mlist000 wrote:

> I am using hostapd version 0.6.3. (This same error occurs on 0.5.8.and 
> 0.5.10)

Which driver and driver version are you using? Is this an open network
or are you using WPA or IEEE 802.1X?

> In the example of the N95, I get repeated error messages "Too Short Data".

I haven't seen this in my tests with N95, but I don't remember whether I
have tested this with Host AP driver (it was more likely with madwifi).

> I added a few debug print statements which gave:

> Data Len is 18   ---   should be more than 18
> Data Left is 0   ---   total len is 18 ----  802.11 hdr len is 18
> Too short data frame
> Data Left is 0   ---   should be more than rfc1042 hdr(6)

It would be interesting to see the full contents of that frame

> I have no trouble at the moment connecting Nokia N93 and E60. (Which are 
> older phones).
> The difference with the connections is that the N95 specifies 
> listen_interval=20. (The other devices all specify listen_interval=10).
> Could this be the problem ?

I would not expect this to be the main reason, but the problem may be
related to N95 power saving. I've seen it having major interop issues
with many APs.. You could run a quick test by disabling power saving in
the phone (Settings, Connection, Wireless LAN, Options|Advanced
settings, disable automatic configuration, disable power saving). If
this resolves the issue, I will try to figure out whether there would be
a way of working around this somehow.

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list