STA can connect, but fails to reconnect within ap_max_inactivity

Jouni Malinen j
Sun Feb 8 10:25:30 PST 2009


On Tue, Feb 03, 2009 at 02:40:09PM +0100, Artur Skawina wrote:

> I'm trying to setup a hostap driven AP using a p54usb card; after
> some initial problems w/ the driver, now it seems to work.
> Except, that the client (a windows mobile device) can not reconnect
> within the ap_max_inactivity timeout. ie it successfully associates
> and the connection works, but if i turn off the device (wifi part)
> and then turn it on again the connection reliably fails. If i wait
> until ap_max_inactivity seconds passes, the connection succeeds.
> 
> Log below, corresponds to one successful connection attempt, then
> switching off wifi, followed by the failed reconnection, then ^C.

The debug log seems to indicate that the client tried to authenticate,
but there was no TX status notification on the authentication response..
Was there anything in the log between the following lines?

authentication reply: STA=00:00:00:00:00:76 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
[killed hostapd]
Signal 15 received - terminating


(there should have been something like "MGMT (TX callback) ACK" here)


It would be interesting to see what frames are exchanged between the
devices. Would you happen to have another wlan device that you could as
a wireless sniffer to capture the 802.11 frames?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list